summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/network
Commit message (Collapse)AuthorAgeFilesLines
* Add extra filtering options to floating ip listsongminglong2016-12-091-0/+112
| | | | | | | | | | The patch adds filtering '--long', 'status', '--project', '--project-domain' and '--router' options to floating ip list command. Closes-Bug: #1614379 Partially-Implements: blueprint network-commands-options Change-Id: I2a02cf23845ff435927d8b481f77249915bd94dc
* Merge "SDK Refactor: Prepare ip availability commands"Jenkins2016-12-082-3/+10
|\
| * SDK Refactor: Prepare ip availability commandsAnkur Gupta2016-12-042-3/+10
| | | | | | | | | | | | | | | | | | | | Prepared the OSC "ip availability" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: Ia22e9fafec0a91ba1b0f1ce825fcaf1d8cbbbf88 Partially-Implements: blueprint network-command-sdk-support
* | Merge "Add "dns-name" option to "os port create" and "os port set""Jenkins2016-12-081-0/+50
|\ \
| * | Add "dns-name" option to "os port create" and "os port set"Nam Nguyen Hoai2016-12-031-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added a "dns-name" option to "os port create" and "os port set" command. Change-Id: I360e2c9a1970e64fe17e4561d7618f860b937373 Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Partial-Bug: #1612136 Partially-Implements: blueprint network-commands-options
* | | Merge "Add '--project' and '--project-domain' options to os cmds"Jenkins2016-12-053-0/+129
|\ \ \
| * | | Add '--project' and '--project-domain' options to os cmdsNam Nguyen Hoai2016-12-013-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added '--project' and '--project-domain' options to filter subnets resulted by 'os subnet list', 'os floating ip create' and 'os security group list' commands. Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Change-Id: I727663d49ffa6aa042fdeb60797f18bb753b0372 Closes-Bug: #1613231 Closes-Bug: #1610909 Closes-Bug: #1613629 Partially-Implements: blueprint network-commands-options
* | | | Merge "SDK Refactor: Prepare network qos policy commands"Jenkins2016-12-021-0/+1
|\ \ \ \
| * | | | SDK Refactor: Prepare network qos policy commandsAbhishek Raut2016-11-191-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network qos policy" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I12dd8bda40801c26176a73646ed87aea66f09fcc Partially-Implements: blueprint network-command-sdk-support
* | | | Merge "SDK Refactor: Prepare subnet commands"Jenkins2016-12-022-4/+6
|\ \ \ \ | |_|/ / |/| | |
| * | | SDK Refactor: Prepare subnet commandsAbhishek Raut2016-11-192-4/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "subnet" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Partially-Implements: blueprint network-command-sdk-support Change-Id: I5d58b189e822b2ee61c9c95ccf909113ff59de46
* | | Merge "Add `--enable/disable-port-security` option to `port set` and `port ↵Jenkins2016-12-021-0/+84
|\ \ \ | | | | | | | | | | | | create`"
| * | | Add `--enable/disable-port-security` option to `port set` and `port create`Sindhu Devale2016-11-281-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the currently missing options `--enable-port-security` and `--disable-port-security` in the `os port set` and `os port create` commands. Partially-Implements: blueprint network-commands-options Change-Id: I4dc11cdf32bf482a5937f5464fe8a3b418644ec3
* | | | Merge "Introduce overwrite functionality in ``osc subnet set``"Jenkins2016-12-011-1/+7
|\ \ \ \ | |_|/ / |/| | |
| * | | Introduce overwrite functionality in ``osc subnet set``Reedip2016-11-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The overwrite functionality allows user to overwrite the dns-nameservers of a specific subnet. Change-Id: I421808a3bdeb4565668f627b7929c4762cf40212 partially-implements: blueprint allow-overwrite-set-options partially-implements: blueprint network-commands-options
* | | | Merge "Add network service provider list to OSC"Jenkins2016-11-292-0/+106
|\ \ \ \
| * | | | Add network service provider list to OSCAnkur Gupta2016-11-282-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add network service providers commands to OSC Change-Id: Iea8bbe460061d67e36a4346b349e07612112c732 Depends-On: Ie0be92e0717b8b13e31068276a12b5fbf784e374
* | | | | Add QoS support to Network object.Rodolfo Alonso Hernandez2016-11-282-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added "qos_policy" parameter to Network class. Change-Id: Idc00f2792eef5b1f0910084d95cf9a8e83fe818c Closes-Bug: 1627069
* | | | | Add '--network' and other options to floating ip listsongminglong2016-11-131-1/+60
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | The patch adds filtering '--network', '--port', '--fixed-ip-address' options to floating ip list command Partial-Bug: #1614379 Change-Id: I82319d0985d9e864431097c90264a20bf88167cc
* | | | Merge "network.common.NetworkAndComputeShowOne: catch HttpException"Jenkins2016-11-101-0/+14
|\ \ \ \
| * | | | network.common.NetworkAndComputeShowOne: catch HttpExceptionJordan Pittier2016-11-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: if a user issue the cmd 'openstack floating ip create public' and has already maxed his quota for FIP, OSC exits with a not so useful message: >jordan@jordan-XPS13-9333:~ $ openstack floating ip create public >HttpException: Conflict This patches catch the HttpException earlier and prints a more verbose message: > jordan@jordan-XPS13-9333:~ $ openstack floating ip create public > Error while executing command: Quota exceeded for resources: ['floatingip'] Change-Id: I7c87524d871d230d92f007c32e06439b34c7194a
* | | | | Merge "Not appropriate name sg rule attribute"Jenkins2016-11-101-1/+140
|\ \ \ \ \
| * | | | | Not appropriate name sg rule attributejudy-yu2016-11-041-1/+140
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For ingress rules set ip-prefix means src-ip- prefix, but for egress rules set ip-prefix means dst-ip-prefix. It is not appropriate to name src-ip directly. So as to src-group. Change-Id: I03fd0e14e470e7272930ac2651e73263b83bd4e1 Closes-bug: #1637365
* | | | | Merge "Add description field port create & port set"Jenkins2016-11-102-0/+9
|\ \ \ \ \
| * | | | | Add description field port create & port setAradhana Singh2016-10-172-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge "Support --provider-* options in the network list command"Jenkins2016-11-102-4/+66
|\ \ \ \ \ \
| * | | | | | Support --provider-* options in the network list commandYan Xing'an2016-10-272-4/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add --provider-network-type, --provider-physical-network, --provider-segment options into network list command. Change-Id: I02546170211fb3e7e55d5dc7e7cdc6d387fd26e5 Closes-Bug: #1635580 Partially-Implements: blueprint network-commands-options
* | | | | | | Merge "Add option to allow filtering by mac-address on port list"Jenkins2016-11-101-2/+24
|\ \ \ \ \ \ \
| * | | | | | | Add option to allow filtering by mac-address on port listYan Xing'an2016-10-191-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge "Allow input the QoS policy name in network rbac create command"Jenkins2016-11-101-0/+40
|\ \ \ \ \ \ \ \
| * | | | | | | | Allow input the QoS policy name in network rbac create commandHuanxuan Ao2016-10-201-0/+40
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge "Add direction and protocol options to os security group rule list cmd"Jenkins2016-11-101-0/+54
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | Add direction and protocol options to os security group rule list cmdNam Nguyen Hoai2016-10-141-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge "Add 'description' option"Jenkins2016-11-092-0/+33
|\ \ \ \ \ \ \ \
| * | | | | | | | Add 'description' optionSindhu Devale2016-11-082-0/+33
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--description' option to os security group rule create cmd. Change-Id: I604bcdeb4658d2dcc4d860a87e704e186cca5225 Partially-Implements: blueprint network-commands-options Partially-Implements: blueprint neutron-client-descriptions
* | | | | | | | Merge "SDK refactor: Prepare floating ip commands"Jenkins2016-11-081-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | SDK refactor: Prepare floating ip commandsSindhu Devale2016-11-031-1/+1
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "floating ip" commands for the SDK refactor. Change-Id: I02052185b3ce0b053acdcf76a0f68d49e6f7e608 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Merge "SDK Refactor: Prepare subnet pool commands"Jenkins2016-11-082-4/+9
|\ \ \ \ \ \ \ \
| * | | | | | | | SDK Refactor: Prepare subnet pool commandsRichard Theis2016-10-052-4/+9
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "subnet pool" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I6d8cb7a079cf115ee25d48d9175e31f0f995c502 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Merge "SDK Refactor: Prepare address scope commands"Jenkins2016-11-082-0/+60
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | |
| * | | | | | SDK Refactor: Prepare address scope commandsRichard Theis2016-10-052-0/+60
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "address scope" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I4e253e01f9b0b10452354f4e4152468090c76958 Partially-Implements: blueprint network-command-sdk-support
* | | | | | Add filtering options --name,--enable,--disable to router listYi Zhao2016-10-311-0/+52
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I171b6be4501b02c3df66589c45177200919117db Closes-Bug: #1637945 Partially-Implements: blueprint network-commands-options
* | | | | Improve a network testcaseYan Xing'an2016-10-201-1/+3
| |_|/ / |/| | | | | | | | | | | | | | | | | | | Fix a typo networ to network, and add assertEqual lines. Change-Id: I13c0c775c1d5f7a8f579d387cd9bea1bdd74aebc
* | | | Merge "Add necessary info to Floating IP list"Jenkins2016-10-171-0/+4
|\ \ \ \
| * | | | Add necessary info to Floating IP listReedip2016-10-161-0/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Add security groups options to "port create/set/unset""Jenkins2016-10-171-0/+220
|\ \ \ \
| * | | | Add security groups options to "port create/set/unset"Nguyen Phuong An2016-10-121-0/+220
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Add support make a router HAReedip2016-10-161-0/+6
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add a new column and a new option the 'os port list' cmd"Jenkins2016-10-121-0/+41
|\ \ \ | |/ / |/| |
| * | Add a new column and a new option the 'os port list' cmdNam Nguyen Hoai2016-10-121-0/+41
| |/ | | | | | | | | | | | | | | | | | | | | | | 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