add virtual_mcp_k8s-contrail model
Change-Id: I05ddbdd8ba147acb683b3928682e8ed42642d4ae
diff --git a/classes/cluster/virtual-mcp11-k8s-contrail/opencontrail/init.yml b/classes/cluster/virtual-mcp11-k8s-contrail/opencontrail/init.yml
new file mode 100644
index 0000000..a880fee
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-k8s-contrail/opencontrail/init.yml
@@ -0,0 +1,36 @@
+parameters:
+ _param:
+ opencontrail_version: 3.0
+ opencontrail_control_hostname: ntw
+ opencontrail_control_node01_hostname: ntw01
+ opencontrail_control_node02_hostname: ntw02
+ opencontrail_control_node03_hostname: ntw03
+
+ opencontrail_control_address: 172.16.10.252
+ opencontrail_control_node01_address: 172.16.10.110
+ opencontrail_control_node02_address: 172.16.10.111
+ opencontrail_control_node03_address: 172.16.10.112
+
+ linux:
+ network:
+ host:
+ ntw:
+ address: ${_param:opencontrail_control_address}
+ names:
+ - ${_param:opencontrail_control_hostname}
+ - ${_param:opencontrail_control_hostname}.${_param:cluster_domain}
+ ntw01:
+ address: ${_param:opencontrail_control_node01_address}
+ names:
+ - ${_param:opencontrail_control_node01_hostname}
+ - ${_param:opencontrail_control_node01_hostname}.${_param:cluster_domain}
+ ntw02:
+ address: ${_param:opencontrail_control_node02_address}
+ names:
+ - ${_param:opencontrail_control_node02_hostname}
+ - ${_param:opencontrail_control_node02_hostname}.${_param:cluster_domain}
+ ntw03:
+ address: ${_param:opencontrail_control_node03_address}
+ names:
+ - ${_param:opencontrail_control_node03_hostname}
+ - ${_param:opencontrail_control_node03_hostname}.${_param:cluster_domain}