Allow filtering/sorting by the 'mtu' field

Change-Id: I4096a9884aec25758438c2f7bd8df212eec20796
Closes-Bug: #1818317
This commit is contained in:
Hongbin Lu 2019-03-12 21:44:51 +00:00
parent fc2a81058b
commit 31bad8c637
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ UPDATED_TIMESTAMP = "2017-07-12T00:00:00-00:00"
RESOURCE_ATTRIBUTE_MAP = {
network.COLLECTION_NAME: {
MTU: {'allow_post': True, 'allow_put': True, 'is_visible': True,
'is_filter': True, 'is_sort_key': True,
'validate': {'type:non_negative': None}, 'default': 0,
'convert_to': converters.convert_to_int},
},