Fix backward compatibility with single network engine definitions.
Change-Id: Ib022b5b3bfdac630312c97b06ca100b0ef4a1673
diff --git a/tests/pillar/common_storageclass.sls b/tests/pillar/common_storageclass.sls
index 613cc13..11bae00 100644
--- a/tests/pillar/common_storageclass.sls
+++ b/tests/pillar/common_storageclass.sls
@@ -15,9 +15,8 @@
kube-system:
enabled: true
network:
- cnis:
- - calico
calico:
+ enabled: true
calicoctl_image: calico/ctl
cni_image: calico/cni
etcd:
diff --git a/tests/pillar/master_cluster.sls b/tests/pillar/master_cluster.sls
index 06dcace..68a0e51 100644
--- a/tests/pillar/master_cluster.sls
+++ b/tests/pillar/master_cluster.sls
@@ -68,9 +68,8 @@
address: 10.0.175.100
allow_privileged: true
network:
- cnis:
- - calico
calico:
+ enabled: true
calicoctl_image: calico/ctl
cni_image: calico/cni
etcd:
diff --git a/tests/pillar/master_contrail.sls b/tests/pillar/master_contrail.sls
index 627b032..b2941b1 100644
--- a/tests/pillar/master_contrail.sls
+++ b/tests/pillar/master_contrail.sls
@@ -2,9 +2,6 @@
common:
cluster_domain: cluster.local
cluster_name: cluster
- network:
- cnis:
- - opencontrail
hyperkube:
image: hyperkube-amd64:v1.6.4-3
hash: hnsj0XqABgrSww7Nqo7UVTSZLJUt2XRd
@@ -75,9 +72,8 @@
address: 10.0.175.100
allow_privileged: true
network:
- cnis:
- - opencontrail
- contrail:
+ opencontrail:
+ enabled: true
config:
api:
host: 10.0.170.70
diff --git a/tests/pillar/master_contrail4_0.sls b/tests/pillar/master_contrail4_0.sls
index e703b2e..3f62f67 100644
--- a/tests/pillar/master_contrail4_0.sls
+++ b/tests/pillar/master_contrail4_0.sls
@@ -2,9 +2,6 @@
common:
cluster_domain: cluster.local
cluster_name: cluster
- network:
- cnis:
- - opencontrail
hyperkube:
image: hyperkube-amd64:v1.6.4-3
hash: hnsj0XqABgrSww7Nqo7UVTSZLJUt2XRd
@@ -72,9 +69,8 @@
address: 10.0.175.100
allow_privileged: true
network:
- cnis:
- - opencontrail
- contrail:
+ opencontrail:
+ enabled: true
version: 4.0
private_ip_range: 10.150.0.0/16
config:
diff --git a/tests/pillar/pool_cluster.sls b/tests/pillar/pool_cluster.sls
index 21c8448..152cab3 100644
--- a/tests/pillar/pool_cluster.sls
+++ b/tests/pillar/pool_cluster.sls
@@ -48,9 +48,8 @@
kube_proxy: DFvQ8GelB7afH3wClC9romaMPhquyyEe
ca: kubernetes
network:
- cnis:
- - calico
calico:
+ enabled: true
calicoctl_image: calico/ctl
cni_image: calico/cni
etcd:
diff --git a/tests/pillar/pool_cluster_with_domain.sls b/tests/pillar/pool_cluster_with_domain.sls
index 9ad7f69..194e060 100644
--- a/tests/pillar/pool_cluster_with_domain.sls
+++ b/tests/pillar/pool_cluster_with_domain.sls
@@ -49,9 +49,8 @@
kube_proxy: DFvQ8GelB7afH3wClC9romaMPhquyyEe
ca: kubernetes
network:
- cnis:
- - calico
calico:
+ enabled: true
calicoctl_image: calico/ctl
cni_image: calico/cni
etcd:
diff --git a/tests/pillar/pool_contrail4_0.sls b/tests/pillar/pool_contrail4_0.sls
index 3b0595c..612187f 100644
--- a/tests/pillar/pool_contrail4_0.sls
+++ b/tests/pillar/pool_contrail4_0.sls
@@ -48,9 +48,8 @@
kube_proxy: DFvQ8GelB7afH3wClC9romaMPhquyyEe
ca: kubernetes
network:
- cnis:
- - opencontrail
- contrail:
+ opencontrail:
+ enabled: true
version: 4.0
config:
api: