Update config for ATT TLAB 01/30701/1
authorGary Wu <gary.i.wu@huawei.com>
Wed, 7 Feb 2018 18:23:27 +0000 (10:23 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 7 Feb 2018 18:23:27 +0000 (10:23 -0800)
Change-Id: I0c81183c95ede3552c1085496ca9933622a20329
Issue-ID: INT-414
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
deployment/heat/onap-oom/env/tlab/ETE-OOM-Test.env
deployment/heat/onap-oom/onap-oom.yaml

index f56c25b..391a0a8 100644 (file)
@@ -14,13 +14,13 @@ parameters:
   docker_proxy: nexus3.onap.org:10001
 
   rancher_vm_flavor: m1.small
-  k8s_vm_flavor: m1.xlarge
+  k8s_vm_flavor: m2.xxlarge
 
   public_net_id: fbe8fd92-6636-4e63-ab28-bb6a5b0888a9
   public_net_name: admin-vpn-floating
 
   oam_network_cidr: 10.0.0.0/16
-  dns_forwarder: 8.8.8.8
+  dns_forwarder: 204.178.3.230
   external_dns: 8.8.8.8
 
   dnsaas_proxy_enable: "false"
index 42c12a7..760a957 100644 (file)
@@ -106,6 +106,34 @@ resources:
     properties:
       length: 4
 
+  # ONAP security group
+  onap_sg:
+    type: OS::Neutron::SecurityGroup
+    properties:
+      name:
+        str_replace:
+          template: base_rand
+          params:
+            base: onap_sg
+            rand: { get_resource: random-str }
+      description: security group used by ONAP
+      rules:
+        # All egress traffic
+        - direction: egress
+          ethertype: IPv4
+        - direction: egress
+          ethertype: IPv6
+        # ingress traffic
+        # ICMP
+        - protocol: icmp
+        - protocol: udp
+          port_range_min: 1
+          port_range_max: 65535
+        - protocol: tcp
+          port_range_min: 1
+          port_range_max: 65535
+
+
   # ONAP management private network
   oam_network:
     type: OS::Neutron::Net
@@ -145,6 +173,8 @@ resources:
     properties:
       network: { get_resource: oam_network }
       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
+      security_groups:
+      - { get_resource: onap_sg }
 
   rancher_floating_ip:
     type: OS::Neutron::FloatingIP
@@ -175,6 +205,8 @@ resources:
     properties:
       network: { get_resource: oam_network }
       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
+      security_groups:
+      - { get_resource: onap_sg }
 
   k8s_floating_ip:
     type: OS::Neutron::FloatingIP