X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FSliceAttributes.py;h=cfc0298d09c688950849cd78aa7abc5613aef4af;hb=fcef24e66e137f58d048c54c3c286e574ab0880d;hp=7d1283cbe8147c8a205872df75f2578017afad39;hpb=d3caf68dfe082cd1f623550ee78b259ad3b019f0;p=plcapi.git diff --git a/PLC/SliceAttributes.py b/PLC/SliceAttributes.py index 7d1283c..cfc0298 100644 --- a/PLC/SliceAttributes.py +++ b/PLC/SliceAttributes.py @@ -16,13 +16,12 @@ class SliceAttribute(Row): 'slice_attribute_id': Parameter(int, "Slice attribute identifier"), 'slice_id': Parameter(int, "Slice identifier"), 'node_id': Parameter(int, "Node identifier, if a sliver attribute"), + 'nodegroup_id': Parameter(int, "Nodegroup identifier, if a sliver attribute"), 'attribute_type_id': SliceAttributeType.fields['attribute_type_id'], 'name': SliceAttributeType.fields['name'], 'description': SliceAttributeType.fields['description'], 'min_role_id': SliceAttributeType.fields['min_role_id'], - # XXX Arbitrary max, make configurable - 'value': Parameter(str, "Slice attribute value", max = 254), - 'peer_id': Parameter(int, "Peer at which this node is managed", nullok = True), + 'value': Parameter(str, "Slice attribute value"), } class SliceAttributes(Table):