summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rw-r--r--deploy/adapters/ansible/roles/ext-network/tasks/main.yml22
-rw-r--r--deploy/conf/network_cfg.yaml4
2 files changed, 2 insertions, 24 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'
diff --git a/deploy/conf/network_cfg.yaml b/deploy/conf/network_cfg.yaml
index 9997f7fe..7f274bd4 100644
--- a/deploy/conf/network_cfg.yaml
+++ b/deploy/conf/network_cfg.yaml
@@ -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