cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1604
Views
0
Helpful
1
Replies

netconf ned for xr662

Yong Zhao
Cisco Employee
Cisco Employee

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.

1 Accepted Solution

Accepted Solutions

Yong Zhao
Cisco Employee
Cisco Employee

“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

View solution in original post

1 Reply 1

Yong Zhao
Cisco Employee
Cisco Employee

“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