summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/network
Commit message (Collapse)AuthorAgeFilesLines
* Add support for clearing router gatewayReedip2016-12-191-0/+13
| | | | | | | | | This patch adds the support to clear the gateway information from a router. Change-Id: I446c556750f080a6fc21fea8f531fd71838d648a Implements: blueprint neutron-client-advanced-router Partially-Implements: blueprint network-commands-options
* Merge "Add support for setting router gateway"Jenkins2016-12-191-3/+109
|\
| * Add support for setting router gatewayReedip2016-12-171-3/+109
| | | | | | | | | | | | | | | | | | | | This patch adds the support to set the gateway information for a router. Implements: blueprint neutron-client-advanced-router Partially-Implements: blueprint network-commands-options Change-Id: Ifb5a4d1965cd7e75c0c8cf2cfb677e0628b699dc Depends-On: I2bda0dd40afd64b6cecca5f64ef2326bda4fac92
* | Merge "Add filtering options to the address scope list command"Jenkins2016-12-181-0/+98
|\ \
| * | Add filtering options to the address scope list commandYan Xing'an2016-12-181-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add --name, --ip-version, --project, --project-domain, --share, --no-share options to the address scope list command. Change-Id: I8ece8da473d07dfc21dfb5b17de47624241f0142 Closes-Bug: #1636046 Partially-Implements: blueprint network-commands-options
* | | Merge "SDK refactor: Prepare network commands"Jenkins2016-12-162-23/+53
|\ \ \
| * | | SDK refactor: Prepare network commandsSindhu Devale2016-12-152-23/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network" commands for the SDK refactor. Change-Id: I50680f6675905f2147fee94cce8c1ed9c81dac0a Partially-Implements: blueprint network-command-sdk-support
* | | | Merge "SDK Refactor: Prepare port commands"Jenkins2016-12-152-2/+5
|\ \ \ \
| * | | | SDK Refactor: Prepare port commandsAbhishek Raut2016-12-132-2/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "port" commands for the SDK refactor. See [1] for details. Also fixed a typo in the UT. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I0e37d6c04f3d8e81fdfd50ac26eea9b5a5fb2ff9 Partially-Implements: blueprint network-command-sdk-support
* | | | SDK Refactor: Prepare router commandsYan Xing'an2016-12-122-4/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "router" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I2fa12943a65e3981b924e6cea9ed041682ec54b2 Partially-Implements: blueprint network-command-sdk-support
* | | 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
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | |