aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/tasks/main_compute.yml
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2015-08-30 21:47:49 -0400
committerchenshuai@huawei.com <chenshuai@huawei.com>2015-09-02 02:26:24 -0400
commit633175ed2c5d0ab339027ba0a542bcdd4d3769c0 (patch)
treee9dad6f2819b113ac7f0a9695254e05b5fc1fc94 /deploy/adapters/ansible/roles/odl_cluster/tasks/main_compute.yml
parent60d16e487ba8641640a185369f3882e1227e56d7 (diff)
Write ODL ansible script for Ubuntu14.04
JIRA: COMPASS-23 Change-Id: Iad692c8f77492989e29d0a4862989edea1d48fc5 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/tasks/main_compute.yml')
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/tasks/main_compute.yml16
1 files changed, 0 insertions, 16 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/main_compute.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/main_compute.yml
deleted file mode 100644
index 39947661..00000000
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/main_compute.yml
+++ /dev/null
@@ -1,16 +0,0 @@
----
-- name: shut down and disable Neutron's agent services
- service: name=neutron-plugin-openvswitch-agent state=stopped
-
-- name: Stop the Open vSwitch service and clear existing OVSDB
- shell: >
- service openvswitch-switch stop ;
- rm -rf /var/log/openvswitch/* ;
- rm -rf /etc/openvswitch/conf.db ;
- service openvswitch-switch start ;
-
-- name: Set OpenDaylight as the manager
- command: su -s /bin/sh -c "ovs-vsctl set-manager tcp:{{odl_controller}}:6640;"
-
-- name: start and disable Neutron's agent services
- service: name=neutron-plugin-openvswitch-agent state=started