Merge "Fix policy enforcement for network mtu"

This commit is contained in:
Zuul 2020-06-19 00:19:24 +00:00 committed by Gerrit Code Review
commit 1361d8cfa4
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ RESOURCE_ATTRIBUTE_MAP = {
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},
'convert_to': converters.convert_to_int,
'enforce_policy': True},
},
}