segment_id resource did not have allow_put defined
allow_put was not explicitly defined for segment_id in ports_quark.py under api/extensions. This results in a 500 error. Explicitly defining this value will resolve the issue. Change-Id: Ifd09bcd8217e830b66ba354dd528b1788a84e818 JIRA:NCP-1999 Closes-Bug: #1601968
This commit is contained in:
parent
598cd1f323
commit
15f758859e
@ -25,7 +25,8 @@ EXTENDED_ATTRIBUTES_2_0 = {
|
|||||||
"default": '', "is_visible": True},
|
"default": '', "is_visible": True},
|
||||||
"tenant_id": {"allow_post": True, "allow_put": False,
|
"tenant_id": {"allow_post": True, "allow_put": False,
|
||||||
"default": '', "is_visible": True},
|
"default": '', "is_visible": True},
|
||||||
"segment_id": {"allow_post": True, "default": False},
|
"segment_id": {"allow_post": True, "allow_put": False,
|
||||||
|
"default": False},
|
||||||
"bridge": {'allow_post': False, 'allow_put': False,
|
"bridge": {'allow_post': False, 'allow_put': False,
|
||||||
'default': False, 'is_visible': True},
|
'default': False, 'is_visible': True},
|
||||||
"device_owner": {'allow_post': True, 'allow_put': True,
|
"device_owner": {'allow_post': True, 'allow_put': True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user