Adds support and tests for the os-availability-zones
extension for the Nova V3 API. Also implements
sorting for zone host display which was applied
to the v1_1 version, but not the v3 version in
I9ab25ef52d6d19b45a39f04cbcde864ee225b4cc
Partially implements blueprint v3-api
Change-Id: I8daa2503a2dc8767e9157bdfa6c9adaedfc8f3c0
Ports servers support from the v1_1 directory omitting functionality
which is no longer supported directly in the V3 API such as:
- floating ip
- add/remove/list of security groups
- disk config related functionality
Makes the appropriate modifications required for parameter name
changes between the V2 and V3 API
Booting an instance is not yet supported as this will require more
extensive changes as image listing services are no longer proxied
through the Nova V3 API
Partially implements blueprint v3-api
Change-Id: I1116e8d8ebc73176223f4135168cc4ab5d904356
Adds support for basic image querying from the image server
rather than the Nova API. The Nova V3 API no longer supports
image querying directly, but in order to support convenience
functions such as specifying images by name rather than ID,
it is necessary to have some basic image query support.
image delete and image meta manipulation is no longer supported
by the client as these features can be accessed directly through
the glance client
Partially implements blueprint v3-api
Change-Id: I9050845d631e9dfc2e110327221d154b8924cd65
Remove commands which are no longer supported by the Nova
V3 API and that we will definitely not be proxying to another
service. Removes:
- cloudpipe-list
- cloudpipe-create
- cloudpipe-configure
- coverage-start
- coverage-stop
- coverage-report
- coverage-reset
Partially implements blueprint v3-api
Change-Id: I366cd0233977c1b506d55de280188ecccda8188f
Adds support and tests for the os-agents extension
for the Nova V3 API
Partially implements blueprint v3-api
Change-Id: I53f8a1cbab6f4dee10fb823bc51ae90baa97fa7a
The first part of adding flavor support for the Nova V3 API (support
for flavor-access API calls is still to come).
Restructures v1_1 testcases so as much as possible so they can be
reused for the V3 version of the tests. If it looks too ugly an
alternative would be to just cut and paste the fakes and test
from v1_1 to v3, which is simpler to understand but comes at the
cost of duplicated code. The upside though is it would be much
easier to remove v1_1/v2 support in the future.
Partially implements blueprint v3-api
Change-Id: Ic7cb3c43db02c07d37aea2675b310aaa50639c40
Currently it prints a stacktrace and exits. This patch makes it print
a message and exit gracefully.
Closes-Bug: #1256732
Change-Id: I59ae8d09be43cd3e56dbe9bed4f6f328377dcc13
Updates tox.ini to reduce ignored rules.
Updates novaclient/v1_1/shell.py and
novaclient/v3/shell.py for E712 violation.
Change-Id: Ibfd6a4ed19835e65cc9e27873699c31a801e99a8
tox 1.6 allows us to skip the sdist step, which
is slow. This does that.
It also allows us to override the install line.
In this case, it's important as it allows us to
stop getting pre-release software we were not
asking for.
Original patch by Monty Taylor, talked about here:
http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html
Change-Id: Iddf85d33b57f256d72756b516c23492e9600bedc
Something like this:
1. Modify "`Image` to add metadata to" to ""`Image` to delete metadata" on
delete_meta()
2. Modify "The security group to delete" to "The security group to update"
on update()
3. Remove the "password" from the description on update()
Change-Id: I0120d84cc263d4eb58b692a5eb6f20ca0ef8264d
Closes-Bug: #1258461
The help message of params "flavor" and "tenant" is incorrect on
do_flavor_access_add and do_flavor_access_remove.
Change-Id: I66c45316181307305a19aec25acefc019cd7bdfc
Closes-Bug: #1258453
Set the default service type when talking to the Nova V3 API to
computev3 rather than compute. Although it is rather ugly to have
a different service type for a different version of a service,
this is necessary for the medium term because traditionally the
compute service endpoint has pointed to the V2 API rather than
the root and then version discovery done.
This change allows progression of the V3 API support in
novaclient and although devstack too currently points computev3
directly to the V3 API, the intent is to change this to point to
the root and implement version discovery during the Icehouse
development cycle.
Longer term when the V2 API support is eventually removed we can
reclaim the 'compute' service type and point it to the root.
Partially implements blueprint v3-api
Change-Id: If5d6a0d8af037cde7bf253d71aac2823b89f8066
Prints info about the new image when --show is used with the
image-create subcommand.
Change-Id: Id1fba67df9ff86cb1bbda3e241d1d03e01afbe2c
Closes-Bug: 1248128
To ignore swap files from getting into repository
currently the implemented ignore is *.swp
however vim adds more swap files if these files exists,
so improving this with *.sw?
Change-Id: Ic3e09f8cf0be35c98d89d862d40121a09c7b2498
Closes-Bug: #1255876
This patch allows users to retrieve VM encrypted passwords using the
`nova get-password` command without specifying the private key.
Change-Id: I13ea132160dca912c6c1643b1006377982b778a1
Implements: blueprint retrieve-ciphered-vm-password
1) --version in README should be --os-compute-api-version
2) NOVA_URL should be OS_AUTH_URL
Change-Id: Ib8989e6923e2073bcc31d2a17d346eb436effdc8
Closes-Bug: 1250842
If we installed neutron, the security-group request will be handled
by neutron, however neutron is using uuid as key for security-group,
nova uses an int value as key, for current novaclient, it only
support the security-group which key is int, so will raise exception
for uuid input.
Change-Id: Ia230d12a1b4905434024b1a5129aa91cff7e6a5b
Closes-Bug: #1247728
The CLI was stating that the name of the project should be used, but the
parameter needs to be the project_id.
Change-Id: If0908a1b72c526f6436432ff18599423f89f7d1f