summaryrefslogtreecommitdiff
path: root/openstackclient/network/v2
Commit message (Collapse)AuthorAgeFilesLines
* Remove the --dhcp option to network listTerryHowe2015-07-081-37/+27
| | | | | | | | | | The --dhcp option lists agents, not networks. This does not make a lot of sense. Another command should be created to list agents. BackwardsIncompatibleImpact Closes-Bug: #1472613 Change-Id: I5ecfe3fc046a07eb64a4dabd41dbd99de7c2215f
* fix confused domain argument for network create v2Guojian Shao2015-06-261-13/+6
| | | | | | | | | | | we have used domain scope arguments --project-domain, --user-domain and --group-domain in identity commands, for example, role add v3, to prevent resources conflict from same resource name existence. To keep with the style of identity commands, it's better to rename --domain to --project-domain. Closes-Bug: #1468988 Change-Id: Ic6ccb895cf9be4a3d5f0001525e3b80cd340da8b
* Add project and domain params to network createColleen Murphy2015-03-191-0/+21
| | | | | | | | | | | | | | | | | | | | | | 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-221-32/+66
| | | | | | | | | 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
* Command docs: networkDean Troyer2015-01-211-24/+39
| | | | Change-Id: Ia88b6c0ca5205fa5bfc3efa06ac7f84c4a9e5d4e
* add multi-delete support for compute/image/net/volumewanghong2014-12-231-6/+7
| | | | | | | | | | | | | | 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 "Network use enable/disable vs admin state up/down"Jenkins2014-09-081-12/+17
|\
| * Network use enable/disable vs admin state up/downTerry Howe2014-08-181-12/+17
| | | | | | | | | | | | Use --enable and --disable vs --admin-state-up/--admin-state-down Change-Id: I90040b925cb537a8ba13d1dd609c51bb669cf149
* | Merge "Create message variables for exceptions"Jenkins2014-08-241-1/+2
|\ \ | |/ |/|
| * Create message variables for exceptionsSteve Martinelli2014-08-241-1/+2
| | | | | | | | | | | | | | Instead of inline messages, let's create variables instead, as it's easier to find strings, and mark them for translation. Change-Id: Ibbcfdbc59d12a0cb4af50f73043d3ff7f3c76f99
* | Update help text for some network commandsSteve Martinelli2014-07-171-0/+3
|/ | | | | | | Add help text for network delete, network set and network show Change-Id: I80ad5eae35f0eba2bfe19e06786c9b8ed1522046 Closes-Bug: #1343659
* Move network stuff to v2 instead of v2_0Terry Howe2014-07-072-0/+236
Rename network stuff v2 Change-Id: Ia9b8feda20dfd35b0f3712b8e2419d0bf5da0acd