Commit Graph

73 Commits

Author SHA1 Message Date
Stephen Finucane d3f4a3d7f5 Blacken everything else
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: I356643d06b2cd408ccaedfe02b858aea55388949
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2023-05-10 10:51:30 +01:00
Andreas Jaeger f01a0f336c Cleanup Python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add python-requires to setup.cfg so that pypi and pip know
  about support Python version
- Remove ancient sections from setup.cfg
- Remove version_info setting from conf.py, openstackdocstheme does this
  automatically nowadays.

Change-Id: I5b9c159752c932f874015f20822862c70562c2bd
2020-03-30 20:00:41 +02:00
OpenStack Proposal Bot f97a33b971 Updated from global requirements
Change-Id: I28815dc190dba45af060b26eceb660f40bb67772
2017-03-03 22:59:10 +00:00
OpenStack Proposal Bot 9987a95841 Updated from global requirements
Change-Id: Id0791447748e9430c995cbab87260e843e8a2819
2015-09-18 16:42:31 +00:00
OpenStack Proposal Bot 1af89f757c Updated from global requirements
Change-Id: I0703a48d8c95617e687eea9eea7990d778d760b5
2015-07-15 01:37:44 +00:00
OpenStack Proposal Bot 2d6bc8f4c3 Updated from global requirements
Change-Id: Ie4f93534ec504e7672c88ab02efc8747df91318c
2015-06-22 08:28:06 +00:00
OpenStack Proposal Bot 6c5f2e39e2 Updated from global requirements
Change-Id: Idde32a0bdcee8843c09a968dff69b246b5e784f7
2014-05-01 13:50:49 +00:00
OpenStack Jenkins bca4cf9578 Updated from global requirements
Change-Id: Ic3b5de6a54951b4f9a6449f97aa1ab9c395a2f08
2013-10-01 16:15:07 +00:00
Monty Taylor 93612bbf53 Updated from global requirements
Change-Id: I1687d51bddb873549163dcf488fc40cdd9edcb29

Change-Id: Ic4a43955526fcde313ad2f2afec8fafeb87f37a6
2013-08-07 18:54:34 -03:00
Monty Taylor 3a92ffa823 Sync with global requirements
Change-Id: I1969b4d74363a8d77cbb5dac661874f3bea2e96c
2013-08-03 14:58:43 -04:00
Monty Taylor d49fcb726d Migrate to pbr.
Fixes bug 1179007

Change-Id: Ief74b121dcad28bb1c2b6044ef72e0cbd51e8f65
2013-05-16 10:36:08 -07: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
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
Jenkins 95bf187a4f Merge "Add metadata support for volume" 2013-04-02 15:25:03 +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
Steve Martinelli 907dbdb897 Add service v3 support for identity
simple rebase
rewrite help for create, remove choices
Added create/delete/list/show/set for service
Modified setup.py

Change-Id: I5ced0e214cc2f7fc70493c66b4381040ce8122fe
2013-03-19 13:43:32 -05:00
Steve Martinelli b26bbae598 Add functionality for add-role commands
keep the functions sorted
Please review carefully as I intend to mimic this logic with
list and remove, I'm open to suggestions about handling thigs
differently

Change-Id: Ia6359134c44447f3b758870c4dc306ec1f970852
2013-03-15 16:03:01 -05:00
Jenkins e2c3dbf24d Merge "Add role v3 support to identity in openstack client" 2013-03-15 18:50:06 +00:00
Jenkins 866a0eb044 Merge "Add snapshot support for v1 volume" 2013-03-15 16:03:54 +00:00
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 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
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
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
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
Josh Kearney f67daad716 Added compute flavor support.
Change-Id: Idb1eb2f838074ce5fb3d4aa7b72fd747ac6915c7
2013-02-28 11:49:11 -06:00
Josh Kearney ac8b4ce4ac Added compute agent support.
Change-Id: I818a2ea51a773f50da385cbdd71771a4ac923bd7
2013-02-20 10:13:38 -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
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
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 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
Steve Martinelli b253534348 v3 identity - group and project api
updated with latest comments
modified entry points in setup.py
added group.py (v3)
added project.py (v3)
fixed indentation
updated to include new headers

Change-Id: Ice68b6c5bacb68d2e95321d903043056a9b8e810
2013-01-28 15:28:32 -06:00
Josh Kearney def0f8ab77 Sync latest openstack-common updates.
Change-Id: I09adc9b5c01aa97ffba58dff8a696172e8654e3e
2013-01-24 14:44:54 -06:00
Josh Kearney 0a4912f9fb Standardize on a copyright header and ensure all files have them.
Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
2013-01-24 12:02:23 -06:00