2016-11-25 11:04:50 +01:00
========================
Team and repository tags
========================
2018-03-08 11:22:41 +00:00
.. image :: https://governance.openstack.org/tc/badges/python-vitrageclient.svg
:target: https://governance.openstack.org/tc/reference/tags/index.html
2016-11-25 11:04:50 +01:00
.. Change things from this point on
2016-03-08 22:50:36 +00:00
..
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
2016-03-02 15:34:11 +02:00
Python bindings to the Vitrage API
==================================
2015-11-14 18:22:31 +02:00
2016-03-02 15:34:11 +02:00
This is a client library for Vitrage built to interface with the Vitrage API
. It
provides a Python API (the `` vitrageclient `` module) and a command-line tool
(`` vitrage `` ).
2015-11-14 18:22:31 +02:00
2016-03-02 15:34:11 +02:00
.. contents :: Contents:
:local:
2015-11-14 18:22:31 +02:00
2016-03-02 15:34:11 +02:00
Ubuntu Install
--------------
2016-03-08 08:58:23 +02:00
At the moment only manual install is available
2015-11-14 18:22:31 +02:00
2016-03-08 08:58:23 +02:00
Manual Install Steps:
2016-03-02 15:34:11 +02:00
- cd to your python-vitrageclient repo
- sudo pip install -r requirements.txt
- python setup.py install
Building and Packaging
----------------------
Install the tool dependencies
2017-07-25 10:59:18 +00:00
::
2016-03-02 15:34:11 +02:00
sudo apt-get install python-pip python-virtualenv
2017-07-25 10:59:18 +00:00
2016-03-02 15:34:11 +02:00
In the python-vitrageclient source directory
2017-07-25 10:59:18 +00:00
::
2016-03-02 15:34:11 +02:00
virtualenv --no-site-packages .venv
source ./.venv/bin/activate
pip install wheel
python setup.py bdist_wheel
pip install $(ls -1rt dist/*.whl | tail -1) --upgrade
2016-03-08 22:50:36 +00:00
2016-03-10 13:47:16 +00:00
References
----------
2016-03-02 15:34:11 +02:00
2019-04-23 13:44:56 +08:00
Detailed documentation for the CLI see `CLI Spec <https://opendev.org/openstack/python-vitrageclient/src/branch/master/doc/source/contributor/cli.rst> `_