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

Device Sync Mandatory to do configuration?

pradc
Cisco Employee
Cisco Employee

Hi,

In one of our use case we just need to push configuration using NSO and we are able to do this.

Is device SYNC mandatory before sending any configuration to the device?

 

-Thanks,

Pradeep

 

1 Accepted Solution

Accepted Solutions

KJ Rossavik
Cisco Employee
Cisco Employee

The preferred mode of operation is that NSO is the only "thing" (including systems and people) that configures the device. So then you do a sync from when you first connect to the device, and then you can assume that NSO is always in sync with the device. This means that when NSO calculates the minimal configuration to send to the device, it knows what is already there. NSO will do a check-sync as the first stage of any transaction, so if someone/something else has configured the device, then the transaction will fail. You can then inspect the delta, and decide if you want to accept waht's on the device (sync-from), overwrite it (sync-to), or ignore it (commit without sync check). This is the safest way to operate.

 

There are of course less safe ways :-)

View solution in original post

1 Reply 1

KJ Rossavik
Cisco Employee
Cisco Employee

The preferred mode of operation is that NSO is the only "thing" (including systems and people) that configures the device. So then you do a sync from when you first connect to the device, and then you can assume that NSO is always in sync with the device. This means that when NSO calculates the minimal configuration to send to the device, it knows what is already there. NSO will do a check-sync as the first stage of any transaction, so if someone/something else has configured the device, then the transaction will fail. You can then inspect the delta, and decide if you want to accept waht's on the device (sync-from), overwrite it (sync-to), or ignore it (commit without sync check). This is the safest way to operate.

 

There are of course less safe ways :-)