Comments (3)
Okay, then you are missing the iana-if-type
YANG module in sysrepo (and so in netopeer2 as well). Just install the module using sysrepoctl
and it should then work.
from sysrepo.
The XML does not seem right but the correct type
element should be
<type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type>
from sysrepo.
Hi,
But after using this type I am getting the same error.
client:
edit-config --target running --test test-only --config=interfaces.xml
ERROR
type: application
tag: operation-failed
severity: error
message: Invalid identityref "ianaift:ethernetCsmacd" value - unable to map prefix to YANG schema. (Data location "/ietf-interfaces:interfaces/interface[name='eth0']/type".)
type: application
tag: operation-failed
severity: error
message: User callback failed.
Server:
[ERR]: SR: Invalid identityref "ianaift:ethernetCsmacd" value - unable to map prefix to YANG schema. (Data location "/ietf-interfaces:interfaces/interface[name='eth0']/type".)
[ERR]: SR: Applying operation "merge" failed.
[INF]: SR: EV LISTEN: "/ietf-netconf:edit-config" "rpc" ID 9 priority 0 fail (remaining 1 subscribers).
[ERR]: SR: Invalid identityref "ianaift:ethernetCsmacd" value - unable to map prefix to YANG schema. (Data location "/ietf-interfaces:interfaces/interface[name='eth0']/type".)
[WRN]: SR: EV ORIGIN: "/ietf-netconf:edit-config" "rpc" ID 9 priority 0 failed (libyang error).
[ERR]: SR: User callback failed.
[ERR]: NP: Failed to send an RPC (User callback failed).
[INF]: NP: Session 2: thread 1 event new RPC.
[INF]: NP: Session 2: thread 1 event reply error.
This is xml file.
xml.txt
from sysrepo.
Related Issues (20)
- When will 'sr_get_changes' be applied? HOT 4
- Installation error on openWRT 23.05 HOT 3
- Callback Function Receives Original Configuration During Deletion Despite Field Modification HOT 6
- Redundant parameters HOT 9
- Question about sr_connect performance HOT 3
- Memory leak when inserting into a user ordered list after a nonexistent key HOT 2
- Failed to generate netconf-config-change notification, but changes were applied HOT 8
- Sysrepo commands too slow to parse over 200 yang modules HOT 8
- sysrepo application with indirect approach HOT 4
- Suggest configurable timeout for getting operational state data HOT 6
- Question: Force triggering change callback HOT 4
- Function sr_apply_changes is too slow HOT 10
- Can a plugin modify module B based on changes in module A? HOT 2
- sysrepoctl segmentation fault when installing module HOT 4
- Can a plugin modify module B based on changes in module A when validation of module A depends on module B? HOT 11
- inconsistent `location` leaf-list within the `ietf-yang-library` HOT 1
- Question: Public API to use NACM to filter data? HOT 4
- [ERR] Data model "ietf-netconf-monitoring@2010-10-04" not found in local searchdirs. HOT 1
- `sr_module_change_subscribe` appears to provide config data in the operational datastore HOT 3
- How to provide factory default datastore for sysrepo-plugind module in order to configure the plugin order? 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 sysrepo.