01-07-2020 12:12 PM
Our New Service implementation is working fine and push configurations rightly; but We are facing command sequence issue while making changes; for example as per below config Cisco NSO generates configurations command (which are all fine) but sequence is not correct and we face issues in implementation.
root@ncs(config-link-ORA01/01)# commit dry-run outformat native
native {
device {
name ORA01
data interface GigabitEthernet0/0/5
no description
no ip address
service instance 25 ethernet
description Changing to Tagged
encapsulation dot1q 25
rewrite ingress tag pop 1 symmetric
bridge-domain 25
exit
no ip vrf forwarding NDS_NEW_SER
no ip address
exit
interface BDI25
description Changing to Tagged
ip vrf forwarding NDS_NEW_SER
ip address 12.34.45.1 255.255.255.252
load-interval 30
no shutdown
exit
router ospf 3535 vrf NDS_NEW_SER
passive-interface GigabitEthernet0/0/5
no passive-interface BDI25
exit
}
}we have below error
root@ncs(config-link-ORA01/01)# commit Aborted: External error in the NED implementation for device ORA01: command: passive-interface GigabitEthernet0/0/5: %Interface specified does not belong to this process
but the correct sequence tested on device is ;
(1)
router ospf 3535 vrf NDS_NEW_SER
passive-interface GigabitEthernet0/0/5
(2)
interface GigabitEthernet0/0/5
no description
no ip address
service instance 25 ethernet
description Changing to Tagged
encapsulation dot1q 25
rewrite ingress tag pop 1 symmetric
bridge-domain 25
exit
no ip vrf forwarding NDS_NEW_SER
no ip address
exit
interface BDI25
description Changing to Tagged
ip vrf forwarding NDS_NEW_SER
ip address 12.34.45.1 255.255.255.252
load-interval 30
no shutdown
exit
(3)
router ospf 3535 vrf NDS_NEW_SER
no passive-interface BDI25
exit
NSO version 4.7.3.1
NED version 6.15.1
Please suggest how to change sequence...
Regards,
BMork
01-07-2020 01:37 PM
01-08-2020 04:07 PM
tailf_yang_cli_extensions is a big list. What exactly i should used to make command sequence; please highlight some extension or if any example is available pls share. Thanks
Regards,
BjronMork
01-08-2020 04:45 PM
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