From d0886a8dcf47ef0d27a0b7960dd152596f0a3a88 Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Thu, 5 Oct 2017 17:42:34 +0800 Subject: add tacker support JIRA: - Add tacker support in compass euphrates. Upsteam OSA currently doesn't support tacker in Ocata. But OPNFV needs to use tacker in SFC scenario. So we refactor os_tacker of Pike to satisfy OpenStack Ocata. Change-Id: I40bb90949d8cd3b9db166527b0d85ff42ad5cdb9 Signed-off-by: Yifei Xue --- plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml | 8 ++++++++ plugins/odl_sfc/roles/setup-odl-sfc/tasks/odl-cluster.yml | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml (limited to 'plugins') diff --git a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml new file mode 100644 index 00000000..c43b6dcc --- /dev/null +++ b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml @@ -0,0 +1,8 @@ +--- + +- name: upgrade networking-sfc + pip: + name: networking-sfc + extra_args: -U + virtualenv: /openstack/venvs/tacker-15.1.4 + when: odl_sfc == "Enable" diff --git a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/odl-cluster.yml b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/odl-cluster.yml index 07bf7084..ee2ee32a 100755 --- a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/odl-cluster.yml +++ b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/odl-cluster.yml @@ -48,4 +48,7 @@ - inventory_hostname in groups['neutron_server'][0] - inventory_hostname not in groups['network_hosts'] +- include: control-tacker-1.yml + when: inventory_hostname in groups['tacker_all'] + - include: odl-post.yml -- cgit 1.2.3-korg