X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=db-config.d%2F010-slice_tags;h=9a4184f7e2c8a70ce68369738709f27b611485b4;hb=e70e20fdbececafef842ec7b330fd48db42e614e;hp=f304f8bdce8f5c9dc42d4d2be692e70121baa002;hpb=49165bd333502f655a6ac6b5cf6ae205c4072d82;p=plcapi.git diff --git a/db-config.d/010-slice_tags b/db-config.d/010-slice_tags index f304f8b..9a4184f 100644 --- a/db-config.d/010-slice_tags +++ b/db-config.d/010-slice_tags @@ -8,11 +8,13 @@ # Setup default slice tag types slicetag_types = \ [ - # Slice type (only vserver is supported) - {'tagname': "type", - 'description': "Type of slice (e.g. vserver)", - 'category' : 'slice/general', - 'roles': ['admin','pi']}, + +### this applies on Node, not on Slice +### # Slice type (only vserver is supported) +### {'tagname': "type", +### 'description': "Type of slice (e.g. vserver)", +### 'category' : 'slice/general', +### 'roles': ['admin','pi']}, # System slice {'tagname': "system", @@ -95,9 +97,11 @@ slicetag_types = \ 'category' : 'slice/rspec'}, # Vsys + # need to allow this one so that slice can have that set from PLC_VSYS_DEFAULT {'tagname': "vsys", 'description': "Bind vsys script fd's to a slice's /vsys directory.", - 'category' : 'slice/rspec'}, + 'category' : 'slice/rspec', + 'roles': AllPersonRoles()}, {'tagname': "vsys_vnet", 'description': """Specify the IP range that can be used in a given slice for virtual devices involved in topologies, e.g. 192.168.100.0/24""", @@ -130,7 +134,7 @@ for virtual devices involved in topologies, e.g. 192.168.100.0/24""", 'category' : 'slice/general'}, {'tagname' : 'interface', - 'description' : 'The interface tag holds network configuraiton information until VirtualInterface objects are in PLCAPI', + 'description' : 'The interface tag holds network configuration information until VirtualInterface objects are in PLCAPI', 'category' : 'slice/network'}, ]