08-04-2019 09:03 PM - edited 08-05-2019 12:28 AM
I tried to build xr662 netconf ned by nso5.2.x native netconf ned builder tools, as follow:
admin@ncs# netconf-ned-builder project xr 6.6 fetch-module-list admin@ncs# netconf-ned-builder project xr 6.6 module Cisco-IOS-XR-* * select admin@ncs# netconf-ned-builder project xr 6.6 build-ned admin@ncs# show netconf-ned-builder project xr 6.6 build-status build-status success
But when update netconf id in device, then sync-from, found follow alarm:
admin@ncs# config Entering configuration mode terminal admin@ncs(config)# devices device xrv9k-controller admin@ncs(config-device-xrv9k-controller)# device-type netconf ned-id Possible completions: cisco-iosxr-cli-7.13 lsa-netconf netconf snmp xr-nc-6.6 admin@ncs(config-device-xrv9k-controller)# device-type netconf ned-id xr-nc-6.6 admin@ncs(config-device-xrv9k-controller)# show config devices device xrv9k-controller device-type netconf ned-id xr-nc-6.6 ! admin@ncs(config-device-xrv9k-controller)# exit admin@ncs(config)# show config devices device xrv9k-controller device-type netconf ned-id xr-nc-6.6 ! admin@ncs(config)# commit Commit complete. admin@ncs(config)# admin@ncs(config)# exit admin@ncs# show packages package oper-status PACKAGE PROGRAM META FILE CODE JAVA BAD NCS PACKAGE PACKAGE CIRCULAR DATA LOAD NAME UP ERROR UNINITIALIZED VERSION NAME VERSION DEPENDENCY ERROR ERROR ERROR INFO ------------------------------------------------------------------------------------------------------------------------------------------------------------------- cisco-iosxr-cli-7.13 X - - - - - - - - - cn-to-dc - - - - - - - - X [cn-to-dc-template.xml:2 Unknown servicepoint: cn-to-dc] dc-to-cn - - - - - - - - X [dc-to-cn-template.xml:2 Unknown servicepoint: dc-to-cn] rpl X - - - - - - - - - xr-nc-6.6 X - - - - - - - - - admin@ncs# admin@ncs# devices device xrv9k-controller sync-from result false info xrv9k-controller: invalid value for: assign in /ncs:devices/ncs:device[ncs:name='xrv9k-controller']/ncs:config/vm:vm/vm:config/vm:cpu/vm:assign: "" is an invalid value.
Could you kindly check how to fix the issue...
info xrv9k-controller: invalid value for: assign in /ncs:devices/ncs:device[ncs:name='xrv9k-controller']/ncs:config/vm:vm/vm:config/vm:cpu/vm:assign: "" is an invalid value.
Solved! Go to Solution.
08-06-2019 12:24 AM - edited 08-06-2019 01:30 AM
“Cisco-IOS-XR-sysadmin-vm.yang has a violation of RFC 6087 YANG model guidelines, section 4.9. This will be corrected in future release.”
https://github.com/YangModels/yang/tree/master/vendor/cisco/xr/662
That is RCA? Need to exclude the yang file before build ned...?
Yes, after removing the yang, sync-from recovery to normal:
netconf-ned-builder project xr 6.6 module Cisco-IOS-XR-sysadmin-vm * deselect
08-06-2019 12:24 AM - edited 08-06-2019 01:30 AM
“Cisco-IOS-XR-sysadmin-vm.yang has a violation of RFC 6087 YANG model guidelines, section 4.9. This will be corrected in future release.”
https://github.com/YangModels/yang/tree/master/vendor/cisco/xr/662
That is RCA? Need to exclude the yang file before build ned...?
Yes, after removing the yang, sync-from recovery to normal:
netconf-ned-builder project xr 6.6 module Cisco-IOS-XR-sysadmin-vm * deselect
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide