xxx-show commands now can accept either an id or a name of the resource to
retrieve, similarly to the "nova get" command. This has been preferred to
using mutually exclusive keyword argument, in order to avoid confusion
with other CLI tools.
NOTE: the current patch allow search by name only for networks.
The restriction will be lifted once name attributes for port and subnets
are added.
Reviewed: https:/ /review. openstack. org/10276 github. com/openstack/ python- quantumclient/ commit/ d16e00a056bbe7b a576c4b7195180b fc383bbfad
Committed: http://
Submitter: Jenkins
Branch: master
commit d16e00a056bbe7b a576c4b7195180b fc383bbfad
Author: Salvatore Orlando <email address hidden>
Date: Tue Jul 24 23:45:10 2012 -0700
Allow to retrieve objects by name
Fixes bug 979527
xxx-show commands now can accept either an id or a name of the resource to
retrieve, similarly to the "nova get" command. This has been preferred to
using mutually exclusive keyword argument, in order to avoid confusion
with other CLI tools.
NOTE: the current patch allow search by name only for networks.
The restriction will be lifted once name attributes for port and subnets
are added.
Change-Id: Id186139a01c9f2 cfc36ca3405b402 4bd7780622e