X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=PLC%2FSliceAttributeTypes.py;h=6aa4baa280195169b4fa64cacd0d487908f6e7e6;hb=e370bd35f31ff32bdd302bdb37add7f9aeff04bd;hp=f3817efd0ff1746cd561c085d126842a8693eee5;hpb=d316abf4bdb070ea1acf6be4b262c86a055b6ac2;p=plcapi.git diff --git a/PLC/SliceAttributeTypes.py b/PLC/SliceAttributeTypes.py index f3817ef..6aa4baa 100644 --- a/PLC/SliceAttributeTypes.py +++ b/PLC/SliceAttributeTypes.py @@ -20,13 +20,12 @@ class SliceAttributeType(Row): 'name': Parameter(str, "Slice attribute type name", max = 100), 'description': Parameter(str, "Slice attribute type description", max = 254), 'min_role_id': Parameter(int, "Minimum (least powerful) role that can set or change this attribute"), - 'peer_id': Parameter(int, "Peer at which this node is managed", nullok = True), } # for Cache class_key = 'name' foreign_fields = ['description','min_role_id'] - foreign_xrefs = {} + foreign_xrefs = [] def validate_name(self, name): if not len(name):