add support for kubernetes vrouter
Change-Id: I073e56db05b4f4f0dce0386e58c661507b351008
diff --git a/metadata/service/vrouter/kubernetes/cluster.yml b/metadata/service/vrouter/kubernetes/cluster.yml
new file mode 100644
index 0000000..039364a
--- /dev/null
+++ b/metadata/service/vrouter/kubernetes/cluster.yml
@@ -0,0 +1,25 @@
+applications:
+- opencontrail
+classes:
+- service.opencontrail.support
+parameters:
+ _param:
+ opencontrail_version: 2.2
+ opencontrail:
+ common:
+ version: ${_param:opencontrail_version}
+ identity:
+ engine: kubernetes
+ compute:
+ engine: kubernetes
+ version: ${_param:opencontrail_version}
+ enabled: True
+ discovery:
+ host: ${_param:cluster_vip_address}
+ interface:
+ address: ${_param:opencontrail_compute_address}
+ dev: ${_param:opencontrail_compute_iface}
+ gateway: ${_param:opencontrail_compute_gateway}
+ mask: ${_param:opencontrail_compute_iface_mask}
+ dns: ${_param:opencontrail_compute_dns}
+ mtu: 9000
\ No newline at end of file
diff --git a/metadata/service/vrouter/kubernetes/single.yml b/metadata/service/vrouter/kubernetes/single.yml
new file mode 100644
index 0000000..c1a64b0
--- /dev/null
+++ b/metadata/service/vrouter/kubernetes/single.yml
@@ -0,0 +1,25 @@
+applications:
+- opencontrail
+classes:
+- service.opencontrail.support
+parameters:
+ _param:
+ opencontrail_version: 2.2
+ opencontrail:
+ common:
+ version: ${_param:opencontrail_version}
+ identity:
+ engine: kubernetes
+ compute:
+ engine: kubernetes
+ version: ${_param:opencontrail_version}
+ enabled: True
+ discovery:
+ host: ${_param:contrail_discovery_host}
+ interface:
+ address: ${_param:opencontrail_compute_address}
+ dev: ${_param:opencontrail_compute_iface}
+ gateway: ${_param:opencontrail_compute_gateway}
+ mask: ${_param:opencontrail_compute_iface_mask}
+ dns: ${_param:opencontrail_compute_dns}
+ mtu: 9000
\ No newline at end of file