summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/network
Commit message (Collapse)AuthorAgeFilesLines
* 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