X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=db-config.d%2F010-slice_tags;fp=db-config.d%2F010-slice_tags;h=535c7353ee79cce838500c16182071fcae39ecb4;hb=41b097a10c1ac6dcd493b030d33194003369bdf1;hp=040fa607ea4a602d32d1c2b996e72d28e8be8560;hpb=b3a391490764be17194820147b1cf47fff17b69a;p=plcapi.git diff --git a/db-config.d/010-slice_tags b/db-config.d/010-slice_tags index 040fa60..535c735 100644 --- a/db-config.d/010-slice_tags +++ b/db-config.d/010-slice_tags @@ -36,6 +36,9 @@ slicetag_types = \ {'tagname': "cpu_share", 'description': "Number of CPU shares", 'category' : 'slice/rspec'}, + {'tagname': "cpu_cores", + 'description': "Number of CPU cores", + 'category': 'slice/rspec'}, # Bandwidth limits {'tagname': "net_min_rate", @@ -118,6 +121,7 @@ slicetag_types = \ ] +import resource # add in the platform supported rlimits to the default_attribute_types for entry in resource.__dict__.keys() + ["VLIMIT_OPENFD"]: if entry.find("LIMIT_")==1: