# PROV_C_01_deletion_script.txt for Lightweight NETCONF controlleur lncc.py

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

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 cvlan_deletion.xml.pyformat --mappings --mappings COMMON NE_SPECIFIC
netconf close-session
quit