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

Update...

Update scripts/service_provisioning/PROV_C_01/cvlan_creation_untagged_interfacepvid.xml.pyformat, scripts/service_provisioning/PROV_C_01/PROV_C_01_untagged_script.txt, scripts/service_provisioning/PROV_C_01/README.md
parent ea97da34
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -4,10 +4,11 @@ set feedback_to_output true
ne load ne.yaml
ne load ne.yaml
mapping add COMMON '{vid: 102, vlan_name: VLAN-102}'
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_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, 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
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.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
netconf close-session
+4 −0
Original line number Original line Diff line number Diff line
@@ -25,6 +25,10 @@ The same apply for _PROV_C_01_untagged_script.txt_
```console
```console
$ python3 lncc.py "run_script PROV_C_01_untagged_script.txt"
$ 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
## Deletion


+11 −0
Original line number Original line 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>