Merge "fix model domains to valid names"
diff --git a/classes/cluster/sl_k8s_contrail/infra/config.yml b/classes/cluster/sl_k8s_contrail/infra/config.yml
index b17d297..7a47bd3 100644
--- a/classes/cluster/sl_k8s_contrail/infra/config.yml
+++ b/classes/cluster/sl_k8s_contrail/infra/config.yml
@@ -85,12 +85,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
diff --git a/classes/cluster/virtual-mcp-ocata-dvr/infra/config.yml b/classes/cluster/virtual-mcp-ocata-dvr/infra/config.yml
index d3a6dcd..eba6c65 100644
--- a/classes/cluster/virtual-mcp-ocata-dvr/infra/config.yml
+++ b/classes/cluster/virtual-mcp-ocata-dvr/infra/config.yml
@@ -123,12 +123,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -185,4 +185,4 @@
classes:
- cluster.virtual-mcp-ocata-dvr.openstack.proxy
params:
- linux_system_codename: xenial
\ No newline at end of file
+ linux_system_codename: xenial
diff --git a/classes/cluster/virtual-mcp-ocata-ovs/infra/config.yml b/classes/cluster/virtual-mcp-ocata-ovs/infra/config.yml
index ab81805..876bfea 100644
--- a/classes/cluster/virtual-mcp-ocata-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp-ocata-ovs/infra/config.yml
@@ -124,12 +124,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -182,4 +182,4 @@
classes:
- cluster.virtual-mcp-ocata-ovs.openstack.proxy
params:
- linux_system_codename: xenial
\ No newline at end of file
+ linux_system_codename: xenial
diff --git a/classes/cluster/virtual-mcp05-dvr/infra/config.yml b/classes/cluster/virtual-mcp05-dvr/infra/config.yml
index 185739a..cfcb185 100644
--- a/classes/cluster/virtual-mcp05-dvr/infra/config.yml
+++ b/classes/cluster/virtual-mcp05-dvr/infra/config.yml
@@ -117,12 +117,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -174,4 +174,4 @@
openstack_gateway_node01:
params:
tenant_address: 10.1.0.110
- external_address: 10.16.0.110
\ No newline at end of file
+ external_address: 10.16.0.110
diff --git a/classes/cluster/virtual-mcp05-ovs/infra/config.yml b/classes/cluster/virtual-mcp05-ovs/infra/config.yml
index 5e9068d..226b5e1 100644
--- a/classes/cluster/virtual-mcp05-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp05-ovs/infra/config.yml
@@ -117,12 +117,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -174,4 +174,4 @@
openstack_gateway_node01:
params:
tenant_address: 10.1.0.110
- external_address: 10.16.0.110
\ No newline at end of file
+ external_address: 10.16.0.110
diff --git a/classes/cluster/virtual-mcp10-contrail/infra/config.yml b/classes/cluster/virtual-mcp10-contrail/infra/config.yml
index c86ed5b..67f9f01 100755
--- a/classes/cluster/virtual-mcp10-contrail/infra/config.yml
+++ b/classes/cluster/virtual-mcp10-contrail/infra/config.yml
@@ -118,12 +118,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
diff --git a/classes/cluster/virtual-mcp10-dvr/infra/config.yml b/classes/cluster/virtual-mcp10-dvr/infra/config.yml
index d6bd4a2..fa7c6c4 100644
--- a/classes/cluster/virtual-mcp10-dvr/infra/config.yml
+++ b/classes/cluster/virtual-mcp10-dvr/infra/config.yml
@@ -117,12 +117,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -174,4 +174,4 @@
openstack_gateway_node01:
params:
tenant_address: 10.1.0.110
- external_address: 10.16.0.110
\ No newline at end of file
+ external_address: 10.16.0.110
diff --git a/classes/cluster/virtual-mcp10-ovs/infra/config.yml b/classes/cluster/virtual-mcp10-ovs/infra/config.yml
index ab944e7..666de15 100644
--- a/classes/cluster/virtual-mcp10-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp10-ovs/infra/config.yml
@@ -117,12 +117,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -174,4 +174,4 @@
openstack_gateway_node01:
params:
tenant_address: 10.1.0.110
- external_address: 10.16.0.110
\ No newline at end of file
+ external_address: 10.16.0.110
diff --git a/classes/cluster/virtual-mcp11-contrail-nfv/infra/config.yml b/classes/cluster/virtual-mcp11-contrail-nfv/infra/config.yml
index a000956..fe44865 100755
--- a/classes/cluster/virtual-mcp11-contrail-nfv/infra/config.yml
+++ b/classes/cluster/virtual-mcp11-contrail-nfv/infra/config.yml
@@ -132,12 +132,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -188,4 +188,4 @@
classes:
- cluster.virtual-mcp11-contrail-nfv.openstack.proxy
params:
- linux_system_codename: xenial
\ No newline at end of file
+ linux_system_codename: xenial
diff --git a/classes/cluster/virtual-mcp11-contrail/infra/config.yml b/classes/cluster/virtual-mcp11-contrail/infra/config.yml
index 28cc045..af5abe0 100755
--- a/classes/cluster/virtual-mcp11-contrail/infra/config.yml
+++ b/classes/cluster/virtual-mcp11-contrail/infra/config.yml
@@ -132,12 +132,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -180,4 +180,4 @@
classes:
- cluster.virtual-mcp11-contrail.openstack.proxy
params:
- linux_system_codename: xenial
\ No newline at end of file
+ linux_system_codename: xenial
diff --git a/classes/cluster/virtual-mcp11-dvr/infra/config.yml b/classes/cluster/virtual-mcp11-dvr/infra/config.yml
index c1edf41..a6b94d7 100644
--- a/classes/cluster/virtual-mcp11-dvr/infra/config.yml
+++ b/classes/cluster/virtual-mcp11-dvr/infra/config.yml
@@ -121,12 +121,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -183,4 +183,4 @@
classes:
- cluster.virtual-mcp11-dvr.openstack.proxy
params:
- linux_system_codename: xenial
\ No newline at end of file
+ linux_system_codename: xenial
diff --git a/classes/cluster/virtual-mcp11-dvr/openstack/compute.yml b/classes/cluster/virtual-mcp11-dvr/openstack/compute.yml
index 6abc6d0..8c68db0 100644
--- a/classes/cluster/virtual-mcp11-dvr/openstack/compute.yml
+++ b/classes/cluster/virtual-mcp11-dvr/openstack/compute.yml
@@ -24,8 +24,6 @@
nova:
compute:
vncproxy_url: http://${_param:cluster_vip_address}:6080
- notification:
- driver: messagingv2
message_queue:
members:
- host: ${_param:openstack_control_node01_address}
diff --git a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml
index 5263ff6..14af257 100644
--- a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml
+++ b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml
@@ -24,6 +24,14 @@
image: ${_param:kubernetes_calico_cni_image}
mtu: ${_param:kubernetes_mtu}
common:
+ addons:
+ virtlet:
+ enabled: ${_param:kubernetes_virtlet_enabled}
+ namespace: kube-system
+ image: ${_param:kubernetes_virtlet_image}
+ hosts:
+ - ${_param:kubernetes_compute_node01_hostname}
+ - ${_param:kubernetes_compute_node02_hostname}
hyperkube:
image: ${_param:kubernetes_hyperkube_image}
linux:
diff --git a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml
index 4c97283..4475f2d 100644
--- a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml
+++ b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml
@@ -27,11 +27,13 @@
kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:v1.1.0
kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:v1.1.0
kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
+ kubernetes_virtlet_image: mirantis/virtlet:v0.7.0
# switches of addons
kubernetes_helm_enabled: true
kubernetes_netchecker_enabled: true
kubernetes_calico_policy_enabled: false
+ kubernetes_virtlet_enabled: false
# addresses and hostnames
kubernetes_internal_api_address: 10.254.0.1
diff --git a/classes/cluster/virtual-mcp11-ovs-dpdk/infra/config.yml b/classes/cluster/virtual-mcp11-ovs-dpdk/infra/config.yml
index 7218523..ab3d282 100644
--- a/classes/cluster/virtual-mcp11-ovs-dpdk/infra/config.yml
+++ b/classes/cluster/virtual-mcp11-ovs-dpdk/infra/config.yml
@@ -121,12 +121,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -187,4 +187,4 @@
classes:
- cluster.virtual-mcp11-ovs-dpdk.openstack.proxy
params:
- linux_system_codename: xenial
\ No newline at end of file
+ linux_system_codename: xenial
diff --git a/classes/cluster/virtual-mcp11-ovs/infra/config.yml b/classes/cluster/virtual-mcp11-ovs/infra/config.yml
index 37decff..9580db4 100644
--- a/classes/cluster/virtual-mcp11-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp11-ovs/infra/config.yml
@@ -120,12 +120,12 @@
stacklight_monitor_node01:
expression: <<node_hostname>>__equals__mon01
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node01_address:
value_template: <<node_control_ip>>
stacklight_monitor_node02:
expression: <<node_hostname>>__equals__mon02
cluster_param:
- stacklight_monitor_node03_address:
+ stacklight_monitor_node02_address:
value_template: <<node_control_ip>>
stacklight_monitor_node03:
expression: <<node_hostname>>__equals__mon03
@@ -182,4 +182,4 @@
classes:
- cluster.virtual-mcp11-ovs.openstack.proxy
params:
- linux_system_codename: xenial
\ No newline at end of file
+ linux_system_codename: xenial
diff --git a/classes/system b/classes/system
index bc49d34..0e05a52 160000
--- a/classes/system
+++ b/classes/system
@@ -1 +1 @@
-Subproject commit bc49d346f1ac5df1bae934264aa95b1dc19e596b
+Subproject commit 0e05a52f3e35853ec8e2bd7ad8ea9bce297e218a