aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.wu@futurewei.com>2019-07-10 17:17:06 -0700
committerBrian Freeman <bf1936@att.com>2019-07-11 03:40:54 +0000
commite21a3c642c913a777c45b1e2c80d9cf8d32ec0c2 (patch)
tree556a42466c7d31deb898a95d1ee4718226cb983a
parent8ec5130ce28bc3dd731c2eb10d54e58b8e155190 (diff)
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 <gary.wu@futurewei.com> Change-Id: I8a77ef475622a987000812cedc8d8f51a968ee0f
-rw-r--r--deployment/heat/onap-rke/onap-oom.yaml14
-rw-r--r--deployment/heat/onap-rke/parts/onap-oom-1.yaml14
2 files changed, 26 insertions, 2 deletions
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: