From d161ea6ed7848077c6d014564f74a13dbe9c6102 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Thu, 19 Jul 2018 04:47:14 +0000 Subject: [PATCH] Add is_filter to port_mac_address_regenerate Change-Id: Iff4cfdda9161aad9780eb94a313871fc8ac431ff --- neutron_lib/api/definitions/port_mac_address_regenerate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neutron_lib/api/definitions/port_mac_address_regenerate.py b/neutron_lib/api/definitions/port_mac_address_regenerate.py index 19889982d..cccecb0c6 100644 --- a/neutron_lib/api/definitions/port_mac_address_regenerate.py +++ b/neutron_lib/api/definitions/port_mac_address_regenerate.py @@ -29,6 +29,8 @@ RESOURCE_ATTRIBUTE_MAP = { 'convert_to': converters.convert_to_mac_if_none, 'validate': {'type:mac_address': None}, 'enforce_policy': True, + 'is_filter': True, + 'is_sort_key': True, 'is_visible': True}, } }