Module novaclient.v1_1 is used as implementation of V1.1, V2 and V3.
Since future development(microversioning) will be done across V2,
implementation should be done in appropriate module(to prevent misleading).
Despite the fact that implementation for all versions are equal, discover
method for contrib path worked only for v1.1. This patch fixes this bug and
modifies shell tests to check all versions.
Change-Id: Ib6798f4dfe177586302141f522dc593560ce6a5b
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.
Change-Id: I75618aaf9e07324985a83ca74d35bcab59e186c1
Removes the copy of the otuput of 'nova help' from the README.rst
file. It's out of date and given its not autogenerated is
rather prone to getting out of date again soon anyway. Just leave
the command that people need to run in order to print the help message.
Change-Id: I3cd069838302913bc69cc0ded5d632c7f8c3f408
This adds support for the os-server-external-events extension in nova,
which allows other services to deliver events to nova.
It also adds a shell command to trigger the "network-changed" event
manually, which will cause nova to refresh its network cache from
neutron.
Related to blueprint admin-event-callback-api
Change-Id: I1a302a43b6b7a6d8bdc03965a8f4c1a151bcab88
1) --version in README should be --os-compute-api-version
2) NOVA_URL should be OS_AUTH_URL
Change-Id: Ib8989e6923e2073bcc31d2a17d346eb436effdc8
Closes-Bug: 1250842
The wrong help text of bash-completion is generated by the process of
choosing first line from the source code comment. We should get the all
help text from the source code comment, and use it.
So this commit removes this unnecessary process, and also fix the
README.rst for proper help text.
Fixes bug 1206005
Change-Id: Id4f5b6a7722197f09eb366ba8f3e643e1af91805
make it possible to edit the name and description of
common security groups, we can not rename the default.
nova patch : https://review.openstack.org/#/c/29490/
Fixes: bug #918393
Change-Id: I559f2fa09c1f205d3bbe7352fc169152e6b38586
Some cleanups include:
- Add flavor sub-commands into README.rst
- Check flavor ID when creating a flavor
- Remove check_uuid_like() because it isn't used
- Remove parameter cs in some _print_XXX functions because cs is
not used
Change-Id: If47ce557d33db05f53e382f0670f436e05a340b7
Signed-off-by: Shane Wang <shane.wang@intel.com>
Add the new get_spice_console API mirroring the impl of
the existing get_vnc_console support.
Blueprint: libvirt-spice
Change-Id: Id549de57ebbed95dc01749838ed539b3b47efc8b
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This adds support for server evacuation from failed host.
Adds CLI command:
nova evacuate <server> <host> [--password pwd] [--on-shared-storage]
Depends on the approval of change:
https://review.openstack.org/#change,17991
Change-Id: Icd91c0484b2db532861e23163d043737ad04117a
Update the README to remove PENDING links to non-existent docs, and
to remove Rackspace-specific references.
Change-Id: I08311e0da3d181c3817573be93f6eed6e15e3812
This changes every command-line option with a '_' in its name
and changes them to '-'. The old option names are maintained
for backward compatibility but are no longer in the help text.
BP command-options
Note: there is a dodgy hack in novaclient/shell.py to handle
usage-list's --end option that conflicts with --endpoint-type
if --endpoint_type is also present for backward compatibility.
If --endpoint_type is not added to the parser it works. Go figure.
Better solutions that do not break backward compatibility are welcome.
Rebased due to https://review.openstack.org/11072 merging.
Note: --availability_zone changed to --availability-zone with no
backward compatability since this s a new option.
Change-Id: I09ab546659be0a0d3f0eadb22ab5e13fac2f059d
* Fixes bug 957518
* Command is as follows: nova console-log <serverid> --length=20
* Also updated the readme with new cli output.
Change-Id: I7874c7c9533b5389f7107ae375d4fa9f8fee7c49
Change the argument names used for common Keystone authentication per the
updated http://wiki.openstack.org/CLIAuth:
--auth_url -> --os_auth_url
--password -> --os_password
--username -> --os_username
--tenant_name -> os_tenant_name
--region_name -> os_region_name
All old args are depricated but available for backward compatibility.
Fixes bug 954531
Change-Id: Ic67c447e4e4b8d793f587c789cecd149446194f3
As per the openstack meeting today, we will be removing zones from nova
for the Essex release. Therefore, we should remove it from
python-novaclient.
Change-Id: Iccb363e4d7f24f3e0808dd9cda3b7558be76bae2
These are the client bindings for the new aggregate api added into nova in the following change:
https://review.openstack.org/#change,3109
Change-Id: I97e0223aa18d01450f82848c5be9bce78b83ef39
* This depends on the approval of vishy's changes here: https://review.openstack.org/#change,3199
* Adds novaclient library code, and cli.
CLI Use:
nova x509-create-cert [private_key_filename] [cert_filename]
nova x509-get-root-cert [cert_filename]
Change-Id: If5b833b90bfb5bc16ea4636abb667717a67065d3
Makes use of the new nova module for flavor creation/deletion (still
under review at https://review.openstack.org/#change,3197
tests and cli commands added.
v2:
Fix tests
Fix pep8 violations
v3:
Drop unused import
v4:
Usage defaults to end date 'tomorrow'
v5:
Undo unintentional change
v6:
Drop useless comment
Fix meta var name for flavor-delete command
Change-Id: I14baa02d5cbe5eaf17875c285c993508b1671a13
This module talks to the nova extenstion os-simple-tenant-usage,
replacing the openstackx module currently used by horizon.
v2:
Fix some pep8 and style violations
v4:
Have usage-list default to including todays usage
v5:
Fix a HACKING violation
Fix rebase conflicts
Change-Id: Ica0b128c7b807b839abf23b4026e48bbee08b1be
- Changed link from Rackspace API docs to OpenStack API docs
- Fixed Github link
- Added Launchpad link
- Added Gerrit link
Change-Id: I0494e4c4a8722c182c63515cb6079d2c1557b52f
volume-attach Attach a volume to a server.
volume-create Add a new volume.
volume-delete Remove a volume.
volume-detach Detach a volume from a server.
volume-list List all the volumes.
volume-show Show details about a volume.