Skip to content

netconf capability wrong #405

Closed
Closed

Description

@harveechen

The client advise the base 1.0, however the flag to decide whether data framing mechanism to use is depended on the server response. When base 1.1 is advise by the server, the netconf gets wrong, since the client only advises 1.0 but the flag sets to use data framing mechanism.

Suggest that: in "NetConfSession.cs" add in line 44

"<capability>" + "urn:ietf:params:netconf:base:1.1" + "</capability>" +

Activity

  1. declspec commented on Jan 9, 2020

    @declspec
    Contributor

    Just ran into this as well, makes the whole NetConfClient unusable

    EDIT: Side-note, this library is very difficult to work with; virtually everything useful is marked as internal so the chances of implementing any workarounds seems to be virtually zero.

    The entire Subsytem implementation is internal, the base ISession is internal, the IServiceFactory is internal. anything that's public seems extremely high-level and doesn't allow you to work with the underlying SSH session.

    I thought I might be able to workaround it by modifying the ClientCapabilities XML before connecting, however the INetConfSession is only instantiated when calling Connect() and immediately uses them before you can change them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions