-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support RFC 6022 (NETCONF Monitoring) #370
Comments
Capability and schema support (including get-schema RPC) will be a first step |
Questions to @pheller:
|
Certainly the location "NETCONF" needs to be returned to enable clients to retrieve the active schemas that CLIXON has loaded. As to whether CLIXON might expose the schemas in some other way; via the native restconf server, for example, should probably be a configurable option. |
Two new config options introduced, eg:
|
Discussion of capabilities exchange for netconf-monitoring.
whereas RFC7950 says:
Since then RFC7895 has been replaced by RFC 8525. Therefore Clixon uses ietf-yang-library RFC8525 to announce it provides "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring". But there may be implementations of controllers/orchestrators that may still rely on modules being announced via the protocol. But I am unaware of this. Are there such implementations? |
At least one product I have tried first tries RFC7895, and failing that, accepts the module list within the hello-exchanged capabilities as defined in RFC 6020. The configuration specifics that allowed the product to work was:
|
With the commit a38c54e I believe the schema related pieces from RFC6022 are functional. |
Incidentally, with the above configuration, the MG-SOFT NETCONF Browser errors like so:
The specific complaint
Receiving this response:
... leading to |
- statistics and transport/source-host parameters - extended internal NETCONF hello with transport and source-host attributes clixon-lib,yang - Moved all extended internal NETCONF attributes to the clicon-lib namespace C-API: - wrapped most attribute creation into new fn xml_add_attr()
The session part of RFC 6022 netconf-state is now implemented.
|
With 6681eb9 this should now be completed. |
Whereas the YANG Module Library does include an optional leaf (named "schema") of type inet:uri where one may retrieve the YANG module in question, RFC 6022 provides an additional NETCONF RPC ("get-schema") that enables a NETCONF client to directly retrieve from a device the YANG modules that it has implemented.
The text was updated successfully, but these errors were encountered: