summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove methods argument from vloume/v2/fakes.pyTang Chen2016-04-181-9/+3
| | | | | | | methods argument in FakeAvailabilityZone class is not necessary. Remove it. Change-Id: Idf136bf90bd94e7045b0d471b8e03cd843693251
* Merge "Remove methods argument from FakeHypervisorStats"Jenkins2016-04-161-2/+1
|\
| * Remove methods argument from FakeHypervisorStatsTang Chen2016-04-151-2/+1
| | | | | | | | | | | | | | methods argument is not necessary in FakeHypervisorStats class. Remove it. Change-Id: I288f71b412beb3e583e957a9fd99210bc6f3f543
* | Add support for removing volume-type-accessSheel Rana2016-04-164-3/+132
| | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to remove volume type access to project. This feature will provide support to remove volume type access from project. Closes-Bug:#1554890 Implements: bp cinder-command-support Change-Id: I029a4292da05f028e8937962cb845ec6e00b0279
* | Merge "Fix wrong attribute name and add functional test for --snapshot"Jenkins2016-04-152-2/+95
|\ \
| * | Fix wrong attribute name and add functional test for --snapshotJirayut Nimsaeng2016-04-152-2/+95
| |/ | | | | | | | | Change-Id: I91f2091ef06a55bcf5373d1beeea2dd81e9f1334 Closes-Bug: #1567895
* | Merge "Append existing information during port set"Jenkins2016-04-152-7/+34
|\ \
| * | Append existing information during port setreedip2016-04-142-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing --fixed-ip and --binding-profile information is currently overwritten when a user executes 'port set', but actually that data should be appended. This patch fixes the issue. Closes-Bug: #1564453 Change-Id: I62500c10ccbbc68167f24e9d4fa49e85345d82c4
* | | Merge "Add external network options to osc network set"Jenkins2016-04-154-11/+62
|\ \ \ | |_|/ |/| |
| * | Add external network options to osc network setreedip2016-04-154-11/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch adds the options "--external" & "--internal" and the suboptions to "external": "--default" & "--no-default", to "osc network set" CLI to provide the user an option to set a network as an external network or remove the setting. Change-Id: I3a7f2cb249bc8101cbb01322d7732e913237d6cd Partial-Bug: #1545537
* | | Merge "Add project options to security group rule create"Jenkins2016-04-144-3/+74
|\ \ \
| * | | Add project options to security group rule createRichard Theis2016-04-114-3/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the --project and --project-domain options to the 'os security group rule create' command. These options are for Network v2 only. Change-Id: Ie3e136be076f0f2c22fbe7048d1d6eaebf5aa655 Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | | Merge "Add network options to security group rule create"Jenkins2016-04-145-15/+127
|\ \ \ \ | |/ / /
| * | | Add network options to security group rule createRichard Theis2016-04-115-15/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Prefer assertEqual/assertIn over assertOutput/assertInOutput"Jenkins2016-04-145-11/+11
|\ \ \ \
| * | | | Prefer assertEqual/assertIn over assertOutput/assertInOutputCedric Brandily2016-04-065-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functional.common.tests module defines: * assertOutput (similar to assertEqual) * assertInOutput (similar to assertIn) in order to allow the usage of assertions in testcase classmethods but there is no reason to use them in testcase instancemethods at least because they raise Exception instances instead of AssertionError instances. Change-Id: I9ffcaf9c6e6a1ff5df6ea2d79be3fb4496db4b85
* | | | | Merge "Remove fake methods code from compute network"Jenkins2016-04-141-77/+15
|\ \ \ \ \
| * | | | | Remove fake methods code from compute networkTang Chen2016-04-121-77/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge "use correct manager for volume snapshots"Jenkins2016-04-141-1/+1
|\ \ \ \ \ \
| * | | | | | use correct manager for volume snapshotsSteve Martinelli2016-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the snapshot manager is volume_snapshots, not snapshots. Closes-Bug: #1567895 Change-Id: I12c0238fc04507c97e92089fda3bec816171a973
* | | | | | | Trivial: Fix incorrect comment textTang Chen2016-04-143-3/+3
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | Change-Id: Ia6ec15f11a535a8de5769569d75e81094caed171
* | | | | | Merge "Doc: Unify repeatable option comments"Jenkins2016-04-1319-59/+66
|\ \ \ \ \ \
| * | | | | | Doc: Unify repeatable option commentsTang Chen2016-04-1219-59/+66
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge "Use CommandFailed exception from tempest_lib"Jenkins2016-04-135-30/+4
|\ \ \ \ \ \
| * | | | | | Use CommandFailed exception from tempest_libKyrylo Romanenko2016-04-135-30/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove exceptions.py from functional/common. Import exception with the same code from the tempest_lib to tests. Change-Id: Ifaa658209c18dd608836079f57ed18fcf10fb84e
* | | | | | | Merge "Append existing information during subnet set"Jenkins2016-04-132-0/+26
|\ \ \ \ \ \ \
| * | | | | | | Append existing information during subnet setreedip2016-04-082-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Updated from global requirementsOpenStack Proposal Bot2016-04-131-1/+1
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | Change-Id: I17ae521c6d9cf2c2cf73527929984aed5fe225ca
* | | | | | | Merge "Fix SSL/TLS verification for network commands"Jenkins2016-04-132-1/+9
|\ \ \ \ \ \ \
| * | | | | | | Fix SSL/TLS verification for network commandsRichard Theis2016-04-082-1/+9
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge "Add --address-scope option "subnet pool create/set""Jenkins2016-04-134-8/+176
|\ \ \ \ \ \ \
| * | | | | | | Add --address-scope option "subnet pool create/set"Tang Chen2016-04-094-8/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge "Add support for setting volume-type-access"Jenkins2016-04-125-6/+147
|\ \ \ \ \ \ \ \
| * | | | | | | | Add support for setting volume-type-accessSheel Rana2016-04-115-6/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | Merge "Fix prefixes output for subnet pool list"Jenkins2016-04-123-3/+10
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix prefixes output for subnet pool listRichard Theis2016-04-123-3/+10
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | Merge "Add Testing Ref in README.rst"Jenkins2016-04-121-1/+3
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Add Testing Ref in README.rstAnkur Gupta2016-04-111-1/+3
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge "Move keys() methods in each resource class to FakeResource"Jenkins2016-04-114-166/+63
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Move keys() methods in each resource class to FakeResourceTang Chen2016-04-114-166/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge "Doc: Fix network command documentation issues"Jenkins2016-04-115-54/+67
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Doc: Fix network command documentation issuesRichard Theis2016-04-085-54/+67
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge "Refactor security group rule list to use SDK"Jenkins2016-04-116-334/+314
|\ \ \ \ \ \ \
| * | | | | | | Refactor security group rule list to use SDKRichard Theis2016-03-286-334/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 'os security group rule list' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. In addition, a release note was added to document the features and fixes resulting from this refactor. Change-Id: I24d04b720102ed1c60776e1ca67d4ca20e31b663 Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | | | | | | Merge "Doc: Add missing command objects"Jenkins2016-04-111-2/+7
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | |
| * | | | | | | Doc: Add missing command objectsRichard Theis2016-03-311-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing command objects that have command documentation. Change-Id: I2a34cc632c00c7f6bcf6481e6779b79093cd6488
* | | | | | | | Merge "Add Subnet add/remove support to router"Jenkins2016-04-095-0/+186
|\ \ \ \ \ \ \ \
| * | | | | | | | Add Subnet add/remove support to routerreedip2016-03-225-0/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch adds the support for "router add subnet" and "router remove subnet" to the OSC as a part of migration of Neutron's CLI commands. Partial-Bug: #1546849 Implements: blueprint neutron-client-advanced-router Change-Id: Ia3770c41026194bdb1543d4e67446f81936d44d1
* | | | | | | | | Merge "Add "router remove port" to osc"Jenkins2016-04-095-1/+95
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Add "router remove port" to oscreedip2016-03-215-2/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch proposes the migration of port deletion of Neutron's "router-interface-delete" to OSC's "router remove port". Change-Id: Ifceabce080aacac9f6410c809fcc097760e0c5ee Partial-Bug: #1546849 Implements: blueprint neutron-client-advanced-router