cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
766
Views
0
Helpful
2
Replies

Is there some useful docs or ideas for Service discovery in NSO?

yongz2
Cisco Employee
Cisco Employee

Hi All,

Just as the topic show, it' would be amazing if we can get service instance from devices configurations, reverse the process of NSO use service to push configs to devices.

Though is would be a little tricky, dose anyone or any team have some idea or reference docs about it?

Currently I want to parse devices configurations xml to acquire useful element and then put to service xml skeleton but seems can not be used universally

2 Replies 2

Jan Lindblad
Cisco Employee
Cisco Employee

Service reconciliation has been discussed quite a bit. I looked at our recorded videos from NSO Developer Days and found four:

https://www.youtube.com/watch?v=2cD99AJfaVo

https://www.youtube.com/watch?v=yYzk8aXMCbY

https://www.youtube.com/watch?v=ExdryBzvRRo

https://www.youtube.com/watch?v=eXLRPnvc8Ek

 

If you search the forum for reconciliation or brown, I think you'll find many relevant posts. Feel free to also ask more specific questions here.

 

Hi Jan,

 

Thank you for your useful links, really appreciate it.

For one stupid question I want to ask:

 

After service instance found, I used load merge and commit commands to on board my service,

But it seems I can't commit this service as there are existed configurations on device, like:

 

admin@ncs(config)# commit dry-run
Aborted: Exception in callback: 005-BVI interface(VLan) 2055 is already exist on device: PN-0

 

I try to use device south-bound-locked and commit no-networking but still failed.

Is there something wrong about following ?

1. find out service instance list

2. load merge then commit

3. service redeploy reconcile

 

It's would be easy, but I am lost....