Class Mu::Command::Cmd_ddt
In: lib/mu/command/cmd_ddt.rb
Parent: Command

Methods

Attributes

api  [RW] 
hash  [RW] 
host  [RW] 
password  [RW] 
username  [RW] 

Public Instance methods

closes all existing Studio Verify sessions# * command-line args

  * argv = command-line arguments

closes the currently active Studio Verify session

  * argv = command-line arguments

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)

displays testset results

  * argv = command-line arguments

returns all Studio Verify sessions

  * argv = command-line arguments

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.

{"name"=>"io.timeout", "value"=>250}, {"name"=>"io.delay", "value"=>0}
* argv = command-line arguments

returns an array of current Studio Verify session id‘s

  * argv = command-line arguments

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

returns the status of the current testset

  * argv = command-line arguments

displays command-line help

 * 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

creates a new Studio Verify session

  * argv = command-line arguments

verifies the loaded scenario

  • argv = command-line arguments

runs the loaded scenario and testset

  * argv = command-line arguments, requires a uuid (-u) argument

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)

sets the options of the loaded scenario

  * argv = command-line arguments, requires arrays of valid options names and values
  * names and values can be single-values or comma-separated lists.

sets up a test session

  * argv = command-line arguments

tears down a test session

  * argv = command-line arguments

[Validate]