66 Commits

Author SHA1 Message Date
Andrey Kurilin
0a60aae852 Rename v1_1 to v2
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
2015-02-04 17:40:46 +02:00
Jeremy Stanley
c4233cfd2a Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I75618aaf9e07324985a83ca74d35bcab59e186c1
2014-12-05 03:30:40 +00:00
igormilovanovic
c204613ee4 Quickstart (README) doc should refer to nova
Closes Bug: #1358385

Change-Id: I0d9592d3221f3a4295bce7e5da8472ea73e0bcc7
2014-08-18 20:29:53 +01:00
Chris Yeoh
ec6a5e803c Removes copy of output of 'nova help' from README
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
2014-03-13 21:15:56 +10:30
Dan Smith
04a123cdee Add os-server-external-events support
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
2014-03-07 06:51:57 -08:00
Chris Buccella
b8ab45f390 Discrepancy between README.rst and nova help
1) --version in README should be --os-compute-api-version

2) NOVA_URL should be OS_AUTH_URL

Change-Id: Ib8989e6923e2073bcc31d2a17d346eb436effdc8
Closes-Bug: 1250842
2013-11-13 12:57:11 +00:00
Masayuki Igawa
83118620d2 Fix the help text process and the generated wrong help
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
2013-07-29 15:38:05 +09:00
Zhenguo Niu
66a98966bf Add update method of security group name and description
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
2013-05-30 22:17:02 +00:00
Shane Wang
3c97f768e5 Cleanup some flavor commands
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>
2013-05-15 15:55:27 +08:00
Masayuki Igawa
609cbcef17 Fix keypair-delete help documents
The help documents of keypair-delete parameter should indicate "name".

Fixes bug 1158733

Change-Id: Ib7e648d22024828f8a4e5b3b51c5ed8f6b4dc057
2013-03-22 21:29:55 +09:00
Daniel P. Berrange
5b8099cd0e Add support for get_spice_console RPC API
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>
2013-01-17 16:33:26 +00:00
Kravchenko Pavel
9e319ece37 Add support for instance evacuate.
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
2013-01-07 18:46:59 +02:00
Lorin Hochstein
eb7c3907d1 Update README.rst
Update the README to remove PENDING links to non-existent docs, and
to remove Rackspace-specific references.

Change-Id: I08311e0da3d181c3817573be93f6eed6e15e3812
2012-12-31 16:32:03 -05:00
Dean Troyer
9101741960 Change '_' to '-' in options
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
2012-08-24 15:22:44 -05:00
Joe Gordon
983b28d051 Fix spelling errors in aggregates section
Change-Id: I7bd0533861168eef31dcd055ae79746f1a1a6dc7
2012-06-11 17:50:41 -07:00
Vishvananda Ishaya
5c5b098f7c Add start and stop to server actions
Change-Id: I7fc52a87519813e38090f05dd9646b800c5c1813
2012-06-01 17:08:35 +00:00
Jenkins
cdfd1da4d0 Merge "update README.rst,add args "service_type" when getting endpoints." 2012-04-26 19:17:08 +00:00
Your Name
ed3a2bb722 update README.rst,add args "service_type" when getting endpoints.
Change-Id: Ib7e05f8eaff84e26869ec1a098ea98edd213018b
2012-04-19 12:28:48 +08:00
Josh Kearney
765f551a26 Rename NOVA_VERSION to OS_COMPUTE_API_VERSION.
Fixes bug 940432.

Change-Id: I18187eb68d936632b4ae78676a0a9f062afba8f2
2012-04-13 10:48:05 -05:00
jakedahn
7615e513be Adding Console Log to CLI
* Fixes bug 957518
  * Command is as follows: nova console-log <serverid> --length=20
  * Also updated the readme with new cli output.

Change-Id: I7874c7c9533b5389f7107ae375d4fa9f8fee7c49
2012-03-19 15:42:57 -07:00
Dean Troyer
cc72d6dfe2 Change CLIAuth arg names
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
2012-03-14 12:30:38 -05:00
Anthony Young
f90aa8c91a Add suport for instance locking/unlocking.
* Fixes bug 954746

Change-Id: I055597014fd44313780b8a9f10cdbc94196f8efb
2012-03-13 23:23:09 -07:00
Armando Migliaccio
ddc1b2c083 bug 932408: python-novaclient miss OSAPI host operations
add client bindings for host-related actions.

