Merge "Use default bi direction for classifier"

This commit is contained in:
Jenkins 2015-11-21 03:12:58 +00:00 committed by Gerrit Code Review
commit 00312a9e28

View File

@ -548,7 +548,8 @@ RESOURCE_ATTRIBUTE_MAP = {
'default': None, 'is_visible': True},
'direction': {'allow_post': True, 'allow_put': True,
'validate': {'type:values': gp_supported_directions},
'default': None, 'is_visible': True},
'default': gp_constants.GP_DIRECTION_BI,
'is_visible': True},
attr.SHARED: {'allow_post': True, 'allow_put': True,
'default': False, 'convert_to': attr.convert_to_boolean,
'is_visible': True, 'required_by_policy': True,