refactor opencontrail params for K8s
PROD-22538
Concatenating commits below from master:
- https://gerrit.mcp.mirantis.net/24969
- https://gerrit.mcp.mirantis.net/25187
- https://gerrit.mcp.mirantis.net/25386
- https://gerrit.mcp.mirantis.net/25462
Change-Id: I1ca3a26255415ab91d43ba3a79f76216f5476680
diff --git a/kubernetes/control/opencontrail.yml b/kubernetes/control/opencontrail.yml
new file mode 100644
index 0000000..e5556fa
--- /dev/null
+++ b/kubernetes/control/opencontrail.yml
@@ -0,0 +1,44 @@
+parameters:
+ _param:
+ opencontrail_identity_user: admin
+ opencontrail_identity_password: contrail123
+ opencontrail_identity_tenant: admin
+ opencontrail_public_ip_range: 172.17.47.128/25
+ opencontrail_public_ip_network: default-domain:default-project:Public
+ opencontrail_private_ip_range: 10.150.0.0/16
+ kubernetes:
+ pool:
+ network:
+ engine: none
+ opencontrail:
+ enabled: false
+ master:
+ network:
+ engine: none
+ opencontrail:
+ version: ${_param:opencontrail_version}
+ public_ip_range: ${_param:opencontrail_public_ip_range}
+ public_network: ${_param:opencontrail_public_ip_network}
+ private_ip_range: ${_param:opencontrail_private_ip_range}
+ config:
+ api:
+ host: ${_param:opencontrail_control_address}
+ identity:
+ auth_user: ${_param:opencontrail_identity_user}
+ auth_password: ${_param:opencontrail_identity_password}
+ auth_tenant: ${_param:opencontrail_identity_tenant}
+ message_queue:
+ host: ${_param:single_address}
+ database:
+ members:
+ - host: ${_param:kubernetes_control_node01_address}
+ port: 9161
+ - host: ${_param:kubernetes_control_node02_address}
+ port: 9161
+ - host: ${_param:kubernetes_control_node03_address}
+ port: 9161
+ collector:
+ members:
+ - host: ${_param:kubernetes_control_node01_address}
+ - host: ${_param:kubernetes_control_node02_address}
+ - host: ${_param:kubernetes_control_node03_address}