setup external network for openstack which is used by vIMS in Functest 79/5379/3
authorgrakiss <grakiss.wanglei@huawei.com>
Thu, 31 Dec 2015 02:39:21 +0000 (10:39 +0800)
committerJustin chi <chigang@huawei.com>
Mon, 4 Jan 2016 06:18:45 +0000 (06:18 +0000)
JIRA: COMPASS-226
  - used by vIMS testcase in Functest

Change-Id: I49ed44e84b0c32f4d16c7c05a80b147a0a0d86b7
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
deploy/adapters/ansible/roles/ext-network/tasks/main.yml
deploy/conf/network_cfg.yaml

index 57ef875..94c8476 100644 (file)
   run_once: true
   when: 'public_net_info.enable == True'
 
-- name: create external router
-  neutron_router:
-    login_username: ADMIN
-    login_password: "{{ ADMIN_PASS }}"
-    login_tenant_name: admin
-    auth_url: "http://{{ internal_vip.ip }}:35357/v2.0"
-    name: "{{ public_net_info.router }}"
-    state: present
-  run_once: true
-  when: 'public_net_info.enable == True'
-
-- name: set external router gateway
-  neutron_router_gateway:
-    login_username: ADMIN
-    login_password: "{{ ADMIN_PASS }}"
-    login_tenant_name: admin
-    auth_url: "http://{{ internal_vip.ip }}:35357/v2.0"
-    router_name: "{{ public_net_info.router }}"
-    network_name: "{{ public_net_info.network }}"
-    state: present
-  run_once: true
-  when: 'public_net_info.enable == True'
index 9997f7f..7f274bd 100644 (file)
@@ -75,9 +75,9 @@ public_vip:
 
 onos_nic: eth2
 public_net_info:
-  enable: False
+  enable: True 
   network: ext-net
-  type: vlan
+  type: flat
   segment_id: 1000
   subnet: ext-subnet
   provider_network: physnet