Esempio n. 1
0
 def addMaxRunningLocal(self):
     max_running_local = ConfigurationLineDefinition(
         keyword=KeywordDefinition("MAX_RUNNING_LOCAL"),
         arguments=[IntegerArgument(from_value=1)],
         documentation_link="keywords/max_running_local",
         group=self.group)
     return max_running_local
Esempio n. 2
0
 def addLsfResources(self):
     lsf_resources = ConfigurationLineDefinition(
         keyword=KeywordDefinition("LSF_RESOURCES"),
         arguments=[StringArgument(rest_of_line=True, allow_space=True)],
         documentation_link="keywords/lsf_resources",
         group=self.group)
     return lsf_resources
Esempio n. 3
0
 def addTorqueQueue(self):
     torque_queue = ConfigurationLineDefinition(
         keyword=KeywordDefinition("TORQUE_QUEUE"),
         arguments=[StringArgument()],
         documentation_link="keywords/torque_queue",
         group=self.group)
     return torque_queue
Esempio n. 4
0
 def addLsfServer(self):
     lsf_server = ConfigurationLineDefinition(
         keyword=KeywordDefinition("LSF_SERVER"),
         arguments=[StringArgument(built_in=True)],
         documentation_link="keywords/lsf_server",
         group=self.group)
     return lsf_server
Esempio n. 5
0
 def addLsfQueue(self):
     lsf_queue = ConfigurationLineDefinition(
         keyword=KeywordDefinition("LSF_QUEUE"),
         arguments=[StringArgument()],
         documentation_link="keywords/lsf_queue",
         group=self.group)
     return lsf_queue
Esempio n. 6
0
 def addQueueSystem(self):
     queue_system = ConfigurationLineDefinition(
         keyword=KeywordDefinition("QUEUE_SYSTEM"),
         arguments=[StringArgument(built_in=True)],
         documentation_link="keywords/queue_system",
         group=self.group)
     return queue_system
Esempio n. 7
0
 def addHostType(self):
     host_type = ConfigurationLineDefinition(
         keyword=KeywordDefinition("HOST_TYPE"),
         arguments=[StringArgument(rest_of_line=True, allow_space=True)],
         documentation_link="keywords/host_type",
         group=self.group)
     return host_type
Esempio n. 8
0
 def addMaxRunningRsh(self):
     max_running_rsh = ConfigurationLineDefinition(
         keyword=KeywordDefinition("MAX_RUNNING_RSH"),
         arguments=[IntegerArgument()],
         documentation_link="keywords/max_running_rsh",
         group=self.group)
     return max_running_rsh
Esempio n. 9
0
 def addRshCommand(self):
     rsh_command = ConfigurationLineDefinition(
         keyword=KeywordDefinition("RSH_COMMAND"),
         arguments=[PathArgument()],
         documentation_link="keywords/rsh_command",
         group=self.group)
     return rsh_command
Esempio n. 10
0
 def addRshHost(self):
     rsh_host = ConfigurationLineDefinition(
         keyword=KeywordDefinition("RSH_HOST"),
         arguments=[
             StringArgument(),
             StringArgument(rest_of_line=True, allow_space=True)
         ],
         documentation_link="keywords/rsh_host",
         group=self.group)
     return rsh_host
Esempio n. 11
0
    def addQueueOption(self):
        queue_option = ConfigurationLineDefinition(
            keyword=KeywordDefinition("QUEUE_OPTION"),
            arguments=[
                StringArgument(built_in=True),
                StringArgument(built_in=True),
                StringArgument(allow_space=True, rest_of_line=True)
            ],
            documentation_link="keywords/queue_option",
            group=self.group)

        return queue_option