[KUBEV] Add ipv6 gw port for hco envs for test purposes
Related: KUBEV-59
Change-Id: Ie7223c6c8ab5349b2f2f481cdad0f5272b8b18e7
diff --git a/hco/top.yaml b/hco/top.yaml
index 06bdb5b..2a7bd37 100644
--- a/hco/top.yaml
+++ b/hco/top.yaml
@@ -36,6 +36,10 @@
type: string
description: The CIDR of k8s network IPV6
default: 'fd12:3456:789a:0a0a::/64'
+ k8s_network_ipv6_gw_ip:
+ type: string
+ description: The GW of k8s network IPV6
+ default: 'fd12:3456:789a:0a0a::1'
data_network_cidr:
type: string
description: The CIDR of k8s network
@@ -92,6 +96,7 @@
network: { get_resource: k8s_network }
enable_dhcp: false
cidr: { get_param: k8s_network_ipv6_cidr }
+ gateway_ip: { get_param: k8s_network_ipv6_gw_ip }
router:
type: OS::Neutron::Router
properties:
@@ -102,7 +107,11 @@
properties:
router: { get_resource: router }
subnet: { get_resource: k8s_subnet }
-
+ public_router_iface_v6:
+ type: OS::Neutron::RouterInterface
+ properties:
+ router: { get_resource: router }
+ subnet: { get_resource: k8s_subnet_ipv6 }
data_network:
type: OS::Neutron::Net
data_subnet:
@@ -198,3 +207,6 @@
workers_wc_data:
description: Metadata from workers
value: { get_attr: [workers, wc_data] }
+ public_router_gw_ipv6:
+ description: Public gateway IPv6 address (used for kubevirt tests)
+ value: { get_param: k8s_network_ipv6_gw_ip }