Add the ability to specify --fields, using any valid vields, when
doing a network-list. This code was shamelessly borrowed from
do_list(). This will allow crafting network-list queries which
mirror the functionality of 'nova-manage network list', which this
query was intended to replace.
Change-Id: I7ec7066350cdb979a64d20d14362b12e3ec76496
Current version of flavor-list(v1_1 API) does not show
swap value because of selecting wrong field name. This
change displays swap value in the same way to v3 API
Closes-Bug: 1354546
Change-Id: I5c8fca8207032814b96b8410213bf58209d9b526
SessionClient is mostly common code that wasn't yet released in
keystoneclient. Now that 0.10 is released we should use the adapter from
there as much as possible.
Change-Id: Ief6cd7e752fd8c9e9157364f99e270da7faff074
Currently, the command delete return a zero if it failed for any
of servers, the return code should be a nonzero.
Change-Id: If7009fdeb5a60fe2e357bcc447313cbdb7b2ff39
Closes-Bug: #1339647
We've had some trouble with httpretty in the past and so are moving to
requests-mock. There should be no functionality change in this patch,
simply a transition to a newer library.
Examples:
- Python 2/3 inconsistencies
- Breaking compatibility between releases
- Incorrect package dependency specifications
- Problems with distro packaging around tests
- *can* introduce a maintained state between tests.
Change-Id: I666a5c7e6747f0c5c2dc96336774fd0fcd3f5907
On v3 API, rxtx_factor parameters has been renamed to
'os-flavor-rxtx:rxtx_factor' for consistent interfaces.
This patch applies it to 'nova flavor-create' command.
Closes-Bug: #1350022
Change-Id: I49e24f0220f87616f346f36973312b2f29333841
This change fixes an AttributeError raised when attempting to
represent a host resource as a string.
Change-Id: I33369b20ed7f5219c3b507107b8f3a37b46eacee
Closes-Bug: #1327005
H233 (and H402) were temporarily disabled as part of the migration to
hacking 0.9. This patch fixes all H233 issues and re-enables
gating on them.
H402 has been removed in hacking
(I9426644fa708e9d5563abe04dc4ad656dbeb3656) so leave this one off as its
going away anyway.
Change-Id: Iae8f132c66c5e345dc2e9c2464f67609887c1475
This code change redacts the password in keystone request, and
also redact the token text in keystone response. The code still
makes REST call by itelf, instead of calling keystone client.
Closes-Bug: 1327019
Change-Id: Ib9c0610c1ef351a127364478721cf961c2a30125
Improve help strings for consistency. Fix wording, typos,
capitalization and add "." as appropriate.
Change-Id: I376f6d0269aee8dd0e67ffab6386eac2139844ab
Also adds missing network-delete shell command. Additionally changes
the type of vlan and vlan_start to int to match the api samples.
Partially-implements blueprint better-support-for-multiple-networks
Change-Id: I233614431db4737284cceaf8e6b947f50dd84602
Nova provides REST API versions.
This patch adds a subcommand "version-list" for outputting the versions.
Change-Id: I1b40ad57912aa740c0b1d9221018aba9b13a5436
As per the bug, description should not be a mandatory parameter
as it creates inconsistency with other opestack items which has
description as an optional parameter.
So in the fix, the description argument has been made optional.
The old command was:
nova secgroup-create <name> <description>
Now new command will be:
nova secgroup-create <name> [<description>]
Patch updated based on the comments received
Updated commit message for gerrit autolink
Closes-Bug: #1332133
Change-Id: I2ded915be4a57f3c46e6cf5d1bf00e8c917cd0b9
This reverts commit 3bde9c3f427110dae3480644752f49b79ac66ec5.
This change is a part of a series that is not backwards compatible.
It broke applications using the client library.
Change-Id: Id01a0a0feb601539d3855f445ebaf6a3cc000610
Partial-Bug: #1340596
This reverts commit 4e1ee661083bd672a884fd13fdb1ffaadea5252a.
This change is a part of a series that is not backwards compatible,
and caused breakage in applications that use the client library.
Change-Id: If614826fb0832602110c1ac8be2c0e6324a5a248
Partial-Bug: #1340596
Adding support specifying multiple servers to nova reset-state in
a single invocation.
Change-Id: I7add0c26b0e59b31751de7a60ebdde3f568b3354
Closes-Bug: #1314217
Actual help string for --block-device flag is not clear.
User doesn't know which parameters are required and which are not.
Change improves description of each parameter, so that user can
understand how the --block-device works.
Change-Id: If23cb2d64adb51dfb45e48511ca25988bc43b739
Implements: nova boot --block-device usage unclear
Partial-Bug: #1323775