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:
parent
747f08cd99
commit
81aaf12a80
@ -23,6 +23,15 @@
|
||||
tags:
|
||||
- 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)
|
||||
pip:
|
||||
name: "{{ item }}"
|
||||
|
9
templates/plugins/plumgrid/pgrc
Normal file
9
templates/plugins/plumgrid/pgrc
Normal file
@ -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 }}"
|
Loading…
x
Reference in New Issue
Block a user