示例#1
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    add_nodes         serviceid count [cloud] # add the specified number of scalaris nodes."
     print "                                              # Set \'cloud\' to \'auto\' to automatically place nodes across multiple clouds."
     print "    remove_nodes      serviceid count [cloud] # remove the specified number of scalaris nodes"
     print "    list_nodes        serviceid               # list all nodes"
     print "    get_node_info     serviceid nodeid        # get information about the specified node"
示例#2
0
 def usage(self, aid, sid ):
     BaseClient.usage(self, aid, sid)
     print ""
     print "    ----Service specific commands-------"
     print ""
     print "    get_helloworld appid serviceid"
     print "    add_nodes      appid serviceid count [cloud]"
     print "    remove_nodes   appid serviceid count"
示例#3
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    add_nodes         serviceid count [cloud] # add the specified number of osd nodes"
     print "    remove_nodes      serviceid count [cloud] # remove the specified number of osd nodes"
     print "    list_volumes      serviceid"
     print "    create_volume     serviceid vol_name"
     print "    delete_volume     serviceid vol_name"
     print "    list_policies     serviceid policy_type # [ osd_sel | replica_sel | replication ]"
     print "    set_policy        serviceid policy_type vol_name policy [factor]"
示例#4
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    set_password      serviceid password"
     print "    add_nodes         serviceid count [cloud]"
     print "    add_glb_nodes     serviceid count [cloud]"
     print "    remove_nodes      serviceid count"
     print "    remove_glb_nodes  serviceid count"
     print "    sqldump           serviceid"
     print "    load_dump         serviceid filename"
     print "    migrate_nodes     serviceid origin_cloud:node_id:dest_cloud[,o_cloud:node_id:d_cloud]* [delay]"
示例#5
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    add_nodes         serviceid b w p [cloud]     # add    b backend, w web and p proxy nodes"
     print "    remove_nodes      serviceid b w p     # remove b backend, w web and p proxy nodes"
     print "    list_keys         serviceid           # list authorized SSH keys"
     print "    upload_key        serviceid filename  # upload an SSH key"
     print "    list_uploads      serviceid           # list uploaded code versions"
     print "    upload_code       serviceid filename  # upload a new code version"
     print "    download_code     serviceid version   # download a specific code version"
     # implemented in {php,java}.py
     print "    enable_code       serviceid version   # set a specific code version active" 
示例#6
0
文件: xtreemfs.py 项目: dzeno/conpaas
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    add_nodes         serviceid count [cloud] # add the specified number of osd nodes"
     print "    remove_nodes      serviceid count [cloud] # remove the specified number of osd nodes"
     print "    list_volumes      serviceid"
     print "    create_volume     serviceid vol_name"
     print "    delete_volume     serviceid vol_name"
     print "    list_policies     serviceid policy_type # [ osd_sel | replica_sel | replication ]"
     print "    set_policy        serviceid policy_type vol_name policy [factor]"
     print "    toggle_persistent serviceid"
     print "    set_osd_size      serviceid vol_size"
示例#7
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print " == HTC specific commands == "
     print "    hosts            serviceid "
     print "    create_job       serviceid   bot_file"
     print "    upload_file      serviceid   file"
     #print "    create_worker    serviceid    type [cloud]"
     print "    create_worker    serviceid   [cloud]"
     print "    remove_worker    serviceid   worker_id"
     print "    configuration    serviceid"
     print "    throughput       serviceid"
     print "    add              serviceid   job_id   bot_file"
     print "    remove           serviceid   job_id   bot_file"
     print "    sample           serviceid   job_id"
     print "    submit           serviceid   job_id"
     print "    stat             serviceid"
示例#8
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print " == HTC specific commands == "
     print "    hosts            serviceid "
     print "    create_job       serviceid   bot_file"
     print "    upload_file      serviceid   file"
     #print "    create_worker    serviceid    type [cloud]"
     print "    create_worker    serviceid   [cloud]"
     print "    remove_worker    serviceid   worker_id"
     print "    configuration    serviceid"
     print "    throughput       serviceid"
     print "    add              serviceid   job_id   bot_file"
     print "    remove           serviceid   job_id   bot_file"
     print "    sample           serviceid   job_id"
     print "    submit           serviceid   job_id"
     print "    stat             serviceid"
示例#9
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    add_nodes         serviceid count [cloud] # add the specified number of nodes"
     print "    remove_nodes      serviceid count     # remove the specified number of nodes"
     print "    upload_code       serviceid filename  # upload a new code version"
     print "    list_keys         serviceid           # list authorized SSH keys"
     print "    upload_key        serviceid filename  # upload an SSH key"
     print "    list_uploads      serviceid           # list uploaded code versions"
     print "    download_code     serviceid version   # download a specific code version"
     print "    enable_code       serviceid version   # set a specific code version active"
     print "    delete_code       serviceid version   # delete a specific code version"
     print "    list_volumes      serviceid           # list the volumes in use by the Generic agents"
     print "    create_volume     serviceid vol_name size(MB) agent_id # create a volume and attatch it to a Generic agent"
     print "    delete_volume     serviceid vol_name  # detach and delete a volume"
     print "    run               serviceid [param]   # execute the run.sh script"
     print "    interrupt         serviceid [param]   # execute the interrupt.sh script"
     print "    cleanup           serviceid [param]   # execute the cleanup.sh script"
     print "    get_script_status serviceid           # get the status of the scripts for each Generic agent"
     print "    get_agent_log     serviceid agent_id [filename] # get the agent logs"
示例#10
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    set_password      serviceid password"
     print "    add_nodes         serviceid count [cloud]"
     print "    remove_nodes      serviceid count"
     print "    sqldump           serviceid"
示例#11
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    set_password      serviceid password"
     print "    add_nodes         serviceid count [cloud]"
     print "    remove_nodes      serviceid count"
示例#12
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    add_nodes    serviceid count"
     print "    remove_nodes serviceid count"
示例#13
0
文件: taskfarm.py 项目: dzeno/conpaas
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    set_mode   serviceid [ DEMO | REAL ]         # select run mode"
     print "    upload_bot serviceid filename xtreemfs_loc   # upload bag of tasks and set file location "
     print "    select_schedule serviceid schedule_number    # select one of the available schedules "
示例#14
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    add_nodes         serviceid count"
     print "    remove_nodes      serviceid count"
示例#15
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
示例#16
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
示例#17
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    get_helloworld serviceid"
     print "    add_nodes      serviceid count [cloud]"
     print "    remove_nodes   serviceid count"
示例#18
0
 def usage(self, cmdname):
     BaseClient.usage(self, cmdname)
     print "    set_mode   serviceid [ DEMO | REAL ]         # select run mode"
     print "    upload_bot serviceid filename xtreemfs_loc   # upload bag of tasks and set file location "
     print "    select_schedule serviceid schedule_number    # select one of the available schedules "