- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2019 03:02 AM
Hi there,
I have question please..
I run simple-mpls-vpn example.
when i run
#devices sync-from, there is an output like this ( for all the devices ):
sync-result {
device ce0
result true
but when i run :
admin@ncs# devices partial-sync-from path [ /devices/device[name='ce0'] ]
admin@ncs#
there is no output and command prompt comes back.
any ideawhy this is happening. How c an i see if partial sync is ok or not.
Thanks.
Solved! Go to Solution.
- Labels:
-
Other NSO Topics
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2019 12:41 PM
From the nso-user-guide:
partial-sync-from: Synchronize parts of the devices' configuration by pulling from the network.
and from the example:
Example 8. Example of running partial-sync-from action via CLI
$ ncs_cli -C -u admin
ncs# devices partial-sync-from path [ \ /devices/device[name='ex0']/config/r:sys/interfaces/interface[name='eth0'] \ /devices/device[name='ex1']/config/r:sys/dns/server ]
sync-result {
device ex0
result true }
It would seem to me that partial-sync-from would only work when defining the path to a specific bits of configurations from within the device. partial-sync-from wouldn't work when defining the device as it would basically be a full sync-from.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2019 12:41 PM
From the nso-user-guide:
partial-sync-from: Synchronize parts of the devices' configuration by pulling from the network.
and from the example:
Example 8. Example of running partial-sync-from action via CLI
$ ncs_cli -C -u admin
ncs# devices partial-sync-from path [ \ /devices/device[name='ex0']/config/r:sys/interfaces/interface[name='eth0'] \ /devices/device[name='ex1']/config/r:sys/dns/server ]
sync-result {
device ex0
result true }
It would seem to me that partial-sync-from would only work when defining the path to a specific bits of configurations from within the device. partial-sync-from wouldn't work when defining the device as it would basically be a full sync-from.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2019 05:08 AM
Yes, that helped.
Thank you.
It seems , partial-sync-from works starting from config.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 02:41 AM
Is anyone aware of how to invoke partial sync-from using python APIs?
Tried .partial_sync_from($path),etc. but none works.
API docs don't seem to have this information handy either.
