1061 Commits

Author SHA1 Message Date
Jenkins
e5ee4b8ca3 Merge "Support list commands by group name keyword" 2017-02-27 03:47:11 +00:00
Rui Chen
0898ebacb8 Support list commands by group name keyword
The output of current "command list" is so long, it's
very difficult for users to find out the commands
they care about.

Add "--group <group-keyword>" option to filter the commands by group
name keyword, like: --group volume, list all openstack.volume.v2
(cinder) commands

That support the scenario that users need to know the current support
commands of some OpenStack services(nova, neutron, cinder and so on) in
OSC.

Change-Id: Id673042729ad36a0cac0b81fb31a3537c24f03fc
Closes-Bug: #1666780
2017-02-23 12:13:06 +08:00
Steve Martinelli
aef9dacc7f minor tweaks to mapping table
- no need to prefix it with OSC
- since it's a page with a lot of content, make
  it show sub headings

Change-Id: I1aab4f71def53f1a11a8a0e0f6b7748233ff02c7
2017-02-22 14:19:38 -06:00
Steve Martinelli
4b293c57c8 add keystone and glance -> osc mapping
Change-Id: I99cd8b11a5d5fc6dc5d2f4584b837ea0f44d665a
2017-02-22 14:09:25 -06:00
Jenkins
3746fd2caf Merge "OSC Network Flavor" 2017-02-22 18:40:37 +00:00
Rui Chen
c828216e2b Fix "endpoint list" help message
OSC support to filter OpenStack endpoints by service type, name and ID,
but help message and document don't contain "type" for "--service"
option of "endpoint list" command.

Change-Id: I5c8bc28e037b4c6f96ec83525a319353f01f256a
Closes-Bug: #1666841
2017-02-22 17:56:03 +08:00
Anindita Das
edaeece7f1 OSC Network Flavor
Implements Neutron feature of Network Flavor into OpenstackClient
This patch implements the following commands:
network flavor create
network flavor delete
network flavor list
network flavor show
network flavor set

Works with openstacksdk version 0.9.8

Change-Id: I29d7a62341010a1d067a8ca93bccb7d9b8d4c425
Partially-Implements: blueprint neutron-client-flavors
Partially-Implements: blueprint network-commands-options
2017-02-22 02:45:51 +00:00
Jenkins
ea08e16b08 Merge "add volume->osc mapping" 2017-02-21 16:16:33 +00:00
Jenkins
a3e1b9c31a Merge "add swift and nova to osc mapping" 2017-02-21 16:12:31 +00:00
Steve Martinelli
c9419f00f0 add volume->osc mapping
Change-Id: Ia773cf66c9949433eb5e5ab5c58b7c871c17fc22
2017-02-21 06:16:53 +00:00
Steve Martinelli
3a48183c01 add swift and nova to osc mapping
Change-Id: If3ab811868aaf8c9391a2190ff0af63b0e0ea559
2017-02-21 06:16:37 +00:00
Dean Troyer
76c7ab5c85 Remove text about OSC as a plugin requirement
python-openstackclient should not be in a plugin's requirements.txt
as it will pull in the OSC dependencies that may not be desirable.

Change-Id: Id72745704ec70cab438e766dbac21a838fccb523
2017-02-20 09:37:54 -06:00
Jenkins
83a0db0a54 Merge "Fix "server create" command failed when --nic auto or none" 2017-02-18 06:41:14 +00:00
Jenkins
1b4605e4ad Merge "Add "volume host failover" command" 2017-02-18 06:25:10 +00:00
Jenkins
c88975136d Merge "Add "encryption-*" options in volume type commands" 2017-02-18 03:36:06 +00:00
Rui Chen
c051c5f090 Fix "server create" command failed when --nic auto or none
"auto" and "none" options was added into --nic argument of server create
command in patch https://review.openstack.org/#/c/412698/ , but that
don't work and raise internal error when execute command. The patch
fix that issue and add unit and functional tests.

