aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ext-network/tasks/main.yml
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2015-12-31 10:39:21 +0800
committerJustin chi <chigang@huawei.com>2016-01-04 06:18:45 +0000
commitdbe9a838fa56dfd66a691ff13de0baba896bb111 (patch)
tree58dc2ed29c4de07a288837ab9e12d5c5a09636ff /deploy/adapters/ansible/roles/ext-network/tasks/main.yml
parentbef20d54c7a1c7068534c0dedf4ca8759a74745d (diff)
setup external network for openstack which is used by vIMS in Functest
JIRA: COMPASS-226 - used by vIMS testcase in Functest Change-Id: I49ed44e84b0c32f4d16c7c05a80b147a0a0d86b7 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/ext-network/tasks/main.yml')
-rw-r--r--deploy/adapters/ansible/roles/ext-network/tasks/main.yml22
1 files changed, 0 insertions, 22 deletions
diff --git a/deploy/adapters/ansible/roles/ext-network/tasks/main.yml b/deploy/adapters/ansible/roles/ext-network/tasks/main.yml
index 57ef875e..94c8476c 100644
--- a/deploy/adapters/ansible/roles/ext-network/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/ext-network/tasks/main.yml
@@ -33,25 +33,3 @@
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'