Fix policy enforcement for network mtu

Change-Id: I3526d62d8ea9f6d0eadab88472347b35117c7dd4
Closes-Bug: #1879716
This commit is contained in:
rajesh.kudaka 2020-05-20 09:18:45 -05:00 committed by Kudaka Poorna Rajesh
parent 37b778fbc2
commit cfeee71184
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},
},
}