summaryrefslogtreecommitdiff
path: root/openstackclient/network
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Fix pep8 fail that crept inDean Troyer2016-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not sure how, but this crept in via https://review.openstack.org/#/c/281691/ Change-Id: I919276ee5204277dbc5e96f4de4b98381142423a
* | | | | Merge "Add "router add port" to osc"Jenkins2016-04-081-1/+25
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | |
| * | | Add "router add port" to oscreedip2016-03-211-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch proposes the migration of port addition of Neutron's "router-interface-add" to OSC's "router add port". Change-Id: I3a8a76d384caa32975f8e77f50f3cf3c3be13786 Closes-Bug: #1546849 Depends-On: I9783bc4ccceae3d361dce52d51483ef2187920a9 Implements: blueprint neutron-client-advanced-router
* | | | Merge "TrivialFix: Rename provider segment option"Jenkins2016-04-081-3/+3
|\ \ \ \ | |_|_|/ |/| | |
| * | | TrivialFix: Rename provider segment optionreedip2016-04-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Add option to clear information from portsreedip2016-04-071-15/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Add provider network options to osc network create"Jenkins2016-04-061-0/+26
|\ \ \ \ | |/ / /
| * | | Add provider network options to osc network createreedip2016-04-061-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch adds the provider network options to OSC "network create". Change-Id: Ib8449c00ee4b4285889588f03ddd7a686ce8f987 Partial-Bug: #1545537
* | | | Merge "Add external network options to osc network create"Jenkins2016-04-061-0/+29
|\ \ \ \ | |/ / /
| * | | Add external network options to osc network createreedip2016-04-061-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch adds the options "--external" & "--internal" and the suboptions to "external": "--default" & "--no-default", to "osc network create" CLI to provide the user an option to create a network as an external network. Change-Id: Idf73714bb94c0610ea164131140a51848908b00b Partial-Bug: #1545537
* | | | Merge "Fix typos in docstrings and comments"Jenkins2016-04-061-1/+1
|\ \ \ \
| * | | | Fix typos in docstrings and commentsDao Cong Tien2016-04-061-1/+1
| |/ / / | | | | | | | | | | | | Change-Id: Ic2dc057dca87212f715970f8325956c42f62ea9f
* | | | Merge "Add name option to 'port set'"Jenkins2016-04-061-2/+7
|\ \ \ \ | |/ / / |/| | |
| * | | Add name option to 'port set'reedip2016-04-051-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port's name can be updated in NeutronClient and it is a very good feature for a user to have the ability to rename a port. This was missing in the openstackclient, and the same has been added in this patch. Change-Id: I6e712ef08ab1c0a23786c4bb6972d3e0f8f0f999 Implements: blueprint neutron-client
* | | | Merge "Add default value to pool-prefix in Subnet-pool"Jenkins2016-04-011-0/+3
|\ \ \ \ | |/ / / |/| | |
| * | | Add default value to pool-prefix in Subnet-poolreedip2016-04-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If user tries to create a subnet pool without --pool-prefix, it fails at the NeutronServer [1]. This patch tries to add a default value to the --pool-prefix to try and resolve it. Closes-Bug: #1564271 [1] : http://paste.openstack.org/show/492537/ Change-Id: I6cf324a5a8037048602e59c0bbfc93b40e73a74e
* | | | Merge "Follow Boolean Option rule"Jenkins2016-04-013-41/+34
|\ \ \ \ | |/ / / |/| | |
| * | | Follow Boolean Option rulereedip2016-03-313-41/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC has a specific rule for handling boolean based options in [1]. This patch modifies the exisiting code so that it matches the criteria that have been specified in [1]. [1]: http://docs.openstack.org/developer/python-openstackclient/command-options.html#boolean-options Closes-Bug: #1559418 Change-Id: I182381d5579efbc75a5d3e8a91f412398abf5c3c
* | | | Add --project to "subnet pool create"Tang Chen2016-03-311-4/+21
|/ / / | | | | | | | | | | | | | | | | | | | | | This patch adds --project and --project-domain options to "subnet pool create" command. Change-Id: I2fe006013a194861299a9c77234a7cf988a8dad8 Partial-Bug: #1544586
* | | Fix subnet pool prefix length optionRichard Theis2016-03-301-3/+3
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Fix the --min-prefix-length, --max-prefix-length and --default-prefix-length options for the "os subnet pool create" and "os subnet pool set" commands. Using these options caused the commands to fail with "HttpException: Bad Request" because unrecognized attributes were passed to the REST API. No release note was added since these commands are new and haven't been released. Change-Id: I2f765750f79dc91d6c1f5962f699fbf2ee38657a Closes-Bug: #1564004
* | Merge "Support security group name for --src-group"Jenkins2016-03-281-2/+10
|\ \
| * | Support security group name for --src-groupRichard Theis2016-03-231-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | Support security group name for the "--src-group" option on the "os security group rule create" command. Change-Id: Ic23d0671dad77566269c9a588644c8d774368733 Closes-Bug: #1540656
* | | Merge "Refactor security group rule create to use SDK"Jenkins2016-03-281-0/+100
|\ \ \ | |/ /
| * | Refactor security group rule create to use SDKRichard Theis2016-03-231-0/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 'os security group rule create' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. Added a release note for the change in security group rules output due to Network v2. Change-Id: I8c6c99d5272ff5d410a449f73d198d834c5cd96e Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | Merge "Subnet: Add "subnet set" command using SDK"Jenkins2016-03-251-77/+138
|\ \ \
| * | | Subnet: Add "subnet set" command using SDKreedip2016-03-241-77/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds "subnet set" command to osc using sdk. Implements: blueprint neutron-client Closes-bug: #1542363 Change-Id: Id3b7f4b9190b4d73ca3ae423321a65f94a6da62e
* | | | [Floating IP] Neutron support for "ip floating create" commandTang Chen2016-03-241-0/+83
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds --subnet, --port, --floating-ip-address and --fixed-ip-address options only. Project related options will be added in another patch because it relates to identity v2 and v3, which will make the unit tests too complicated in one single patch. Change-Id: I3cce4404a114ff128b74e4596f0e847be2846b17 Partial-Bug: 1519502 Related-to: blueprint neutron-client
* | | Merge "Fix options in port create/set"Jenkins2016-03-171-8/+48
|\ \ \ | |/ / |/| |
| * | Fix options in port create/setDean Troyer2016-03-171-8/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * --device-id should have been --device * --host-id should have been --host Old options are deprecated and retained for compatibility since they appear in a release. Closes-Bug: 1558677 Change-Id: Ic733523c8d57060f2cb5d420fdb1f7598e7d5e71
* | | Merge "Add option to allow filtering by router on port list"Jenkins2016-03-171-1/+18
|\ \ \
| * | | Add option to allow filtering by router on port listJas2016-03-161-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support to allow filtering ports via --router option to list ports that are applicable to specific router. Partial-bug: #1519909 Partially-implements: blueprint neutron-client Change-Id: I6dd958603909f641735c821a62fc0d45afd5c7ec
* | | | Merge "Add project options to security group create"Jenkins2016-03-161-0/+21
|\ \ \ \
| * | | | Add project options to security group createRichard Theis2016-03-111-0/+21
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the --project and --project-domain options to the 'os security group create' command. These options are for Network v2 only. Change-Id: I9e1667080a1a49389d51ade2e76a08b08a09870b Closes-Bug: #1519511 Implements: blueprint neutron-client
* | | | Merge "Add "os subnet create" command using SDK"Jenkins2016-03-141-3/+223
|\ \ \ \
| * | | | Add "os subnet create" command using SDKBrad Behle2016-03-101-3/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the openstack client subnet create command using SDK calls. Co-Authored-By: Terry Howe <terrylhowe@gmail.com> Partially implements: blueprint neutron-client Closes-Bug: #1542364 Change-Id: Ia6120b8dccf2ee83dc89b3f496f7180d4dc5199a
* | | | | Fix dict.keys() compatibility for python 3Tang Chen2016-03-127-7/+7
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 2, dict.keys() will return a list. But in Python 3, it will return an iterator. So we need to fix all the places that assuming dict.keys() is a list. Change-Id: I8d1cc536377b3e5c644cfaa0892e40d0bd7c11b1 Closes-Bug: #1556350
* | | | Merge "Refactor security group create to use SDK"Jenkins2016-03-111-0/+50
|\ \ \ \
| * | | | Refactor security group create to use SDKRichard Theis2016-03-101-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 'os security group create' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. Added a release note for the change in security group rules output due to Network v2. The tenant_id column name was fixed to align with the 'os security group show' command. Change-Id: Ib29df42edcddcc73a123fff6a64743a6bfcb7fbf Partial-Bug: #1519511 Implements: blueprint neutron-client
* | | | | Merge "Refactor security group show to use SDK"Jenkins2016-03-113-29/+151
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Refactor security group show to use SDKRichard Theis2016-03-103-29/+151
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 'os security group show' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. Added a release note for the change in security group rules output due to Network v2. The column names remain unchanged to maintain backwards compatibility. Change-Id: I25233ddb8115d18b8b88affb3de13346084a339d Partial-Bug: #1519511 Implements: blueprint neutron-client
* | | Merge "[Subnet pool] Add 'subnet pool create' command support"Jenkins2016-03-101-0/+23
|\ \ \
| * | | [Subnet pool] Add 'subnet pool create' command supportTang Chen2016-03-081-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supports creating a new subnet pool, with pool prefixes, default prefix length, minimum prefix length, and maximum prefix length specified. Change-Id: I9150797c8cfa794d5264ad07965aa967d9a8f5bc Partial-Bug: #1544586 Related-to: blueprint neutron-client
* | | | Merge "[Subnet pool] Add 'subnet pool set' command support"Jenkins2016-03-101-4/+87
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | [Subnet pool] Add 'subnet pool set' command supportTang Chen2016-03-081-4/+87
| |/ | | | | | | | | | | | | | | | | | | This patch supports setting a new name, pool prefix, default prefix length, minimum prefix length, and maximum prefix length for a subnet pool. Change-Id: I65bd71e0f54f2f65acefbc542df67a1b1ec26397 Partial-Bug: #1544591 Related-to: blueprint neutron-client
* | Add 'port set' commandJas2016-03-081-4/+48
|/ | | | | | | | Add CLI support for the 'port set' command Change-Id: I2bea508e11290284aa64b1ab548a0bb61e7290d3 Partial-bug: #1519909 Partially-implements: blueprint neutron-client
* Merge "Add port list command"Jenkins2016-03-081-0/+27
|\
| * Add port list commandJas2016-03-071-0/+27
| | | | | | | | | | | | | | | | This patch adds the ability to list all created ports Change-Id: Ie1a48c203cabc96346a4950f21b83493d58a66a5 Partial-bug: #1519909 Partially-implements: blueprint neutron-client
* | Merge "Use _get_columns() to obtain columns in network.py"Jenkins2016-03-071-4/+4
|\ \ | |/ |/|
| * Use _get_columns() to obtain columns in network.pyTang Chen2016-03-061-4/+4
| | | | | | | | | | | | | | | | | | Objects returned by Network v2 and Compute v2 are different. When getting columns to display, Network v2 uses obj.keys(), while Compute v2 uses obj._info.keys(). But both of them could obtain the keys of the object by _get_columns(). Change-Id: I347815f2d28822a95bd6f57d429b84b7ca96e0ee
* | Trivial: Remove useless returnTang Chen2016-03-072-2/+0
|/ | | | | | If a function returns nothing, do not add return in the end. Change-Id: I298b8717462f68d3076a1619d674775be2a94c42