4400 Commits

Author SHA1 Message Date
Steve Martinelli
e5d9ba5491 Add role v3 support to identity in openstack client
Added create/delete/set/list/show support for roles
Broken up to make reviewing easier.
Will add more functionality (add/remove) later

Change-Id: I95bddd27d8d9d251ad2fd60c3e3ee1e2cbcd7d4b
2013-03-12 16:29:47 -05:00
Josh Kearney
ebfad587b3 Added compute hypervisor support.
Change-Id: Ib8109550b06d152773394a1d15f6202b9f9b029c
2013-03-11 18:21:07 -05:00
Jenkins
331d64a242 Merge "Turn down requests logging level" 2013-03-11 23:02:03 +00:00
Steve Martinelli
211a4bcbf2 Add optional arguments to volume list command
Added --name, --all-tenants, and --status as search params

Change-Id: Ibaa2a7f6862c2ff7dbe24f6bea971db3e70bc120
2013-03-11 15:12:01 -05:00
Dean Troyer
13d88407d6 Turn down requests logging level
Looks like the default is INFO, we don't need to see that unless
--debug is specified.

Change-Id: Ieee5d4dc5102f11536ecc6330461f86101811f9e
2013-03-09 00:49:52 -06:00
Steve Martinelli
1ddc30100f Add force-delete option for volumes
Again, looking thorouhgly through cinders commands, i noticed
an force-delete command, which was for volumes only.
Decided it would work best as an optional argument for the
regular delete case

Change-Id: I9de6040ea0ad71c2a9c8edc7be18779d39e7ede0
2013-03-09 00:25:06 -06:00
Jenkins
0c252b615d Merge "add domain, credential to identity v3 api" 2013-03-08 22:17:43 +00:00
Jenkins
d5a4216247 Merge "Add compute hosts support." 2013-03-08 22:14:57 +00:00
Steve Martinelli
0c4929373e Add snapshot support for v1 volume
rebase again, and change util to look for display_name too
minor changes and rebase
add create/delete/list/set/show support for snapshot

Change-Id: I80261653fa919555a44ddda07b0a827ccd16e5e0
2013-03-08 15:03:07 -06:00
Jenkins
6fae83b935 Merge "Add volume support for openstack client" 2013-03-08 19:39:30 +00:00
Steve Martinelli
55462e8f56 add domain, credential to identity v3 api
moved policy.py to it's own patch
minor changes based on comments
reworked it now that the domain specs have changed
added credential - create, delete, update, show, list
added domain - create, delete, update, show, list
update setup.py entry points

Change-Id: I6bbbb8fdfbc3e76ba75374e9579eb92c96c928fe
2013-03-08 11:11:58 -06:00
Jenkins
ec91bb617e Merge "Clean up args and help strings in server commands" 2013-03-08 15:47:10 +00:00
Jenkins
9b8b180534 Merge "Change create flavor to use default arguments" 2013-03-08 15:45:50 +00:00
Steve Martinelli
abbbed534d Add volume support for openstack client
fix with dtroyer's comments
rebase
fix with dhellmann's comments
create/list/delete/show/set for volume commands

Change-Id: Id8236685d815dbf73873bab2363d82274a9aa556
2013-03-07 14:18:18 -06:00
Josh Kearney
47068b1dd7 Add compute hosts support.
Change-Id: I51c443512a82729564b76e6f835195ff193232d2
2013-03-06 15:18:04 -06:00
Dean Troyer
3b765c8253 Clean up args and help strings in server commands
Help string corrections and align args with wiki at
https://wiki.openstack.org/wiki/UnifiedCLI/Mapping#server

Change-Id: Ifd6f587d383534142003277e64532f77ecb37106
2013-03-06 14:40:32 -06:00
Dean Troyer
989485c7f9 Change create flavor to use default arguments
Most of the arguments required by the create flavor API can have
reasonable defaults and therefore can be made optional in the CLI.
This brings create flavor in line with the documented args in the
wiki at https://wiki.openstack.org/wiki/UnifiedCLI/Mapping#flavor

Change-Id: Iecb3baf72f9dc3981742ff7989780894e37921c9
2013-03-06 14:02:13 -06:00
Steve Martinelli
5377da3406 Add metadata support for volume type
rebase
added set and unset metadata

Change-Id: I8d969e1de305975d7c71a0bad3a62b15f423c3e0
2013-03-05 14:38:06 -06:00
Jenkins
2a39a70ff8 Merge "Added compute service support." 2013-03-05 18:01:04 +00:00
Josh Kearney
7266c695b3 Added compute service support.
Change-Id: I548e35396534b5498f31a45c752984f6d33357c3
2013-03-05 10:30:36 -06:00
Steve Martinelli
ed809e059a Add quota v1 support for volume
added dhellmann's suggestions
created entry points in setup.py
added show/set/list quotas for v1 volume

Change-Id: I8ed6a9518007b31cafeaa70a54d5bf54a549195b
2013-03-04 15:53:48 -06:00
Jenkins
287c23ca4b Merge "Added compute flavor support." 2013-03-01 18:08:46 +00:00
Josh Kearney
f67daad716 Added compute flavor support.
Change-Id: Idb1eb2f838074ce5fb3d4aa7b72fd747ac6915c7
2013-02-28 11:49:11 -06:00
Josh Kearney
87375392a8 Remove underscore.
Change-Id: Iaf2791b96e81d6a0d4846adb3128e4dff61faf30
2013-02-25 11:57:28 -06:00
Jenkins
cca3061e01 Merge "Added compute agent support." 2013-02-22 19:43:10 +00:00
Josh Kearney
ac8b4ce4ac Added compute agent support.
Change-Id: I818a2ea51a773f50da385cbdd71771a4ac923bd7
2013-02-20 10:13:38 -06:00
Josh Kearney
237f0dd612 Correct the version mapping to image service.
This was preventing image support from being activated.

