Commit 86f70d21 authored by Dimitrios Mylonakis's avatar Dimitrios Mylonakis
Browse files

Upload New File

parent 0183c03a
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
# PROV_C_01_script.txt for Lightweight NETCONF controlleur lncc.py

# For vendors which does requires PVID (cvlan_creation_untagged_interfacepvid.xml.pyformat)

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, port1_name: combo2, port2_portref: 6}'
mapping add NE_SPECIFIC --ne GX80_2 '{bridge_name: bridge-1, component_name: component-1, port1_portref: 4, port1_name: combo2, port2_portref: 6}'

connect
netconf edit-config --target running --config-template cvlan_creation_untagged.xml.pyformat --mappings COMMON NE_SPECIFIC
netconf edit-config --target running --config-template cvlan_creation_untagged_interfacepvid.xml.pyformat --mappings COMMON NE_SPECIFIC
netconf close-session
quit