Comments (6)
It must be noted that whatever the revision of ietf-crypto-types, namespace remain the same :
namespace "urn:ietf:params:xml:ns:yang:ietf-crypto-types";
So without model number at the end, like it could be :
namespace "urn:ietf:params:xml:ns:yang:ietf-crypto-types:1.0";
So only remaining solution to map the NC Client to the targeted ietf-crypto-module of the NC Server is to use the revision
from netopeer2.
Does specification of a module revision is supported in an xml payload via usage of xmlns ?
No, it is not possible at all. There can be several revisions of a single module loaded into a YANG context but only one is implemented. This revision is then used for parsing all the data of the module. The 2023 revision must be implemented because there are features and identities. So, if you also require the 2019 revision to be implemented, you have a problem because such a context cannot be created.
from netopeer2.
Ok, understood for IETF modules embedded into Netopeer2 NC Server.
But what about pure application modules, if an application has set two modules with same name, same prefix, but with different iteration of the namescape : "urn:application:1.0" and "urn:application:1.1"
Does Netopeer2 is able to map xml NETCONF payload from NC Client to each module loaded in NC Server ?
<color> xmlnx:app="urn:application:1.0">app::bleu</color>
<color> xmlnx:app="urn:application:1.1">app::bleu</color>
from netopeer2.
You should fail to load such modules, a YANG module cannot change its namespace (meaning a single module name used for 2 namespaces).
from netopeer2.
As said, in the scenario described above, there are two modules loaded in NC Server :
- application.yang in revision x having namescape "urn:application:1.0", prefix app
- application.yang in revision y having namespace "urn:application:1.1", prefix app
Expectation is that NC Client can select the module to be used into the NC Server ( revision x or y ) just by declaring the proper namescape in the xml payload
from netopeer2.
Like I said, this is not supported or in any way possible in YANG/NETCONF.
from netopeer2.
Related Issues (20)
- netopeer2.conf and pam_nologin.so does not exist in Yocto Scarthgap HOT 3
- netopeer2-server: /home/ubuntn/libyang-2.0.112/src/parser_xml.c:696: lydxml_subtree_r: Assertion `xmlctx->status == LYXML_ELEM_CLOSE' failed. Aborted (core dumped) HOT 1
- TLS server cipher regarding HOT 7
- Complete example for callback mechanism e.g when changing/reading some field via netopeer2-server HOT 2
- NOT support password customization authentication function in new version HOT 7
- Call home to loopback IP is failing HOT 4
- Netopeer2-cli does not detect connection breakage in the background HOT 3
- A potential mistake need to be tested and verified HOT 1
- Does netopeer-cli support public key based authentication HOT 4
- Cannot connect Server HOT 8
- Query on listing existing subscriptions HOT 15
- Query: any API to terminate the particular client's netconf session with particular user from application HOT 5
- New SSH server key added every time I trigger a call-home, not checking the known_host file. HOT 1
- Failed changing permissions of directory "/usr/lib64/netopeer2-server" (Read-only file system) HOT 2
- Unable to receive callback when trying to subscribe custom yang model using sr_oper_get_subscribe() HOT 1
- Delete subinterface and network-instance not working with netopeer2 HOT 5
- Error with TLS Call Home connection using netopeer2-cli HOT 2
- netopeer2-server dont open port in openwrt HOT 6
- Example configuration xml tags are not aligned with yang modules HOT 3
- The "apkg build" breaks due pam.de/netopeer2.conf path issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netopeer2.