Changes between Version 1 and Version 2 of FeddCommands
- Timestamp:
- Dec 12, 2008 5:12:39 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FeddCommands
v1 v2 96 96 97 97 The '''create''' command takes the following additional parameters: 98 '''--experiment_cert='''''filename'' 99 Store the certificate used to access the resulting experiment in ''filename''. This certificate can be used as an input parameter to the terminate and informational commands beliw, but is an output parameter here. 98 100 '''--experiment_name='''''exp_name'':: 99 101 Suggest ''exp_name'' to the `fedd` as a local identifier for the federated experiment. The actual local name chosen will be returned from the command. 100 102 '''-file='''''filename'':: 101 File containing the [Fedd Experimentexperiment description].103 File containing the [FeddAbout#ExperimentDescriptions experiment description]. 102 104 '''--project='''''export_project'':: 103 105 The local project to export from the master testbed. 106 '''--master='''''master_testbed'':: 107 The master testbed. This should correspond to one of the annotations used for testbed names in the experiment. The `fedd` will use its [FeddDatabases#ExperimentNameMappingDB experiment name mapping DB] to resolve that name to a testbed. 104 108 '''--sshKey='''''file'':: 105 109 Use the contents of ''file'' as the SSH key for service access in the experiment. By default the contents of `.ssh/id_rsa.pub` is used. 106 '''--master='''''master_testbed''::107 The master testbed. This should correspond to one of the annotations used for testbed names in the experiment. The `fedd` will use its [FeddDatabases#ExperimentNameMappingDB experiment name mapping DB] to resolve that name to a testbed.108 110 109 111 An example of experiment creation is: … … 112 114 $ fedd_client.py create --file=test_fedd.tcl --master=deter --project=emulab-ops --url=https://users.isi.deterlab.net:23234 --transport=xmlrpc 113 115 }}} 116 117 The results are the local name of the experiment and its fedid printed to standard output. If '''--experiment_file'' is given an X.509 certificate and private key are saved to the given file that can be used as a capability to access the experiment state. 118 119 The commands to access data about an experiment or to terminate it all take only two non-generic options: 120 121 '''--experiment_file='''''filename'' 122 The ''filename'' must contain a certificate valid for the experiment's fedid. If so it is used to authenticate access to the experiment. A password may be required if one has been added to the private key. 123 '''--experiment_name='''''name'' 124 The local name of the experiment to terminate. Only the experiment creator can use this for access. 125 126 The informational commands are '''vtopo''', '''vis''', and '''info'''. '''Vtopo''' and '''vis''' are equivalent to the analogous Emulab XMLRPC commands, and `fedd_client.py` prints thier results in raw XML. '''Info''' provides more information about the experiment, and it is printed as a python hash. These are primarily used for debugging rather than operations. 127 128 The '''terminate''' command stops a federated experiment and removes the access granted from the federants. 129 130 == User_to_project.py == 131 132 The `user_to_project.py` command exists to provide command line functionality that Emulab keeps in a web page. It attaches a user to a project. It is called by a `fedd` running on `boss` when a project is dynamically created. Its default installation destination and the default value for the [experiment_control] parameter '''user_to_project''' both default to `/usr/local/bin/user_to_project.py`. It is unlikely a user will ever need to run this command.