OC+k8s: add roles (primary & secondary) to contrail nodes
Change-Id: I342adb8100bebe199c092323bfbd08c7c31ebb30
Related-PROD: PROD-26827
diff --git a/opencontrail/control/cluster4_0_k8s.yml b/opencontrail/control/cluster4_0_k8s.yml
index 03ad89c..cf9a8e7 100644
--- a/opencontrail/control/cluster4_0_k8s.yml
+++ b/opencontrail/control/cluster4_0_k8s.yml
@@ -43,6 +43,7 @@
network:
host: ${_param:openstack_control_address}
collector:
+ role: ${_param:opencontrail_node_role}
config_only: true
discovery:
host: None
@@ -98,6 +99,7 @@
region: ${_param:openstack_region}
host: ${_param:openstack_control_address}
control:
+ role: ${_param:opencontrail_node_role}
config_only: true
identity:
host: ${_param:openstack_control_address}