From c7d8de123dc620fd1a972b0cb8390476d7485f0c Mon Sep 17 00:00:00 2001 From: rebiffe Date: Mon, 7 Nov 2022 18:02:01 +0000 Subject: [PATCH 1/4] Adds 4 XML files for E-Line service provisioning --- scripts/PROV_C_01/cvlan.xml | 41 ++++++++++++++++++++++++++ scripts/PROV_SC_01/add_eth_if.xml | 19 ++++++++++++ scripts/PROV_SC_01/add_mw_if.xml | 31 +++++++++++++++++++ scripts/PROV_SC_01/bridge_creation.xml | 32 ++++++++++++++++++++ 4 files changed, 123 insertions(+) create mode 100644 scripts/PROV_C_01/cvlan.xml create mode 100644 scripts/PROV_SC_01/add_eth_if.xml create mode 100644 scripts/PROV_SC_01/add_mw_if.xml create mode 100644 scripts/PROV_SC_01/bridge_creation.xml diff --git a/scripts/PROV_C_01/cvlan.xml b/scripts/PROV_C_01/cvlan.xml new file mode 100644 index 0000000..7aad21a --- /dev/null +++ b/scripts/PROV_C_01/cvlan.xml @@ -0,0 +1,41 @@ + + + + ExampleBridge + customer-vlan-bridge + + ExampleComponent + c-vlan-component + + + + {port1_ref} + + fixed-new-ignored + tagged + + + + {port2_ref} + + fixed-new-ignored + tagged + + + + + + + 101 + Service-101 + + + + + 102 + Service-102 + + + + + diff --git a/scripts/PROV_SC_01/add_eth_if.xml b/scripts/PROV_SC_01/add_eth_if.xml new file mode 100644 index 0000000..05fb26b --- /dev/null +++ b/scripts/PROV_SC_01/add_eth_if.xml @@ -0,0 +1,19 @@ +# XML elaboration on going + + + + eth0 + + customer-edge-port + CvlanExampleComponent101 + + 42 + 101 + + + 42 + 102 + + + + diff --git a/scripts/PROV_SC_01/add_mw_if.xml b/scripts/PROV_SC_01/add_mw_if.xml new file mode 100644 index 0000000..e3072f1 --- /dev/null +++ b/scripts/PROV_SC_01/add_mw_if.xml @@ -0,0 +1,31 @@ +# XML elaboration on going + + + + eth1-mw + + provider-network-port + SvlanExampleComponent + + + + + + + ExampleBridge + + SvlanExampleComponent + + + + 42001 + + fixed-new-ignored + tagged + + + + + + + diff --git a/scripts/PROV_SC_01/bridge_creation.xml b/scripts/PROV_SC_01/bridge_creation.xml new file mode 100644 index 0000000..21a863b --- /dev/null +++ b/scripts/PROV_SC_01/bridge_creation.xml @@ -0,0 +1,32 @@ +# XML elaboration on going + + + + ExampleBridge + provider-edge-bridge + + SvlanExampleComponent + s-vlan-component + + + 42 + Customer-A + + + + + CvlanExampleComponent101 + c-vlan-component + + + 101 + VLAN101 + + + 102 + VLAN102 + + + + + -- GitLab From 394475abc43a81550536258312c0f5a04c20b6a3 Mon Sep 17 00:00:00 2001 From: rebiffe Date: Mon, 7 Nov 2022 18:07:54 +0000 Subject: [PATCH 2/4] Correction: element is a container, not a list --- scripts/PROV_C_01/cvlan.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/PROV_C_01/cvlan.xml b/scripts/PROV_C_01/cvlan.xml index 7aad21a..223ad2a 100644 --- a/scripts/PROV_C_01/cvlan.xml +++ b/scripts/PROV_C_01/cvlan.xml @@ -29,8 +29,6 @@ 101 Service-101 - - 102 Service-102 -- GitLab From 3f089ede3b0e8ba076b95e8963a02929ffdd1ef9 Mon Sep 17 00:00:00 2001 From: rebiffe Date: Tue, 8 Nov 2022 08:29:05 +0000 Subject: [PATCH 3/4] Update scripts/PROV_SC_01/add_eth_if.xml, scripts/PROV_SC_01/add_mw_if.xml files --- scripts/PROV_SC_01/add_eth_if.xml | 28 +++++++++++++++++++++++++--- scripts/PROV_SC_01/add_mw_if.xml | 2 ++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/scripts/PROV_SC_01/add_eth_if.xml b/scripts/PROV_SC_01/add_eth_if.xml index 05fb26b..9aeb125 100644 --- a/scripts/PROV_SC_01/add_eth_if.xml +++ b/scripts/PROV_SC_01/add_eth_if.xml @@ -1,4 +1,3 @@ -# XML elaboration on going @@ -6,14 +5,37 @@ customer-edge-port CvlanExampleComponent101 - + 42 101 - + 42 102 + + + diff --git a/scripts/PROV_SC_01/add_mw_if.xml b/scripts/PROV_SC_01/add_mw_if.xml index e3072f1..f1627cf 100644 --- a/scripts/PROV_SC_01/add_mw_if.xml +++ b/scripts/PROV_SC_01/add_mw_if.xml @@ -6,10 +6,12 @@ provider-network-port SvlanExampleComponent + + ExampleBridge -- GitLab From c68209fad9c9ee44b9d181ed76387dce8255b607 Mon Sep 17 00:00:00 2001 From: rebiffe Date: Tue, 8 Nov 2022 08:49:42 +0000 Subject: [PATCH 4/4] Update scripts/PROV_C_01/cvlan.xml, scripts/PROV_SC_01/add_mw_if.xml, scripts/PROV_SC_01/add_eth_if.xml, scripts/PROV_SC_01/bridge_creation.xml files --- scripts/PROV_C_01/cvlan.xml | 4 ++++ scripts/PROV_SC_01/add_eth_if.xml | 13 ++++++++++++- scripts/PROV_SC_01/add_mw_if.xml | 3 +++ scripts/PROV_SC_01/bridge_creation.xml | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/scripts/PROV_C_01/cvlan.xml b/scripts/PROV_C_01/cvlan.xml index 223ad2a..6109c1a 100644 --- a/scripts/PROV_C_01/cvlan.xml +++ b/scripts/PROV_C_01/cvlan.xml @@ -8,6 +8,7 @@ c-vlan-component + 101 {port1_ref} @@ -15,6 +16,9 @@ tagged + + + 102 {port2_ref} diff --git a/scripts/PROV_SC_01/add_eth_if.xml b/scripts/PROV_SC_01/add_eth_if.xml index 9aeb125..48c457d 100644 --- a/scripts/PROV_SC_01/add_eth_if.xml +++ b/scripts/PROV_SC_01/add_eth_if.xml @@ -23,9 +23,20 @@ ExampleBridge - SvlanExampleComponent + CvlanExampleComponent + 101 + + 42002 + + fixed-new-ignored + tagged + + + + + 102 42002 diff --git a/scripts/PROV_SC_01/add_mw_if.xml b/scripts/PROV_SC_01/add_mw_if.xml index f1627cf..e649d25 100644 --- a/scripts/PROV_SC_01/add_mw_if.xml +++ b/scripts/PROV_SC_01/add_mw_if.xml @@ -19,6 +19,9 @@ SvlanExampleComponent + 1 + 42 + static 42001 diff --git a/scripts/PROV_SC_01/bridge_creation.xml b/scripts/PROV_SC_01/bridge_creation.xml index 21a863b..4d3889e 100644 --- a/scripts/PROV_SC_01/bridge_creation.xml +++ b/scripts/PROV_SC_01/bridge_creation.xml @@ -15,7 +15,7 @@ - CvlanExampleComponent101 + CvlanExampleComponent c-vlan-component -- GitLab