Commit 0183c03a authored by Dimitrios Mylonakis's avatar Dimitrios Mylonakis
Browse files

Upload New File

parent afba9a0c
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
# PROV_C_01_script.txt for Lightweight NETCONF controlleur lncc.py

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

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

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