summaryrefslogtreecommitdiff
path: root/openstack-common.conf
Commit message (Collapse)AuthorAgeFilesLines
* Update oslo incubator bitsDean Troyer2014-02-201-2/+0
| | | | | | | | | * update gettextutils.py, strutils.py, install_venv_common.py * remove cfg.py, openstackkeyring oslo-incubator commit 630d3959b9d001ca18bd2ed1cf757f2eb44a336f Change-Id: I0ae9b9dc72ec88ed64a8c353b9c51734ee2cd24c
* Add security group commandsDean Troyer2013-07-291-0/+1
| | | | | | | | | | | | | | * Add security group: create, delete, list, set, show * Add server: add secgroup, remove secgroup * Add security group rule: create, delete, list * Add Oslo's strutils and gettextutils * Adds parseractions.RangeAction() to handle option arguments of either a single number or a range of numbers: '--port 25' or '--port 1024:65535' Blueprint: nova-client Change-Id: Iad2de1b273ba29197709fc4c6a1036b4ae99725f
* Update openstack-common.conf formatAlessio Ababilov2013-07-161-1/+4
| | | | Change-Id: Ifa6718331d3da91f0e9515a809484808bd6317f9
* Migrate to pbr.Monty Taylor2013-05-161-1/+1
| | | | | | Fixes bug 1179007 Change-Id: Ief74b121dcad28bb1c2b6044ef72e0cbd51e8f65
* Copy cfg and iniparser from oslo-incubatorDean Troyer2013-01-301-1/+1
| | | | | | | https://review.openstack.org/20753 introduced tools/install_venv_common.py but not it's dependencies openstack.common.{cfg,iniparser} Change-Id: I270a1d8f6fd8f93988a5e2ccbc446adda0a6cd81
* Use install_venv_common.py from oslo.Josh Kearney2013-01-291-1/+1
| | | | | | | This syncs install_venv_common.py from oslo and reworks the tools/install_venv.py script to use the new library. Change-Id: I3426a7f51b0018e074cc6f4b1d70b38e52464a38
* Keyring support for openstackclient.Bhuvan Arumugam2012-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 1030440 If password is defined in keyring, use it; otherwise, prompt for the password. Keying is configured using command line switch, --os-use-keyring or env(OS_USE_KEYRING). * openstackclient/common/openstackkeyring.py The abstract class for keyring, specifically for openstack. The class is used to store encrypted password in keyring, without prompting for keyring password. The encrypted password is stored in ~/.openstack-keyring.cfg file. * openstack-common.py Update openstackkeyring library from openstack.common. * openstackclient/shell.py OpenStackClient.build_option_parser(): New boolean argument, --os-use-keyring, default to env(OS_USE_KEYRING). OpenStackClient.authenticate_user(): Get password from keyring, if it is defined; otherwise, prompt for the password. If user enter a password and keyring is enabled, store it in keyring. OpenStackClient.init_keyring_backend(): New method to define openstack backend for keyring. OpenStackClient.get_password_from_keyring(): New method to get password from keyring. OpenStackClient.set_password_in_keyring(): New method go set password in keyring. * toos/pip-requires Define keyring and pycrypto as one of dependent. Change-Id: I36d3a63054658c0ef0553d68b38fefbc236930ef
* Add openstack-common and test infrastructure.James E. Blair2012-04-281-0/+7
Fix pep8 errors (project is pep8 clean now). Update setup.py to use openstack-common style dependencies. Remove the unused novaclient dependency. Change the keystoneclient dependency to a git URL. Add test-requires, and move some pip-requires dependencies into it. Remove the test_utils unit test which wasn't testing anything that is actually present in the project. Add the test_authors unit test. Use tox for running tests locally. See: http://wiki.openstack.org/ProjectTestingInterface Tox can manage virtualenvs, and is currently doing so for running tests in Jenkins. It's just as, or more, useful for running tests locally, so this starts the migration from the run_tests system to tox. The goal is to reduce duplicate testing infrastructure, and get what's running locally on developer workstations as close to what is run by Jenkins as possible. Run_tests.sh will now call tox to facilitate the transition for developers used to typing "run_tests.sh". Developers will need tox installed on their workstations. It can be installed from PyPI with "pip install tox". run_tests.sh outputs those instructions if tox is not present. New facilities are available using tox directly, including: tox -e py26 # run tests under python 2.6 tox -e py27 # run tests under python 2.7 tox -e pep8 # run pep8 tests tox # run all of the above tox -e venv foo # run the command "foo" inside a virtualenv The OpenStack nose plugin is used when running tox from the command line, so the enhanced, colorized output is visible to developers running the test suite locally. However, when Jenkins runs tox, xunit output will be used instead, which is natively understood by jenkins and much more readable in that context. Change-Id: Ib627be3b37b5a09d3795006d412ddcc35f8c6c1e