Add filters to the router proxy routers() method

Add filters name, admin_state_up to the router list command.

Change-Id: I48af505f5615b2acda2960e053cafa88beb3905a
Partial-bug: #1637945
Partially-Implements: blueprint network-command-sdk-support
This commit is contained in:
Yi Zhao 2016-11-02 09:27:48 +08:00
parent c64678868e
commit c73a4eefc7

View File

@ -1942,6 +1942,9 @@ class Proxy(proxy.BaseProxy):
:param kwargs \*\*query: Optional query parameters to be sent to limit
the resources being returned.
* ``name``: Router name
* ``admin_state_up``: Router administrative state is up (boolean)
:returns: A generator of router objects
:rtype: :class:`~openstack.network.v2.router.Router`
"""