Check params in order to decide when to allow the sync

Hi guys,

I have a question.
I create a device using ncs_cli!

The device is listed in the config as /devices/device/c1!

By the other means than NCS i update the name attribute on the actual device!
Meanning that the name is now “pero”!

When I do sync-from device the device I have created c1, has within config data
the structure that contains the param “pero”!

I would like to implement some kind of check that will compare this 2 names and
won’t allow device to connect, to sync data to CDB if they differ!

Do you have some ideas how could I do that ?

I plan to use policies but I am all ears!

This is a User Community Forum for discussing ConfD related questions. You can get help on NSO questions in the NSO DevNet community.