[fuel] Parameterize tenant VLAN ranges 15/56015/1 stable/fraser
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Apr 2018 16:37:29 +0000 (18:37 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Apr 2018 20:16:05 +0000 (20:16 +0000)
- IDF: convert all tenant VLANs to ranges;
- IA: convert 'M-N' to 'M:N' for `opnfv_net_tenant_vlan`;

Change-Id: Ic9211235281c81ba082d10806651c35116ba4c35
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit c7034503e2bb8da20f2b5c678719c7c7fbe6e61f)

config/installers/fuel/pod_config.yml.j2
labs/arm/idf-pod5.yaml
labs/arm/idf-pod6.yaml
labs/arm/idf-pod7.yaml
labs/bii/idf-pod1.yaml
labs/ericsson/idf-pod1.yaml
labs/lf/idf-pod2.yaml
labs/zte/idf-pod1.yaml

index 1cf76d3..3292b77 100644 (file)
@@ -155,7 +155,7 @@ parameters:
     opnfv_name_servers: {{ dns_public }}
     opnfv_dns_server01: '{{ dns_public[0] }}'
     opnfv_net_mgmt_vlan: {{ vlan_mgmt }}
-    opnfv_net_tenant_vlan: {{ vlan_private }}
+    opnfv_net_tenant_vlan: "{{ vlan_private | string | replace('-', ':') }}"
 
 {%- for network in networks %}
 {%- for key in hosts[network] %}
index 5c9df09..50db0cf 100644 (file)
@@ -35,7 +35,7 @@ idf:
       mask: 24
     private:
       interface: 1
-      vlan: 2185
+      vlan: 2185-2200
       network: 10.1.0.0
       mask: 24
     public:
index 4599358..b1464e0 100644 (file)
@@ -32,7 +32,7 @@ idf:
       mask: 24
     private:
       interface: 2
-      vlan: 2325
+      vlan: 2325-2340
       network: 10.1.0.0
       mask: 24
     public:
index a8041a2..7745cda 100644 (file)
@@ -35,7 +35,7 @@ idf:
       mask: 24
     private:
       interface: 1
-      vlan: 2345
+      vlan: 2345-2360
       network: 10.1.0.0
       mask: 24
     public:
index d694479..fdff5ab 100644 (file)
@@ -30,7 +30,7 @@ idf:
       mask: 24
     private:
       interface: 3
-      vlan: 102
+      vlan: 102-132
       network: 192.168.102.0
       mask: 24
     public:
index 6c02a4c..94f8ef6 100644 (file)
@@ -33,7 +33,7 @@ idf:
       mask: 24
     private:
       interface: 3
-      vlan: 1000
+      vlan: 1000-1030
       network: 192.168.2.0
       mask: 24
     public:
index b916707..1972d15 100644 (file)
@@ -34,7 +34,7 @@ idf:
       mask: 24
     private:
       interface: 1
-      vlan: 1000
+      vlan: 1000-1030
       network: 10.1.0.0      # Tagged, not the same with 'private' on wiki
       mask: 24
     public:
index a7428fd..ac231a6 100644 (file)
@@ -32,7 +32,7 @@ idf:
       mask: 24
     private:
       interface: 3
-      vlan: 1120
+      vlan: 1120-1150
       network: 192.168.63.0
       mask: 24
     public: