diff options
author | Yifei Xue <xueyifei@huawei.com> | 2017-10-05 17:42:34 +0800 |
---|---|---|
committer | Yifei Xue <xueyifei@huawei.com> | 2017-10-31 08:54:06 +0000 |
commit | 99db836c87fd64efb225b7515065159530cddeac (patch) | |
tree | aad71fe69dadd7657919614fe6a02bc5ea38e79f /plugins/odl_sfc/roles/setup-odl-sfc | |
parent | d5881d7a53890399b075a95e027b76421e1c8382 (diff) |
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 <xueyifei@huawei.com>
(cherry picked from commit d0886a8dcf47ef0d27a0b7960dd152596f0a3a88)
Diffstat (limited to 'plugins/odl_sfc/roles/setup-odl-sfc')
-rw-r--r-- | plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml | 8 | ||||
-rwxr-xr-x | plugins/odl_sfc/roles/setup-odl-sfc/tasks/odl-cluster.yml | 3 |
2 files changed, 11 insertions, 0 deletions
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 |