'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):