Change-Id: I98b3c11ec189029bafe73f499070ab132de640af
2012-02-17 18:37:10 +00:00
Chris Behrens
6fe77972f5 Removes zones
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
2012-02-15 19:16:14 +00:00
Dean Troyer
e2d869d1da Fixes bug 924588: Remove proto-keystone client from novaclient
Change-Id: Ib3f3b8bfdefe56a13889796948a0186309c9a313
2012-02-03 17:54:47 -06:00
John Garbutt
0213eb4c0a blueprint host-aggregates: client bindings
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
2012-01-26 19:01:02 +00:00
jakedahn
36be4bf575 Implementing client for new x509 support in nova.
* 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
2012-01-24 17:10:46 -08:00
Cole Robinson
65eb4a9fb2 Add flavor create/delete support
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
2012-01-24 17:33:16 -05:00
Cole Robinson
c3b043be0e Add a 'usage' module and 'usage-list' cli command
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
2012-01-24 15:32:34 -05:00
Anthony Young
2c6c34dd11 Add server.get_vnc_console functionality to python-novaclient
Change-Id: I8784161ba0ff5adff10045097ed691246bee6e63
2012-01-17 15:03:02 -08:00
jakedahn
d7fb1f33cc Implementing Floating Ip Pools.
See vishy's nova branch: https://review.openstack.org/#change,2892

Change-Id: I6a5bec55edd21f659674f478282e65fd6b1b0b1e
2012-01-10 16:24:43 -08:00
Rick Harris
3661be6673 Removed v1.0 support.
Change-Id: I6850075a2ac0e1558aa94539e73f4fb939dfb318
2011-12-15 23:10:59 +00:00
Julien Danjou
50169b9017 Fix typo in README
Change-Id: If165635e3cf73488b305d0b2c4fc9515b7a0849f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2011-12-15 11:59:12 +01:00
Lorin Hochstein
9067f26077 Updated README.rst
- Changed link from Rackspace API docs to OpenStack API docs
- Fixed Github link
- Added Launchpad link
- Added Gerrit link

Change-Id: I0494e4c4a8722c182c63515cb6079d2c1557b52f
2011-12-01 22:14:12 -05:00
Sandy Walsh
1f4971a136 Merge pull request #150 from SandyWalsh/remove_api_key
Remove api key
2011-11-16 08:38:52 -08:00
Gaurav Gupta
3d03a25363 Modified as per code-review comments:
- Renaned snapshot to volume-snapshot
    - Created a new file for volume snapshots

Review:
https://github.com/rackspace/python-novaclient/pull/136#issuecomment-2623509
2011-11-09 10:36:16 -08:00
Sandy Walsh
00f05317ef few missing references to api_key 2011-11-09 07:18:22 -08:00
Sandy Walsh
cdde0d22cd tests working 2011-11-09 07:10:46 -08:00
Gaurav Gupta
5c38baf65a Added support for listing/creating/deleting snapshots of nova volumes. Also
implemented the supporting CLI commands.
    Requires the OS API extension, 'os-snapshots'
2011-10-19 10:54:27 -07:00
Jesse Andrews
6955852694 merged and fixed pshkitin's keypair work 2011-10-17 14:09:25 -07:00
Gaurav Gupta
32510bdee9 Merge branch 'master' of git://github.com/rackspace/python-novaclient
Conflicts:
	novaclient/v1_1/shell.py
2011-10-16 15:27:25 -07:00
Anthony Young
ac163b4347 Merge remote-tracking branch 'rackspace/master' into security_groups_cli
Conflicts:
	novaclient/v1_1/shell.py
2011-10-14 17:43:57 +00:00
Pavel Shkitin
0ce3f97910 Added commands to work with keypairs 2011-10-14 14:51:50 +04:00
Anthony Young
16809a16fa make description consistent 2011-10-11 22:30:48 +00:00
Anthony Young
356a92ee14 add ability to create source group rules 2011-10-11 22:10:23 +00:00
Anthony Young
8cb15843d1 Add CLI for security groups and rules 2011-10-11 07:48:55 +00:00
Anthony Young
4154b90364 Add cli for floating ips 2011-10-11 04:07:08 +00:00
Gaurav Gupta
234205bf53 Added the following CLI commands to access nova volumes:
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.
2011-09-29 08:09:50 -07:00
Sandy Walsh
f7d38c2568 readme fix 2011-09-07 13:30:20 -07:00
Sandy Walsh
909b9118c2 readme 2011-09-02 12:07:18 -07:00