2365 Commits

Author SHA1 Message Date
Jenkins
ef68f23de3 Merge "Add network options to security group rule create" 2016-04-14 19:55:54 +00:00
Jenkins
e1305185d3 Merge "Prefer assertEqual/assertIn over assertOutput/assertInOutput" 2016-04-14 19:55:26 +00:00
Jenkins
83fbce496a Merge "Remove fake methods code from compute network" 2016-04-14 16:47:00 +00:00
Jenkins
5b18e110a9 Merge "use correct manager for volume snapshots" 2016-04-14 13:54:20 +00:00
Tang Chen
46decfbd7a Trivial: Fix incorrect comment text
Change-Id: Ia6ec15f11a535a8de5769569d75e81094caed171
2016-04-14 17:21:53 +08:00
Jenkins
be6027e09b Merge "Doc: Unify repeatable option comments" 2016-04-13 21:22:50 +00:00
Jenkins
52b70a99ed Merge "Use CommandFailed exception from tempest_lib" 2016-04-13 18:43:08 +00:00
Kyrylo Romanenko
573bb6b941 Use CommandFailed exception from tempest_lib
Remove exceptions.py from functional/common.
Import exception with the same code from the tempest_lib to tests.

Change-Id: Ifaa658209c18dd608836079f57ed18fcf10fb84e
2016-04-13 19:09:07 +03:00
Jenkins
883f8208d3 Merge "Append existing information during subnet set" 2016-04-13 15:51:44 +00:00
OpenStack Proposal Bot
379fd726b6 Updated from global requirements
Change-Id: I17ae521c6d9cf2c2cf73527929984aed5fe225ca
2016-04-13 12:48:31 +00:00
Jenkins
7b7620ab84 Merge "Fix SSL/TLS verification for network commands" 2016-04-13 08:31:37 +00:00
Jenkins
1819edf733 Merge "Add --address-scope option "subnet pool create/set"" 2016-04-13 02:06:59 +00:00
Jenkins
85c47b76fb Merge "Add support for setting volume-type-access" 2016-04-12 22:27:07 +00:00
Jenkins
162c985138 Merge "Fix prefixes output for subnet pool list" 2016-04-12 22:17:43 +00:00
Richard Theis
3a4d53a93b Fix prefixes output for subnet pool list
Fixed "os subnet pool list" command to properly disply the
list of subnet pool prefixes in the "Prefixes" column. This
fix is consistent with the "os subnet pool create" and
"os subnet pool show" command output.

Change-Id: I431d85c3b7f5bf8a327500decf3a15063fc5b120
Closes-Bug: #1569480
2016-04-12 12:42:13 -05:00
Jenkins
9f75e7a33d Merge "Add Testing Ref in README.rst" 2016-04-12 12:37:32 +00:00
Tang Chen
32c627eaf0 Doc: Unify repeatable option comments
There are lots of "this option can be repeated" comments
in the doc, which are not consistent to other similar
docs.

This patch changes them to the following format:

"repeat option to do something"

Change-Id: I54e01053091c428bf87bb36bb95f73a0b80ab6e7
2016-04-12 15:57:17 +08:00
Tang Chen
a281ef89a5 Remove fake methods code from compute network
Network objects don't have any method needs to fake.

keys() method is only used by _get_columns() helper
to obtain all attributes of an object. But in compute
network implementation, attributes are obtained from
obj._info directly, which is a dictionary itself. So
there is no need to fake this method.

Change-Id: Ie6a46ef6a3042641e55a7002573ef501db7b60e1
2016-04-12 13:41:52 +08:00
Ankur Gupta
61a60ef926 Add Testing Ref in README.rst
Add a reference in the README directed to docs page for testing
within python-openstackclient. Avoid creating TESTING.rst due to
unneeded duplication. Updated Developer URL to correct one.

