# 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",
{'tagname': "cpu_cores",
'description': "Number of CPU cores",
'category': 'slice/rspec'},
-
+ {'tagname': "cpu_freezable",
+ 'description': "Slice processes should be frozen if cpu_cores is 0",
+ 'category': 'slice/rspec'},
+
# Bandwidth limits
{'tagname': "net_min_rate",
'description': "Minimum bandwidth (kbps)",
'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""",
+ 'category': 'slice/rspec'},
# CoDemux
{'tagname': "codemux",
'description': "Is a default Distributed Rate Limiting slice (1) or not (0 or unset)",
'category' : 'slice/general'},
+ {'tagname' : 'interface',
+ 'description' : 'The interface tag holds network configuration information until VirtualInterface objects are in PLCAPI',
+ 'category' : 'slice/network'},
+
]
import resource