Change onap_oam_ext network settings for vFWDT 01/91201/2
authorGary Wu <gary.wu@futurewei.com>
Thu, 11 Jul 2019 00:17:06 +0000 (17:17 -0700)
committerBrian Freeman <bf1936@att.com>
Thu, 11 Jul 2019 03:40:54 +0000 (03:40 +0000)
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

deployment/heat/onap-rke/onap-oom.yaml
deployment/heat/onap-rke/parts/onap-oom-1.yaml

index 01398bf..d64f654 100644 (file)
@@ -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:
index 7571d9f..ea3cc06 100644 (file)
@@ -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: