Use neutron_lib converters instead of neutron

The converters moved to neutron_lib which broke our code

Change-Id: If0a49f966d7dda73327b7cbbe6a44b0ace2d2ee2
This commit is contained in:
Adit Sarfaty 2016-11-09 08:16:02 +02:00
parent a6f9a1f8e2
commit 93d2d2077e

View File

@ -13,7 +13,7 @@
# under the License.
from neutron.api import extensions
from neutron.api.v2 import attributes
from neutron_lib.api import converters
LOGGING = 'logging'
@ -22,7 +22,7 @@ RESOURCE_ATTRIBUTE_MAP = {
LOGGING: {
'allow_post': True,
'allow_put': True,
'convert_to': attributes.convert_to_boolean,
'convert_to': converters.convert_to_boolean,
'default': False,
'enforce_policy': True,
'is_visible': True}