Add filter options to the network proxy address_scopes() method()

Add options --name, --ip-version, --project, --share, to the
address scope list command.

Change-Id: I3d1b254b75ff04930a98efc3bd4f5d5e1238ae45
Partial-bug: #1636046
Partially-Implements: blueprint network-command-sdk-support
This commit is contained in:
Yan Xing'an 2016-10-24 00:38:04 -07:00
parent 757a1ecb33
commit 67cb4c4b85

View File

@ -112,6 +112,11 @@ class Proxy(proxy.BaseProxy):
:param kwargs \*\*query: Optional query parameters to be sent to limit
the resources being returned.
* ``name``: Address scope name
* ``ip_version``: Address scope IP address version
* ``tenant_id``: Owner tenant ID
* ``shared``: Address scope is shared (boolean)
:returns: A generator of address scope objects
:rtype: :class:`~openstack.network.v2.address_scope.AddressScope`
"""