From 7d605be55772324035f078a09baf3efc8d55139a Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 16 Nov 2006 18:47:24 +0000 Subject: [PATCH] - add "system" slice attribute to indicate if the slice is a default system slice or not - XXX should add an all_nodes attribute as well? --- db-config | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/db-config b/db-config index b81043b..4f994a6 100755 --- a/db-config +++ b/db-config @@ -484,9 +484,14 @@ def main(): 'description': "Type of slice (e.g. vserver)", 'min_role_id': 20}, + # System slice + {'name': "system", + 'description': "Is a default system slice (1) or not (0 or unset)", + 'min_role_id': 10}, + # Slice enabled (1) or suspended (0) {'name': "enabled", - 'description': "Slice enabled (1) or suspended (0)", + 'description': "Slice enabled (1 or unset) or suspended (0)", 'min_role_id': 10}, # Slice reference image @@ -603,7 +608,7 @@ def main(): 'instantiation': "plc-instantiated", # Renew forever 'expires': sys.maxint, - 'attributes': {'vref': "planetflow"}}, + 'attributes': {'system': "1", 'vref': "planetflow"}}, ] for default_slice in default_slices: -- 2.43.0