208 Commits

Author SHA1 Message Date
Jenkins
f0d3bf85d8 Merge "Sync install_venv_common from oslo" 2013-07-08 23:48:29 +00:00
Jenkins
d756975614 Merge "Add EC2 credentials CRUD" 2013-07-08 18:45:50 +00:00
Monty Taylor
4022e41c64 Sync install_venv_common from oslo
Change-Id: I0a57c658e0f89d13963862013793e12ae208c05b
2013-07-05 22:31:15 -04:00
Monty Taylor
d7501c352d Update documentation with info about setup.cfg
Change-Id: If87df1e6415d0b70b6605b1d89eda639fc44a0b6
2013-07-05 22:30:54 -04:00
Jenkins
bf3ee1e9a5 Merge "Finish up v3 role commands" 2013-07-05 17:10:22 +00:00
Jenkins
a54b88fa9f Merge "Add methods for user and group interactions" 2013-07-05 16:41:36 +00:00
Dean Troyer
7298dd5e72 Add EC2 credentials CRUD
ec2 credentials: create, delete, list, show

Change-Id: I82ff84ed433cd9a2da9534bf5f584a2e1a3fe68c
2013-07-03 12:11:44 -05:00
Steve Martinelli
f29a849ffc Finish up v3 role commands
* Add remove role
* Add --role to group list
* Add --role to user list
* Fix groups in AddRole()
* Remove the tweaks to utils.find_resource for domains; will address
  that across domains, projects, users and groups in another patch.
  I want to nail down the structure of these commands and get that into place

Change-Id: I8673dd8221ef88978dada5a2833c187026bdb31a
2013-07-03 11:51:23 -05:00
Jenkins
f18d674efa Merge "Move tests into project package." 2013-07-02 14:26:25 +00:00
Jenkins
b63e8d5241 Merge "Remove python3 incompatible exception syntax." 2013-07-02 14:26:15 +00:00
Steve Martinelli
9dbf46b837 Add methods for user and group interactions
* Add user to group
* Contains user in group
* Remove user from group

Change-Id: If5219fa9d4761d7b97950c39556b3e1b8aab6517
2013-07-02 08:58:55 -05:00
Jenkins
674dd48ad9 Merge "Add OAuth support for Identity V3" 2013-07-01 19:19:47 +00:00
Monty Taylor
196daf859b Move tests into project package.
There are several reasons for this. One is that the majority of
OpenStack packages behave this way. The second is that it makes writing
software that extends something easier to test (which is a clear usecase
for openstackclient) And third, tests/__init__.py implies a global
package named "tests" - which I'm pretty sure we're not providing.

Change-Id: Ic708ffd92aea78c2ffc1a8579af0587af4fca4ff
2013-06-30 23:30:54 -04:00
Monty Taylor
108f78d989 Remove python3 incompatible exception syntax.
Change-Id: I5f0687a83362ceebf03bae4a0a5b109aad7e5200
2013-06-30 23:30:54 -04:00
Jenkins
d50b575064 Merge "Fix py26 tests: assertDictEqual" 2013-06-26 21:56:21 +00:00
Steve Martinelli
dd3aa0b671 Add OAuth support for Identity V3
Added client side support for:
* consumer CRUD
* create request token
* create access token
* authroize request token

blueprint: delegated-auth-via-oauth

Change-Id: I8d325fcab07ac4dfd124a6e55053ded8d6bf662e
2013-06-26 11:40:30 -05:00
Dean Troyer
bc3039a43c Fix py26 tests: assertDictEqual
assertDictEqual is not present in py26 so shim it in here
stolen from python-keystoneclient/tests/test_auth_token_middleware.py

Change-Id: Ifd5990a8c03d11ee93cddc2f61653255970d974c
2013-06-25 10:35:22 -05:00
Jenkins
1d7f6488c9 Merge "Add volume backup commands" 2013-06-11 20:34:43 +00:00
Monty Taylor
d542def039 Remove explicit distribute depend.
Causes issues with the recent re-merge with setuptools. Advice from
upstream is to stop doing explicit depends.

Change-Id: Ic83dca8c17799335b76311d1d657adcd1dc94f01
2013-06-11 11:33:28 -07:00
Hugh Saunders
ea31333c49 Add volume backup commands
Change-Id: Iedccd329ff6fb3155eb29649cd0bc84cfc5ebedf
Implements: blueprint volume-backup
2013-06-03 16:40:59 +01:00
Chuck Short
7183a11f09 python3: Introduce py33 to tox.ini
Introduce py33 to tox.ini to make testing with
python3 easier.

Change-Id: I7a775ac51e0bc0a5929184af47d51ea1cc4e3219
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-06-01 19:58:34 -05:00
Jenkins
f4f85a2f79 Merge "Tweak volume commands and add k=v argparse action" 2013-05-30 16:25:36 +00:00
Zhenguo Niu
bac0718764 Rename requires files to standard names.
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.

Change-Id: I903213fda94a833335abaa7ad9a90bbb688ec15a
Fixes: bug #1179008
2013-05-29 17:38:13 +08:00
Jenkins
4430092706 Merge "Fix identity v2.0 entry point" 2013-05-28 15:35:39 +00:00
Jenkins
b7565c297d Merge "Add domain and description to user for v3 identity" 2013-05-28 15:23:40 +00:00
Dean Troyer
bf588ed9c4 Fix identity v2.0 entry point
Change-Id: Ifae91a612fcd8b66660b93f6ea81d37e0f1bce1d
2013-05-24 16:59:35 -05:00
Dean Troyer
ea9ec1c6bc Tweak volume commands and add k=v argparse action
Basic cleanups:
* change metadata to property
* add new KeyValueAction to parse the property options
* multiple properties can be set using multiple --property args
* consistent formatting
* do lookups for volume args

Change-Id: Ib6c43f01ad46b395aee8c61e886f42e2a5f5573e
2013-05-24 15:02:52 -05:00
Steve Martinelli
02a4f16f16 Add domain and description to user for v3 identity
* splitting the changes seen in 27142 to a few new patches
* this one will just update v3 user to have description and domain

Change-Id: I9b4c365703da27e26ddc702f37cf5928e19cebdc
2013-05-17 06:42:48 -05:00
Monty Taylor
d49fcb726d Migrate to pbr.
Fixes bug 1179007

Change-Id: Ief74b121dcad28bb1c2b6044ef72e0cbd51e8f65
2013-05-16 10:36:08 -07:00
Monty Taylor
967d929207 Migrate to flake8.
Fixes bug 1172444

Change-Id: Ieca721663aea2fd31753df4abfb5b01a7145b26a
2013-05-16 10:36:02 -07:00
Monty Taylor
016a0b301e Fix flake8 errors in anticipation of flake8 patch.
Change-Id: Ifdc4322b699f2bd91a6900e55695acd3d736568e
2013-05-14 08:28:48 -07:00
Jenkins
d6c760263b Merge "Switch to noun-verb command forms" 2013-05-13 14:57:38 +00:00
Josh Kearney
a2e3a16221 Rename all instances of 'metadata' to 'property'.
Change-Id: I454cbe685dc5afa0a09ecc976a90d6eb6bc57d14
2013-05-07 11:18:38 -05:00
Doug Hellmann
b16f210bbf Switch to noun-verb command forms
Reverse the commands to use nouns followed by
verbs to allow users to take full advantage of
tab completion.

Compound nouns (e.g., "floating-ip") are also
reversed (e.g., "ip floating list" and "ip fixed list").

blueprint nouns-vs-verbs

Change-Id: Icf09fb8d7dbd09772bddbbeb74f9a379d9189b72
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-04-30 06:54:02 -04:00
Dean Troyer
53bbff67eb Add console commands
Adds:
* console-log
* console-url

Part of blueprint nova-client