Change-Id: Ia718c3bac0a5172a0cdbe9f0d97972a9346c1172
Co-Authored-By: Kevin_Zheng <zhengzhenyu@huawei.com>
Closes-Bug: #1663520
2017-02-15 14:25:37 +08:00
Jenkins
655e73683a Merge "Overwrite/Clear Flavor property" 2017-02-13 18:19:26 +00:00
Jenkins
7f29e52106 Merge "Add choices for option '--policy'" 2017-02-13 17:27:30 +00:00
Jenkins
803d5b4c83 Merge "Add --fixed-ip option to the port list command" 2017-02-13 17:19:10 +00:00
Reedip
6a3c7c2a68 Overwrite/Clear Flavor property
This patch adds support to overwrite/clear the flavor's
property using the new ``--no-property`` option in the
``flavor set`` command.

Change-Id: I873c96fcf223bbd638a19b908766d904a84e8431
Implements: blueprint allow-overwrite-set-options
Co-Authored By: zhiyong.dai@easystack.cn
2017-02-13 15:16:09 +00:00
Yan Xing'an
e0e46bca09 Add --fixed-ip option to the port list command
Add support to allow filtering ports via --fixed-ip
option to the port list command.

Change-Id: I2f728368d3046b2e6feadd0848bf6f8680e31aba
Partial-bug: #1634799
Partially-Implements: blueprint network-commands-options
2017-02-07 19:00:52 -08:00
Ankur Gupta
65ac887564 NIT: replace os with openstack in command example
Change-Id: Iac1b0ec3b715ffa0eb41fc2fe9020781d834a7a3
2017-02-03 13:51:36 -06:00
Jenkins
0004b828f7 Merge "Fix sphinx errors" 2017-01-26 20:57:02 +00:00
Andreas Jaeger
f58ae51ee2 Fix sphinx errors
It's :option: instead of :options:, fix typo.

Change-Id: I273d592f38db07fef7633fe833b1c0ab9e52e6a8
2017-01-26 19:52:31 +01:00
Dean Troyer
16aeee4303 Cleanup for 3.8.0 release
Release notes and proofreading cleanups.

Change-Id: Iddc6a64e6ea3082aa220a2465793e6f7f2aecaa9
2017-01-26 10:41:30 -06:00
Jenkins
da2a820d2f Merge "Support "--no-property" option in volume snapshot set" 2017-01-26 06:38:31 +00:00
Jenkins
d189e807fd Merge "Add options to "server list" command" 2017-01-26 06:38:27 +00:00
Jenkins
029b389cf8 Merge "Adds domain specification for SetUser" 2017-01-26 03:01:10 +00:00
Jenkins
a05e2762dc Merge "To support '--project' and '--project-domain' options" 2017-01-26 01:51:19 +00:00
Jenkins
55ea0e5b39 Merge "Add meter rule to OSC" 2017-01-26 01:19:10 +00:00
Jenkins
ade841fad0 Merge "Add 'allowed address pairs' option to 'port create/set/unset'" 2017-01-26 00:34:41 +00:00
zhiyong.dai
26d50be79a Support "--no-property" option in volume snapshot set
Supporting "--no-property" option will apply user a convenient
way to clean all properties of volume snapshot in a short command,
and this kind of behavior is the recommended way to devref.
The patch adds "--no-property" option in "volume snapshot set" command,
and update related test cases and devref document.

Change-Id: I5f10cc2b5814553699920c4343995b2e11416e4e
Implements: blueprint allow-overwrite-set-options
2017-01-25 17:32:58 -06:00
Jenkins
f14027867f Merge "Add --project and --project-domain option to "volume snapshot list"" 2017-01-25 22:27:39 +00:00
Samuel Pilla
4cb56269ad Adds domain specification for SetUser
This patch adds the ability to specify the domain context for making
changes to a user with `--domain` flag.

Example:
$ openstack user set test_user --domain test_domain --enable

Change-Id: I2b3241785c22e72e19181394acff650422299b0e
Closes-Bug: #1658147
2017-01-25 22:16:22 +00:00
jiahui.qiang
c46f9dc501 Add options to "server list" command
Add "--deleted" and "--changes-since" options to "server list" command.

