Add ECMP support config for PGLib
As a part of the Neutron ECMP support being added in the PLUMgrid plugin, the new CLI for PGLib requires a configuration file pgrc which is installed under /etc/neutron/plugins/plumgrid Change-Id: I8a492655ff53099057e4648c9c835cd7ae4d0d2a Signed-off-by: Javeria Khan <javeriak@plumgrid.com>
This commit is contained in:
committed by
Jesse Pretorius (odyssey4me)
parent
f0676e0f51
commit
c7dc53bbe2
@@ -23,6 +23,15 @@
|
|||||||
tags:
|
tags:
|
||||||
- neutron_config
|
- neutron_config
|
||||||
|
|
||||||
|
- name: Place pgrc file
|
||||||
|
template:
|
||||||
|
src: plugins/plumgrid/pgrc
|
||||||
|
dest: /etc/neutron/plugins/plumgrid/pgrc
|
||||||
|
owner: "{{ neutron_system_user_name }}"
|
||||||
|
group: "{{ neutron_system_group_name }}"
|
||||||
|
tags:
|
||||||
|
- neutron_config
|
||||||
|
|
||||||
- name: Install plumgrid pip packages (venv)
|
- name: Install plumgrid pip packages (venv)
|
||||||
pip:
|
pip:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# {{ ansible_managed }}
|
||||||
|
#!/bin/sh
|
||||||
|
export os_auth_url="{{ keystone_service_adminuri }}/v3"
|
||||||
|
export os_admin_user="{{ keystone_admin_user_name }}"
|
||||||
|
export os_admin_tenant="{{ keystone_admin_tenant_name }}"
|
||||||
|
export os_admin_password="{{ keystone_auth_admin_password }}"
|
||||||
|
export pg_virtual_ip="{{ pg_vip }}"
|
||||||
|
export pg_username="{{ pg_username }}"
|
||||||
|
export pg_password="{{ pg_password }}"
|
||||||
Reference in New Issue
Block a user