Cleanup some strangling references to rdomanager-oscplugin
Change-Id: I46e3e0b6c4028789676428eaaa1e4c558346ecf4
This commit is contained in:
parent
a55e731048
commit
1823b837cd
|
@ -1,7 +1,7 @@
|
||||||
[run]
|
[run]
|
||||||
branch = True
|
branch = True
|
||||||
source = rdomanager_oscplugin
|
source = tripleoclient
|
||||||
omit = rdomanager_oscplugin/tests/*,rdomanager_oscplugin/openstack/*
|
omit = tripleoclient/tests/*,tripleoclient/openstack/*
|
||||||
|
|
||||||
[report]
|
[report]
|
||||||
ignore-errors = True
|
ignore-errors = True
|
|
@ -14,4 +14,4 @@ Pull requests submitted through GitHub will be ignored.
|
||||||
|
|
||||||
Bugs should be filed on Launchpad, not GitHub:
|
Bugs should be filed on Launchpad, not GitHub:
|
||||||
|
|
||||||
https://bugs.launchpad.net/python-rdomanager-oscplugin
|
https://bugs.launchpad.net/tripleo
|
12
README.rst
12
README.rst
|
@ -1,6 +1,6 @@
|
||||||
====================
|
=============
|
||||||
rdomanager-oscplugin
|
tripleoclient
|
||||||
====================
|
=============
|
||||||
|
|
||||||
OpenStackClient reference plugin module
|
OpenStackClient reference plugin module
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ properly installed for OSC to find and use it. It utilizes the
|
||||||
``setuptools`` entry points mechanism to advertise to OSC the
|
``setuptools`` entry points mechanism to advertise to OSC the
|
||||||
plugin module and supported commands.
|
plugin module and supported commands.
|
||||||
|
|
||||||
**rdomanager-oscplugin** is an OpenStackClient (OSC) plugin implementation that
|
**tripleoclient** is an OpenStackClient (OSC) plugin implementation that
|
||||||
implements commands useful for RDO manager and the install and management of
|
implements commands useful for TripleO and the install and management of
|
||||||
both an undercloud and an overcloud.
|
both an undercloud and an overcloud.
|
||||||
|
|
||||||
Discovery
|
Discovery
|
||||||
|
@ -57,7 +57,7 @@ requirements. This limits the ability to add additional auth modules to OSC.
|
||||||
Client
|
Client
|
||||||
======
|
======
|
||||||
|
|
||||||
The current implementation of the ``rdomanager_oscplugin`` Client class is an
|
The current implementation of the ``tripleoclient`` Client class is an
|
||||||
empty placeholder. This client object is not equired but OSC's ClientManager
|
empty placeholder. This client object is not equired but OSC's ClientManager
|
||||||
will maintain it as required and is the interface point for other plugins to
|
will maintain it as required and is the interface point for other plugins to
|
||||||
access anything implemented by this plugin.
|
access anything implemented by this plugin.
|
||||||
|
|
|
@ -37,8 +37,8 @@ source_suffix = '.rst'
|
||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'osc-plugin'
|
project = u'tripleoclient'
|
||||||
copyright = u'2013 Nebula Inc.'
|
copyright = u'2015 Red Hat, Inc.'
|
||||||
|
|
||||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||||
add_function_parentheses = True
|
add_function_parentheses = True
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
====================
|
=============
|
||||||
rdomanager-oscplugin
|
tripleoclient
|
||||||
====================
|
=============
|
||||||
|
|
||||||
rdomanager-oscplugin is an OpenStackClient plugin.
|
tripleoclient is an OpenStackClient plugin.
|
||||||
|
|
||||||
Contents:
|
Contents:
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@ Installation
|
||||||
|
|
||||||
At the command line::
|
At the command line::
|
||||||
|
|
||||||
$ pip install rdomanager-oscplugin
|
$ pip install python-tripleoclient
|
||||||
|
|
||||||
Or, if you have virtualenvwrapper installed::
|
Or, if you have virtualenvwrapper installed::
|
||||||
|
|
||||||
$ mkvirtualenv rdomanager-oscplugin
|
$ mkvirtualenv python-tripleoclient
|
||||||
$ pip install rdomanager-oscplugin
|
$ pip install python-tripleoclient
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|
||||||
To use rdomanager-oscplugin in a project::
|
To use tripleoclient in a project::
|
||||||
|
|
||||||
import rdomanager_oscplugin
|
import tripleoclient
|
||||||
|
|
|
@ -1,106 +0,0 @@
|
||||||
# This file is used by the jenkins job
|
|
||||||
# read: 'How it works' section at the bottom
|
|
||||||
|
|
||||||
|
|
||||||
### config template ###
|
|
||||||
# test_env: # top-level namespace used by khaleesi
|
|
||||||
# env_name: # test config
|
|
||||||
# Distro-Version: # test configuration for the distro-version
|
|
||||||
# | setup: # how the testbed VM needs to be setup
|
|
||||||
# | ' repos: # add the following repos
|
|
||||||
# | ' - filename: repo-name.repo
|
|
||||||
# | ' contents: |
|
|
||||||
# | ' [section]
|
|
||||||
# | ' contents
|
|
||||||
# | ' of
|
|
||||||
# | ' Repo
|
|
||||||
#
|
|
||||||
# | ' install: # install the following rpm and
|
|
||||||
# | ' - rpm-abc # ensure latest is installed
|
|
||||||
# | ' - rpm-foo
|
|
||||||
# | ' - rpm-bar
|
|
||||||
#
|
|
||||||
# | ' remove: # delete the following rpms
|
|
||||||
# | ' - rpm-foo
|
|
||||||
# | ' - rpm-bar
|
|
||||||
# | ' - rpm-baz
|
|
||||||
# | ' pip: # use virtualenv --system-site-packages to
|
|
||||||
# | ' overrides: # override system packages
|
|
||||||
# | ' - pip-pkg-foo
|
|
||||||
# | ' - pip-pkg-foo
|
|
||||||
#
|
|
||||||
# | run: > # how tests should be run
|
|
||||||
# | run_command; another_command;
|
|
||||||
# | ./run_tests.sh -N -P # all but last statement should terminated by ;
|
|
||||||
#
|
|
||||||
# | archive: # what files to archive
|
|
||||||
# | - nosetest.xml
|
|
||||||
#
|
|
||||||
# NOTE: there must be a env_name: called virt: which will be used to run tests
|
|
||||||
# in virtualenv when running tests in env_name fails
|
|
||||||
|
|
||||||
product:
|
|
||||||
name: rhos
|
|
||||||
repo_type: poodle
|
|
||||||
version: 7
|
|
||||||
full_version: 7.0
|
|
||||||
config:
|
|
||||||
enable_epel: y
|
|
||||||
rpmrepo:
|
|
||||||
RedHat: http://rhos-release.virt.bos.redhat.com/repos/rhos-release/
|
|
||||||
|
|
||||||
|
|
||||||
python_rdomanager_oscplugin_rpm_deps: [
|
|
||||||
gcc, git, python-sphinx, python-tox, python-pip,
|
|
||||||
libxml2-devel, libxslt-devel, libffi-devel, openssl-devel,
|
|
||||||
]
|
|
||||||
|
|
||||||
rdomanager_oscplugin_virt_config:
|
|
||||||
setup:
|
|
||||||
install: "{{python_rdomanager_oscplugin_rpm_deps}}"
|
|
||||||
run: >
|
|
||||||
sudo rm -Rf .tox || true;
|
|
||||||
sudo pip install -U unittest2;
|
|
||||||
export NOSE_WITH_XUNIT=1;
|
|
||||||
export NOSE_WITH_HTML_OUTPUT=1;
|
|
||||||
export NOSE_HTML_OUT_FILE=../logs/nose_results.html;
|
|
||||||
export NSS_HASH_ALG_SUPPORT=+MD5;
|
|
||||||
export OPENSSL_ENABLE_MD5_VERIFY=1;
|
|
||||||
rpm -qa > all-rpms.txt;
|
|
||||||
set -o pipefail;
|
|
||||||
tox --sitepackages -v -epy27 2>&1 | tee ../logs/venv-testrun.log;
|
|
||||||
archive:
|
|
||||||
- ../logs/venv-testrun.log
|
|
||||||
- tox.ini
|
|
||||||
- requirements.txt
|
|
||||||
- all-rpms.txt
|
|
||||||
|
|
||||||
### actual test_config: starts here: used by khaleesi ###
|
|
||||||
### NOTE: test_config.virt must be defined ###
|
|
||||||
test_config:
|
|
||||||
virt:
|
|
||||||
Fedora-20: "{{rdomanager_oscplugin_virt_config}}"
|
|
||||||
RedHat-7.0: "{{rdomanager_oscplugin_virt_config}}"
|
|
||||||
RedHat-7.1: "{{rdomanager_oscplugin_virt_config}}"
|
|
||||||
|
|
||||||
# How this works!
|
|
||||||
# ==============
|
|
||||||
# This file is used by khaleesi[1] playbook unit_test.yml[2].
|
|
||||||
# - The jenkins job checks out khaleesi, settings and this repo and
|
|
||||||
# runs unit_test.yml playbook.
|
|
||||||
# - The playbook reads this config file and
|
|
||||||
# - adds repos in test_dependencies.rpm.repos
|
|
||||||
# - installs all packages in test_dependencies.rpm.install
|
|
||||||
# - removes all packages in test_dependencies.rpm.remove
|
|
||||||
# - it then runs the test by executing the command specfied in
|
|
||||||
# test_env.run NOTE all commands should terminate with a ';'
|
|
||||||
# - if tests fail, the same is run in venv with pip packages.
|
|
||||||
#
|
|
||||||
# PIP overrides
|
|
||||||
# -------------
|
|
||||||
# When there is no corresponding rpm for a pip package, you can override that
|
|
||||||
# particular package using the pip.override section. When you do so, make sure
|
|
||||||
# the packaging team is notified about the new requirement.
|
|
||||||
#
|
|
||||||
# [1] https://github.com/redhat-openstack/khaleesi
|
|
||||||
# [2] https://github.com/redhat-openstack/khaleesi/blob/master/playbooks/unit_test.yml
|
|
|
@ -15,4 +15,4 @@ python-tuskarclient>=0.1.17
|
||||||
six>=1.9.0
|
six>=1.9.0
|
||||||
|
|
||||||
# tripleo-common lib is not yet on PyPi
|
# tripleo-common lib is not yet on PyPi
|
||||||
-e git://github.com/rdo-management/tripleo-common.git#egg=tripleo_common
|
-e git://github.com/openstack/tripleo-common.git#egg=tripleo_common
|
||||||
|
|
|
@ -6,7 +6,7 @@ description-file =
|
||||||
license = Apache License, Version 2.0
|
license = Apache License, Version 2.0
|
||||||
author = Brad P. Crochet
|
author = Brad P. Crochet
|
||||||
author-email = brad@redhat.com
|
author-email = brad@redhat.com
|
||||||
home-page = https://github.com/openstack/python-tripleoclient
|
home-page = http://www.openstack.org/
|
||||||
classifier =
|
classifier =
|
||||||
Environment :: Console
|
Environment :: Console
|
||||||
Environment :: OpenStack
|
Environment :: OpenStack
|
||||||
|
|
|
@ -24,7 +24,7 @@ from tuskarclient import client as tuskar_client
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
DEFAULT_RDOMANAGER_OSCPLUGIN_API_VERSION = '1'
|
DEFAULT_TRIPLEOCLIENT_API_VERSION = '1'
|
||||||
|
|
||||||
# Required by the OSC plugin interface
|
# Required by the OSC plugin interface
|
||||||
API_NAME = 'tripleoclient'
|
API_NAME = 'tripleoclient'
|
||||||
|
@ -53,11 +53,11 @@ def build_option_parser(parser):
|
||||||
'--os-tripleoclient-api-version',
|
'--os-tripleoclient-api-version',
|
||||||
metavar='<tripleoclient-api-version>',
|
metavar='<tripleoclient-api-version>',
|
||||||
default=utils.env(
|
default=utils.env(
|
||||||
'OS_RDOMANAGER_OSCPLUGIN_API_VERSION',
|
'OS_TRIPLEOCLIENT_API_VERSION',
|
||||||
default=DEFAULT_RDOMANAGER_OSCPLUGIN_API_VERSION),
|
default=DEFAULT_TRIPLEOCLIENT_API_VERSION),
|
||||||
help='RDO Manager OSC Plugin API version, default=' +
|
help='TripleO Client API version, default=' +
|
||||||
DEFAULT_RDOMANAGER_OSCPLUGIN_API_VERSION +
|
DEFAULT_TRIPLEOCLIENT_API_VERSION +
|
||||||
' (Env: OS_RDOMANAGER_OSCPLUGIN_API_VERSION)')
|
' (Env: OS_TRIPLEOCLIENT_API_VERSION)')
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,5 +22,5 @@ Tests for `tripleoclient` module.
|
||||||
from tripleoclient.tests import base
|
from tripleoclient.tests import base
|
||||||
|
|
||||||
|
|
||||||
class TestRdomanagerOscplugin(base.TestCase):
|
class TestTripleoclient(base.TestCase):
|
||||||
pass
|
pass
|
Loading…
Reference in New Issue