Class Mu::Muapi
In: lib/mu/api/muapi.rb
Parent: Object

Methods

Included Modules

Helper

Attributes

docroot  [RW] 
expected_error  [RW] 
host  [RW] 
job_id  [RW] 
params  [RW] 
password  [RW] 
posted_uuid  [RW] 
run_uuid  [RW] 
username  [RW] 

Public Class methods

Public Instance methods

performs archive operations

  * command=run to create a test archive
  * command=status to view the status of a test archive job
  * command=get to download a test archive job
  * uuid = the uuid of the test

performs backup operations

 * command=run to create a system backup file.
 * command=status to view the status of a backup job. If no backup job is running, gets the date of the most recent backup.
 * command=get to retrieve the backup file
 * name = backup file name

packet capture operations

  * command=run to start capturing packets on the specified Mu appliance port
  * command=status tp view the status of packet capture activity
  * command=get to download the pcap file generated during packet capture
  * port = the Mu appliance port
  * id = job_id for status and get commands

deletes the specified test

 * uuid = the uuid of the test

exports a template from the Mu system using the template type and template name

 * name = the template name

exports a template from the Mu system using the template uuid

 * uuid = the template uuid

returns a list of faults from the specified test

 * uuid = the uuid of the test

returns the name of an test

  * uuid = the uuid of the test

lists the templates on the Mu system using the template type and template name:

 * type = the template type, such as 'scenario' or 'monitor'

lists the statuses of tests

 * status = the status type, such as 'running' or 'failed'

pauses a running test

 * uuid = the uuid of the test

resumes a suspended test

 * uuid = the uuid of the test

starts a test

 * uuid = the uuid of the test

returns the status of a test

 * uuid = the uuid of the test

stops a running test

 * uuid = the uuid of the test

lists the types of templates on the Mu system

[Validate]