Merge "Add keyword 'is_filter' to binding extended"
This commit is contained in:
commit
3b2c748fdc
@ -74,11 +74,12 @@ SUB_RESOURCE_ATTRIBUTE_MAP = {
|
||||
'member_name': PARENT_RESOURCE_NAME},
|
||||
'parameters': {
|
||||
HOST: {'allow_post': True, 'allow_put': True,
|
||||
'is_visible': True, 'primary_key': True},
|
||||
'is_visible': True, 'primary_key': True,
|
||||
'is_filter': True},
|
||||
VIF_TYPE: {'allow_post': False, 'allow_put': False,
|
||||
'default': constants.ATTR_NOT_SPECIFIED,
|
||||
'enforce_policy': True,
|
||||
'is_visible': True},
|
||||
'is_visible': True, 'is_filter': True},
|
||||
VIF_DETAILS: {'allow_post': False, 'allow_put': False,
|
||||
'default': constants.ATTR_NOT_SPECIFIED,
|
||||
'enforce_policy': True,
|
||||
@ -86,6 +87,7 @@ SUB_RESOURCE_ATTRIBUTE_MAP = {
|
||||
VNIC_TYPE: {'allow_post': True, 'allow_put': True,
|
||||
'default': portbindings.VNIC_NORMAL,
|
||||
'is_visible': True,
|
||||
'is_filter': True,
|
||||
'validate': {'type:values': portbindings.VNIC_TYPES},
|
||||
'enforce_policy': True},
|
||||
PROFILE: {'allow_post': True, 'allow_put': True,
|
||||
@ -94,7 +96,7 @@ SUB_RESOURCE_ATTRIBUTE_MAP = {
|
||||
'validate': {'type:dict_or_none': None},
|
||||
'is_visible': True},
|
||||
STATUS: {'allow_post': False, 'allow_put': False,
|
||||
'is_visible': True},
|
||||
'is_visible': True, 'is_filter': True},
|
||||
PROJECT_ID: {'allow_post': True, 'allow_put': False,
|
||||
'required_by_policy': True,
|
||||
'validate': {
|
||||
|
Loading…
x
Reference in New Issue
Block a user