summaryrefslogtreecommitdiff
path: root/openstackclient/tests/network
Commit message (Collapse)AuthorAgeFilesLines
* Add project and domain params to network createColleen Murphy2015-03-191-0/+100
| | | | | | | | | | | | | | | | | | | | | | Without this patch, openstackclient has no way to specify to which project a network belongs upon creation. Instead, it uses the project ID that the user is authenticating with to fill the tenant_id column. This is a problem because an admin user is unable to specify a project for a non-admin network. To fix this and to improve feature parity with the neutron client, this patch adds project and domain parameters to the network create command and uses the given project name to look up the project ID. Neutron does not allow the project to be changed after creation, so no such parameter has been added to the neutron set command. Neutron calls the field 'tenant_id', but this change exposes the parameter as '--project' to support the newer terminology. If no project is specified, the client defaults to the previous behavior of using the auth project. Change-Id: Ia33ff7d599542c5b88baf2a69b063a23089a3cc4
* Begin low-level API for Network v2Dean Troyer2015-01-222-84/+207
| | | | | | | | | api.network.APIv2 starts with network_list() support to flush out the skeleton of the Network API. list_dhcp_agent() supports the --dhcp option of 'network list' Change-Id: I9a2b90cde84eced1f2ea6a014b769e2bae668211
* add multi-delete support for compute/image/net/volumewanghong2014-12-231-1/+1
| | | | | | | | | | | | | | This is part1, add support for these objects: compute.server imagev1.image imagev2.image network.network volume.volume volume.backup volume.snapshot Closes-Bug: #1400597 Change-Id: Ice21fee85203a8a55417e0ead8b509b8fd6705c1
* Merge "Add network extension list"Jenkins2014-09-181-0/+35
|\
| * Add network extension listTerry Howe2014-07-261-0/+35
| | | | | | | | | | | | | | Network extension list support Change-Id: I013f68ef2c3329c8db59e2441dd8d4ffafd4470e Closes-Bug: #1337685
* | Network use enable/disable vs admin state up/downTerry Howe2014-08-181-4/+4
|/ | | | | | Use --enable and --disable vs --admin-state-up/--admin-state-down Change-Id: I90040b925cb537a8ba13d1dd609c51bb669cf149
* Merge "Allow network find to use alternate name"Jenkins2014-07-081-0/+72
|\
| * Allow network find to use alternate nameTerry Howe2014-07-071-0/+72
| | | | | | | | | | | | | | | | Add the name_attr to the network find method so it can search for things like floating_ip_address for floating IP addresses rather than just id. Change-Id: I827e3745b06397a54555d1286e477bf2e05bf789
* | Python 3: do not compare a list to a zip objectTerry Howe2014-07-071-5/+5
|/ | | | | | In Python 3, zip() returns a zip object, not a list. Change-Id: I1a472bec3e12b5ae3c3555cf690b99a57579ce83
* Move network stuff to v2 instead of v2_0Terry Howe2014-07-072-1/+1
| | | | | | Rename network stuff v2 Change-Id: Ia9b8feda20dfd35b0f3712b8e2419d0bf5da0acd
* Network CRUDTerry Howe2014-06-244-0/+371
bp/neutron https://wiki.openstack.org/wiki/OpenStackClient/Commands#Network_2 Change-Id: I89ee083154afa544b03587e84becace36d9d522a