Python client for Kingbird
Go to file
joehuang 5d5dcf5ede [Fix gate]Update to a newer hacking library
1. What is the problem?
The older hacking library has a cap on pbr <2.0, which is causing
issues with the recent 2.0.0 release of pbr

2. What is the solution for the problem?
Hacking isn't kept in sync via the usual proposal bot updates so
update it manually to fix the pep8 gate.

Change-Id: If7969daaefef51f2ba906f5d7f79276cc2270bba
Signed-off-by: joehuang <joehuang@huawei.com>
2017-03-09 06:48:33 +00:00
doc/source Add common layer for the client 2016-09-08 10:57:01 +02:00
kingbirdclient Implement Resource_sync commands for KB 2017-03-06 16:22:34 +00:00
releasenotes Enable release notes translation 2016-10-06 20:50:29 +02:00
tools Implement Resource_sync commands for KB 2017-03-06 16:22:34 +00:00
.coveragerc Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
.gitignore Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
.gitreview Added .gitreview 2016-07-07 08:33:25 +00:00
.mailmap Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
.testr.conf Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
CONTRIBUTING.rst Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
HACKING.rst Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
LICENSE Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
MANIFEST.in Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
README.rst Implement Resource_sync commands for KB 2017-03-06 16:22:34 +00:00
babel.cfg Initial kingbirdclient commit 2016-07-07 14:09:12 +02:00
requirements.txt Updated from global requirements 2016-12-02 17:17:44 +00:00
run_tests.sh Add common layer for the client 2016-09-08 10:57:01 +02:00
setup.cfg Add entry points for kb client 2016-11-22 13:41:47 +05:30
setup.py Updated from global requirements 2016-07-09 19:26:45 +00:00
test-requirements.txt [Fix gate]Update to a newer hacking library 2017-03-09 06:48:33 +00:00
tox.ini Implement Resource_sync commands for KB 2017-03-06 16:22:34 +00:00

README.rst

Kingbird

Centralised service for multi-region OpenStack deployments.

Kingbird is an centralized OpenStack service that provides resource operation and management across multiple OpenStack instances in a multi-region OpenStack deployment. This service is part of the OPNFV Multisite project that intends to address the use cases related to distributed cloud environments. Kingbird provides features like centralized quota management, centralized view for distributed virtual resources, global view for tenant level IP/MAC address space management, synchronisation of ssh keys, images, flavors, etc. across regions.

python-kingbirdclient

Python client for Kingbird

This is a client library for Kingbird built on the Kingbird API. It provides a Python API (the kingbirdclient module) and a command-line tool (kingbird).

Installation

First of all, clone the repo and go to the repo directory:

$ git clone https://github.com/openstack/python-kingbirdclient.git $ cd python-kingbirdclient

Then just run:

$ pip install -e .

or

$ pip install -r requirements.txt $ python setup.py install

Running Kingbird client

$ export OS_REGION_NAME=RegionOne $ export OS_USER_DOMAIN_ID=default $ export OS_PROJECT_NAME=<project_name> $ export OS_IDENTITY_API_VERSION=<identity_version> $ export OS_PASSWORD=<password> $ export OS_AUTH_URL=http://<Keystone_host>:5000/<v3(or)v2.0> $ export OS_USERNAME=<user_name> $ export OS_TENANT_NAME=<tenant_name>

To make sure Kingbird client works, type:

$ kingbird quota defaults

You can see the list of available commands typing:

$ kingbird --help

Useful Links