6 Commits

Author SHA1 Message Date
Dimitri Mazmanov
32f312db58 Fix endpoint URLs
Previously kingbird endpoints were registered without port number and
version. This fix restores correct endpoints.

Closes-Bug: #1602972

Change-Id: I9416d2e82c5f24f4a444c261e1da8dd453bd6a5d
2016-07-14 14:18:45 +00:00
Dimitri Mazmanov
726d78669f Kill running kingbird processes before starting new ones
Change-Id: Ifa39fc26473076cf16d20cba33c36f128c0177e0
2016-07-13 15:48:24 +02:00
Dimitri Mazmanov
c0d6069d6f Dynamically get public and internal IPs for Kingbird endpoints
In order to keep opnfv installation flexible, the endpoints IPs are
now fetched from the endpoint list. Currently I'm using keystone as
a required service to get the IP addresses for public, admin and
internal endpoints.

Change-Id: Ib110ace9ccff95dd03287b9d29dfee89a14dd6ce
2016-07-13 11:25:42 +02:00
Dimitri Mazmanov
1d17bf13ac Kingbird installation script for OPNFV deployments
Added a shell script that installs Kingbird on a controller in
RegionOne. The script contains:
- Database configuration
- Keystone user and endpoint configuration
- Section configuration in kingbird.conf
The script should be executed on on a controller, where all environment
variables are defined in openrc.
Currently the script doesn't cleanup after installation. However it does
account for re-installing kingbird.

Change-Id: Id43a74de8cdf96324dfa2c290b19acefda264793
2016-07-08 14:49:26 +00:00
Dimitri Mazmanov
83a3c784af Fix the tools directory files
For some reason .venv wouldn't install the pip
packages. Fixed installation.

Change-Id: I5a80c42976c9534290f278561dc2e23edd5a04a9
2015-11-17 09:06:52 +01:00
Dimitri Mazmanov
09c99dc02d Add config generation and venv tools
These tools will help developers to create a virtual
environment with pre-installed requirements.

kingbird.conf generation script will collect the defined
properties and create a configuration file.

Change-Id: I5d423df88a5ff08346fe9e3c9b08fd9379cf1878
2015-11-11 15:42:09 +01:00