summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/network
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add --ha option to os router create command"Jenkins2016-09-301-0/+25
|\
| * Add --ha option to os router create commandNam Nguyen Hoai2016-10-011-0/+25
| | | | | | | | | | | | | | | | This patch added --ha option which the 'os router create' command was missed. Change-Id: I77635fb17af32beb0d8ed9aa080ef79285719fdc Closes-Bug: #1610161
* | Merge "Replace 'MagicMock' with 'Mock'"Jenkins2016-09-302-13/+13
|\ \ | |/ |/|
| * Replace 'MagicMock' with 'Mock'Nguyen Phuong An2016-09-272-13/+13
| | | | | | | | | | Change-Id: I35ebb2f0c83ec4300e26a72d9217ed0208f526eb Closes-Bug: #1475722
* | Remove beta label for network segment resourceRichard Theis2016-09-282-79/+0
|/ | | | | | | | With Ocata development opened, neutron network segments are no longer beta resources. Change-Id: I25be51c30df17c746136471b88840f64a03187b9 Partially-Implements: blueprint routed-networks
* Merge "Add --description to Neutron commands"Jenkins2016-09-233-1/+17
|\
| * Add --description to Neutron commandsAnkur Gupta2016-09-233-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | Added simple option for floating ip description when creating a floating ip. Added option for create and set router as well. Partially Implements: blueprint neutron-client-descriptions Partially Implements: blueprint network-commands-options Change-Id: Ib8cd8af449e9ff33b980017b2527a6b196894a00
* | Merge "Introduce overwrite functionality in ``osc port set``"Jenkins2016-09-231-0/+44
|\ \
| * | Introduce overwrite functionality in ``osc port set``reedip2016-09-211-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | The overwrite functionality allows user to overwrite either the binding-profile or the fixed-ips of a specific port. Change-Id: I8ec3d04eeaf28972ee545fcdda4d5f7bd9deb915 partially-implements: blueprint allow-overwrite-set-options
* | | Merge "Overwrite/Clear support for subnets"Jenkins2016-09-231-0/+33
|\ \ \
| * | | Overwrite/Clear support for subnetsReedip2016-09-211-0/+33
| | |/ | |/| | | | | | | | | | | | | | | | | | | This patch adds the overwrite/clear functionality for allocation-pool and host-routes in subnets. Change-Id: Idfa41173d0c054c5bfb4eda8c5f614928012555a implements: blueprint allow-overwrite-set-options
* | | Merge "Add filtering options to os network list command"Jenkins2016-09-221-0/+162
|\ \ \
| * | | Add filtering options to os network list commandHa Van Tu2016-09-221-0/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following filtering options: '--name', '--internal', '--share' and '--no-share', '--enable' and '--disable', '--project' and '--project-domain', '--status'. Change-Id: I7e9dd372ee572c6ee8cdba7fac3182f9dc0a137b Partially-Implements: blueprint network-commands-options Closes-Bug: #1578819
* | | | Merge "Add network segment create, delete and set support"Jenkins2016-09-222-3/+323
|\ \ \ \
| * | | | Add network segment create, delete and set supportRichard Theis2016-09-092-3/+323
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add network segment create, delete and set in support of routed networks. This patch set includes documentation, unit tests and functional tests for the following new commands: - "os network segment create" - "os network segment delete" - "os network segment set" This patch set also includes support for the name and description properties. These new commands are currently marked as beta commands. Change-Id: I86bc223c4adc5b5fe1b1ee5c9253e43ba52fb5ed Depends-On: Ib194125162057fccb4e951587c2fa4ec2e2f098c Partially-Implements: blueprint routed-networks
* | | | Use correct router add/remove interface methodsrabi2016-09-211-10/+9
| |_|/ |/| | | | | | | | | | | | | | | | | Use the correct openstacksdk method names. Change-Id: I07b463753eedf41f79c6e00e9224d0f7697a1bd3 Closes-Bug: #1625954
* | | Merge "Add --description to Create/Set Network"Jenkins2016-09-202-0/+13
|\ \ \
| * | | Add --description to Create/Set NetworkAnkur Gupta2016-09-192-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added simple option for network description to create and set network. Change-Id: I90ce4db4e365a56ecddb00d59f4c5aa2ebbd49a3 Partially-Implements: blueprint network-command-options
* | | | Merge "Add 'description' option to os subnet (pool) create/set cmd"Jenkins2016-09-203-0/+113
|\ \ \ \
| * | | | Add 'description' option to os subnet (pool) create/set cmdCao Xuan Hoang2016-09-203-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--description' option to the commands. Change-Id: Ifc2828670c3c48a87a0493d98686a5babf9b2ae7 Closes-Bug: #1614458 Closes-Bug: #1614823 Partially-Implements: blueprint network-commands-options
* | | | | Merge "Provide support to list ports by network"Jenkins2016-09-201-2/+9
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Provide support to list ports by networkReedip2016-09-191-2/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new --network option provides a list of ports connected with the current network. Change-Id: I6a45184887b3e65f792391cb7e91f4ad85f29e03 Partial-Bug:#1562067 Partially-Implements: blueprint network-commands-options
* | | | Merge "router list if availability_zone ext not enabled"Jenkins2016-09-191-0/+36
|\ \ \ \ | |_|/ / |/| | |
| * | | router list if availability_zone ext not enabledUkesh Kumar Vasudevan2016-09-151-0/+36
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when calling router list with --long OSC expects the availability_zone field in the response, even if this extension is not loaded: As per the document, http://developer.openstack.org/api-ref/networking/ v2/?expanded=list-routers-detail, The availability zone(s) for the router is available when router_availability_zone extension is enabled. Added testcase to test router list without availability zone Change-Id: Ic9abb06140eb310b797ade8b0463a876d8bea1b8 Closes-bug: #1622565
* | | Merge "Add filtering options to os subnet pool list command"Jenkins2016-09-191-0/+138
|\ \ \
| * | | Add filtering options to os subnet pool list commandCao Xuan Hoang2016-09-191-0/+138
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following filtering options: '--share' and '--no-share', '--default' and '--no-default', '--project' and '--project-domain', '--name', '--address-scope' options to the command. Change-Id: I7ad9ed6842c6b3475ebf316fb5b954c7f5a7d7e3 Closes-Bug: #1613926 Partially-Implements: blueprint network-commands-options
* | | Merge "Add filtering options to os subnet list command"Jenkins2016-09-191-1/+109
|\ \ \
| * | | Add filtering options to os subnet list commandCao Xuan Hoang2016-09-191-1/+109
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following filtering options: '--project' and '--project-domain', '--network', '--gateway', '--name', '--subnet-range' to the command. Change-Id: I575739486b9548492bd00f50130181b825534226 Partially-Implements: blueprint network-commands-options Closes-Bug: #1610883
* | | Fix quota-update issue in LBaaSReedip2016-09-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently L7Policies cannot be updated( it was missing in implementation in neutronclient). The same has been taken care in the current patch. Also, currently quota doesnt support updating the members in an LBaaS pool. This patch temporarily removes it, till it is not confirmed that LBaaS v2 needs to support quotas for members or not. Change-Id: I25a54a57debb762a32a280ece8c081fc52365f0f Closes-Bug: #1624097
* | | Fix Quota Support for HMsReedip2016-09-161-1/+1
|/ / | | | | | | | | | | | | | | | | | | Health Monitors could not be updated using the `openstack quota update` CLI. This patch fixes the same. Change-Id: Ic5a4fa5dce5767e40139137131114834d564f89a Closes-Bug: #1624225
* | Merge "Support listing specified server's ports"Jenkins2016-09-141-0/+22
|\ \
| * | Support listing specified server's portsRui Chen2016-09-141-0/+22
| |/ | | | | | | | | | | | | | | | | Add new option "--server" for "port list" command to list all of the ports that are attached on the specified server. Change-Id: I8b5550ea5068405b163711303465b704b5207410 Closes-Bug: #1614385
* | Replace 'MagicMock' with 'Mock'qtang2016-09-1411-24/+24
|/ | | | | Change-Id: I7aeceede6bd3cb88cf04f398454f9758dbee20f1 Closes-Bug: #1475722
* move unit tests to new "unit" test moduleSteve Martinelli2016-09-0818-0/+9584
this will better isolate the unit tests from the functional tests. unfortunately, the "integration" tests had to be lumped into the "unit" tests since we need the separation in testr.conf Change-Id: Ifd12198c1f90e4e3c951c73bfa1884ab300d8ded