From e21a3c642c913a777c45b1e2c80d9cf8d32ec0c2 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 10 Jul 2019 17:17:06 -0700 Subject: Change onap_oam_ext network settings for vFWDT Enable DHCP Add static route for 10.12.0.0/16 to 10.100.0.1 Issue-ID: INT-1083 Signed-off-by: Gary Wu Change-Id: I8a77ef475622a987000812cedc8d8f51a968ee0f --- deployment/heat/onap-rke/onap-oom.yaml | 14 +++++++++++++- deployment/heat/onap-rke/parts/onap-oom-1.yaml | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) (limited to 'deployment') diff --git a/deployment/heat/onap-rke/onap-oom.yaml b/deployment/heat/onap-rke/onap-oom.yaml index 01398bf6d..d64f6548c 100644 --- a/deployment/heat/onap-rke/onap-oom.yaml +++ b/deployment/heat/onap-rke/onap-oom.yaml @@ -23,6 +23,16 @@ parameters: type: string description: CIDR of the onap_oam_ext network + oam_ext_network_host_route: + type: json + description: > + host routes + "destination": '10.12.0.0/16' + "nexthop": '10.100.0.1' + default: + "destination": '10.12.0.0/16' + "nexthop": '10.100.0.1' + ubuntu_1804_image: type: string description: Name of the Ubuntu 18.04 image @@ -172,7 +182,9 @@ resources: name: onap_oam_ext network_id: { get_resource: oam_ext_network } cidr: { get_param: oam_ext_network_cidr } - enable_dhcp: false + enable_dhcp: true + host_routes: + - { get_param: oam_ext_network_host_route } dns_nameservers: [ "8.8.8.8" ] oam_ext_router_interface: diff --git a/deployment/heat/onap-rke/parts/onap-oom-1.yaml b/deployment/heat/onap-rke/parts/onap-oom-1.yaml index 7571d9f9c..ea3cc06c9 100644 --- a/deployment/heat/onap-rke/parts/onap-oom-1.yaml +++ b/deployment/heat/onap-rke/parts/onap-oom-1.yaml @@ -20,6 +20,16 @@ parameters: type: string description: CIDR of the onap_oam_ext network + oam_ext_network_host_route: + type: json + description: > + host routes + "destination": '10.12.0.0/16' + "nexthop": '10.100.0.1' + default: + "destination": '10.12.0.0/16' + "nexthop": '10.100.0.1' + ubuntu_1804_image: type: string description: Name of the Ubuntu 18.04 image @@ -169,7 +179,9 @@ resources: name: onap_oam_ext network_id: { get_resource: oam_ext_network } cidr: { get_param: oam_ext_network_cidr } - enable_dhcp: false + enable_dhcp: true + host_routes: + - { get_param: oam_ext_network_host_route } dns_nameservers: [ "8.8.8.8" ] oam_ext_router_interface: -- cgit 1.2.3-korg