Commit 8f428f5d authored by Dimitrios Mylonakis's avatar Dimitrios Mylonakis
Browse files

Upload New File

parent 20f2bf9f
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
# PROV_SC_01_script.txt for Lightweight NETCONF controlleur lncc.py

set feedback_to_output true
ne load ne.yaml
mapping add COMMON '{vid: 201, vlan_name: VLAN201}'

mapping add NE_SPECIFIC --ne GX80_1 '{bridge_name: bridge-1, component_name: component-1, port1_portref: 3, port2_portref: 6}'
mapping add NE_SPECIFIC --ne GX80_2 '{bridge_name: bridge-1, component_name: component-1, port1_portref: 3, port2_portref: 6}'

connect
netconf edit-config --target running --config-template svlan_creation.xml.pyformat --mappings COMMON NE_SPECIFIC
netconf close-session
quit
 No newline at end of file