Commit ccfd04f8 authored by Jean Rebiffe's avatar Jean Rebiffe
Browse files

Update scripts/service_provisioning/PROV_SC_01/svlan_creation.xml.pyformat,...

Update scripts/service_provisioning/PROV_SC_01/svlan_creation.xml.pyformat, scripts/service_provisioning/PROV_SC_01/PROV_SC_01_script.txt, scripts/service_provisioning/PROV_C_01/README.md, scripts/service_provisioning/PROV_SC_01/README.md, scripts/inventory/INV_CARRIER_01/README.md
Deleted scripts/inventory/INV_CARRIER_01/.gitkeep, scripts/inventory/INV_HW_01/.gitkeep
parent fc2c32e0
Loading
Loading
Loading
Loading
+0 −0

Empty file deleted.

+1 −1
Original line number Original line Diff line number Diff line
# MWT SDN Plugtests 4 materials
# INV_CARRIER_01 inventory test


The _INV_CARRIER_01_script.txt_ script should product the inventory for both RLTs and CTs.
The _INV_CARRIER_01_script.txt_ script should product the inventory for both RLTs and CTs.


+0 −0

Empty file deleted.

+2 −2
Original line number Original line Diff line number Diff line
# MWT SDN Plugtests 4 materials
# PROV_C_01 service-provisioning test


The _PROV_C_01_script.txt_ script should provision C-VLAN service, based on "Customer Bridge".
The _PROV_C_01_script.txt_ script should provision C-VLAN service, based on "Customer Bridge".


@@ -26,7 +26,7 @@ The same apply for _PROV_C_01_untagged_script.txt_
$ python3 lncc.py "run_script PROV_C_01_untagged_script.txt"
$ python3 lncc.py "run_script PROV_C_01_untagged_script.txt"
```
```


## deletion
## Deletion


```console
```console
$ python3 lncc.py "run_script PROV_C_01_deletion_script.txt"
$ python3 lncc.py "run_script PROV_C_01_deletion_script.txt"
+12 −0
Original line number Original line 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: 201, vlan_name: VLAN-201}'

mapping add NE_SPECIFIC --ne my_ne1 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 1, port2_portref: 3}'
mapping add NE_SPECIFIC --ne my_ne2 '{bridge_name: Bridge-1, component_name: Component-1, port1_portref: 1, port2_portref: 3}'

connect
netconf edit-config --target running --config-template svlan_creation.xml.pyformat --mappings COMMON NE_SPECIFIC
netconf close-session
Loading