Commit 2aad562c authored by Spyros Kanellopoulos's avatar Spyros Kanellopoulos
Browse files

Update PROV_C_01_untagged_script.txt

parent befd4dbd
Loading
Loading
Loading
Loading
+4 −7
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: VLAN-102}'

mapping add NE_SPECIFIC --ne my_ne1 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port2_portref: 3}'
mapping add NE_SPECIFIC --ne my_ne2 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port2_portref: 3}'
mapping add COMMON '{vid: 101, vlan_name: VLAN101}'
ne add GX80 --host 192.168.1.2 --username netconf --password netconf --port 830
mapping add NE_SPECIFIC --ne Device-name '{bridge_name: Bridge-1, mac_address: 00-05-59-00-00-01, component_name: Component-1, port1_portref: 3, port2_portref: 4}'

connect
netconf edit-config --target running --config-template cvlan_creation_untagged.xml.pyformat --mappings COMMON NE_SPECIFIC
netconf edit-config --target running --config-template scripts/service_provisioning/PROV_C_01/cvlan_creation_untagged.xml.pyformat --mappings COMMON NE_SPECIFIC
netconf close-session