3334 Commits

Author SHA1 Message Date
Iswarya_Vakati
f4f1a51692 Updated coverage configuration file
removed unneccassary directories in .coveragerc file
  openstackclient/openstack/*

it is no longer valid, we no longer use content from oslo-incubator

Change-Id: I0b361617e855aae322009b97697dcc13a394ceba
2016-10-24 17:53:33 +05:30
judy-yu
151c161a5e Avoid duplicated project_id when show network
Project_id appear twice when show network. This
patch check and not append if it already has one.

Change-Id: I4400239f454522101b639a0412050dd60eb6a612
Closes-Bug: #1636123
Partially-Implements: blueprint duplicated-project-id
2016-10-24 17:16:48 +08:00
OpenStack Proposal Bot
be9306f1d4 Updated from global requirements
Change-Id: I76fa121b61b50403af404c8d6e5d9a390231230c
2016-10-22 01:27:27 +00:00
liujunpeng
09eb81674b update openstackclient page url
The wiki url has been deprecated.

Change-Id: I4101b357d59661dce06519f158181982c5f96db5
2016-10-21 09:00:45 +00:00
liujunpeng
586ac02058 update volume and zone commands
-add volume backup
-add zone export/import

Change-Id: Ied99ba78e9a45d323e68656ada318ed2984bdc02
2016-10-21 07:30:39 +00:00
Yan Xing'an
65a08d6af6 Improve a network testcase
Fix a typo networ to network, and add assertEqual lines.

Change-Id: I13c0c775c1d5f7a8f579d387cd9bea1bdd74aebc
2016-10-20 21:56:00 -07:00
Huanxuan Ao
292608dc08 Use FakeImage class to replace duplicated image info in volume test
FakeImage class has been added in image v1 so that
we can reuse it in volume v1 unit test to replace
the duplicated image info in volume v1 fake.

Change-Id: I0f96e568bd65e59241b57704fc2a379319a386d8
2016-10-21 10:39:06 +08:00
OpenStack Proposal Bot
e0aa1acbae Updated from global requirements
Change-Id: Iaa10a45834aef38a432c6cf84a7766252116773a
2016-10-21 00:50:36 +00:00
Yan Xing'an
e6fb658606 Correct help string of the subnet pool list options
Correct help string of subnet pool list options, from
"subnets" to "subnet pools".

Change-Id: Ic6dd6649f411748cd0c6e6b08f0451c8a0fa220f
Partially-Implements: blueprint network-commands-options
2016-10-20 06:25:58 -07:00
Huanxuan Ao
57d5f94540 Allow input the QoS policy name in network rbac create command
We could input a QoS policy ID for the "rbac_object"
parameter in "network rbac create" command but not
name before. After this change, "rbac_object" parameter
can be both QoS policy name or ID.

Change-Id: I0fd6b5b5ae410074d85475ef49e5a0a9a52bf86f
2016-10-20 12:37:40 +08:00
OpenStack Proposal Bot
fee1a31296 Updated from global requirements
Change-Id: I54c524ba67b4f481fe3e262dcc4bc6c5601608a8
2016-10-19 17:46:01 +00:00
Jenkins
cf88d03957 Merge "Reset allocation pools to [] instead of ''" 2016-10-19 14:24:15 +00:00
Yan Xing'an
a1e3056414 Add option to allow filtering by mac-address on port list
Added support to allow filtering ports via --mac-address
option to the port list command.

Change-Id: I903e443f2f9057571d46520c4cafb88d1972c0cb
Partial-bug: #1634333
Partially-Implements: blueprint network-commands-options
2016-10-19 02:50:47 -07:00
OpenStack Proposal Bot
6eff90c3d6 Updated from global requirements
Change-Id: I8345847ce7c5987de4446d5a4c2c275fc376a3bb
2016-10-19 03:58:36 +00:00
qtang
3770ad08b2 Warning for empty password set for user create/set
Raise warning when empty password set for user

Change-Id: If03516f3f1290e4c329fe3d1277dee0512de0410
Closes-Bug: #1607959
2016-10-19 03:07:54 +00:00
Carl Baldwin
d373d76d1d Reset allocation pools to [] instead of ''
the sdk expects subnet allocation pools to be reset to an empty array,
not an empty string.

Currently this results in an error message:

  "Invalid input for allocation_pools. Reason: Invalid data format
   for IP pool"

Change-Id: I7cc84b9c8e4abdbd2c91e5d591ad31f0849c1a83
Closes-Bug: #1634672
2016-10-19 00:27:49 +00:00
Kyrylo Romanenko
acc39673ab Rename variable to avoid shadowing of built-in name
Change-Id: I06e2617db1d5508723bc343072a15586af89b390
2016-10-18 19:12:23 +03:00
Huanxuan Ao
daffce3a6a Add "--read-only" and "--read-write" options in "volume set"
Add "--read-only" and "--read-write" options in "volume set"
command to set volume access mode.

Implements: bp cinder-command-support
Change-Id: I76ba85c7d3ff0eb026a9cbd794368d8b2b0d17fe
2016-10-18 14:34:05 +08:00
Huanxuan Ao
d7c8bb88e4 Add "volume migrate" command
Add "volume migrate" command in volume v1 and v2
to support migrating volume to a new host

Change-Id: Ie4e6037171a31a872006a13f9fd1e15eaa627c26
Implements: bp cinder-command-support
2016-10-18 11:48:30 +08:00
Aradhana Singh
c99ec284db Add description field port create & port set
This patchset
1. adds description field to openstack port create and
 openstack port set.
2. updates method _add_updatable_args with 4 spaces instead
 of existing 8 spaces

Partially Implements: blueprint neutron-client-descriptions
Partially Implements: blueprint network-commands-options

Change-Id: I4598e555722b1de7bc47f3a9be0fd81eacfcb572
2016-10-17 22:21:34 +00:00
Jenkins
5e3ec1b42f Merge "Fix --shared/block-migration options in server migrate command" 2016-10-17 21:43:15 +00:00
Jenkins
ed8e918519 Merge "properly format error messages for volume resizing" 2016-10-17 20:41:32 +00:00
Jenkins
528f7a76d0 Merge "Add necessary info to Floating IP list" 2016-10-17 20:30:30 +00:00
Jenkins
f03cd87aba Merge "Update the doc for Zaqar v2" 2016-10-17 12:15:14 +00:00
Jenkins
ab9cfc4dc4 Merge "Add security groups options to "port create/set/unset"" 2016-10-17 08:27:58 +00:00
Reedip
bae09c3c3f Add support make a router HA
Currently router set CLI does not provide the
support make a router highly available. The following
patch enables the same.
Checking for setting a router as HA is left on the
neutron server itself.
Partially-Implements: blueprint network-commands-options
Change-Id: I0d0548cf037a14e5ccb2f732918ee9d1f63f43b4
Closes-Bug:#1631492
2016-10-16 05:05:23 +00:00
Reedip
8f8a8448a4 Add necessary info to Floating IP list
This patch adds the Network ID and Project ID
for the listed floating IPs when Neutron is enabled
for OpenstackClient.

Change-Id: I823090f2e6d30acd72247d30956f48f4d7672a50
Closes-Bug:#1566090
2016-10-16 05:04:38 +00:00
Steve Martinelli
82af038bb0 properly format error messages for volume resizing
The error messages are tuples and not substituting variables.

Before:
$ openstack volume set vol1 --size 1
Failed to set volume size: (u'New size must be greater than %s GB', 2)

$ openstack volume set vol1 --size 1
Failed to set volume size: (u'Volume is in %s state, it must be available
before size can be extended', u'error')

After:
$ openstack volume set vol2 --size 3
Failed to set volume size: New size must be greater than 4 GB

$ openstack volume set vol2 --size 3
Failed to set volume size: Volume is in error state, it must be available
before size can be extended

Change-Id: Ide6e644b1c6d1c11a9dc2f3f53c1a1837380b8d5
2016-10-15 20:29:54 -07:00
OpenStack Proposal Bot
a58bacc619 Updated from global requirements
Change-Id: Iff006bdedb4d7eefef9fc55e7bb3c0f37abbf784
2016-10-15 00:12:29 +00:00
wangxiyuan
928fecd134 Update the doc for Zaqar v2
Zaqar v1 and v1.1 is deprecated now, and the V2 is the default API
version. Update the plugin doc for it.

Change-Id: I26db823852ba543607b250a09aae63bb439a8959
2016-10-14 15:38:17 +08:00
OpenStack Proposal Bot
3a27163628 Updated from global requirements
Change-Id: Ia68a75e6cfbcfc267d68822a04e528605701672f
2016-10-14 05:44:06 +00:00
Nam Nguyen Hoai
291b66e983 Add direction and protocol options to os security group rule list cmd
This patch added direction options (--ingress, --egress) and protocol
option (--protocol) to filter rules by os security group rule list command.

Change-Id: I56ace3f97eb927fd2a868f728c7347a29d028b67
Closes-Bug: #1613533
Partially-Implements: blueprint network-commands-options
2016-10-14 02:59:07 +00:00
OpenStack Proposal Bot
43d1646058 Updated from global requirements
Change-Id: I24283bbbc5e1717b9824ad8f62859a3053910950
2016-10-13 05:28:24 +00:00
Jenkins
fd60e579c8 Merge "Add a new column and a new option the 'os port list' cmd" 2016-10-12 22:10:40 +00:00
Jenkins
a2e520c29c Merge "Add translation markers for object commands" 2016-10-12 21:26:47 +00:00
Jenkins
93157d52c7 Merge "Redefine set/unset command devref" 2016-10-12 21:20:45 +00:00
Nam Nguyen Hoai
2c1282cecf Add a new column and a new option the 'os port list' cmd
This patch will add a new column called status to the
result of the 'os port list' command and --long option
to 'os port list' command.

Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com>
Change-Id: I4f942414e969687304b578ed7f003dd219c0f2f8
Closes-Bug: #1613995
Closes-Bug: #1614321
Partially-Implements: blueprint network-commands-options
2016-10-12 20:40:46 +00:00
Nguyen Phuong An
66a04abd58 Add security groups options to "port create/set/unset"
This patch adds '--security-group' and '--no-security-group'
options to "port create", "port set" and "port unset" commands.

Change-Id: Iff60d8f29227017b0a3966efca6cdecba69abcea
Partial-Bug: #1612136
Partially-Implements: blueprint network-commands-options
2016-10-12 09:03:07 +07:00
Jenkins
1ee9333d3a Merge "fix doc information in the limit.rst" 2016-10-12 01:57:38 +00:00
Cedric Brandily
694a24c309 Fix --shared/block-migration options in server migrate command
Currently, --shared-migration and --block-migration options effects are
reversed: --block-migration requests a migration with share,
--shared-migration a block-migration.

This change corrects OSC implementation and clarifies arguments passed
to novaclient (the root cause of the bug).

Change-Id: Ib682cff0c44d3b1304670f8606907b1762d8b1e7
Closes-Bug: #1518059
2016-10-11 22:01:16 +02:00
Jenkins
0f02f7ea1e Merge "Add network support for Network QoS policies" 2016-10-11 18:14:00 +00:00
Rodolfo Alonso Hernandez
3205dad161 Add network support for Network QoS policies
Added following commands:
  - network qos policy create
  - network qos policy delete
  - network qos policy set
  - network qos policy show
  - network qos policy list

Closes-Bug: 1609037
Depends-On: I33bafeca979410d329ae10a82772ccdb48c10daa

Change-Id: I63a8f63702514ff5814481bb021e2aa9d5f3d4b1
2016-10-11 15:08:36 +00:00
Jenkins
6f60817cd4 Merge "Refactor image v1 unit tests with FakeImage class" 2016-10-11 12:42:47 +00:00
Choe, Cheng-Dae
2bbb482106 Fix router unset --route option
Fix the "--route" option one the "os route unset" command. The option
did not convert gateway to nexthop which results "Router does not contain
route" error.

Change-Id: Ia57bc7ea77ad7c6030535180a6ce42b4928c9e56
Closes-Bug: 1631471
2016-10-10 23:57:22 +09:00
Rui Chen
29f78500db Redefine set/unset command devref
Now we have some use cases about set/unset properties,
try to redefine devref to find out a best and easiest
solution to keep commands simple and clearly.

Five use cases exist in property action, "append",
"update", "remove", "clean", "override", the following
rules can cover all these use cases:

1. append   ==> "set --property new-key=value"
2. update   ==> "set --property existed-key=new-value"
3. remove   ==> "unset --property existed-key"
4. clean    ==> "set --no-property"
5. clean    ==> "unset --all-property"
6. override ==> "set --no-property --property new-key=value"

Related blueprint support-no-property-in-aggregate and
blueprint allow-overwrite-set-options.
Change-Id: If86daf6989d8e0ad0dc6e590d7636be7d5203a18
2016-10-10 09:36:47 +08:00
Huanxuan Ao
407e164c95 Refactor image v1 unit tests with FakeImage class
Add FakeImage class, and refactor the unit tests
with it in image v1.

Change-Id: I9024ca5eca5c604e7588c1d905562bf6838309f1
Implements: bp improve-image-unittest-framework
2016-10-09 16:41:00 +08:00
Dean Troyer
762f2f2c34 More 3.3.0 release notes
Plus minor doc formatting updates

Change-Id: I849794e954cdeb582f7a0b104c62ec6688ead628
2016-10-07 21:39:53 +00:00
Jenkins
12ed93e3d1 Merge "Improve output of supported API versions" 2016-10-07 17:54:07 +00:00
Kyrylo Romanenko
42f9317360 Improve output of supported API versions
Sort supported versions properly for better look.

Change-Id: I6c2f5ecc04cf14ea5bf1b214cb303fcc9783af3f
Closes-Bug: #1630962
2016-10-07 11:02:53 +00:00
Jenkins
7e7f755754 Merge "Mask passwords in debug logs for auth_config_hook" 2016-10-07 01:34:03 +00:00