Have you ever thought about automation of slice configuration on NCS1002 using open models? YDK can help you with that! And to make your life even more easier, here are basic examples that show you all the logic behind models. Use them, adopt them, improve them! nc-edit-config-oc-terminal-device-20-ydk.py Explains how to configure 2x100GE --> 2x100G mode nc-edit-config-oc-terminal-device-22-ydk.py Explains how to configure 4x100GE --> 2x200G mode nc-edit-config-oc-terminal-device-24-ydk.py Explains how to configure 5x100GE --> 2x250G mode nc-edit-config-oc-terminal-device-30-ydk.py Explains how to configure 20x10GE --> 1x200G mode nc-edit-config-oc-terminal-device-32-ydk.py Explains how to configure 20x10GE --> 2x100G mode More to come soon!
... View more
Hi, Vinoth. Looks like you're trying to configure a slice in NCS1002 (10G client, right?). Configuration should include not just terminal-devices, but some other models and there is an internal interdependence (you will need to commit them all together or NCS1k won't accept the change). I'm almost done with full config using YDK and it will be posted very soon (XML structure is also there). It will be done for all 100G and 10G client modes (5 basic examples in YDK-python, that you can enhance and use as you want). While waiting, please, have a look here: https://xrdocs.github.io/programmability/tutorials/2017-08-22-ncs1002-configuration-automation-overview/ , it provides some basic background of how to use OpenConfig models with NCS1002. Regards, Viktor
... View more