Loading scripts/service_provisioning/PROV_C_01/PROV_C_01_untagged_plus_pvid_script.txt 0 → 100644 +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: VLAN-102}' mapping add NE_SPECIFIC --ne my_ne1 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port1_name: 2, port2_portref: 3}' mapping add NE_SPECIFIC --ne my_ne2 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port1_name: 2, port2_portref: 3}' 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 scripts/service_provisioning/PROV_C_01/PROV_C_01_untagged_script.txt +4 −2 Original line number Diff line number Diff line # PROV_C_01_script.txt for Lightweight NETCONF controlleur lncc.py # For vendors which doesnt requires PVID (cvlan_creation_untagged_interfacepvid.xml.pyformat) 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 NE_SPECIFIC --ne my_ne1 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port1_name: 2, port2_portref: 3}' mapping add NE_SPECIFIC --ne my_ne2 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port1_name: 2, port2_portref: 3}' connect netconf edit-config --target running --config-template cvlan_creation_untagged.xml.pyformat --mappings COMMON NE_SPECIFIC Loading scripts/service_provisioning/PROV_C_01/README.md +4 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,10 @@ The same apply for _PROV_C_01_untagged_script.txt_ ```console $ python3 lncc.py "run_script PROV_C_01_untagged_script.txt" ``` Provisioing of unttaged require one more paramater: | Parameter | Example value | |----------------|---------------| | port1_portref | port1_name | ## Deletion Loading scripts/service_provisioning/PROV_C_01/cvlan_creation_untagged_interfacepvid.xml.pyformat 0 → 100644 +11 −0 Original line number Diff line number Diff line <?xml version="1.0"?> <nc:config xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> <name>{port1_name}</name> <bridge-port xmlns="urn:ieee:std:802.1Q:yang:ieee802-dot1q-bridge"> <pvid>{vid}</pvid> </bridge-port> </interface> </interfaces> </nc:config> Loading
scripts/service_provisioning/PROV_C_01/PROV_C_01_untagged_plus_pvid_script.txt 0 → 100644 +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: VLAN-102}' mapping add NE_SPECIFIC --ne my_ne1 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port1_name: 2, port2_portref: 3}' mapping add NE_SPECIFIC --ne my_ne2 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port1_name: 2, port2_portref: 3}' 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
scripts/service_provisioning/PROV_C_01/PROV_C_01_untagged_script.txt +4 −2 Original line number Diff line number Diff line # PROV_C_01_script.txt for Lightweight NETCONF controlleur lncc.py # For vendors which doesnt requires PVID (cvlan_creation_untagged_interfacepvid.xml.pyformat) 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 NE_SPECIFIC --ne my_ne1 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port1_name: 2, port2_portref: 3}' mapping add NE_SPECIFIC --ne my_ne2 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 2, port1_name: 2, port2_portref: 3}' connect netconf edit-config --target running --config-template cvlan_creation_untagged.xml.pyformat --mappings COMMON NE_SPECIFIC Loading
scripts/service_provisioning/PROV_C_01/README.md +4 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,10 @@ The same apply for _PROV_C_01_untagged_script.txt_ ```console $ python3 lncc.py "run_script PROV_C_01_untagged_script.txt" ``` Provisioing of unttaged require one more paramater: | Parameter | Example value | |----------------|---------------| | port1_portref | port1_name | ## Deletion Loading
scripts/service_provisioning/PROV_C_01/cvlan_creation_untagged_interfacepvid.xml.pyformat 0 → 100644 +11 −0 Original line number Diff line number Diff line <?xml version="1.0"?> <nc:config xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> <name>{port1_name}</name> <bridge-port xmlns="urn:ieee:std:802.1Q:yang:ieee802-dot1q-bridge"> <pvid>{vid}</pvid> </bridge-port> </interface> </interfaces> </nc:config>