summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Convert gate_hook to devstack-toolsmitaka-eolstable/mitakaArmando Migliaccio2017-03-062-5/+19
| | | | | | | | | | | | | | Conflicts: neutronclient/tests/functional/hooks/gate_hook.sh Mitaka changes: added vpnaas hook and use load_rc_hook to load it instead of setting DEVSTACK_LOCAL_CONFIG. Change-Id: I2387bc9778a77b1673751bc4c1ff50f8d4826a5d Co-Authored-By: Ihar Hrachyshka <ihrachys@redhat.com> Co-Authored-By: Sean Dague <sean@dague.net> Original-Commit: Ibd0f67f9131e7f67f3a4a62cb6ad28bf80e11bbf (cherry picked from commit e516b8230c14d2bf95de86d52b4f2d5b9f83402d)
* Added --enable-snat option for router-gateway-setRodion Tikunov2016-11-252-0/+17
| | | | | | | | | | If enable_snat_by_default option set to false and disable snat via cli it becomes unavailable to enable snat again. This commit allows to enable snat after disabling it. Change-Id: I01009d5cd5edd5be3eead615c37d6aa2e3224442 Closes-Bug: #1598171 (cherry picked from commit cc1d3fdd3582b0bbc2e24b65b9c690b5f0318148)
* Merge "Use upper constraints for all jobs in tox.ini" into stable/mitakaJenkins2016-08-261-6/+0
|\
| * Use upper constraints for all jobs in tox.iniAvnishPal2016-08-241-6/+0
| | | | | | | | | | | | | | | | | | | | Openstack infra now supports upper constraints for all jobs. Updated tox.ini to use upper constraints for all jobs. Change-Id: I94f57e294a7de91d45c26b1f90caad67b0974718 Closes-Bug: #1614361 (cherry picked from commit 41701862fd831c333a620c11a46877fb5241b9c8)
* | Merge "Add quota support for LB and Listeners" into stable/mitakaJenkins2016-08-262-1/+12
|\ \
| * | Add quota support for LB and Listenersreedip2016-08-182-1/+12
| |/ | | | | | | | | | | | | | | | | This patch adds support for quota update of Loadbalancers and Listeners. Change-Id: I94c0e0898dff18fbadf1c24b5555dd497e9bf640 Closes-Bug: #1559027 (cherry picked from commit 310a6ece52a94cf8fb31d10be73219b417f3938f)
* | Fixed --insecure not taking effect when specifiedZhongcheng Lao2016-08-192-1/+138
|/ | | | | | | | | | | | | | | | | --insecure did not take effect currently which would prevent neutron client from establishing connections to keystone as by default the server certificate will be validated. This patch will fix the issue to take the --insecure option into consideration during constructing auth session. Conflicts: neutronclient/tests/unit/test_shell.py Closes-Bug: #1538959 Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Id622fe097b2f12ab1a047f17005022c335fc6a4b (cherry picked from commit 1828552b9c6fada3f51a9fd9896737c1cd2ed6e7)
* Merge "Fixes unclear error when no --pool-prefix given" into stable/mitakaJenkins2016-07-262-4/+18
|\
| * Fixes unclear error when no --pool-prefix givenInessa Vasilevskaya2016-07-062-4/+18
| | | | | | | | | | | | | | | | | | | | --pool-prefix is required on subnetpool creation. refactor: removed unused 'for_create' argument in add_updatable_arguments in subnetpool module. Closes-bug: #1536479 Change-Id: I79573369cb95c0b090e9ebfea9af40485d968e2f (cherry-picked from commit 37ec942417c77b3104ff69a8b33a5549fb3d0c98)
* | Add functional test hook for fwaas commandHirofumi Ichihara2016-07-192-0/+22
|/ | | | | | | | | This patch adds a hook into functional test so that fwaas command test runs. (cherry picked from commit 6bc4685f6b50fb8883c67b7f80b12ced6228d27b) Change-Id: Ib4ba644b22db0df91a9b0c7011b46ece337198af Closes-Bug: #1604510
* Merge "Revert "Do not print 'Created' message when using non-table ↵Jenkins2016-06-112-62/+2
|\ | | | | | | formatter"" into stable/mitaka
| * Revert "Do not print 'Created' message when using non-table formatter"Ihar Hrachyshka2016-06-062-62/+2
| | | | | | | | | | | | | | | | | | | | | | This patch broke DLRN (RDO trunk) CI jobs for stable/liberty. While Mitaka release of the Puppet module does not have the issue, we are not generally allowed to break external tools. Closes-Bug: #1589442 This reverts commit 0411c5a8d410b39a63df600a08de16df5c82c86d. Change-Id: I449174d8bd0de85c072cc8c66e1a3bdae65dcc6b
* | Merge "Updated from global requirements" into stable/mitakaJenkins2016-05-231-1/+1
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2016-05-181-1/+1
| | | | | | | | | | | | Change-Id: Ie2062fc852b794a87720977fddef94156d5ddc5a
* | | Constraint tox targets with upper-constraints.txtIhar Hrachyshka2016-05-232-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client version pin is maintained in upper-constraints.txt file, so we should replace it in the file with source based specifier before applying it to pip install, otherwise pip fails with: Could not satisfy constraints for 'python-neutronclient': installation from path or url cannot be constrained to a version Also switched to using stable/mitaka branch instead of master. Change-Id: I33302cdcab980a42c39dc9ec1e430add459615ff Closes-Bug: #1583050 (cherry picked from commit 78d778cdeccb6a24b7f6fa7e3c2eb0891b633701)
* | | Switched from fixtures.MonkeyPatch to mock.patchIhar Hrachyshka2016-05-182-29/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixtures 2.0.0 released a new version of monkey patching fixture that triggered issues with patching out class methods in stable/liberty. We already stopped relying on fixtures for monkey patching in neutron: I58d7a750e263e4af54589ace07ac00bec34b553a and switched to mock there. fixtures library is still used for other fixtures, so the dependency stays. Mock library is already in the dependency list, so test-requirements.txt is not touched. Change-Id: If43f3e08ee2235f96b0e5069b0df798a1acb48ea Closes-Bug: #1583029 (cherry picked from commit 35ce1a512a92147b0402c5eed9b2aeb1f0f13d87)
* | | tests: removed mocking for Client.get_attr_metadataIhar Hrachyshka2016-05-181-6/+0
|/ / | | | | | | | | | | | | | | | | The method is not present since XML support removal: I88b0fdd65a649694252d5ff43a174e75026df5b1 Change-Id: Iaa920a1e9bd37b97ed6f4f5a4d1da05aac20d366 Related-Bug: #1583029 (cherry picked from commit 9e4f826166609392ca2a4c64069eb28632ae215d)
* | Merge "Do not print 'Created' message when using non-table formatter" into ↵Jenkins2016-05-172-2/+62
|\ \ | |/ | | | | stable/mitaka
| * Do not print 'Created' message when using non-table formatterAkihiro Motoki2016-03-232-2/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When using non-table formatter like JSON or YAML formatter, users want to pass output result to some other program. Printing 'Created' message breaks the data format and non-table formatter makes useless. Functional tests for non-table formatters is added to avoid the same thing again. Change-Id: Ieb38bd26d26d134d4d274ad2d9f4d1e79fa4e977 Closes-Bug: #1548897 (cherry picked from commit 150cc4ce56fdf9f80a11fd5a7ca9cab4e7bc2c62)
* | Updated from global requirementsOpenStack Proposal Bot2016-04-181-1/+1
| | | | | | | | Change-Id: Ic877783c98697b4cd570ee5213648b7ad057f2ff
* | Log SHA1 hash of X-Auth-Token valueLokesh S2016-04-041-2/+10
| | | | | | | | | | | | | | | | | | | | Remove logging of sensitive information like the token value from X-Auth-Token. Instead log the sha1 hash of the token value, prefixed with '{SHA1}'. Closes-Bug: #1367339 Change-Id: I72d2ff5ca569c942aa6896aeadab489ff0097255 (cherry picked from commit d8fa792ee720e7877fa371e69633546b752e73da)
* | Updated from global requirements4.1.2OpenStack Proposal Bot2016-03-241-1/+1
|/ | | | Change-Id: Ice28e51dd56ce226bea58ef540661a53ada37282
* Update .gitreview for stable/mitakaDoug Hellmann2016-03-091-0/+1
| | | | Change-Id: I0f5c103b7b074ed19f5130f1e0a4c669f8d62262
* Add release note of critial TypeError fix4.1.1Akihiro Motoki2016-03-041-0/+5
| | | | | | | This is a follow-up patch of https://review.openstack.org/#/c/288301 Related-Bug: #1552760 Change-Id: Ie5baf6df82db6b5d25bd4125332d8c8edfec9797
* Fix TypeError with error messageRabi Mishra2016-03-041-1/+2
| | | | | | | | neutronclient throws type error when dealing with i18n messages. This patch fixes it. Change-Id: I08190eb7f6c54f0d44c671b1806423bba22ac0bf Closes-Bug: #1552760
* Merge "Update relnote on fix of bug 1450414"4.1.0Jenkins2016-03-032-7/+6
|\
| * Update relnote on fix of bug 1450414Akihiro Motoki2016-03-032-7/+6
| | | | | | | | | | | | | | https://review.openstack.org/#/c/263337/ is actually a bug fix rather than a new feature. Let's update the release note. Change-Id: I8b912abd95bb9c24edfc95dec26e2cfa7cf547e0
* | Merge "Support dry-run option for auto-allocated-topology"Jenkins2016-03-033-2/+36
|\ \
| * | Support dry-run option for auto-allocated-topologyHenry Gessau2016-03-023-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the ability to pass fields with the auto-allocated-topology-show command to support the dry-run validation option of the API. With dry-run the CLI result is "Pass" or the error message from the response. Rename the client binding from show_ to get_. Also provide a client binding for validating the auto-allocation requirements. Partially-Implements: blueprint get-me-a-network DocImpact: Add info about dry-run to the auto-allocate section in the networking guide. Change-Id: Ieba6f3cde23a8a93067b8239b096d5103f6a3128
* | | Merge "fix: can't get authentication with os-token and os-url"Jenkins2016-03-032-4/+24
|\ \ \ | |/ / |/| / | |/
| * fix: can't get authentication with os-token and os-urlJaspinder2016-03-022-4/+24
| | | | | | | | | | | | | | | | | | | | Currently, there is no way to authenticate a user through Neutron CLI by just using endpoint and token authentication. This simple fix will at least allow for that to be permitted. Change-Id: Ia7d285af224ef225aa20f83d7d4c87b81aac58ed Closes-Bug: 1450414
* | Merge "refactor: Merge all debug logging at the beginning of take_action"Jenkins2016-03-028-22/+4
|\ \
| * | refactor: Merge all debug logging at the beginning of take_actionAkihiro Motoki2016-03-038-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | After refactoring made in this series of patches, all neutronclient commands implements take_action(). Debug logging at the beginning of take_action can be implemented in a signle place. Change-Id: Ic766c0bd0f203b2408dc459247804c7d9290b0d5
* | | Merge "refactor: Avoid overriding run() in cliff command"Jenkins2016-03-0212-35/+29
|\ \ \ | |/ / | | / | |/ |/|
| * refactor: Avoid overriding run() in cliff commandAkihiro Motoki2016-03-0312-35/+29
| | | | | | | | | | | | | | | | | | cliff Command subclasses are suggested to override take_action. run() method is reserved for extending base classes. Thus, this commit changes to implement take_action() instead of run(). Closes-Bug: #1532258 Change-Id: Id845a80dbad2f436df5a55c9be502068e6f7b291
* | Merge "Add tags support"Jenkins2016-03-027-0/+299
|\ \ | |/ |/|
| * Add tags supportHirofumi Ichihara2016-03-027-0/+299
| | | | | | | | | | | | | | | | This patch adds the tag support for CLI. Change-Id: Ia84b873e3916e7b9668181fe14c1448ef608bf1d Partial-Implements: blueprint add-tags-to-core-resources Related-Bug: #1489291
* | Merge "Devref Update: Transition to OpenStack Client"Jenkins2016-03-021-56/+106
|\ \ | |/ |/|
| * Devref Update: Transition to OpenStack ClientRichard Theis2016-02-261-56/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the "Transition to OpenStack Client" devref with information about the new OSC command specs process. This process can be used to propose new networking commands while deferring their implementation. This process may help speed the overall transition to OSC. This update also includes information about the OSC neutron support etherpad which provides detailed status for the transition. And finally, updates were made to the overall transition plan based on discussions at the midcycle. Change-Id: I46bc066d2169a1e20af13baac7131ffa2eedd7c8 Related-Bug: #1521291
* | Merge "Add commands for Network IP Availability"Jenkins2016-03-025-0/+155
|\ \
| * | Add commands for Network IP AvailabilityManjeet Singh Bhatia2016-03-025-0/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds commandline for getting details about networks IP availability. Change-Id: Ie02c01ed8c4e291f91ed4cfd8781f4ec6a612cc7 Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com> Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
* | | Merge "Support cleanup of tenant resources with a single API call"Jenkins2016-03-025-0/+437
|\ \ \
| * | | Support cleanup of tenant resources with a single API callJohn Davidge2016-02-295-0/+437
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The addition of the 'neutron purge' command allows cloud admins to conveniently delete multiple neutron resources associated with a given tenant. The command will delete all supported resources provided that they can be deleted (not in use, etc) and feedback the amount of each resource deleted to the user. A completion percentage is also given to keep the user informed of progress. Currently supports deletion of: Networks Subnets (implicitly) Routers Ports (including router interfaces) Floating IPs Security Groups This feature can be easily extended to support more resource types in the future. DocImpact: Update API documentation to describe neutron-purge usage Change-Id: I5a366d3537191045eb53f9cccd8cd0f7ce54a63b Closes-Bug: 1511574 Partially-Implements: blueprint tenant-delete
* | | | Merge "Add use_default_subnetpool to subnet create requests"Jenkins2016-03-012-0/+25
|\ \ \ \
| * | | | Add use_default_subnetpool to subnet create requestsCarl Baldwin2016-02-242-0/+25
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Change-Id: I7dcbc8477b2ffa776a9bb272b896a5adfca860ae Depends-On: Ifff57c0485e4727f352b2cc2bd1bdaabd0f1606b Closes-Bug: #1547705
* | | | Merge "Add wrapper classes for return-request-id-to-caller"Jenkins2016-03-015-23/+327
|\ \ \ \
| * | | | Add wrapper classes for return-request-id-to-callerHirofumi Ichihara2016-02-265-23/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added wrapper classes which are inherited from base data types tuple, dict and str. Each of these wrapper classes contain a 'request_ids' attribute which is populated with a 'x-openstack-request-id' received in a header from a response body. This change is required to return 'request_id' from client to log request_id mappings of cross projects[1]. [1]: http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html Change-Id: I55fcba61c4efb308f575e95e154aba23e5dd5245 Implements: blueprint return-request-id-to-caller
* | | | | Merge "Reflecting L7 content rules capability in LBaaS"Jenkins2016-03-017-0/+857
|\ \ \ \ \
| * | | | | Reflecting L7 content rules capability in LBaaSEvgeny Fedoruk2016-02-297-0/+857
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds CLI commands for L7 policies and rules Change-Id: I3617c7ecd2a3ac0cae555893235e34d6c2135b81 Implements: blueprint lbaas-l7-rules Co-Authored-By: Evgeny Fedoruk <evgenyf@radware.com> Co-Authored-By: Stephen Balukoff <stephen@balukoff.com>
* | | | | LBaaS updates to reflect shared pools featureStephen Balukoff2016-02-295-38/+180
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These updates allow the CLI user to fully take advantage of the shared pools functionality being added to Neutron LBaaS in preparation for L7 switching functionality. The Neutron LBaaS patch is here: https://review.openstack.org/#/c/218560/ Partially-Implements: blueprint lbaas-l7-rules Change-Id: Ib72d743ff0d6ca7f0fde034a8c73029308ca01a1