summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/network
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix network create --project"Jenkins2017-01-281-0/+4
|\
| * Fix network create --projectDean Troyer2017-01-271-0/+4
| | | | | | | | | | | | | | SDK 0.9.13 needs to see project_id in the attributes, not tenant_id. Closes-bug: 1659878 Change-Id: Iff7abe8bd00cbe087c07579596c40af8b0a73302
* | Fix address scope list --shareDean Troyer2017-01-271-2/+2
|/ | | | | | | | | Remove the 'shared' key from the attrs passed in to the SDK with 0.9.13. Also convert the functional tests to the JSON-style (that's how I found this). Closes-bug: 1659993 Change-Id: I614fbce967cdd07fe7360242547dbf52e7677939
* Merge "To support '--project' and '--project-domain' options"Jenkins2017-01-261-0/+41
|\
| * To support '--project' and '--project-domain' optionsBadhmapriya Boopalan2016-12-231-0/+41
| | | | | | | | | | | | | | | | Include '--project' and '--project-domain' filtering options to 'port list' command. Change-Id: Ic7deae348f737c754b2f3e2113bd76d71a442400 Closes-Bug: #1648087
* | Merge "Add meter rule to OSC"Jenkins2017-01-262-0/+367
|\ \
| * | Add meter rule to OSCAnkur Gupta2017-01-232-0/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement network feature meter label rules into OpenStack Client. Allows for creation of rules to meter network traffic. Partially Implements: blueprint neutron-client-metering Change-Id: If18c078d7e80c122583417669f820f02c84d6237
* | | Merge "Add 'allowed address pairs' option to 'port create/set/unset'"Jenkins2017-01-261-1/+193
|\ \ \
| * | | Add 'allowed address pairs' option to 'port create/set/unset'Nguyen Phuong An2016-12-201-1/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--allowed-addres-pair' and '--no-allowed-address-pair' options to 'port create', 'port set' and 'port unset' commands. Partial-Bug: #1612136 Closes-Bug: #1638265 Partially-Implements: blueprint network-commands-options Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Change-Id: I08d2269950467a8972a0d0110ed61f5cc7f5ca45
* | | | SDK refactor: Prepare security group commandsAbhishek Raut2017-01-231-2/+2
| |/ / |/| | | | | | | | | | | | | | | | | Prepare the OSC "security group" commands for the SDK refactor. Change-Id: If9918fad2474f9b4d68424f2806f0de61fd58b2e Partially-Implements: blueprint network-command-sdk-support
* | | SDK refactor: Prepare network agent commandsHuanxuan Ao2017-01-152-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network agent" commands for the SDK refactor. Partially-Implements: blueprint network-command-sdk-support Closes-bug: #1656542 Change-Id: I6745f5ffb04b009487e6cb36d1807dce9b248b4c
* | | Fix floating IP delete and show by IPDean Troyer2017-01-142-19/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The floating IP delete and show commands did not work using IP addresses as the selector, only ID. The SDK floating_ip resource does not support but OSC does, so we have to do it ourselves. Now with more SDK 0.9.10 support! Change-Id: Iea1b57cded6b16a56a06af87ab8f1fa001a3485e Closes-bug: 1656402
* | | fix functional tests for network agentsSteve Martinelli2017-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | As of SDK v0.9.11 the get_agent method no longer supports the "ignore_missing" parameter. Change-Id: Id655bf8499ed1a102a6bf583927cf66139581ab0
* | | Fix Network QoS rule CLI attrs parsingRodolfo Alonso Hernandez2017-01-121-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | Allows to set zero values in the CLI parameters for Network QoS rule. Change-Id: Ie0e045ff4888615d68804fd739d5b995ca11e9a1 Closes-Bug: #1655947
* | | Add support for Network QoS rule commandsRodolfo Alonso Hernandez2017-01-092-73/+1086
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added following commands: - network qos rule create --type minimum-bandwidth dscp-marking limit-bandwidth - network qos rule delete - network qos rule list - network qos rule set - network qos rule show Closes-Bug: 1609472 Depends-On: I2e8869750024a8ccbc7777b95fe8ef6e26ec0885 Depends-On: Ife549ff6499217ca65e2554be8ef86ea7866b2d8 Change-Id: Ib3e1951f0917f5f23c8d9e0a380d19da2b3af5f0
* | | Merge "OSC Network Meter"Jenkins2017-01-082-0/+349
|\ \ \
| * | | OSC Network MeterAnkur Gupta2017-01-012-0/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Neutron feature of Metering into OpenStack Client. Meter Rules will be implemented in seperate patchset. Partially Implements: blueprint neutron-client-metering Change-Id: Ie82d42759504cbdb1c991c5183c1f0adf59e60fe
* | | | Merge "Add options to allow filtering on agent list"Jenkins2017-01-081-0/+35
|\ \ \ \
| * | | | Add options to allow filtering on agent listZhou Zhihong2017-01-051-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add options to allow filtering via --agent-type and --host on agent list Change-Id: I1800f0777aa92a76b4b95f64f8acc18454809e81 Closes-Bug: #1641868 Partially-Implements: blueprint network-commands-options
* | | | | Fix "ip availability show" commandHuanxuan Ao2017-01-061-2/+8
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDK refactor broken ip availability show functional test, We can not find a ip availability by network name but only network ID, so we find network and get the ID first, then find the ip availability by the network ID. Closes-Bug: 1653139 Change-Id: I246163fb875e2cdb9e5b091bac500a94268e8aa9
* | | | Merge "Add '--type'and other options to network rbac list"Jenkins2016-12-261-1/+63
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add '--type'and other options to network rbac listguiyanxing2016-12-211-1/+63
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--type','--action','--long' filtering options to network rbac list command Change-Id: I21846820ab223bb7832e89eb2d7658bbec271aec Closes-Bug: #1648307 Partially-Implements: blueprint network-commands-options
* | | Add support for QoS rule type commandsRodolfo Alonso Hernandez2016-12-222-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added following commands: - network qos rule type list Closes-Bug: 1612194 Depends-On: Iecf7bc7acd244a842aae963993f37a64a26b43b9 Change-Id: I38af823c726ceaba9d0b45488fa48e2d93971c92
* | | Merge "Introduce overwrite functionality in ``osc router set``"Jenkins2016-12-211-15/+35
|\ \ \ | |/ / |/| |
| * | Introduce overwrite functionality in ``osc router set``Reedip2016-12-191-15/+35
| |/ | | | | | | | | | | | | | | The overwrite functionality allows user to overwrite the routes of a specific router. Change-Id: I8d3cfe5cab2ffbfa046371c3adcd2cf446c91cbc partially-implements: blueprint allow-overwrite-set-options
* | 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