Change-Id: I1b7ab9174b90c55423b244ca63402d33b4411a49
2013-02-19 09:19:52 -06:00
Steve Martinelli
79001ce88a Add volume test cases and structure
add basic unit test for client
update/modify test_shell.py to include volume

Change-Id: I7d08e15a2711da5e51590b8a82eca3a1234962f8
2013-02-11 16:10:25 -06:00
Steve Martinelli
7072b4f802 Add Cinder API V1 Support
made the changes suggested by dtroyer
added client
modified setup.py entry points
updated pip required
added support for create/delete/list volume types
openstack list type
openstack create type typeName
openstack delete type typeNameOrId

Change-Id: I43655de151582e37f14dc9550151a66db7a009ab
2013-02-08 10:22:01 -06:00
Jenkins
f432131fe7 Merge "Multiple API version support" 2013-02-07 22:18:10 +00:00
Jenkins
c086030133 Merge "Update .coveragerc" 2013-02-06 17:42:42 +00:00
Jenkins
50ceef8fb7 Merge "Sync latest openstack-common." 2013-02-06 17:41:17 +00:00
Dean Troyer
fbc412e533 Multiple API version support
* Use multiple entry point groups to represent each API+version
  combination supported
* Add some tests

Try it out:
* Right now only '* user' commands have multiple overlapping versions;
  you can see the selection between v2.0 and v3 by looking at the
  command help output for 'tenant' vs 'project':

  os --os-identity-api-version=2.0 help set user
  os --os-identity-api-version=3 help set user

Change-Id: I7114fd246843df0243d354a7cce697810bb7de62
2013-02-06 11:36:28 -06:00
Alessio Ababilov
1c44d260dc Update .coveragerc
Set up proper source and omit options.

Change-Id: Ia067d229eb3d7a5806364de22724c16166950bc1
Implements: blueprint update-coveragerc
2013-02-06 16:47:06 +02:00
Josh Kearney
b675ca4f7f Sync latest openstack-common.
This fixes an issue when trying to run install_venv from within
the source directory.

Change-Id: Id4dcb070319ec52d0a1b466e911fbfdf805db613
2013-01-31 17:35:47 -06:00
Josh Kearney
b26cb5bf68 Upgraded to PEP8 1.3.3 to stay aligned with Nova, etc.
Made all the necessary changes to pass new PEP8 standards.

Also cleaned up docstrings to conform to the HACKING stanards.

Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
2013-01-31 13:31:41 -06:00
Jenkins
aa4f12aec1 Merge "Copy cfg and iniparser from oslo-incubator" 2013-01-31 04:00:13 +00:00
Dean Troyer
6a785bc6e0 Copy cfg and iniparser from oslo-incubator
https://review.openstack.org/20753 introduced tools/install_venv_common.py
but not it's dependencies openstack.common.{cfg,iniparser}

Change-Id: I270a1d8f6fd8f93988a5e2ccbc446adda0a6cd81
2013-01-30 21:44:40 -06:00
Josh Kearney
17a87b9c02 Clean up test_shell so that the tests are captured though the test framework.
Also makes a small modification to gitignore.

Change-Id: Iefbfbcfd35270b06ed65edb34708fa9b4d5bf563
2013-01-30 14:59:29 -06:00
Jenkins
26fcc303b2 Merge "Remove old/unsupported options from run_tests help message." 2013-01-30 17:05:42 +00:00
Jenkins
6449851a96 Merge "Use install_venv_common.py from oslo." 2013-01-30 15:43:59 +00:00
Jenkins
5a9fbc5fca Merge "Updated README to reflect latest changes." 2013-01-30 15:43:58 +00:00
Josh Kearney
282649ca40 Remove old/unsupported options from run_tests help message.
Change-Id: Ie0d796ecbd3c98b496a225c2a2c128db94a1831e
2013-01-29 17:29:57 -06:00
Josh Kearney
67bba28ed1 Use install_venv_common.py from oslo.
This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.

Change-Id: I3426a7f51b0018e074cc6f4b1d70b38e52464a38
2013-01-29 16:12:21 -06:00
Josh Kearney
37b75a10c2 Updated README to reflect latest changes.
Change-Id: I996d5c0ec6e480fcbdc546bad238eee2e20504d6
2013-01-29 15:12:39 -06:00
Josh Kearney
64cd45b03d Ensure that image and identity clients are constructed properly.
Also removed tests that don't test anything.

Change-Id: I0cb420248c8a1374110c014063fe029686e90216
2013-01-29 12:11:52 -06:00
Josh Kearney
4297e5781b First pass at adding compute unit tests.
Change-Id: Icf3340d457f75eec89bb0e5c9b4b953c3b81020f
2013-01-28 17:58:59 -06:00
Jenkins
1bb59c53ee Merge "Use the cliff framework's ShowOne as intended for show image." 2013-01-28 23:50:10 +00:00
Jenkins
910ad96441 Merge "Sync latest openstack-common updates." 2013-01-28 23:49:44 +00:00
Jenkins
d8225be7ce Merge "Standardize on a copyright header and ensure all files have them." 2013-01-28 23:49:13 +00:00