Change-Id: I40b4c949d155aea6e0e25ecd4a88797481a4d8ac
2016-04-11 11:12:37 -05:00
Jenkins
3be49a8abe Merge "Move keys() methods in each resource class to FakeResource" 2016-04-11 15:07:34 +00:00
Richard Theis
3a3f33b926 Add network options to security group rule create
Add the following network options to the "os security group rule"
command:
  (1) --ingress and --egress
  (2) --ethertype
These options enable egress and IPv6 security group rules for
Network v2.

Change-Id: Ie30b5e95f94e0c087b0ce81e518de72d2dda25ad
Partial-Bug: #1519512
Implements: blueprint neutron-client
2016-04-11 09:49:21 -05:00
Jenkins
cba37d0031 Merge "Doc: Fix network command documentation issues" 2016-04-11 13:17:12 +00:00
Sheel Rana
be2d2a1b8d Add support for setting volume-type-access
OSC does not support to set volume type access to project.
This patch will provide support for adding volume type access
to existing project.

Closes-Bug:#1554889

Implements: bp cinder-command-support

Change-Id: Ie36e202bdde7de36eb263a476eb66699d82f7565
2016-04-11 12:53:15 +00:00
Tang Chen
827be8fb8c Move keys() methods in each resource class to FakeResource
FakeXXX classes in network don't need to fake any method,
except keys(). But keys() can be put in FakeResource since
it just returns all attributes in _info.

This patch moves removes all unnecessary fake methods code,
moves keys() method to FakeResource.

This patch also finds out some missing attributes in
network and router tests.

Change-Id: I799822c8715b9ac4f95b98f8350f196757d79d3e
2016-04-11 18:07:50 +08:00
Jenkins
cb8f757779 Merge "Refactor security group rule list to use SDK" 2016-04-11 03:01:13 +00:00
Jenkins
87244d051b Merge "Doc: Add missing command objects" 2016-04-11 02:18:14 +00:00
Tang Chen
b3649a54cd Add --address-scope option "subnet pool create/set"
This patch adds --address-scope option to "subnet pool create/set"
commands, and --no-address-scope option to "subnet pool set"
command to clear the address scope setting.

Change-Id: Ie2c370a50b52574fa6ec268083ad013b7544361e
Partial-Bug: #1544586
Partial-Bug: #1544591
2016-04-09 16:25:50 +08:00
Jenkins
6c73946623 Merge "Add Subnet add/remove support to router" 2016-04-09 04:52:09 +00:00
Jenkins
b70afef9d5 Merge "Add "router remove port" to osc" 2016-04-09 04:43:35 +00:00
Dean Troyer
0ea80a92f0 Fix pep8 fail that crept in
Not sure how, but this crept in via https://review.openstack.org/#/c/281691/

Change-Id: I919276ee5204277dbc5e96f4de4b98381142423a
2016-04-08 19:33:15 -05:00
Jenkins
5d2f4107b4 Merge "Add "router add port" to osc" 2016-04-08 18:24:46 +00:00
Steve Martinelli
f3f8c20a8c use correct manager for volume snapshots
the snapshot manager is volume_snapshots, not snapshots.

Closes-Bug: #1567895
Change-Id: I12c0238fc04507c97e92089fda3bec816171a973
2016-04-08 10:36:54 -04:00
Richard Theis
b5f10f43eb Fix SSL/TLS verification for network commands
The network commands ignored the --insecure and --os-cacert
options and OS_CACERT environment variable which prevented
them from properly completing SSL/TLS verification. This
resulted in the network commands failing with
"An SSL error occurred."

Change-Id: I15167631ef58335e1476c16b828b079e3b0f13c1
Closes-Bug: #1560157
2016-04-08 09:33:33 -05:00
Richard Theis
6b76860c45 Doc: Fix network command documentation issues
Fix the following network command documentation issues:
  - Fix format of subnet pool positional arguments
  - Update port set options to match help
  - Fix network command documentation for Network v2
    versus Compute v2 options and commands
  - Fix subnet command documentation errors and formatting
    problems in help text

