From c73a4eefc7db5f72111d37f663953c4716e23f8f Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Wed, 2 Nov 2016 09:27:48 +0800 Subject: [PATCH] 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 --- openstack/network/v2/_proxy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openstack/network/v2/_proxy.py b/openstack/network/v2/_proxy.py index c6d769c32..0582b94e5 100644 --- a/openstack/network/v2/_proxy.py +++ b/openstack/network/v2/_proxy.py @@ -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` """