X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Ftestbeds%2Fplanetlab%2Fmetadata.py;h=39f506dc4d7b1ef1ad5a481921f0dea311eb3091;hb=99729cc9825f7351b9c4fdba580bb41278f50e9a;hp=7c7c53029ceb2b625cb1cd0db2a62443b37f777b;hpb=8215fc96fba3215b5da6bd50833f8589562ee54a;p=nepi.git diff --git a/src/nepi/testbeds/planetlab/metadata.py b/src/nepi/testbeds/planetlab/metadata.py index 7c7c5302..39f506dc 100644 --- a/src/nepi/testbeds/planetlab/metadata.py +++ b/src/nepi/testbeds/planetlab/metadata.py @@ -1187,6 +1187,16 @@ attributes = dict({ "flags": Attribute.ExecReadOnly | Attribute.ExecImmutable, "validation_function": validation.is_string }), + "ccnxversion": dict({ + "name": "ccnxversion", + "help": "Version of ccnx source code to install in the node.", + "type": Attribute.ENUM, + "value": "ccnx-0.6.0", + "flags": Attribute.ExecReadOnly | Attribute.ExecImmutable, + "allowed": ["ccnx-0.6.0", + "ccnx-0.5.1"], + "validation_function": validation.is_enum, + }), "build": dict({ "name": "build", "help": "Build commands to execute after deploying the sources. " @@ -1573,7 +1583,8 @@ factories_info = dict({ "status_function": status_application, "stop_function": stop_application, "configure_function": configure_application, - "box_attributes": ["ccnroutes", "ccnsources", "build", "install"], + "box_attributes": ["ccnroutes", "ccnsources", "build", + "install", "ccnxversion", "sources"], "connector_types": ["node"], "traces": ["stdout", "stderr", "buildlog", "output"], "tags": [tags.APPLICATION], @@ -1772,16 +1783,26 @@ testbed_attributes = dict({ "range": (2000,30000), "validation_function": validation.is_integer_range(2000,30000) }), - "dedicated_slice": dict({ - "name": "dedicatedSlice", + "clean_proc": dict({ + "name": "cleanProc", "help": "Set to True if the slice will be dedicated to this experiment. " - "NEPI will perform node and slice cleanup, making sure slices are " + "NEPI will perform node and slice process cleanup, making sure slices are " "in a clean, repeatable state before running the experiment.", "type": Attribute.BOOL, "value": False, "flags": Attribute.ExecReadOnly | Attribute.ExecImmutable, "validation_function": validation.is_bool }), + "clean_home": dict({ + "name": "cleanHome", + "help": "Set to True all preexistent directories in the home " + "directory of each sliver will be removed before the " + "start of the experiment.", + "type": Attribute.BOOL, + "value": False, + "flags": Attribute.ExecReadOnly | Attribute.ExecImmutable, + "validation_function": validation.is_bool + }), }) supported_recovery_policies = [