Change-Id: Id94f6e5831a60b172b6cfcfca29b1d89de8db621
Closes-Bug:#1647242
2017-01-25 21:31:45 +00:00
Jenkins
1ef0dae8b1 Merge "Update container format choices" 2017-01-24 15:30:08 +00:00
Brian Rosmaita
80c62021c8 Update container format choices
The choices for valid container formats is out of date in the
image v1 and v2 help text.  This patch adds 'ova' and 'docker'
and does some minor refactoring to align the container_format
option with the disk_format option.

Change-Id: Icdea5fab801abd651baf45cf96c920c7df79f11b
Closes-bug: #1658138
2017-01-23 23:04:49 -05:00
Jenkins
0d7f27bc00 Merge "Update devref about "--no-property"" 2017-01-23 21:54:00 +00:00
Jenkins
d5745eaaa7 Merge "TrivialFix in helpMessage for readability" 2017-01-23 09:41:53 +00:00
Ankur Gupta
5caac0e563 Add meter rule to OSC
Implement network feature meter label rules into
OpenStack Client.

Allows for creation of rules to meter
network traffic.

Partially Implements: blueprint neutron-client-metering

Change-Id: If18c078d7e80c122583417669f820f02c84d6237
2017-01-23 00:24:35 +00:00
Rui Chen
274687d852 Update devref about "--no-property"
Update the example about "--no-property" and "--property"
to make help message order more reasonable, that help make
users aware of the processing order, and update the help
details when both "--no-property" and "--property" appear
in the same command.

Change-Id: I998cdaf2f8c881dce219581ff328a639e8e358ee
Implements: blueprint allow-overwrite-set-options
2017-01-22 06:30:35 +00:00
Jenkins
a61c7cbba9 Merge "Fill the missing colon" 2017-01-18 21:10:19 +00:00
Trevor McCasland
ab1f637f55 Add plugin adoption for trove
With I308a6c6f3f5ce7dbb814ec0fd8ecb1734a2f137f merged in the
python-troveclient project, trove can now say it has adopted the
plugin.

What commands that actually get implemented for this cycle, is to be
determined. Another patch adding more commands to the docs will be
proposed later when they get merged.

Change-Id: If2c2545dd5d1510cc6eece698e34ad0f8c1b970f
2017-01-17 19:26:48 +00:00
Huanxuan Ao
b2fd8ba869 Add "encryption-*" options in volume type commands
Add "--encryption-provider", "--encryption-cipher",
"--encryption-key-size" and "--encryption-control-location"
options to "volume type set" and "volume type create" commands.
Add "--encryption-type" option to "volume type unset",
"volume type list" and "volume type show" commands.

Change-Id: I3572635d5913d971a723a62d7790ffe0f20ec39a
Implements: bp cinder-command-support
Closes-Bug: #1651117
2017-01-14 21:58:33 +08:00
Pavlo Shchelokovskyy
e637e9c6c8 Fix flavor create help re swap size units
nova actually expects and uses swap size in MB, while in openstackclient
currently help states that swap must be specified in GB and passes this
value to nova without changes.

Fix the help string.

Change-Id: I95f46246c072961ce77f818d80d75e6a51f728d0
Closes-Bug: #1656018
2017-01-12 18:27:14 +02:00
Jenkins
2fb5ac0cc4 Merge "Add support for Network QoS rule commands" 2017-01-11 23:37:00 +00:00
Jenkins
3c031bbb68 Merge "Add two consistency group commands" 2017-01-11 23:12:38 +00:00
Jenkins
08fc39e9b0 Merge "Add support for Glance 'update image members' feature" 2017-01-11 22:28:06 +00:00
Rodolfo Alonso Hernandez
6b114cd98f Add support for Network QoS rule commands
Added following commands:
  - network qos rule create --type minimum-bandwidth
                                   dscp-marking
                                   limit-bandwidth
  - network qos rule delete
  - network qos rule list
  - network qos rule set
  - network qos rule show

Closes-Bug: 1609472
Depends-On: I2e8869750024a8ccbc7777b95fe8ef6e26ec0885
Depends-On: Ife549ff6499217ca65e2554be8ef86ea7866b2d8

Change-Id: Ib3e1951f0917f5f23c8d9e0a380d19da2b3af5f0
2017-01-09 18:05:30 +00:00
Jenkins
4b2ceece28 Merge "OSC Network Meter" 2017-01-08 05:55:52 +00:00