| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than pointing the 'project usage list' entry point directly to
ListUsage, this makes a ListProjectUsage subclass to alias the desired
command and still allow for changing behaviour or issuing a deprecation
messages. This implementation simply sets a new 'deprecated' attribute
in the command class that cliff will use to skip this command when
generating help output.
The actual skipping of the command in help output is dependant on
https://review.openstack.org/147349 merging in cliff, this review will
simply have no effect on help output until a version of cliff with
that update is present.
The deprecation message printed is somewhat generic until
https://review.openstack.org/147381 is merged in cliff.
Until that is merged, the deprecation message will not have the name
of the actual command given by the user in it, but rather the text
'this command'.
Closes-bug: #1406654
Change-Id: Ie08d4f88d71a660fca1862405351109cd0aa86b6
|
| |
|
|
|
|
|
|
|
| |
try and add some consistency with the show and delete commands.
replace 'show x' with 'display x'
change 'delete a y' with just 'delete y'
Change-Id: I47dfa8ee23ac5c41b355796415eb515155832f65
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: Iaf911d69a0b63d705f8789a4640018a428b87be6
|
| | |
| |
| |
| | |
Change-Id: Ie85ff7706ef08b70ab8ba99533465d90904cf393
|
| |/
|
|
| |
Change-Id: I4c005e1d8089b46feca6cd3266f63c408648f074
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Adds the command `os availability zone list`
Change-Id: I77bf52a9b84a62c3771a4838c9ea0c3af03eedb2
Closes-Bug: #1400795
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Should show basic usage by project id, if not specified then
use the project id the user is authN'ing with.
Change-Id: I0284a5efd84075b18e1a7117cc9f8f7fecf16274
Closes-Bug: #1400796
|
| |\ \ \
| |/ / |
|
| | |/
| |
| |
| |
| |
| |
| | |
* Added number of servers column, was missing
* Added a new line character after the initial usage message
Change-Id: I6c4e5bda6ba9ceafa92ecf13987c56d0bbe99961
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is part1, add support for these objects:
compute.server
imagev1.image
imagev2.image
network.network
volume.volume
volume.backup
volume.snapshot
Closes-Bug: #1400597
Change-Id: Ice21fee85203a8a55417e0ead8b509b8fd6705c1
|
| |/
|
|
|
|
|
|
| |
The keystoneclient.openstack.common directory is where we sync files
from oslo incubator. It is not a public directory and should not be
being consumed by openstackclient.
Change-Id: I011bb95c2c824e2dbc4b822ca922ae77b8d9b955
|
| |
|
|
|
|
|
|
|
| |
server
server image
Some cosmetic changes in the command source, sorting classes, help strings, etc.
Change-Id: I3f68dae77b9fe02bc6866684e05aeff943dd9cc3
|
| |
|
|
|
|
|
|
|
| |
aggregate
console log
console url
keypair
Change-Id: Iec9b8404ed5febd061a5dfd674b76aaa8aba67bc
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* server create required --image even when booting the server from a
volume. Change options to require either --image or --volume to
specify the server boot disk. Using --volume currently uses device
'vda' for the block mapping and ignores any other block mappings
given in --block-device-mapping.
* server create and server show are both affected by bug 1378842 where
an excepion was thrown when no image ID was present in the returned
server object, which is the case for a server booted from a volume.
* Fix the remaining assertEqual() order problems in test_server.py
Closes-Bug: 1378842
Closes-Bug: 1383338
Change-Id: I5daebf4e50a765d4920088dfead95b6295af6a4d
|
| |
|
|
|
|
|
|
|
|
| |
The files opened for the --files and --user-data options were never
closed, potentially leaking memory in a long-running client. Close
them if they are file objects.
Add a couple of basic tests for server create.
Change-Id: I1658b0caa2d6af17308149cb52196ee28266ddf2
|
| |
|
|
|
|
|
|
| |
Mark some of the messages from the server for translation
implements bp use_i18n
Change-Id: I503efcfb4ca3dec1c427b58ee4a85de9a241dacd
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Non-admin users couldn't list security groups due to the project lookup
failure. That shouldn't stop the listing.
Change-Id: I27f6ff4975b35d1de1c852c8d4e830b83c7dec75
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
The group resource was being passed when only the name is needed.
Change-Id: Ia303804be4e336f9880205d931467cb831e812de
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
Instead of inline messages, let's create variables instead, as
it's easier to find strings, and mark them for translation.
Change-Id: Ibbcfdbc59d12a0cb4af50f73043d3ff7f3c76f99
|
| |\ \ |
|
| | |/
| |
| |
| | |
Change-Id: I2b21bc904e35c1cc50da369d148e607fe3e8cf90
|
| |/
|
|
|
|
|
|
| |
So apparently we've never resized a server???
Fixed command args and add some tests.
Change-Id: I6c3f6fec22390e9d269b7117a42a190d2b4b80ba
|
| |
|
|
| |
Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a
|
| |
|
|
|
|
|
|
| |
So we can update requriements.txt. But fix a couple of easy ones:
* Fix E251 (1 occurrance)
* Fix E131 (1 occurrance)
Change-Id: I62aaa423aa6da9e9f0ca026ec586b51cc6a6df03
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
There are files containing string format arguments inside
logging messages. Using logging function parameters should
be preferred.
Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The final find_resource() call errored because servers.create_image()
returns an image ID rather than an Image resource. Reset expectations
and arguments.
Change-Id: I1b9132f66091f9df76198724156acb7a6fb2f6fe
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, the help message incorrectly had the
string "IP address to add to server". This should
probably read "IP address to delete".
Change-Id: If592b736448199f84c30e0cbc8110a0a76e2c140
Closes-Bug: #1316877
|
| |/
|
|
|
|
|
|
| |
Without --lines option, `console log show xxx`
cmd will break.
Change-Id: I4027aacac245e6916c1808fd9f878fb708c8a5f0
Closes-Bug: #1316870
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Rename the compute agents in anticipation of network agents
Change-Id: I201121915638d89dfbe46a7e0026aa4c2777e590
Closes-Bug: #1285800
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The attempt to get the data dict out of the keypair resource object uses a
key 'keypair. This is incorrect, no key is required.
Closes-Bug: 1289594
Change-Id: I7887119c1d800d389cb6f63ea7847bea1e25bb52
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* port range was throwing exception for None to/from ports
* ip_range didn't always have cidr causing error
* ip_protocol None at times and looked bad
Closes-Bug #1256935
Change-Id: I451a0f038a3e9646bca3f278c5d6f6d7e3097a83
|
| |/
|
|
|
|
|
|
|
|
| |
This fixes some errors and inconsistencies I found reviewing the
help strings:
* Capitalize help strings
* Add missing space between words (in multi-line strings)
* Improve wording
Change-Id: I2fb31ab4191c330146e31c1a9651115a6657769a
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
According to policy change in HACKING:
http://docs.openstack.org/developer/hacking/#openstack-licensing
empty files should no longer contain copyright notices.
Change-Id: Iba09a00f24dfbd1cd03c1c9f70ea216788e64d93
Closes-Bug: #1262424
|
| |/
|
|
|
|
| |
I think these are the last two stragglers, including debugging lines
Change-Id: Ic3dd98480211d0f7d3cc951bec5cd54f902a101f
|
| |
|
|
|
|
| |
Translation of 'nova image-create', with tests!
Change-Id: I8a833aeff6f291e4774063ed235876eb2ba9c13c
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Mostly options and help strings:
* image, server, project usage, volume
Change-Id: I788b0660f8c2daacde53c20a72dd1afc60cf5159
|
| |\ \
| |/
|/| |
|