[fuel] Parameterize tenant VLAN ranges 01/56001/3
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 17:08:45 +0000 (19:08 +0200)
- 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>
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 17f0150..4d81fa0 100644 (file)
@@ -33,7 +33,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 281e63a..bd81019 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 5f99082..91227d6 100644 (file)
@@ -34,7 +34,7 @@ idf:
       mask: 24
     private:
       interface: 3
-      vlan: 1000
+      vlan: 1000-1030
       network: 192.168.2.0
       mask: 24
     public:
index a8c370d..f2ccef8 100644 (file)
@@ -35,7 +35,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 6e8c134..fb81729 100644 (file)
@@ -33,7 +33,7 @@ idf:
       mask: 24
     private:
       interface: 3
-      vlan: 1120
+      vlan: 1120-1150
       network: 192.168.63.0
       mask: 24
     public: