Browse Source

Merge "Fix policy enforcement for network mtu"

tags/2.4.0^0
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
1361d8cfa4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      neutron_lib/api/definitions/network_mtu_writable.py

+ 2
- 1
neutron_lib/api/definitions/network_mtu_writable.py 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},
},
}



Loading…
Cancel
Save