Change-Id: Ibea7f96382283770988d05379d41a148f8cd8c4f
2013-04-25 14:36:46 -05:00
Jenkins
6b478390fb Merge "Add compute keypair commands" 2013-04-25 19:24:24 +00:00
Jenkins
e273691c67 Merge "Add fixed-ip and floating-ip commands" 2013-04-25 19:23:16 +00:00
Jenkins
c5e9048dc4 Merge "Adds image create and delete functionality." 2013-04-25 18:30:19 +00:00
Josh Kearney
6da61e03f0 Adds image create and delete functionality.
We use the V1 API for `create` since it does not
yet exist in the V2 API in glanceclient.

For blueprint glance-client.

Change-Id: Ifa819c14f6a013f4530d16247a671e5a1c740a28
2013-04-23 14:09:20 -05:00
Dean Troyer
e9021c213b Add fixed-ip and floating-ip commands
Adds:
* fixed-ip commands: add, remove
* floating-ip commands: add, create, delete, list, remove
* floating-ip-poo command: list

Also uses NAME_ATTR in the Resource class if present to determine
the attribute to be used for searching in utils.find_resource()

Change-Id: Ifd8fa60f880fc4050dea182ac24553cc2c4bff15
2013-04-14 20:26:42 -05:00
Dean Troyer
364769f978 Add compute keypair commands
Add create, delete, list, show keypair commands

Part of blueprint nova-client

Change-Id: Ieba00d3b3e3a326f875c01ac2a2b9bbd036cd7c9
2013-04-12 17:28:21 -05:00
Dean Troyer
3641b03690 metadata is one word
Change-Id: I2baff95c9b6dcc95edf5d5da74814ff37883cd2b
2013-04-08 17:23:50 -05:00
Jenkins
95bf187a4f Merge "Add metadata support for volume" 2013-04-02 15:25:03 +00:00
Jenkins
e11a703a1a Merge "Add policy to identity v3" 2013-04-02 15:24:19 +00:00
Jenkins
512cccc78c Merge "Add a simple extension hook" 2013-03-27 15:04:10 +00:00
Steve Martinelli
76e06d144e Add policy to identity v3
use file for data blobs
add create/set/delete/show/list policy for v3

Change-Id: I5f68ef89dfb2241ea1aca00736ee6df5f6f03a9b
2013-03-26 08:50:21 -05:00
Steve Martinelli
04af8fa8f1 Add metadata support for volume
Now able to pass metadata to the create method,
as well as update it with set, and remove it with unset.
I'm currently passing it as an optional param like the following:
--meta-data=key1=value1
which seems weird, what about
--meta-data=key1:value1
I'd have to update type too if that is the case.

Change-Id: I0fc8398768da015c1f53c5c564c68a2cfb53e778
2013-03-22 23:36:13 -05:00
Dean Troyer
73fb88e931 Make entry point strings readable
PEP8 E126 wants continued strings to line up vertically, totally destroying the
readability and visual indication of the beginning of a string in a list

* Ignore PEP8 E126 in order to indent the entry point strings in a readable manner.
* Sort the enrty point command strings by object then verb.
* Bring other ignores from run_tests.sh to tox.ini

Change-Id: I2593de7d6c058322101bc68636317cdba29fe664
2013-03-21 21:51:08 -05:00
Steve Martinelli
b175184f23 Add extra-specs support for volume-type
changed to volume-type
changed command to --long, added a formatter for key=value
Just noticed there is an option in cinder for a command called
extra-specs-list, only relates to volume-types, to list the
meta-data key/value pair. Added that functionality.
Also made minor changes so delete/set/unset can be called by name.

Change-Id: If534ccd1d8a3abc6d235c60ec9a964b88e3fa66d
2013-03-21 10:12:10 -05:00
Steve Martinelli
95c6e5f11d Add endpoint v3 functionality
simple rebase
integrated dolphm and dtroyer comments
Added create,list,delete,set,show endpoints
modified setup.py

Change-Id: Id6153db16db44130beb3b44a8e3e2f72e9a01e5f
2013-03-19 14:25:54 -05:00