openstack-python-openstackc.../openstackclient
Colleen Murphy 6c224f5acf Add project and domain params to network create
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
2015-03-19 23:49:02 -07:00
..
api Merge "Begin low-level API for Network v2" 2015-02-07 00:16:28 +00:00
common Merge "Add sort support to image list" 2015-02-07 18:07:54 +00:00
compute Merge "Added capabilities/options to 'openstack flavor list' command to match capabilities already provided by 'nova flavor-list':" 2015-02-06 23:29:57 +00:00
identity Merge "Restrict groups and users from changing domains" 2015-02-10 07:34:02 +00:00
image Add sort support to image list 2015-02-06 10:57:10 +08:00
network Add project and domain params to network create 2015-03-19 23:49:02 -07:00
object Fine tune some of the helps commands 2015-01-13 00:58:57 -05:00
tests Add project and domain params to network create 2015-03-19 23:49:02 -07:00
volume Change volume create --snapshot-id to --snapshot 2015-02-06 16:45:08 -08:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Add translation markers for user v2 actions 2014-10-09 14:47:19 -04:00
shell.py Deprecate project usage list command 2015-01-15 00:04:55 -06:00