20 Commits

Author SHA1 Message Date
Takashi NATSUME
72b4441fe1 Improve the description of optional arguments
This patch is a follow-up patch for
Ib4ce831a5031459d350fa73601e878e7b319640f.

Improve the description of optional arguments
in the CLI reference and help text.

Change-Id: I6313b8a584385daa7e9fbd558d431faa43015449
2018-09-12 00:35:34 +09:00
Takashi NATSUME
b5a4a47977 Add missing options in CLI reference
Add the following missing options in the CLI reference.

* nova instance-action-list
  - marker
  - limit
  - changes-since

* nova migration-list
  - marker
  - limit
  - changes-since

Change-Id: Ib4ce831a5031459d350fa73601e878e7b319640f
Closes-Bug: #1791125
2018-09-11 03:14:04 +09:00
Zuul
3398e14b8f Merge "Add support for microversion 2.65" 2018-07-21 01:49:00 +00:00
Zuul
8b8f467681 Merge "Fix inconsistency" 2018-07-19 22:58:12 +00:00
Chen
ba8b87fc97 Fix inconsistency
Replace "of"s with "off"s to be consistent with the rest.

Change-Id: I4a99e733f9ecdbc080f1158b8c90af888d619cdc
2018-07-19 23:15:29 +08:00
Zuul
839da6fec0 Merge "Microversion 2.64 - Use new format policy in server group" 2018-07-19 01:39:08 +00:00
Matt Riedemann
0b1e1bb7ce Add support for microversion 2.65
There are no functional changes for this, just bumping
the supported client-side version and updating docs.

Depends-On: https://review.openstack.org/573136/

Part of blueprint abort-live-migration-in-queued-status

Change-Id: Ie0777dbe4d82892ec75b353f6b13ee2d2c5db72c
2018-07-18 10:30:51 -04:00
Yikun Jiang
6c398058a6 Microversion 2.64 - Use new format policy in server group
Added support for microversion 2.64, which includes the
following changes:

- The ``--rule`` option is added to the
``nova server-group-create`` CLI that enables user to create
server group with specific policy rules.

- Remove ``metadata`` column in the output of
``nova server-group-create``, ``nova server-group-get``,
``nova server-group-list``.

- Remove ``policies`` column, , add ``policy`` and ``rules``
columns in the output of ``nova server-group-create``,
``nova server-group-get``, ``nova server-group-list``.

Depends-On: 3cd26f1e68b09ba7925e794ac8912566c239b6df
blueprint: complex-anti-affinity-policies

Change-Id: I903f4b5544806b9d3c8bac529448abbc9dd3cee9
2018-07-18 10:30:00 -04:00
Takashi NATSUME
2e6ef0c45a Rename --endpoint-override to --os-endpoint-override
The ``--endpoint-override`` command line argument has been deprecated.
It is renamed to ``--os-endpoint-override`` to avoid misinterpreting
command line arguments.
It defaults to the ``OS_ENDPOINT_OVERRIDE`` environment variable.

The deprecated ``--bypass-url`` command line argument has been removed.

Change-Id: Ic8a6559cd62d46b837fa9c04b482a46ceba829db
Closes-Bug: #1778536
2018-07-09 22:02:13 +09:00
Zuul
003ac57d9a Merge "Fix trusted-image-certificate-id help text" 2018-06-22 15:24:39 +00:00
Chen
db4fd9a5f0 Fix help text in server-group-create
Only one policy is allowed in server-group-create.

Change-Id: Id9cb6f96a5f8bcece1bcda88a97c6fb5f8a58bba
Related-Bug: #1767287
2018-06-22 11:07:20 +08:00
Brianna Poulos
d422fb061f Fix trusted-image-certificate-id help text
Fix the help text for nova boot to include that a parameter
is expected for trusted-image-certificate-id.  Also update the
UnsupportedAttribute error to mention the env variable to
reduce confusion.

Change-Id: Ic5980b610e5fd97d3a858a2a513e2863657f36c2
2018-06-21 16:16:41 -04:00
Zuul
910328c30d Merge "Microversion 2.63 - Add trusted_image_certificates" 2018-06-18 00:52:39 +00:00
Jackie Truong
7f10707e5d Microversion 2.63 - Add trusted_image_certificates
This change adds a `--trusted-image-certificate-id` option to the
`nova boot` and `nova rebuild` commands. This option takes in a
a single trusted certificate ID. The option may be used multiple times
to specify multiple trusted certificate IDs, which will be
used to validate certificates in the image signature verification
process. If ID values are not specified using this option, the value of
the newly added OS_TRUSTED_IMAGE_CERTIFICATE_IDS environment variable
will be used instead. This value will be converted into a list before
being passed on.

The ``nova rebuild`` command also gets a new
``--trusted-image-certificates-unset`` option to unset/reset the
trusted image certificates in a server during rebuild. This is
similar to unsetting key_name and user_data during rebuild.

Corresponding `trusted_image_certificates` kwarg has been added to the
server create and rebuild Python API bindings.

Co-Authored-By: Brianna Poulos <Brianna.Poulos@jhuapl.edu>
Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>
Change-Id: I235541a689732826950c7b2a510d5835211120c3
Implements: blueprint nova-validate-certificates
2018-06-15 10:40:24 -04:00
Matt Riedemann
0ac7734e67 Add CLI docs reference for flavor-update
When the flavor-update command was added, we didn't
have the CLI docs in-tree so this was missed.

Change-Id: I3d5da9ac206d82b3fb3c51fa0872a3bae69d0a7e
2018-06-15 10:28:23 -04:00
Matt Riedemann
681f1789ff Add a note in the nova CLI reference about using OSC
We want to eventually ween people off the nova CLI and
get them to use the unified openstack CLI, so this adds
a note about that.

Change-Id: Ia854d2b83b489f67e514a6c066fe1bdc9549f9d3
2018-06-05 17:53:37 -04:00
Matt Riedemann
f4ed25f2f5 Import nova CLI reference from openstack-manuals
This replaces the old CLI reference main page for
the various nova commands with the more complete
CLI reference that was in the openstack-manuals
report based on the "before-migration" tag in
that repo, which was the tag before the centralized
docs were dropped in Pike and should have been
moved into per-project repos, in this case
python-novaclient.

The command reference in here is a bit old and
should be cleaned up, but this is better than
what we have today, which is nothing.

Change-Id: If19cfcafc90fddb930c124a5b9845d4eae1f6093
Closes-Bug: #1775281
2018-06-05 17:48:31 -04:00
sunjiazz
1d9322a2f5 Update documentation links
Update doc links according to OpenStack document migration

Change-Id: I189f2b31456203c80234a44cbf87534f8c159ed0
2018-01-18 15:40:35 +08:00
Jiao Pengju
e719d4e046 Remove deprecated command in nova.rst
nova image-list has been deprecated in python-novaclient, so
the documentation should be updated.

Change-Id: Iacd9e0e6c99ef0e5c40c716d0aa56ba0f2972fc3
Closes-Bug: #1737074
2017-12-09 13:37:40 +08:00
Stephen Finucane
e11efd8d76 doc: Create directory structure for docs migration
The spec [1] recommends the following sections:

- install
- contributor
- configuration
- cli
- admin
- user
- reference

Only a few of these are useful here:

- contributor
- cli
- user
- reference

Add these and populate them.

[1] specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration

Change-Id: I8a9ddcc915f25ebfaa1e994dba6c15883bd2715d
2017-07-12 15:07:35 +01:00