Juniper/go-netconf

Example update for README.md

Closed this issue · 3 comments

The example listed in README.md seems to be dated.

    reply, err := s.ExecRPC(netconf.RPCGetConfig("running"))

Should most likely be:

    reply, err := s.Exec(netconf.MethodGetConfig("running"))

Good catch. Want to do a pull request?

/me caught at being lazy

Sure, I'll also remove:

Today it only supports the SSH transport mechanism (and NETCONF 1.0 SSH framing)

As it looks like we do now have telnet support or is that just experimental?

@nemith done in #10.