Change-Id: I808c2a70ca62eafc9e42d6873539cdd142ffe50c
Related-Bug: #1558677
2016-04-08 08:00:17 -05:00
reedip
03d932ea0b Append existing information during subnet set
Existing values of --dns-nameserver, --allocation-pool and --houst-routes
is currently overwritten when a user executes 'port set', but
actually that data should be appended.
This patch fixes the issue.

Closes-Bug: #1564447
Change-Id: I3dba9afa68d869abb3960b55a6880401a10eebf7
2016-04-08 06:19:09 +00:00
Jenkins
9f2e7039e1 Merge "TrivialFix: Rename provider segment option" 2016-04-08 04:23:22 +00:00
reedip
a8c085fdd5 TrivialFix: Rename provider segment option
As per [1], provider-segmentation-id is changed to provider-segment
as segments may soon have a "name" support as well.

[1]: https://review.openstack.org/#/c/294422/12/doc/source/command-objects/network.rst

Change-Id: I74d4366301b41fa181faccbc12cff9530df60353
2016-04-08 01:46:06 +00:00
OpenStack Proposal Bot
3485c223ea Updated from global requirements
Change-Id: I9fe06c9739c3625abd7cb03ac97c58bb9cdbc5bd
2016-04-08 00:33:16 +00:00
Jenkins
7ad529ec24 Merge "Updated from global requirements" 2016-04-07 23:06:31 +00:00
Jenkins
10ddb2a146 Merge "Clean up release notes since 2.2.0 release" 2016-04-07 19:24:54 +00:00
OpenStack Proposal Bot
29c92f5d24 Updated from global requirements
Change-Id: I2af3dc17e6f2c4cada96f1ff08627a3b41196f4d
2016-04-07 17:33:22 +00:00
Jenkins
870fa2f2a2 Merge "Correct addCleanup use in functests" 2016-04-07 16:32:07 +00:00
Jenkins
418793edbe Merge "Make snapshot and backup name optional" 2016-04-07 16:20:49 +00:00
Dean Troyer
ad6727df88 Clean up release notes since 2.2.0 release
* Remove release notes for changes to commands that have not been released yet
* Combine notes for common command sets (ie, new port commands)
* Rename notes with bugs to the bug-NNNNN-XXXXXXX form

Change-Id: I6216aad443056ada2fe28ba533bf20a09f118e4d
2016-04-07 10:54:41 -05:00
reedip
2a9ba9db30 TrivialFix: Fix help messages for port set
Certain messages in ``port set`` were incorrect as mentioned
in [1] which are fixed in this patch.

[1]:https://review.openstack.org/#/c/300309/6/doc/source/command-objects/port.rst
TrivialFix

Change-Id: Icb8e91664fea590cd4202f80d61a82eb50b22403
2016-04-07 11:00:07 +09:00
reedip
73d15e3768 Add option to clear information from ports
This patch adds the option of "no-fixed-ip" and
"no-binding-profile" which is used to clear the
fixed-ip and binding:profile information from the
ports.

Change-Id: I946301eaf6c647bae55e4f416aa0d98e5f06e699
2016-04-07 10:59:15 +09:00
Jenkins
0edab95fd1 Merge "Support client certificate/key" 2016-04-06 21:42:56 +00:00
Jenkins
7767e5dcf7 Merge "Devref: Document OSC interfaces available to plugins" 2016-04-06 21:35:37 +00:00
Ivan Kolodyazhny
311e775c81 Make snapshot and backup name optional
Cinder does not require snapshot and backup name. These arguments are
optional.

Change-Id: I05d59efc9642205a25684bf0b77758328296d959
2016-04-06 23:25:38 +03:00
Jenkins
bd7e1d3a3e Merge "Add provider network options to osc network create" 2016-04-06 19:23:45 +00:00