Class | Mu::Command::Cmd_ddt |
In: |
lib/mu/command/cmd_ddt.rb
|
Parent: | Command |
api | [RW] | |
hash | [RW] | |
host | [RW] | |
password | [RW] | |
username | [RW] |
exports a testset from Mu Studio to a csv file
* argv = command-line arguments, requires a uuid (-u) argument that is the uuid of a testset on the Mu
imports a csv-formatted testset to a Mu system
* argv = command-line arguments, requires the csv testset file (-t)
returns the channel elements of a Mu Studio scenario
* argv = command-line arguments
returns array of host hashmaps, e.g. [{"role"=>"192.168.30.188 (A1.V4)", "roleId"=>"host_0", "layer"=>"v4"}, {"role"=>"192.168.30.9 (dell-eth1.V4)", "roleId"=>"host_1", "layer"=>"v4"}] NOTE: the values of ‘roleId’ are what are passed to set_hosts as ‘roles’, not ‘role‘
* argv = command-line arguments
returns array of options hashmap, consisting of name and value keys, e.g.
returns results from the current testset. can be called repeatedly during a test run. the end of a test is indicated by the presence of the word ‘END’ in the returned results array
* argv = command-line arguments
loads a Mu Studio scenario
* argv = command-line arguments, requires the uuid (-u) argument, the uuid of a scenario that is already loaded on the Mu
sets the channel elements of a loaded scenario
* argv = command-line arguments, requires arrays of roles and names. The roles must all be 'channel' and the names are names of valid hosts * roles and names can be single-values or comma-separated lists.
sets a Mu Studio scenario‘s host. takes an arrays of roles and names, e.g. ["h1", "h2"], ["a1", dell-9"] optional types array ["v4", "v4"]
* argv = command-line arguments, requires an array of roles and names (and optionally, type). The roles must match those defined within the scenario * roles and names can be single-values or comma-separated lists. * type is a single value (v4, v6 or l2)