Commit 49db29e8 authored by Spiros Koulouzis's avatar Spiros Koulouzis

implemented ansible deployer

Trying to set benchmark DB 
parent 2c525caf
......@@ -79,7 +79,8 @@
<tr class="clickable-row" data-href="json_AnsibleOutput.html">
<td> <span class="datatype-name">AnsibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
<td> <span class="datatype-description">This is the base class for users to own resources. Many classes extend this
class</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_AnsibleResult.html">
......@@ -92,6 +93,12 @@
<td> <span class="datatype-name">AnsibleResult_</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_BenchmarkResult.html">
<td> <span class="datatype-name">BenchmarkResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_CloudCredentials.html">
......@@ -200,6 +207,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">Script</span>
</td>
<td> <span class="datatype-description">This class represents a simple script that can run on a provisioned VM.</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_SysbenchCPUBenchmark.html">
<td> <span class="datatype-name">SysbenchCPUBenchmark</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_ToscaRepresentation.html">
......@@ -405,7 +418,8 @@ provisioner to request for cloud resources.</span>
<tr class="clickable-row" data-href="xml_ns0_ansibleOutput.html">
<td> <span class="datatype-name">ansibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
<td> <span class="datatype-description">This is the base class for users to own resources. Many classes extend this
class</span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleResult.html">
......@@ -418,6 +432,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">ansibleResult_</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_benchmarkResult.html">
<td> <span class="datatype-name">benchmarkResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_invocation.html">
......@@ -430,6 +450,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">moduleArgs</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_sysbenchCPUBenchmark.html">
<td> <span class="datatype-name">sysbenchCPUBenchmark</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
</tbody>
......
......@@ -72,7 +72,7 @@
<h1 class="page-header">Files and Libraries</h1>
<h3 id="artifact_gwt_json_overlay">GWT JSON Overlay</h3>
<p class="lead">Created April 21, 2017</p>
<p class="lead">Created April 24, 2017</p>
<p> <p>
The <a href="http://code.google.com/webtoolkit/">Google Web Toolkit</a> JSON Overlay library provides the JSON Overlays that
can be used to access the Web service API for this application.
......@@ -91,13 +91,13 @@
<tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-gwt-json-overlay.jar">
<td><span class="downloadfile-name">drip-api-gwt-json-overlay.jar</span></td>
<td><span class="downloadfile-size">14.51K</span></td>
<td><span class="downloadfile-size">16.50K</span></td>
<td><span class="downloadfile-description">The sources for the GWT JSON overlay.</span></td>
</tr>
</tbody>
</table>
<h3 id="artifact_java_json_client_library">Java JSON Client Library</h3>
<p class="lead">Created April 21, 2017</p>
<p class="lead">Created April 24, 2017</p>
<p><p>
The Java client-side library is used to provide the set of Java objects that can be serialized
to/from JSON using <a href="http://jackson.codehaus.org/">Jackson</a>. This is useful for accessing the
......@@ -116,18 +116,18 @@
<tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-json-client.jar">
<td><span class="downloadfile-name">drip-api-json-client.jar</span></td>
<td><span class="downloadfile-size">19.09K</span></td>
<td><span class="downloadfile-size">21.73K</span></td>
<td><span class="downloadfile-description">The binaries for the Java JSON client library.</span></td>
</tr>
<tr class="clickable-row" data-href="drip-api-json-client-json-sources.jar">
<td><span class="downloadfile-name">drip-api-json-client-json-sources.jar</span></td>
<td><span class="downloadfile-size">15.30K</span></td>
<td><span class="downloadfile-size">17.44K</span></td>
<td><span class="downloadfile-description">The sources for the Java JSON client library.</span></td>
</tr>
</tbody>
</table>
<h3 id="artifact_java_xml_client_library">Java XML Client Library</h3>
<p class="lead">Created April 21, 2017</p>
<p class="lead">Created April 24, 2017</p>
<p><p>
The Java client-side library is used to access the Web service API for this application using Java.
</p>
......@@ -144,18 +144,18 @@
<tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-xml-client.jar">
<td><span class="downloadfile-name">drip-api-xml-client.jar</span></td>
<td><span class="downloadfile-size">26.62K</span></td>
<td><span class="downloadfile-size">29.20K</span></td>
<td><span class="downloadfile-description">The binaries for the Java XML client library.</span></td>
</tr>
<tr class="clickable-row" data-href="drip-api-xml-client-xml-sources.jar">
<td><span class="downloadfile-name">drip-api-xml-client-xml-sources.jar</span></td>
<td><span class="downloadfile-size">24.14K</span></td>
<td><span class="downloadfile-size">26.37K</span></td>
<td><span class="downloadfile-description">The sources for the Java XML client library.</span></td>
</tr>
</tbody>
</table>
<h3 id="artifact_js_client_library">JavaScript Client Library</h3>
<p class="lead">Created April 21, 2017</p>
<p class="lead">Created April 24, 2017</p>
<p><p>
The JavaScript client-side library defines classes that can be (de)serialized to/from JSON.
This is useful for accessing the resources that are published by this application, but only
......@@ -184,13 +184,13 @@
<tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-js.zip">
<td><span class="downloadfile-name">drip-api-js.zip</span></td>
<td><span class="downloadfile-size">6.32K</span></td>
<td><span class="downloadfile-size">7.52K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td>
</tr>
</tbody>
</table>
<h3 id="artifact_php_json_client_library">PHP JSON Client Library</h3>
<p class="lead">Created April 21, 2017</p>
<p class="lead">Created April 24, 2017</p>
<p><p>
The PHP JSON client-side library defines the PHP classes that can be (de)serialized to/from JSON.
This is useful for accessing the resources that are published by this application, but only
......@@ -213,13 +213,13 @@
<tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-php.zip">
<td><span class="downloadfile-name">drip-api-php.zip</span></td>
<td><span class="downloadfile-size">7.01K</span></td>
<td><span class="downloadfile-size">8.44K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td>
</tr>
</tbody>
</table>
<h3 id="artifact_php_xml_client_library">PHP XML Client Library</h3>
<p class="lead">Created April 21, 2017</p>
<p class="lead">Created April 24, 2017</p>
<p><p>
The PHP client-side library defines the PHP classes that can be (de)serialized to/from XML.
This is useful for accessing the resources that are published by this application, but only
......@@ -245,13 +245,13 @@
<tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api-php.zip">
<td><span class="downloadfile-name">drip-api-php.zip</span></td>
<td><span class="downloadfile-size">10.44K</span></td>
<td><span class="downloadfile-size">12.23K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td>
</tr>
</tbody>
</table>
<h3 id="artifact_ruby_json_client_library">Ruby JSON Client Library</h3>
<p class="lead">Created April 21, 2017</p>
<p class="lead">Created April 24, 2017</p>
<p><p>
The Ruby JSON client-side library defines the Ruby classes that can be (de)serialized to/from JSON.
This is useful for accessing the REST endpoints that are published by this application, but only
......@@ -276,7 +276,7 @@
<tbody data-link="row" class="rowlink">
<tr class="clickable-row" data-href="drip-api.rb">
<td><span class="downloadfile-name">drip-api.rb</span></td>
<td><span class="downloadfile-size">91.44K</span></td>
<td><span class="downloadfile-size">112.80K</span></td>
<td><span class="downloadfile-description">&nbsp;</span></td>
</tr>
</tbody>
......
......@@ -75,246 +75,6 @@ module EnunciateHelpers
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
module Ansible
# (no documentation provided)
class AnsibleOutput
# (no documentation provided)
attr_accessor :host
# (no documentation provided)
attr_accessor :result
# the json hash for this AnsibleOutput
def to_jaxb_json_hash
_h = {}
_h['host'] = host.to_jaxb_json_hash unless host.nil?
_h['result'] = result.to_jaxb_json_hash unless result.nil?
return _h
end
# the json (string form) for this AnsibleOutput
def to_json
to_jaxb_json_hash.to_json
end
#initializes this AnsibleOutput with a json hash
def init_jaxb_json_hash(_o)
if !_o['host'].nil?
_oa = _o['host']
if(_oa.is_a? Hash)
@host = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@host = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@host = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@host.push String.from_json(_item)
else
@host.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@host = _oa
end
end
if !_o['result'].nil?
_oa = _o['result']
if(_oa.is_a? Hash)
@result = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@result = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@result = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@result.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult.from_json(_item)
else
@result.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@result = _oa
end
end
end
# constructs a AnsibleOutput from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
module Ansible
# (no documentation provided)
class AnsibleResult
# (no documentation provided)
attr_accessor :msg
# (no documentation provided)
attr_accessor :changed
# (no documentation provided)
attr_accessor :results
# the json hash for this AnsibleResult
def to_jaxb_json_hash
_h = {}
_h['msg'] = msg.to_jaxb_json_hash unless msg.nil?
_h['changed'] = changed.to_jaxb_json_hash unless changed.nil?
if !results.nil?
_ha = Array.new
results.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['results'] = _ha
end
return _h
end
# the json (string form) for this AnsibleResult
def to_json
to_jaxb_json_hash.to_json
end
#initializes this AnsibleResult with a json hash
def init_jaxb_json_hash(_o)
if !_o['msg'].nil?
_oa = _o['msg']
if(_oa.is_a? Hash)
@msg = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@msg = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@msg = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@msg.push String.from_json(_item)
else
@msg.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@msg = _oa
end
end
if !_o['changed'].nil?
_oa = _o['changed']
if(_oa.is_a? Hash)
@changed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@changed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@changed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@changed.push Boolean.from_json(_item)
else
@changed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@changed = _oa
end
end
if !_o['results'].nil?
_oa = _o['results']
if(_oa.is_a? Hash)
@results = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@results = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult_.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@results = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@results.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult_.from_json(_item)
else
@results.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@results = _oa
end
end
end
# constructs a AnsibleResult from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
......@@ -913,91 +673,271 @@ module External
module Ansible
# (no documentation provided)
class Invocation
class AnsibleResult_
# (no documentation provided)
attr_accessor :module_args
attr_accessor :_ansible_parsed
# (no documentation provided)
attr_accessor :moduleName
attr_accessor :changed
# (no documentation provided)
attr_accessor :moduleArgs
# the json hash for this Invocation
def to_jaxb_json_hash
_h = {}
_h['module_args'] = module_args.to_jaxb_json_hash unless module_args.nil?
_h['module_name'] = moduleName.to_jaxb_json_hash unless moduleName.nil?
_h['module_args'] = moduleArgs.to_jaxb_json_hash unless moduleArgs.nil?
return _h
end
# the json (string form) for this Invocation
attr_accessor :cache_updated
# (no documentation provided)
attr_accessor :_ansible_item_result
# (no documentation provided)
attr_accessor :item
# (no documentation provided)
attr_accessor :invocation
# (no documentation provided)
attr_accessor :cacheUpdateTime
# (no documentation provided)
attr_accessor :ansibleNoLog
# (no documentation provided)
attr_accessor :ansibleParsed
# (no documentation provided)
attr_accessor :ansibleItemAnsibleResult
# (no documentation provided)
attr_accessor :cacheUpdated
# the json hash for this AnsibleResult_
def to_jaxb_json_hash
_h = {}
_h['_ansible_parsed'] = _ansible_parsed.to_jaxb_json_hash unless _ansible_parsed.nil?
_h['changed'] = changed.to_jaxb_json_hash unless changed.nil?
_h['cache_updated'] = cache_updated.to_jaxb_json_hash unless cache_updated.nil?
_h['_ansible_item_result'] = _ansible_item_result.to_jaxb_json_hash unless _ansible_item_result.nil?
if !item.nil?
_ha = Array.new
item.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['item'] = _ha
end
_h['invocation'] = invocation.to_jaxb_json_hash unless invocation.nil?
_h['cache_update_time'] = cacheUpdateTime.to_jaxb_json_hash unless cacheUpdateTime.nil?
_h['_ansible_no_log'] = ansibleNoLog.to_jaxb_json_hash unless ansibleNoLog.nil?
_h['_ansible_parsed'] = ansibleParsed.to_jaxb_json_hash unless ansibleParsed.nil?
_h['_ansible_item_result'] = ansibleItemAnsibleResult.to_jaxb_json_hash unless ansibleItemAnsibleResult.nil?
_h['cache_updated'] = cacheUpdated.to_jaxb_json_hash unless cacheUpdated.nil?
return _h
end
# the json (string form) for this AnsibleResult_
def to_json
to_jaxb_json_hash.to_json
end
#initializes this Invocation with a json hash
#initializes this AnsibleResult_ with a json hash
def init_jaxb_json_hash(_o)
if !_o['module_args'].nil?
_oa = _o['module_args']
if !_o['_ansible_parsed'].nil?
_oa = _o['_ansible_parsed']
if(_oa.is_a? Hash)
@module_args = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@module_args = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::ModuleArgs.from_json(_oa) unless _oa['@class']
@_ansible_parsed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@_ansible_parsed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@module_args = Array.new
@_ansible_parsed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@module_args.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::ModuleArgs.from_json(_item)
@_ansible_parsed.push Boolean.from_json(_item)
else
@module_args.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@_ansible_parsed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@module_args = _oa
@_ansible_parsed = _oa
end
end
if !_o['module_name'].nil?
_oa = _o['module_name']
if !_o['changed'].nil?
_oa = _o['changed']
if(_oa.is_a? Hash)
@moduleName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@moduleName = String.from_json(_oa) unless _oa['@class']
@changed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@changed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@moduleName = Array.new
@changed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@moduleName.push String.from_json(_item)
@changed.push Boolean.from_json(_item)
else
@moduleName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@changed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@moduleName = _oa
@changed = _oa
end
end
if !_o['module_args'].nil?
_oa = _o['module_args']
if !_o['cache_updated'].nil?
_oa = _o['cache_updated']
if(_oa.is_a? Hash)
@moduleArgs = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@moduleArgs = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::ModuleArgs.from_json(_oa) unless _oa['@class']
@cache_updated = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cache_updated = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@moduleArgs = Array.new
@cache_updated = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@moduleArgs.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::ModuleArgs.from_json(_item)
@cache_updated.push Boolean.from_json(_item)
else
@moduleArgs.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@cache_updated.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@moduleArgs = _oa
@cache_updated = _oa
end
end
if !_o['_ansible_item_result'].nil?
_oa = _o['_ansible_item_result']
if(_oa.is_a? Hash)
@_ansible_item_result = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@_ansible_item_result = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@_ansible_item_result = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@_ansible_item_result.push Boolean.from_json(_item)
else
@_ansible_item_result.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@_ansible_item_result = _oa
end
end
if !_o['item'].nil?
_oa = _o['item']
if(_oa.is_a? Hash)
@item = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@item = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@item = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@item.push String.from_json(_item)
else
@item.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@item = _oa
end
end
if !_o['invocation'].nil?
_oa = _o['invocation']
if(_oa.is_a? Hash)
@invocation = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@invocation = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Invocation.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@invocation = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@invocation.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Invocation.from_json(_item)
else
@invocation.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@invocation = _oa
end
end
if !_o['cache_update_time'].nil?
_oa = _o['cache_update_time']
if(_oa.is_a? Hash)
@cacheUpdateTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cacheUpdateTime = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@cacheUpdateTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@cacheUpdateTime.push Fixnum.from_json(_item)
else
@cacheUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@cacheUpdateTime = _oa
end
end
if !_o['_ansible_no_log'].nil?
_oa = _o['_ansible_no_log']
if(_oa.is_a? Hash)
@ansibleNoLog = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleNoLog = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleNoLog = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleNoLog.push Boolean.from_json(_item)
else
@ansibleNoLog.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleNoLog = _oa
end
end
if !_o['_ansible_parsed'].nil?
_oa = _o['_ansible_parsed']
if(_oa.is_a? Hash)
@ansibleParsed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleParsed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleParsed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleParsed.push Boolean.from_json(_item)
else
@ansibleParsed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleParsed = _oa
end
end
if !_o['_ansible_item_result'].nil?
_oa = _o['_ansible_item_result']
if(_oa.is_a? Hash)
@ansibleItemAnsibleResult = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleItemAnsibleResult = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleItemAnsibleResult = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleItemAnsibleResult.push Boolean.from_json(_item)
else
@ansibleItemAnsibleResult.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleItemAnsibleResult = _oa
end
end
if !_o['cache_updated'].nil?
_oa = _o['cache_updated']
if(_oa.is_a? Hash)
@cacheUpdated = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cacheUpdated = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@cacheUpdated = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@cacheUpdated.push Boolean.from_json(_item)
else
@cacheUpdated.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@cacheUpdated = _oa
end
end
end
# constructs a Invocation from a (parsed) JSON hash
# constructs a AnsibleResult_ from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
......@@ -1037,6 +977,109 @@ module Data
module V1
module External
# (no documentation provided)
class OwnedObject
# the owner
attr_accessor :owner
# the id
attr_accessor :id
# the json hash for this OwnedObject
def to_jaxb_json_hash
_h = {}
_h['owner'] = owner.to_jaxb_json_hash unless owner.nil?
_h['id'] = id.to_jaxb_json_hash unless id.nil?
return _h
end
# the json (string form) for this OwnedObject
def to_json
to_jaxb_json_hash.to_json
end
#initializes this OwnedObject with a json hash
def init_jaxb_json_hash(_o)
if !_o['owner'].nil?
_oa = _o['owner']
if(_oa.is_a? Hash)
@owner = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@owner = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@owner = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@owner.push String.from_json(_item)
else
@owner.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@owner = _oa
end
end
if !_o['id'].nil?
_oa = _o['id']
if(_oa.is_a? Hash)
@id = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@id = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@id = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@id.push String.from_json(_item)
else
@id.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@id = _oa
end
end
end
# constructs a OwnedObject from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
# (no documentation provided)
......@@ -1186,114 +1229,94 @@ module V1
module External
module Ansible
# (no documentation provided)
class Key
class Invocation
#
attr_accessor :name
# the type
attr_accessor :type
# the attributes
attr_accessor :attributes
# the key
attr_accessor :key
# (no documentation provided)
attr_accessor :module_args
# (no documentation provided)
attr_accessor :moduleName
# (no documentation provided)
attr_accessor :moduleArgs
# the json hash for this Key
# the json hash for this Invocation
def to_jaxb_json_hash
_h = {}
_h['name'] = name.to_jaxb_json_hash unless name.nil?
_h['type'] = type.to_jaxb_json_hash unless type.nil?
_h['attributes'] = attributes.to_jaxb_json_hash unless attributes.nil?
_h['key'] = key.to_jaxb_json_hash unless key.nil?
_h['module_args'] = module_args.to_jaxb_json_hash unless module_args.nil?
_h['module_name'] = moduleName.to_jaxb_json_hash unless moduleName.nil?
_h['module_args'] = moduleArgs.to_jaxb_json_hash unless moduleArgs.nil?
return _h
end
# the json (string form) for this Key
# the json (string form) for this Invocation
def to_json
to_jaxb_json_hash.to_json
end
#initializes this Key with a json hash
#initializes this Invocation with a json hash
def init_jaxb_json_hash(_o)
if !_o['name'].nil?
_oa = _o['name']
if(_oa.is_a? Hash)
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@name.push String.from_json(_item)
else
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@name = _oa
end
end
if !_o['type'].nil?
_oa = _o['type']
if !_o['module_args'].nil?
_oa = _o['module_args']
if(_oa.is_a? Hash)
@type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@type = String.from_json(_oa) unless _oa['@class']
@module_args = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@module_args = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::ModuleArgs.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@type = Array.new
@module_args = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@type.push String.from_json(_item)
@module_args.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::ModuleArgs.from_json(_item)
else
@type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@module_args.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@type = _oa
@module_args = _oa
end
end
if !_o['attributes'].nil?
_oa = _o['attributes']
if !_o['module_name'].nil?
_oa = _o['module_name']
if(_oa.is_a? Hash)
@attributes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@attributes = Hash.from_json(_oa) unless _oa['@class']
@moduleName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@moduleName = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@attributes = Array.new
@moduleName = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@attributes.push Hash.from_json(_item)
@moduleName.push String.from_json(_item)
else
@attributes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@moduleName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@attributes = _oa
@moduleName = _oa
end
end
if !_o['key'].nil?
_oa = _o['key']
if !_o['module_args'].nil?
_oa = _o['module_args']
if(_oa.is_a? Hash)
@key = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@key = String.from_json(_oa) unless _oa['@class']
@moduleArgs = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@moduleArgs = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::ModuleArgs.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@key = Array.new
@moduleArgs = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@key.push String.from_json(_item)
@moduleArgs.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::ModuleArgs.from_json(_item)
else
@key.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@moduleArgs.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@key = _oa
@moduleArgs = _oa
end
end
end
# constructs a Key from a (parsed) JSON hash
# constructs a Invocation from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
......@@ -1319,6 +1342,8 @@ end
end
end
module Nl
module Uva
......@@ -1336,76 +1361,81 @@ module External
module Ansible
# (no documentation provided)
class AnsibleResult_
class AnsibleResult
# (no documentation provided)
attr_accessor :_ansible_parsed
attr_accessor :msg
# (no documentation provided)
attr_accessor :changed
# (no documentation provided)
attr_accessor :cache_updated
# (no documentation provided)
attr_accessor :_ansible_item_result
attr_accessor :end
# (no documentation provided)
attr_accessor :item
attr_accessor :start
# (no documentation provided)
attr_accessor :invocation
attr_accessor :delta
# (no documentation provided)
attr_accessor :cacheUpdateTime
attr_accessor :stdout
# (no documentation provided)
attr_accessor :ansibleNoLog
attr_accessor :stderr
# (no documentation provided)
attr_accessor :ansibleParsed
attr_accessor :cmd
# (no documentation provided)
attr_accessor :ansibleItemAnsibleResult
attr_accessor :stdout_lines
# (no documentation provided)
attr_accessor :cacheUpdated
attr_accessor :results
# the json hash for this AnsibleResult_
# the json hash for this AnsibleResult
def to_jaxb_json_hash
_h = {}
_h['_ansible_parsed'] = _ansible_parsed.to_jaxb_json_hash unless _ansible_parsed.nil?
_h['msg'] = msg.to_jaxb_json_hash unless msg.nil?
_h['changed'] = changed.to_jaxb_json_hash unless changed.nil?
_h['cache_updated'] = cache_updated.to_jaxb_json_hash unless cache_updated.nil?
_h['_ansible_item_result'] = _ansible_item_result.to_jaxb_json_hash unless _ansible_item_result.nil?
if !item.nil?
_h['end'] = end.to_jaxb_json_hash unless end.nil?
_h['start'] = start.to_jaxb_json_hash unless start.nil?
_h['delta'] = delta.to_jaxb_json_hash unless delta.nil?
_h['stdout'] = stdout.to_jaxb_json_hash unless stdout.nil?
_h['stderr'] = stderr.to_jaxb_json_hash unless stderr.nil?
if !cmd.nil?
_ha = Array.new
item.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['item'] = _ha
cmd.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['cmd'] = _ha
end
if !stdout_lines.nil?
_ha = Array.new
stdout_lines.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['stdout_lines'] = _ha
end
if !results.nil?
_ha = Array.new
results.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['results'] = _ha
end
_h['invocation'] = invocation.to_jaxb_json_hash unless invocation.nil?
_h['cache_update_time'] = cacheUpdateTime.to_jaxb_json_hash unless cacheUpdateTime.nil?
_h['_ansible_no_log'] = ansibleNoLog.to_jaxb_json_hash unless ansibleNoLog.nil?
_h['_ansible_parsed'] = ansibleParsed.to_jaxb_json_hash unless ansibleParsed.nil?
_h['_ansible_item_result'] = ansibleItemAnsibleResult.to_jaxb_json_hash unless ansibleItemAnsibleResult.nil?
_h['cache_updated'] = cacheUpdated.to_jaxb_json_hash unless cacheUpdated.nil?
return _h
end
# the json (string form) for this AnsibleResult_
# the json (string form) for this AnsibleResult
def to_json
to_jaxb_json_hash.to_json
end
#initializes this AnsibleResult_ with a json hash
#initializes this AnsibleResult with a json hash
def init_jaxb_json_hash(_o)
if !_o['_ansible_parsed'].nil?
_oa = _o['_ansible_parsed']
if !_o['msg'].nil?
_oa = _o['msg']
if(_oa.is_a? Hash)
@_ansible_parsed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@_ansible_parsed = Boolean.from_json(_oa) unless _oa['@class']
@msg = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@msg = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@_ansible_parsed = Array.new
@msg = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@_ansible_parsed.push Boolean.from_json(_item)
@msg.push String.from_json(_item)
else
@_ansible_parsed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@msg.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@_ansible_parsed = _oa
@msg = _oa
end
end
if !_o['changed'].nil?
......@@ -1427,180 +1457,310 @@ module Ansible
@changed = _oa
end
end
if !_o['cache_updated'].nil?
_oa = _o['cache_updated']
if !_o['end'].nil?
_oa = _o['end']
if(_oa.is_a? Hash)
@cache_updated = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cache_updated = Boolean.from_json(_oa) unless _oa['@class']
@end = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@end = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@cache_updated = Array.new
@end = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@cache_updated.push Boolean.from_json(_item)
@end.push Time.from_json(_item)
else
@cache_updated.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@end.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@cache_updated = _oa
@end = _oa
end
end
if !_o['_ansible_item_result'].nil?
_oa = _o['_ansible_item_result']
if !_o['start'].nil?
_oa = _o['start']
if(_oa.is_a? Hash)
@_ansible_item_result = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@_ansible_item_result = Boolean.from_json(_oa) unless _oa['@class']
@start = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@start = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@_ansible_item_result = Array.new
@start = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@_ansible_item_result.push Boolean.from_json(_item)
@start.push Time.from_json(_item)
else
@_ansible_item_result.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@start.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@_ansible_item_result = _oa
@start = _oa
end
end
if !_o['item'].nil?
_oa = _o['item']
if !_o['delta'].nil?
_oa = _o['delta']
if(_oa.is_a? Hash)
@item = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@item = String.from_json(_oa) unless _oa['@class']
@delta = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@delta = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@item = Array.new
@delta = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@item.push String.from_json(_item)
@delta.push Time.from_json(_item)
else
@item.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@delta.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@item = _oa
@delta = _oa
end
end
if !_o['invocation'].nil?
_oa = _o['invocation']
if !_o['stdout'].nil?
_oa = _o['stdout']
if(_oa.is_a? Hash)
@invocation = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@invocation = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Invocation.from_json(_oa) unless _oa['@class']
@stdout = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@stdout = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@invocation = Array.new
@stdout = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@invocation.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::Invocation.from_json(_item)
@stdout.push String.from_json(_item)
else
@invocation.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@stdout.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@invocation = _oa
@stdout = _oa
end
end
if !_o['cache_update_time'].nil?
_oa = _o['cache_update_time']
if !_o['stderr'].nil?
_oa = _o['stderr']
if(_oa.is_a? Hash)
@cacheUpdateTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cacheUpdateTime = Fixnum.from_json(_oa) unless _oa['@class']
@stderr = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@stderr = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@cacheUpdateTime = Array.new
@stderr = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@cacheUpdateTime.push Fixnum.from_json(_item)
@stderr.push String.from_json(_item)
else
@cacheUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@stderr.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@cacheUpdateTime = _oa
@stderr = _oa
end
end
if !_o['_ansible_no_log'].nil?
_oa = _o['_ansible_no_log']
if !_o['cmd'].nil?
_oa = _o['cmd']
if(_oa.is_a? Hash)
@ansibleNoLog = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleNoLog = Boolean.from_json(_oa) unless _oa['@class']
@cmd = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cmd = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleNoLog = Array.new
@cmd = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleNoLog.push Boolean.from_json(_item)
@cmd.push String.from_json(_item)
else
@ansibleNoLog.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@cmd.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleNoLog = _oa
@cmd = _oa
end
end
if !_o['_ansible_parsed'].nil?
_oa = _o['_ansible_parsed']
if !_o['stdout_lines'].nil?
_oa = _o['stdout_lines']
if(_oa.is_a? Hash)
@ansibleParsed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleParsed = Boolean.from_json(_oa) unless _oa['@class']
@stdout_lines = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@stdout_lines = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleParsed = Array.new
@stdout_lines = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleParsed.push Boolean.from_json(_item)
@stdout_lines.push String.from_json(_item)
else
@ansibleParsed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@stdout_lines.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleParsed = _oa
@stdout_lines = _oa
end
end
if !_o['_ansible_item_result'].nil?
_oa = _o['_ansible_item_result']
if !_o['results'].nil?
_oa = _o['results']
if(_oa.is_a? Hash)
@ansibleItemAnsibleResult = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleItemAnsibleResult = Boolean.from_json(_oa) unless _oa['@class']
@results = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@results = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult_.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleItemAnsibleResult = Array.new
@results = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleItemAnsibleResult.push Boolean.from_json(_item)
@results.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult_.from_json(_item)
else
@ansibleItemAnsibleResult.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@results.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@ansibleItemAnsibleResult = _oa
@results = _oa
end
end
if !_o['cache_updated'].nil?
_oa = _o['cache_updated']
end
# constructs a AnsibleResult from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
# (no documentation provided)
class Key
#
attr_accessor :name
# the type
attr_accessor :type
# the attributes
attr_accessor :attributes
# the key
attr_accessor :key
# the json hash for this Key
def to_jaxb_json_hash
_h = {}
_h['name'] = name.to_jaxb_json_hash unless name.nil?
_h['type'] = type.to_jaxb_json_hash unless type.nil?
_h['attributes'] = attributes.to_jaxb_json_hash unless attributes.nil?
_h['key'] = key.to_jaxb_json_hash unless key.nil?
return _h
end
# the json (string form) for this Key
def to_json
to_jaxb_json_hash.to_json
end
#initializes this Key with a json hash
def init_jaxb_json_hash(_o)
if !_o['name'].nil?
_oa = _o['name']
if(_oa.is_a? Hash)
@cacheUpdated = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cacheUpdated = Boolean.from_json(_oa) unless _oa['@class']
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@cacheUpdated = Array.new
@name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@cacheUpdated.push Boolean.from_json(_item)
@name.push String.from_json(_item)
else
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@name = _oa
end
end
if !_o['type'].nil?
_oa = _o['type']
if(_oa.is_a? Hash)
@type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@type = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@type = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@type.push String.from_json(_item)
else
@type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@type = _oa
end
end
if !_o['attributes'].nil?
_oa = _o['attributes']
if(_oa.is_a? Hash)
@attributes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@attributes = Hash.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@attributes = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@attributes.push Hash.from_json(_item)
else
@attributes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@attributes = _oa
end
end
if !_o['key'].nil?
_oa = _o['key']
if(_oa.is_a? Hash)
@key = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@key = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@key = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@key.push String.from_json(_item)
else
@cacheUpdated.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@key.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@cacheUpdated = _oa
@key = _oa
end
end
end
# constructs a AnsibleResult_ from a (parsed) JSON hash
# constructs a Key from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
......@@ -1626,8 +1786,6 @@ end
end
end
module Nl
module Uva
......@@ -1643,45 +1801,67 @@ module V1
module External
# (no documentation provided)
class OwnedObject
class User
# the owner
attr_accessor :owner
# (no documentation provided)
attr_accessor :password
# the id
attr_accessor :id
#
attr_accessor :username
#
attr_accessor :accountNonExpired
#
attr_accessor :accountNonLocked
#
attr_accessor :credentialsNonExpired
#
attr_accessor :enabled
# the roles
attr_accessor :roles
# the json hash for this OwnedObject
# the json hash for this User
def to_jaxb_json_hash
_h = {}
_h['owner'] = owner.to_jaxb_json_hash unless owner.nil?
_h['password'] = password.to_jaxb_json_hash unless password.nil?
_h['id'] = id.to_jaxb_json_hash unless id.nil?
_h['username'] = username.to_jaxb_json_hash unless username.nil?
_h['accountNonExpired'] = accountNonExpired.to_jaxb_json_hash unless accountNonExpired.nil?
_h['accountNonLocked'] = accountNonLocked.to_jaxb_json_hash unless accountNonLocked.nil?
_h['credentialsNonExpired'] = credentialsNonExpired.to_jaxb_json_hash unless credentialsNonExpired.nil?
_h['enabled'] = enabled.to_jaxb_json_hash unless enabled.nil?
if !roles.nil?
_ha = Array.new
roles.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['roles'] = _ha
end
return _h
end
# the json (string form) for this OwnedObject
# the json (string form) for this User
def to_json
to_jaxb_json_hash.to_json
end
#initializes this OwnedObject with a json hash
#initializes this User with a json hash
def init_jaxb_json_hash(_o)
if !_o['owner'].nil?
_oa = _o['owner']
if !_o['password'].nil?
_oa = _o['password']
if(_oa.is_a? Hash)
@owner = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@owner = String.from_json(_oa) unless _oa['@class']
@password = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@password = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@owner = Array.new
@password = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@owner.push String.from_json(_item)
@password.push String.from_json(_item)
else
@owner.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@password.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@owner = _oa
@password = _oa
end
end
if !_o['id'].nil?
......@@ -1703,9 +1883,123 @@ module External
@id = _oa
end
end
if !_o['username'].nil?
_oa = _o['username']
if(_oa.is_a? Hash)
@username = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@username = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@username = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@username.push String.from_json(_item)
else
@username.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@username = _oa
end
end
if !_o['accountNonExpired'].nil?
_oa = _o['accountNonExpired']
if(_oa.is_a? Hash)
@accountNonExpired = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@accountNonExpired = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@accountNonExpired = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@accountNonExpired.push Boolean.from_json(_item)
else
@accountNonExpired.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@accountNonExpired = _oa
end
end
if !_o['accountNonLocked'].nil?
_oa = _o['accountNonLocked']
if(_oa.is_a? Hash)
@accountNonLocked = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@accountNonLocked = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@accountNonLocked = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@accountNonLocked.push Boolean.from_json(_item)
else
@accountNonLocked.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@accountNonLocked = _oa
end
end
if !_o['credentialsNonExpired'].nil?
_oa = _o['credentialsNonExpired']
if(_oa.is_a? Hash)
@credentialsNonExpired = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@credentialsNonExpired = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@credentialsNonExpired = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@credentialsNonExpired.push Boolean.from_json(_item)
else
@credentialsNonExpired.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@credentialsNonExpired = _oa
end
end
if !_o['enabled'].nil?
_oa = _o['enabled']
if(_oa.is_a? Hash)
@enabled = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@enabled = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@enabled = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@enabled.push Boolean.from_json(_item)
else
@enabled.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@enabled = _oa
end
end
if !_o['roles'].nil?
_oa = _o['roles']
if(_oa.is_a? Hash)
@roles = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@roles = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@roles = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@roles.push String.from_json(_item)
else
@roles.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@roles = _oa
end
end
end
# constructs a OwnedObject from a (parsed) JSON hash
# constructs a User from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
......@@ -1746,205 +2040,232 @@ module V1
module External
# (no documentation provided)
class User
class Script < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject
# (no documentation provided)
attr_accessor :password
# the id
attr_accessor :id
#
attr_accessor :username
#
attr_accessor :accountNonExpired
#
attr_accessor :accountNonLocked
#
attr_accessor :credentialsNonExpired
#
attr_accessor :enabled
# the roles
attr_accessor :roles
# the name
attr_accessor :name
# the contents
attr_accessor :contents
# the json hash for this User
# the json hash for this Script
def to_jaxb_json_hash
_h = {}
_h['password'] = password.to_jaxb_json_hash unless password.nil?
_h['id'] = id.to_jaxb_json_hash unless id.nil?
_h['username'] = username.to_jaxb_json_hash unless username.nil?
_h['accountNonExpired'] = accountNonExpired.to_jaxb_json_hash unless accountNonExpired.nil?
_h['accountNonLocked'] = accountNonLocked.to_jaxb_json_hash unless accountNonLocked.nil?
_h['credentialsNonExpired'] = credentialsNonExpired.to_jaxb_json_hash unless credentialsNonExpired.nil?
_h['enabled'] = enabled.to_jaxb_json_hash unless enabled.nil?
if !roles.nil?
_ha = Array.new
roles.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['roles'] = _ha
end
_h = super
_h['name'] = name.to_jaxb_json_hash unless name.nil?
_h['contents'] = contents.to_jaxb_json_hash unless contents.nil?
return _h
end
# the json (string form) for this User
def to_json
to_jaxb_json_hash.to_json
end
#initializes this User with a json hash
#initializes this Script with a json hash
def init_jaxb_json_hash(_o)
if !_o['password'].nil?
_oa = _o['password']
if(_oa.is_a? Hash)
@password = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@password = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@password = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@password.push String.from_json(_item)
else
@password.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@password = _oa
end
end
if !_o['id'].nil?
_oa = _o['id']
super _o
if !_o['name'].nil?
_oa = _o['name']
if(_oa.is_a? Hash)
@id = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@id = String.from_json(_oa) unless _oa['@class']
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@id = Array.new
@name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@id.push String.from_json(_item)
@name.push String.from_json(_item)
else
@id.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@id = _oa
@name = _oa
end
end
if !_o['username'].nil?
_oa = _o['username']
if !_o['contents'].nil?
_oa = _o['contents']
if(_oa.is_a? Hash)
@username = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@username = String.from_json(_oa) unless _oa['@class']
@contents = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@contents = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@username = Array.new
@contents = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@username.push String.from_json(_item)
@contents.push String.from_json(_item)
else
@username.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@contents.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@username = _oa
@contents = _oa
end
end
if !_o['accountNonExpired'].nil?
_oa = _o['accountNonExpired']
end
# constructs a Script from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
module Ansible
# (no documentation provided)
class BenchmarkResult < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject
# (no documentation provided)
attr_accessor :end
# (no documentation provided)
attr_accessor :start
# (no documentation provided)
attr_accessor :delta
# the host
attr_accessor :host
# the cloudProvider
attr_accessor :cloudProvider
# the json hash for this BenchmarkResult
def to_jaxb_json_hash
_h = super
_h['end'] = end.to_jaxb_json_hash unless end.nil?
_h['start'] = start.to_jaxb_json_hash unless start.nil?
_h['delta'] = delta.to_jaxb_json_hash unless delta.nil?
_h['host'] = host.to_jaxb_json_hash unless host.nil?
_h['cloudProvider'] = cloudProvider.to_jaxb_json_hash unless cloudProvider.nil?
return _h
end
#initializes this BenchmarkResult with a json hash
def init_jaxb_json_hash(_o)
super _o
if !_o['end'].nil?
_oa = _o['end']
if(_oa.is_a? Hash)
@accountNonExpired = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@accountNonExpired = Boolean.from_json(_oa) unless _oa['@class']
@end = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@end = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@accountNonExpired = Array.new
@end = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@accountNonExpired.push Boolean.from_json(_item)
@end.push Time.from_json(_item)
else
@accountNonExpired.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@end.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@accountNonExpired = _oa
@end = _oa
end
end
if !_o['accountNonLocked'].nil?
_oa = _o['accountNonLocked']
if !_o['start'].nil?
_oa = _o['start']
if(_oa.is_a? Hash)
@accountNonLocked = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@accountNonLocked = Boolean.from_json(_oa) unless _oa['@class']
@start = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@start = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@accountNonLocked = Array.new
@start = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@accountNonLocked.push Boolean.from_json(_item)
@start.push Time.from_json(_item)
else
@accountNonLocked.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@start.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@accountNonLocked = _oa
@start = _oa
end
end
if !_o['credentialsNonExpired'].nil?
_oa = _o['credentialsNonExpired']
if !_o['delta'].nil?
_oa = _o['delta']
if(_oa.is_a? Hash)
@credentialsNonExpired = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@credentialsNonExpired = Boolean.from_json(_oa) unless _oa['@class']
@delta = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@delta = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@credentialsNonExpired = Array.new
@delta = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@credentialsNonExpired.push Boolean.from_json(_item)
@delta.push Time.from_json(_item)
else
@credentialsNonExpired.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@delta.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@credentialsNonExpired = _oa
@delta = _oa
end
end
if !_o['enabled'].nil?
_oa = _o['enabled']
if !_o['host'].nil?
_oa = _o['host']
if(_oa.is_a? Hash)
@enabled = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@enabled = Boolean.from_json(_oa) unless _oa['@class']
@host = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@host = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@enabled = Array.new
@host = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@enabled.push Boolean.from_json(_item)
@host.push String.from_json(_item)
else
@enabled.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@host.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@enabled = _oa
@host = _oa
end
end
if !_o['roles'].nil?
_oa = _o['roles']
if !_o['cloudProvider'].nil?
_oa = _o['cloudProvider']
if(_oa.is_a? Hash)
@roles = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@roles = String.from_json(_oa) unless _oa['@class']
@cloudProvider = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cloudProvider = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@roles = Array.new
@cloudProvider = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@roles.push String.from_json(_item)
@cloudProvider.push String.from_json(_item)
else
@roles.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@cloudProvider.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@roles = _oa
@cloudProvider = _oa
end
end
end
# constructs a User from a (parsed) JSON hash
# constructs a BenchmarkResult from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
......@@ -1970,6 +2291,8 @@ end
end
end
module Nl
module Uva
......@@ -2169,66 +2492,112 @@ module V1
module External
module Ansible
# (no documentation provided)
class KeyPair < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject
class AnsibleOutput < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject
# the privateKey
attr_accessor :privateKey
# the publicKey
attr_accessor :publicKey
# (no documentation provided)
attr_accessor :host
# (no documentation provided)
attr_accessor :result
# (no documentation provided)
attr_accessor :vmType
# (no documentation provided)
attr_accessor :cloudDeploymentDomain
# the json hash for this KeyPair
# the json hash for this AnsibleOutput
def to_jaxb_json_hash
_h = super
_h['privateKey'] = privateKey.to_jaxb_json_hash unless privateKey.nil?
_h['publicKey'] = publicKey.to_jaxb_json_hash unless publicKey.nil?
_h['host'] = host.to_jaxb_json_hash unless host.nil?
_h['result'] = result.to_jaxb_json_hash unless result.nil?
_h['vmType'] = vmType.to_jaxb_json_hash unless vmType.nil?
_h['cloudDeploymentDomain'] = cloudDeploymentDomain.to_jaxb_json_hash unless cloudDeploymentDomain.nil?
return _h
end
#initializes this KeyPair with a json hash
#initializes this AnsibleOutput with a json hash
def init_jaxb_json_hash(_o)
super _o
if !_o['privateKey'].nil?
_oa = _o['privateKey']
if !_o['host'].nil?
_oa = _o['host']
if(_oa.is_a? Hash)
@privateKey = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@privateKey = Nl::Uva::Sne::Drip::Data::V1::External::Key.from_json(_oa) unless _oa['@class']
@host = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@host = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@privateKey = Array.new
@host = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@privateKey.push Nl::Uva::Sne::Drip::Data::V1::External::Key.from_json(_item)
@host.push String.from_json(_item)
else
@privateKey.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@host.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@privateKey = _oa
@host = _oa
end
end
if !_o['publicKey'].nil?
_oa = _o['publicKey']
if !_o['result'].nil?
_oa = _o['result']
if(_oa.is_a? Hash)
@publicKey = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@publicKey = Nl::Uva::Sne::Drip::Data::V1::External::Key.from_json(_oa) unless _oa['@class']
@result = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@result = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@publicKey = Array.new
@result = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@publicKey.push Nl::Uva::Sne::Drip::Data::V1::External::Key.from_json(_item)
@result.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleResult.from_json(_item)
else
@publicKey.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@result.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@publicKey = _oa
@result = _oa
end
end
if !_o['vmType'].nil?
_oa = _o['vmType']
if(_oa.is_a? Hash)
@vmType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@vmType = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@vmType = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@vmType.push String.from_json(_item)
else
@vmType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@vmType = _oa
end
end
if !_o['cloudDeploymentDomain'].nil?
_oa = _o['cloudDeploymentDomain']
if(_oa.is_a? Hash)
@cloudDeploymentDomain = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@cloudDeploymentDomain = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@cloudDeploymentDomain = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@cloudDeploymentDomain.push String.from_json(_item)
else
@cloudDeploymentDomain.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@cloudDeploymentDomain = _oa
end
end
end
# constructs a KeyPair from a (parsed) JSON hash
# constructs a AnsibleOutput from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
......@@ -2254,6 +2623,8 @@ end
end
end
module Nl
module Uva
......@@ -2269,65 +2640,65 @@ module V1
module External
# (no documentation provided)
class Script < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject
class KeyPair < Nl::Uva::Sne::Drip::Data::V1::External::OwnedObject
# the name
attr_accessor :name
# the contents
attr_accessor :contents
# the privateKey
attr_accessor :privateKey
# the publicKey
attr_accessor :publicKey
# the json hash for this Script
# the json hash for this KeyPair
def to_jaxb_json_hash
_h = super
_h['name'] = name.to_jaxb_json_hash unless name.nil?
_h['contents'] = contents.to_jaxb_json_hash unless contents.nil?
_h['privateKey'] = privateKey.to_jaxb_json_hash unless privateKey.nil?
_h['publicKey'] = publicKey.to_jaxb_json_hash unless publicKey.nil?
return _h
end
#initializes this Script with a json hash
#initializes this KeyPair with a json hash
def init_jaxb_json_hash(_o)
super _o
if !_o['name'].nil?
_oa = _o['name']
if !_o['privateKey'].nil?
_oa = _o['privateKey']
if(_oa.is_a? Hash)
@name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@name = String.from_json(_oa) unless _oa['@class']
@privateKey = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@privateKey = Nl::Uva::Sne::Drip::Data::V1::External::Key.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@name = Array.new
@privateKey = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@name.push String.from_json(_item)
@privateKey.push Nl::Uva::Sne::Drip::Data::V1::External::Key.from_json(_item)
else
@name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@privateKey.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@name = _oa
@privateKey = _oa
end
end
if !_o['contents'].nil?
_oa = _o['contents']
if !_o['publicKey'].nil?
_oa = _o['publicKey']
if(_oa.is_a? Hash)
@contents = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@contents = String.from_json(_oa) unless _oa['@class']
@publicKey = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@publicKey = Nl::Uva::Sne::Drip::Data::V1::External::Key.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@contents = Array.new
@publicKey = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@contents.push String.from_json(_item)
@publicKey.push Nl::Uva::Sne::Drip::Data::V1::External::Key.from_json(_item)
else
@contents.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
@publicKey.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@contents = _oa
@publicKey = _oa
end
end
end
# constructs a Script from a (parsed) JSON hash
# constructs a KeyPair from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
......@@ -2640,61 +3011,6 @@ module Data
module V1
module External
# (no documentation provided)
class PlaybookRepresentation < Nl::Uva::Sne::Drip::Data::V1::External::KeyValueHolder
# the json hash for this PlaybookRepresentation
def to_jaxb_json_hash
_h = super
return _h
end
#initializes this PlaybookRepresentation with a json hash
def init_jaxb_json_hash(_o)
super _o
end
# constructs a PlaybookRepresentation from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
# (no documentation provided)
......@@ -2724,13 +3040,13 @@ module External
_oa = _o['ansibleOutputList']
if(_oa.is_a? Hash)
@ansibleOutputList = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@ansibleOutputList = Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleOutput.from_json(_oa) unless _oa['@class']
@ansibleOutputList = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@ansibleOutputList = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@ansibleOutputList.push Nl::Uva::Sne::Drip::Data::V1::External::Ansible::AnsibleOutput.from_json(_item)
@ansibleOutputList.push String.from_json(_item)
else
@ansibleOutputList.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
......@@ -2945,6 +3261,296 @@ module Data
module V1
module External
# (no documentation provided)
class PlaybookRepresentation < Nl::Uva::Sne::Drip::Data::V1::External::KeyValueHolder
# the json hash for this PlaybookRepresentation
def to_jaxb_json_hash
_h = super
return _h
end
#initializes this PlaybookRepresentation with a json hash
def init_jaxb_json_hash(_o)
super _o
end
# constructs a PlaybookRepresentation from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
module Ansible
# (no documentation provided)
class SysbenchCPUBenchmark < Nl::Uva::Sne::Drip::Data::V1::External::Ansible::BenchmarkResult
# the sysbenchVersion
attr_accessor :sysbenchVersion
# the numberOfThreads
attr_accessor :numberOfThreads
# the totalNumberOfEvents
attr_accessor :totalNumberOfEvents
# the executionTime
attr_accessor :executionTime
# the avgEventsPerThread
attr_accessor :avgEventsPerThread
# the stddevEventsPerThread
attr_accessor :stddevEventsPerThread
# the avgExecTimePerThread
attr_accessor :avgExecTimePerThread
# the stddevExecTimePerThread
attr_accessor :stddevExecTimePerThread
# the json hash for this SysbenchCPUBenchmark
def to_jaxb_json_hash
_h = super
_h['sysbenchVersion'] = sysbenchVersion.to_jaxb_json_hash unless sysbenchVersion.nil?
_h['numberOfThreads'] = numberOfThreads.to_jaxb_json_hash unless numberOfThreads.nil?
_h['totalNumberOfEvents'] = totalNumberOfEvents.to_jaxb_json_hash unless totalNumberOfEvents.nil?
_h['executionTime'] = executionTime.to_jaxb_json_hash unless executionTime.nil?
_h['avgEventsPerThread'] = avgEventsPerThread.to_jaxb_json_hash unless avgEventsPerThread.nil?
_h['stddevEventsPerThread'] = stddevEventsPerThread.to_jaxb_json_hash unless stddevEventsPerThread.nil?
_h['avgExecTimePerThread'] = avgExecTimePerThread.to_jaxb_json_hash unless avgExecTimePerThread.nil?
_h['stddevExecTimePerThread'] = stddevExecTimePerThread.to_jaxb_json_hash unless stddevExecTimePerThread.nil?
return _h
end
#initializes this SysbenchCPUBenchmark with a json hash
def init_jaxb_json_hash(_o)
super _o
if !_o['sysbenchVersion'].nil?
_oa = _o['sysbenchVersion']
if(_oa.is_a? Hash)
@sysbenchVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@sysbenchVersion = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@sysbenchVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@sysbenchVersion.push String.from_json(_item)
else
@sysbenchVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@sysbenchVersion = _oa
end
end
if !_o['numberOfThreads'].nil?
_oa = _o['numberOfThreads']
if(_oa.is_a? Hash)
@numberOfThreads = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@numberOfThreads = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@numberOfThreads = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@numberOfThreads.push Fixnum.from_json(_item)
else
@numberOfThreads.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@numberOfThreads = _oa
end
end
if !_o['totalNumberOfEvents'].nil?
_oa = _o['totalNumberOfEvents']
if(_oa.is_a? Hash)
@totalNumberOfEvents = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@totalNumberOfEvents = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@totalNumberOfEvents = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@totalNumberOfEvents.push Fixnum.from_json(_item)
else
@totalNumberOfEvents.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@totalNumberOfEvents = _oa
end
end
if !_o['executionTime'].nil?
_oa = _o['executionTime']
if(_oa.is_a? Hash)
@executionTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@executionTime = Float.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@executionTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@executionTime.push Float.from_json(_item)
else
@executionTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@executionTime = _oa
end
end
if !_o['avgEventsPerThread'].nil?
_oa = _o['avgEventsPerThread']
if(_oa.is_a? Hash)
@avgEventsPerThread = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@avgEventsPerThread = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@avgEventsPerThread = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@avgEventsPerThread.push Fixnum.from_json(_item)
else
@avgEventsPerThread.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@avgEventsPerThread = _oa
end
end
if !_o['stddevEventsPerThread'].nil?
_oa = _o['stddevEventsPerThread']
if(_oa.is_a? Hash)
@stddevEventsPerThread = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@stddevEventsPerThread = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@stddevEventsPerThread = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@stddevEventsPerThread.push Fixnum.from_json(_item)
else
@stddevEventsPerThread.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@stddevEventsPerThread = _oa
end
end
if !_o['avgExecTimePerThread'].nil?
_oa = _o['avgExecTimePerThread']
if(_oa.is_a? Hash)
@avgExecTimePerThread = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@avgExecTimePerThread = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@avgExecTimePerThread = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@avgExecTimePerThread.push Fixnum.from_json(_item)
else
@avgExecTimePerThread.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@avgExecTimePerThread = _oa
end
end
if !_o['stddevExecTimePerThread'].nil?
_oa = _o['stddevExecTimePerThread']
if(_oa.is_a? Hash)
@stddevExecTimePerThread = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
@stddevExecTimePerThread = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
@stddevExecTimePerThread = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
@stddevExecTimePerThread.push Fixnum.from_json(_item)
else
@stddevExecTimePerThread.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
@stddevExecTimePerThread = _oa
end
end
end
# constructs a SysbenchCPUBenchmark from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
else
inst = new
inst.init_jaxb_json_hash o
return inst
end
end
end
end
end
end
end
end
end
end
end
module Nl
module Uva
module Sne
module Drip
module Data
module V1
module External
# (no documentation provided)
......
......@@ -146,12 +146,14 @@ used by the planner.</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/deploy</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/ids</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/sample</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/sysbench</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/{id}</span>
</samp></li></ul></td>
<td class="text-nowrap"><ul class="list-unstyled"><li><samp> <span class="label label-default resource-method">DELETE</span>
</samp></li><li><samp> <span class="label label-default resource-method">POST</span>
</samp></li><li><samp> <span class="label label-default resource-method">GET</span>
</samp></li><li><samp> <span class="label label-default resource-method">GET</span>
</samp></li><li><samp> <span class="label label-default resource-method">GET</span>
</samp></li><li><samp> <span class="label label-default resource-method">DELETE</span> <span class="label label-default resource-method">GET</span>
</samp></li></ul></td>
<td> <span class="resource-description">This controller is responsible for deploying a cluster on provisoned
......@@ -362,7 +364,8 @@ used by the provisoner to run on the created VMs.</span>
<tr class="clickable-row" data-href="json_AnsibleOutput.html">
<td> <span class="datatype-name">AnsibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
<td> <span class="datatype-description">This is the base class for users to own resources. Many classes extend this
class</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_AnsibleResult.html">
......@@ -375,6 +378,12 @@ used by the provisoner to run on the created VMs.</span>
<td> <span class="datatype-name">AnsibleResult_</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_BenchmarkResult.html">
<td> <span class="datatype-name">BenchmarkResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_CloudCredentials.html">
......@@ -483,6 +492,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">Script</span>
</td>
<td> <span class="datatype-description">This class represents a simple script that can run on a provisioned VM.</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_SysbenchCPUBenchmark.html">
<td> <span class="datatype-name">SysbenchCPUBenchmark</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_ToscaRepresentation.html">
......@@ -688,7 +703,8 @@ provisioner to request for cloud resources.</span>
<tr class="clickable-row" data-href="xml_ns0_ansibleOutput.html">
<td> <span class="datatype-name">ansibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
<td> <span class="datatype-description">This is the base class for users to own resources. Many classes extend this
class</span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleResult.html">
......@@ -701,6 +717,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">ansibleResult_</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_benchmarkResult.html">
<td> <span class="datatype-name">benchmarkResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_invocation.html">
......@@ -713,6 +735,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">moduleArgs</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_sysbenchCPUBenchmark.html">
<td> <span class="datatype-name">sysbenchCPUBenchmark</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
</tbody>
......
......@@ -64,7 +64,8 @@
<h1 class="page-header">AnsibleOutput <small>Data Type</small></h1>
<p></p>
<p>This is the base class for users to own resources. Many classes extend this
class</p>
<dl class="dl-horizontal">
</dl>
......@@ -96,6 +97,43 @@
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">vmType</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">cloudDeploymentDomain</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_OwnedObject.html">OwnedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr>
</tbody>
</table>
......@@ -107,6 +145,13 @@
&quot;result&quot; : {
&quot;msg&quot; : &quot;...&quot;,
&quot;changed&quot; : true,
&quot;end&quot; : &quot;...&quot;,
&quot;start&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;stdout&quot; : &quot;...&quot;,
&quot;stderr&quot; : &quot;...&quot;,
&quot;cmd&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;stdout_lines&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;results&quot; : [ {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
......@@ -126,7 +171,11 @@
&quot;cache_update_time&quot; : 12345,
&quot;_ansible_no_log&quot; : true
} ]
}
},
&quot;vmType&quot; : &quot;...&quot;,
&quot;cloudDeploymentDomain&quot; : &quot;...&quot;,
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre>
<footer class="footer">
......
......@@ -93,6 +93,69 @@
</td>
<td> <span class="datatype-reference">boolean
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">end</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">start</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">delta</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">stdout</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">stderr</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">cmd</span>
</td>
<td> <span class="datatype-reference">array of string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">stdout_lines</span>
</td>
<td> <span class="datatype-reference">array of string
</span>
</td>
<td> <span class="property-description"></span>
</td>
......@@ -114,6 +177,13 @@
<pre class="prettyprint language-js example">{
&quot;msg&quot; : &quot;...&quot;,
&quot;changed&quot; : true,
&quot;end&quot; : &quot;...&quot;,
&quot;start&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;stdout&quot; : &quot;...&quot;,
&quot;stderr&quot; : &quot;...&quot;,
&quot;cmd&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;stdout_lines&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;results&quot; : [ {
&quot;_ansible_parsed&quot; : true,
&quot;changed&quot; : true,
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: BenchmarkResult</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: BenchmarkResult</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_BenchmarkResult.html">BenchmarkResult</a></li>
</ol>
<h1 class="page-header">BenchmarkResult <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
<dt>Subtypes</dt>
<dd><a href="json_SysbenchCPUBenchmark.html">SysbenchCPUBenchmark</a></dd>
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">end</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">start</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">delta</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">host</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">cloudProvider</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_OwnedObject.html">OwnedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;end&quot; : &quot;...&quot;,
&quot;start&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;host&quot; : &quot;...&quot;,
&quot;cloudProvider&quot; : &quot;...&quot;,
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
......@@ -84,7 +84,7 @@ pair is only used by kubernetes</p>
<tr>
<td> <span class="property-name">ansibleOutputList</span>
</td>
<td> <span class="datatype-reference">array of <a href="json_AnsibleOutput.html">AnsibleOutput</a>
<td> <span class="datatype-reference">array of string
</span>
</td>
<td> <span class="property-description"></span>
......@@ -149,21 +149,7 @@ object is saved.</span></td>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;ansibleOutputList&quot; : [ {
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;msg&quot; : &quot;...&quot;,
&quot;changed&quot; : true,
&quot;results&quot; : [ { }, { } ]
}
}, {
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;msg&quot; : &quot;...&quot;,
&quot;changed&quot; : true,
&quot;results&quot; : [ { }, { } ]
}
} ],
&quot;ansibleOutputList&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;keyPair&quot; : {
&quot;privateKey&quot; : {
&quot;name&quot; : &quot;id_dsa.pub&quot;,
......
......@@ -69,7 +69,7 @@ class</p>
<dl class="dl-horizontal">
<dt>Subtypes</dt>
<dd><a href="json_DeployRequest.html">DeployRequest</a>, <a href="json_KeyPair.html">KeyPair</a>, <a href="json_ProvisionRequest.html">ProvisionRequest</a>, <a href="json_PlanResponse.html">PlanResponse</a>, <a href="json_KeyValueHolder.html">KeyValueHolder</a>, <a href="json_PlaybookRepresentation.html">PlaybookRepresentation</a>, <a href="json_ProvisionResponse.html">ProvisionResponse</a>, <a href="json_Script.html">Script</a>, <a href="json_DeployResponse.html">DeployResponse</a>, <a href="json_ToscaRepresentation.html">ToscaRepresentation</a>, <a href="json_CloudCredentials.html">CloudCredentials</a></dd>
<dd><a href="json_DeployRequest.html">DeployRequest</a>, <a href="json_KeyPair.html">KeyPair</a>, <a href="json_ProvisionRequest.html">ProvisionRequest</a>, <a href="json_AnsibleOutput.html">AnsibleOutput</a>, <a href="json_SysbenchCPUBenchmark.html">SysbenchCPUBenchmark</a>, <a href="json_KeyValueHolder.html">KeyValueHolder</a>, <a href="json_PlanResponse.html">PlanResponse</a>, <a href="json_PlaybookRepresentation.html">PlaybookRepresentation</a>, <a href="json_Script.html">Script</a>, <a href="json_ProvisionResponse.html">ProvisionResponse</a>, <a href="json_DeployResponse.html">DeployResponse</a>, <a href="json_BenchmarkResult.html">BenchmarkResult</a>, <a href="json_ToscaRepresentation.html">ToscaRepresentation</a>, <a href="json_CloudCredentials.html">CloudCredentials</a></dd>
</dl>
<table class="table datatype-properties">
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: SysbenchCPUBenchmark</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: SysbenchCPUBenchmark</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_json.html">JSON</a></li>
<li class="dropdown"><a href="json_SysbenchCPUBenchmark.html">SysbenchCPUBenchmark</a></li>
</ol>
<h1 class="page-header">SysbenchCPUBenchmark <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">sysbenchVersion</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">numberOfThreads</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">totalNumberOfEvents</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">executionTime</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">avgEventsPerThread</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">stddevEventsPerThread</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">avgExecTimePerThread</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
<tr>
<td> <span class="property-name">stddevExecTimePerThread</span>
</td>
<td> <span class="datatype-reference">number
</span>
</td>
<td> <span class="property-description"></span>
</td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_BenchmarkResult.html">BenchmarkResult</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">end</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr>
<tr>
<td><span class="property-name">start</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr>
<tr>
<td><span class="property-name">delta</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr>
<tr>
<td><span class="property-name">host</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr>
<tr>
<td><span class="property-name">cloudProvider</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description"></span></td>
</tr>
</tbody>
<tr>
<td colspan="3"><h5 class="text-muted">Properties inherited from <a href="json_OwnedObject.html">OwnedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
<tr>
<td><span class="property-name">id</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-description">The UID of this object. This value is auto generated by the DAO when the
object is saved.</span></td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-js example">{
&quot;sysbenchVersion&quot; : &quot;...&quot;,
&quot;numberOfThreads&quot; : 12345,
&quot;totalNumberOfEvents&quot; : 12345,
&quot;executionTime&quot; : 12345.0,
&quot;avgEventsPerThread&quot; : 12345,
&quot;stddevEventsPerThread&quot; : 12345,
&quot;avgExecTimePerThread&quot; : 12345,
&quot;stddevExecTimePerThread&quot; : 12345,
&quot;end&quot; : &quot;...&quot;,
&quot;start&quot; : &quot;...&quot;,
&quot;delta&quot; : &quot;...&quot;,
&quot;host&quot; : &quot;...&quot;,
&quot;cloudProvider&quot; : &quot;...&quot;,
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
}</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
......@@ -371,7 +371,7 @@ pair is only used by kubernetes]]>
<xs:complexContent>
<xs:extension base="deployRequest">
<xs:sequence>
<xs:element name="ansibleOutputList" type="ansibleOutput" minOccurs="0" maxOccurs="unbounded">
<xs:element name="ansibleOutputList" type="xs:string" minOccurs="0" maxOccurs="unbounded">
</xs:element>
</xs:sequence>
</xs:extension>
......@@ -714,12 +714,26 @@ saves this object]]>
</xs:complexType>
<xs:complexType name="ansibleOutput">
<xs:sequence>
<xs:annotation>
<xs:documentation>
<![CDATA[This is the base class for users to own resources. Many classes extend this
class]]>
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ownedObject">
<xs:sequence>
<xs:element name="host" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="ansiibleResult" type="ansibleResult" minOccurs="0">
</xs:element>
<xs:element name="cloudDeploymentDomain" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="vmType" type="xs:string" minOccurs="0">
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ansibleResult">
......@@ -730,6 +744,20 @@ saves this object]]>
</xs:element>
<xs:element name="ansibleResults" type="ansibleResult_" minOccurs="0" maxOccurs="unbounded">
</xs:element>
<xs:element name="end" type="xs:dateTime" minOccurs="0">
</xs:element>
<xs:element name="stdout" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="cmd" type="xs:string" minOccurs="0" maxOccurs="unbounded">
</xs:element>
<xs:element name="start" type="xs:dateTime" minOccurs="0">
</xs:element>
<xs:element name="stderr" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="delta" type="xs:dateTime" minOccurs="0">
</xs:element>
<xs:element name="stdout_lines" type="xs:string" minOccurs="0" maxOccurs="unbounded">
</xs:element>
</xs:sequence>
</xs:complexType>
......@@ -754,6 +782,25 @@ saves this object]]>
</xs:sequence>
</xs:complexType>
<xs:complexType name="benchmarkResult">
<xs:complexContent>
<xs:extension base="ownedObject">
<xs:sequence>
<xs:element name="host" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="cloudProvider" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="end" type="xs:dateTime" minOccurs="0">
</xs:element>
<xs:element name="start" type="xs:dateTime" minOccurs="0">
</xs:element>
<xs:element name="delta" type="xs:dateTime" minOccurs="0">
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="invocation">
<xs:sequence>
<xs:element name="moduleName" type="xs:string" minOccurs="0">
......@@ -798,4 +845,29 @@ saves this object]]>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sysbenchCPUBenchmark">
<xs:complexContent>
<xs:extension base="benchmarkResult">
<xs:sequence>
<xs:element name="sysbenchVersion" type="xs:string" minOccurs="0">
</xs:element>
<xs:element name="numberOfThreads" type="xs:int" minOccurs="1">
</xs:element>
<xs:element name="totalNumberOfEvents" type="xs:int" minOccurs="1">
</xs:element>
<xs:element name="executionTime" type="xs:double" minOccurs="1">
</xs:element>
<xs:element name="avgEventsPerThread" type="xs:int" minOccurs="1">
</xs:element>
<xs:element name="stddevEventsPerThread" type="xs:int" minOccurs="1">
</xs:element>
<xs:element name="avgExecTimePerThread" type="xs:int" minOccurs="1">
</xs:element>
<xs:element name="stddevExecTimePerThread" type="xs:int" minOccurs="1">
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
\ No newline at end of file
......@@ -55,6 +55,7 @@
<li><a href="#resource_DeployController_deploy_POST"><abbr title="POST /user/v1.0/deployer/deploy">POST /user/v1.0/deployer/deplo...</abbr></a></li>
<li><a href="#resource_DeployController_getIds_GET">GET /user/v1.0/deployer/ids</a></li>
<li><a href="#resource_DeployController_sample_GET">GET /user/v1.0/deployer/sample</a></li>
<li><a href="#resource_DeployController_getSysbenchOutputs_GET"><abbr title="GET /user/v1.0/deployer/sysbench">GET /user/v1.0/deployer/sysben...</abbr></a></li>
<li><a href="#resource_DeployController_delete_DELETE"><abbr title="DELETE /user/v1.0/deployer/{id}">DELETE /user/v1.0/deployer/{id...</abbr></a></li>
<li><a href="#resource_DeployController_get_GET">GET /user/v1.0/deployer/{id}</a></li>
<li class="divider"></li>
......@@ -408,6 +409,109 @@ Content-Type: application/json
</div>
</div>
<div id="resource_DeployController_getSysbenchOutputs_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/user/v1.0/deployer/sysbench <a href="../user/v1.0/deployer/sysbench" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<dl class="dl-horizontal">
<dt>Security Roles Allowed</dt>
<dd>ADMIN, USER</dd>
</dl>
<table class="table resource-response-codes">
<caption>Response Codes</caption>
<thead>
<tr>
<th>code</th>
<th>condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="label label-warning response-code">401</span></td>
<td><span class="response-condition">Bad credentials</span></td>
</tr>
</tbody>
</table>
<table class="table resource-response-body">
<caption>Response Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Accept: application/json&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">application/json</span></abbr></td>
<td><span class="datatype-reference">array of <a href="json_DeployResponse.html">DeployResponse</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Accept: application/xml&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">application/xml</span></abbr></td>
<td><span class="datatype-reference">list of <a href="xml_ns0_deployResponse.html">deployResponse</a>
(XML)</span></td>
</tr>
</tbody>
</table>
<h4>Example</h4>
<div class="container-fluid example panel">
<div class="row panel-body">
<div class="col-md-6">
<h5>Request</h5>
<pre>
GET /user/v1.0/deployer/sysbench
Accept: application/json
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 200 Looks Good
Content-Type: application/json
<code class="prettyprint language-js">
[ {
&quot;ansibleOutputList&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;keyPair&quot; : {
&quot;privateKey&quot; : {
&quot;name&quot; : &quot;id_dsa.pub&quot;,
&quot;type&quot; : &quot;PRIVATE&quot;,
&quot;attributes&quot; : {
&quot;property1&quot; : &quot;domain_name:Virginia&quot;,
&quot;property2&quot; : &quot;domain_name:Virginia&quot;
},
&quot;key&quot; : &quot;-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAm6AALYxkJFNzD3bfVJ4+hMY5j0/kqM9CURLKXMlYuAysnvoG8wZKx9Bedefm\\neNSse4zTg798ZA2kDMZFIrwp1AseTwtj8DDu5fhG5DjyI3g6iJltS5zFQdMXneDlHXBX8cncSzNY\\nRx0NdjEMAe7YttvI8FNlxL0VnMFli/HB/ftzYMe5+AmkSROncVGHiwoiUpj+vtobCFOYtXsCf6ri\\nd4lgWA5wv6DZT/JKCYymiBqgSXu3ueFcEzw5SAukARWVjn1xccjZkokFfBbO/FpYY00TrUTBw9S6\\nD3iM+gj8RT6EKILOmhrt71D21S95WAWIT7h2YBsy1KAvMixhNf9VaQIDAQABAoIBAHhVYK3Xl3tr\\nN1Xm0ctJTQg3ijxhR2qsUBgGUokqezpdOoD2zbbOz7XvTYsX1GLr967U9pwxzUpELexexwiTvDgk\\nnLv8D7ui6qbRsmc4DSsWBRSophVIVFKQmftO8Xow6x+fuYJAYmsicM1KIYHBILtL+PSzV8anenWq\\nKQ3r0tfCiQhEzKEk4b1uT3SJWQyHE++JAhVkO7lIeb6S9Dg1jAaAeMnJ/NiMxTarpPRnxe6hsTsH\\ngG1iKWo+Skcl4SknOc+CMEfyDjG4FL7MGhKduahsO8vMUrgGsDD7EH3NiX/FweB8La6qpDYAwFpC\\nycrooyhiyzw8Wb5gGaYnmvr9l70CgYEAx74O8JleXaHpxEAmh4h7VbLmJ3mOylfBmOdzcHeedJQw\\nack2SAv65WBI9S9MEQ7J/vFuyw5HNk3C/mcWgzDQXSNIhHLvl/Z9sux/Qpm3SQWLzBxKV3dJ4r\\nwcAxzVA93+/L1Nee+VOKnlyRumvVa6+XLsLagpap2AVcTqlerMcCgYEAx3T2pXtqkCE9eU/ov22r\\npdaKjgHoGOUg1CMEfWi/Ch6sYIIRyrHz6dhy+yR1pXNgPbLWdrn8l88F3+IsmbaMupMgRmqwEC3G\\n9Y2FglGIVvRdZaagvRxLzRCcvcN4v6OYs9ST4o1xlv7Qxphld+0XDKv7VSCv/rASuK8BqlFL3E8C\\ngYArMXJRnRjG7qh6g9TRIjZphdI3XxX9s5Rt2D8iZvuhAhqmBZjzY4PR7kxYmO2+EpCjzNnEl0XW\\n/GHaWbiIjhnAykx4N9KP7gGom3O5lzwHUme1XnFKcO2wDjQwJbufRmba8iQF1srN577mF+Z7ha4V\\nJ1duCTzvWF1KFX6sk/uhKQKBgAcDFai7rgNjJ8YcCRKxyFcMM9LKPl6hr4XFtWKzTAQPEABUkkuN\\n9gVClsg9f+VRKRECOIf0Ae1UWeCFEwxUXp4wjfHrzkTDVztKvmbWdvSXorDwKrZ7SC7tZpVFSfly\\nxuuLjadpUZT9YFmbAfY1X5oSccOMYqORjRbxEB3svb4BAoGAGTgFuq9Zojh/KIqY8b4HpEfmh6CQ\\nhLVfD98Nqd6GDbxgvIM0v4mFXE92x2jn35Ia0JdFyh3B8Vkl7sqQZfxDFXI9O9pte2mxY9ICaY\\n55+X/SN1pd53BH+gaPZJy/R+Vpvs5MN48hoUKy5UKpoFeUWrS5QArjtvNCm4SGlXw=\\n-----END RSA PRIVATE KEY-----\\n&quot;
},
&quot;publicKey&quot; : {
&quot;name&quot; : &quot;id_dsa.pub&quot;,
&quot;type&quot; : &quot;PRIVATE&quot;,
&quot;attributes&quot; : {
&quot;property1&quot; : &quot;domain_name:Virginia&quot;,
&quot;property2&quot; : &quot;domain_name:Virginia&quot;
},
&quot;key&quot; : &quot;-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAm6AALYxkJFNzD3bfVJ4+hMY5j0/kqM9CURLKXMlYuAysnvoG8wZKx9Bedefm\\neNSse4zTg798ZA2kDMZFIrwp1AseTwtj8DDu5fhG5DjyI3g6iJltS5zFQdMXneDlHXBX8cncSzNY\\nRx0NdjEMAe7YttvI8FNlxL0VnMFli/HB/ftzYMe5+AmkSROncVGHiwoiUpj+vtobCFOYtXsCf6ri\\nd4lgWA5wv6DZT/JKCYymiBqgSXu3ueFcEzw5SAukARWVjn1xccjZkokFfBbO/FpYY00TrUTBw9S6\\nD3iM+gj8RT6EKILOmhrt71D21S95WAWIT7h2YBsy1KAvMixhNf9VaQIDAQABAoIBAHhVYK3Xl3tr\\nN1Xm0ctJTQg3ijxhR2qsUBgGUokqezpdOoD2zbbOz7XvTYsX1GLr967U9pwxzUpELexexwiTvDgk\\nnLv8D7ui6qbRsmc4DSsWBRSophVIVFKQmftO8Xow6x+fuYJAYmsicM1KIYHBILtL+PSzV8anenWq\\nKQ3r0tfCiQhEzKEk4b1uT3SJWQyHE++JAhVkO7lIeb6S9Dg1jAaAeMnJ/NiMxTarpPRnxe6hsTsH\\ngG1iKWo+Skcl4SknOc+CMEfyDjG4FL7MGhKduahsO8vMUrgGsDD7EH3NiX/FweB8La6qpDYAwFpC\\nycrooyhiyzw8Wb5gGaYnmvr9l70CgYEAx74O8JleXaHpxEAmh4h7VbLmJ3mOylfBmOdzcHeedJQw\\nack2SAv65WBI9S9MEQ7J/vFuyw5HNk3C/mcWgzDQXSNIhHLvl/Z9sux/Qpm3SQWLzBxKV3dJ4r\\nwcAxzVA93+/L1Nee+VOKnlyRumvVa6+XLsLagpap2AVcTqlerMcCgYEAx3T2pXtqkCE9eU/ov22r\\npdaKjgHoGOUg1CMEfWi/Ch6sYIIRyrHz6dhy+yR1pXNgPbLWdrn8l88F3+IsmbaMupMgRmqwEC3G\\n9Y2FglGIVvRdZaagvRxLzRCcvcN4v6OYs9ST4o1xlv7Qxphld+0XDKv7VSCv/rASuK8BqlFL3E8C\\ngYArMXJRnRjG7qh6g9TRIjZphdI3XxX9s5Rt2D8iZvuhAhqmBZjzY4PR7kxYmO2+EpCjzNnEl0XW\\n/GHaWbiIjhnAykx4N9KP7gGom3O5lzwHUme1XnFKcO2wDjQwJbufRmba8iQF1srN577mF+Z7ha4V\\nJ1duCTzvWF1KFX6sk/uhKQKBgAcDFai7rgNjJ8YcCRKxyFcMM9LKPl6hr4XFtWKzTAQPEABUkkuN\\n9gVClsg9f+VRKRECOIf0Ae1UWeCFEwxUXp4wjfHrzkTDVztKvmbWdvSXorDwKrZ7SC7tZpVFSfly\\nxuuLjadpUZT9YFmbAfY1X5oSccOMYqORjRbxEB3svb4BAoGAGTgFuq9Zojh/KIqY8b4HpEfmh6CQ\\nhLVfD98Nqd6GDbxgvIM0v4mFXE92x2jn35Ia0JdFyh3B8Vkl7sqQZfxDFXI9O9pte2mxY9ICaY\\n55+X/SN1pd53BH+gaPZJy/R+Vpvs5MN48hoUKy5UKpoFeUWrS5QArjtvNCm4SGlXw=\\n-----END RSA PRIVATE KEY-----\\n&quot;
},
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
},
&quot;provisionID&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;,
&quot;managerType&quot; : &quot;ansible&quot;,
&quot;configurationID&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;,
&quot;owner&quot; : &quot;user1&quot;,
&quot;id&quot; : &quot;58e3946e0fb4f562d84ba1ad&quot;
} ]
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_DeployController_delete_DELETE">
<h3><span class="label label-default resource-method">DELETE</span> <span class="resource-path">/user/v1.0/deployer/{id} <a href="../user/v1.0/deployer/{id}" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
......@@ -585,21 +689,7 @@ Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;ansibleOutputList&quot; : [ {
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;msg&quot; : &quot;...&quot;,
&quot;changed&quot; : true,
&quot;results&quot; : [ { }, { } ]
}
}, {
&quot;host&quot; : &quot;...&quot;,
&quot;result&quot; : {
&quot;msg&quot; : &quot;...&quot;,
&quot;changed&quot; : true,
&quot;results&quot; : [ { }, { } ]
}
} ],
&quot;ansibleOutputList&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;keyPair&quot; : {
&quot;privateKey&quot; : {
&quot;name&quot; : &quot;id_dsa.pub&quot;,
......
......@@ -138,12 +138,14 @@ used by the planner.</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/deploy</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/ids</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/sample</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/sysbench</span>
</samp></li><li><samp> <span class="resource-path">/user/v1.0/deployer/{id}</span>
</samp></li></ul></td>
<td class="text-nowrap"><ul class="list-unstyled"><li><samp> <span class="label label-default resource-method">DELETE</span>
</samp></li><li><samp> <span class="label label-default resource-method">POST</span>
</samp></li><li><samp> <span class="label label-default resource-method">GET</span>
</samp></li><li><samp> <span class="label label-default resource-method">GET</span>
</samp></li><li><samp> <span class="label label-default resource-method">GET</span>
</samp></li><li><samp> <span class="label label-default resource-method">DELETE</span> <span class="label label-default resource-method">GET</span>
</samp></li></ul></td>
<td> <span class="resource-description">This controller is responsible for deploying a cluster on provisoned
......
......@@ -74,7 +74,8 @@
<tr class="clickable-row" data-href="json_AnsibleOutput.html">
<td> <span class="datatype-name">AnsibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
<td> <span class="datatype-description">This is the base class for users to own resources. Many classes extend this
class</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_AnsibleResult.html">
......@@ -87,6 +88,12 @@
<td> <span class="datatype-name">AnsibleResult_</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_BenchmarkResult.html">
<td> <span class="datatype-name">BenchmarkResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_CloudCredentials.html">
......@@ -195,6 +202,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">Script</span>
</td>
<td> <span class="datatype-description">This class represents a simple script that can run on a provisioned VM.</span>
</td>
</tr>
<tr class="clickable-row" data-href="json_SysbenchCPUBenchmark.html">
<td> <span class="datatype-name">SysbenchCPUBenchmark</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="json_ToscaRepresentation.html">
......
......@@ -249,7 +249,8 @@ provisioner to request for cloud resources.</span>
<tr class="clickable-row" data-href="xml_ns0_ansibleOutput.html">
<td> <span class="datatype-name">ansibleOutput</span>
</td>
<td> <span class="datatype-description"></span>
<td> <span class="datatype-description">This is the base class for users to own resources. Many classes extend this
class</span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_ansibleResult.html">
......@@ -262,6 +263,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">ansibleResult_</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_benchmarkResult.html">
<td> <span class="datatype-name">benchmarkResult</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_invocation.html">
......@@ -274,6 +281,12 @@ provisioner to request for cloud resources.</span>
<td> <span class="datatype-name">moduleArgs</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
<tr class="clickable-row" data-href="xml_ns0_sysbenchCPUBenchmark.html">
<td> <span class="datatype-name">sysbenchCPUBenchmark</span>
</td>
<td> <span class="datatype-description"></span>
</td>
</tr>
</tbody>
......
......@@ -64,7 +64,8 @@
<h1 class="page-header">ansibleOutput <small>Data Type</small></h1>
<p></p>
<p>This is the base class for users to own resources. Many classes extend this
class</p>
<dl class="dl-horizontal">
<dt>Namespace</dt>
......@@ -100,6 +101,24 @@
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">cloudDeploymentDomain</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
......@@ -121,6 +140,42 @@
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">vmType</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
</tbody>
<tr>
<td colspan="6"><h5 class="text-muted">Properties inherited from <a href="xml_ns0_ownedObject.html">ownedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-type">element
</span></td>
<td><span class="property-namespaceInfo">
</span></td>
<td><span class="property-minMaxOccurs">0/1
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
</tbody>
</table>
......@@ -142,7 +197,17 @@
&lt;invocation/&gt;
&lt;cacheUpdateTime&gt;...&lt;/cacheUpdateTime&gt;
&lt;/ansibleResults&gt;
&lt;end&gt;...&lt;/end&gt;
&lt;stdout&gt;...&lt;/stdout&gt;
&lt;cmd&gt;...&lt;/cmd&gt;
&lt;start&gt;...&lt;/start&gt;
&lt;stderr&gt;...&lt;/stderr&gt;
&lt;delta&gt;...&lt;/delta&gt;
&lt;stdout_lines&gt;...&lt;/stdout_lines&gt;
&lt;/ansiibleResult&gt;
&lt;cloudDeploymentDomain&gt;...&lt;/cloudDeploymentDomain&gt;
&lt;vmType&gt;...&lt;/vmType&gt;
&lt;owner&gt;user1&lt;/owner&gt;
&lt;/a-----&gt;
</pre>
......
......@@ -118,6 +118,60 @@
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">cmd</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/unbounded
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">delta</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">end</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
......@@ -136,6 +190,78 @@
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">start</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">stderr</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">stdout</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
</tr>
<tr>
<td> <span class="property-name">stdout_lines</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/unbounded
</span>
</td>
<td> <span class="property-description">&nbsp;</span>
</td>
......@@ -161,6 +287,13 @@
&lt;/invocation&gt;
&lt;cacheUpdateTime&gt;...&lt;/cacheUpdateTime&gt;
&lt;/ansibleResults&gt;
&lt;end&gt;...&lt;/end&gt;
&lt;stdout&gt;...&lt;/stdout&gt;
&lt;cmd&gt;...&lt;/cmd&gt;
&lt;start&gt;...&lt;/start&gt;
&lt;stderr&gt;...&lt;/stderr&gt;
&lt;delta&gt;...&lt;/delta&gt;
&lt;stdout_lines&gt;...&lt;/stdout_lines&gt;
&lt;/a-----&gt;
</pre>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: benchmarkResult</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: benchmarkResult</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_xml.html">XML</a></li>
<li class="dropdown"><a href="xml_ns0_benchmarkResult.html">benchmarkResult</a></li>
</ol>
<h1 class="page-header">benchmarkResult <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
<dt>Namespace</dt>
<dd>(Default)</dd>
<dt>Schema</dt>
<dd><a href="ns0.xsd">ns0.xsd</a></dd>
<dt>Subtypes</dt>
<dd><a href="xml_ns0_sysbenchCPUBenchmark.html">sysbenchCPUBenchmark</a></dd>
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>type</th>
<th>namespace</th>
<th>min/max occurs</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">cloudProvider</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">the cloudProvider</span>
</td>
</tr>
<tr>
<td> <span class="property-name">delta</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">the delta</span>
</td>
</tr>
<tr>
<td> <span class="property-name">end</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">the end</span>
</td>
</tr>
<tr>
<td> <span class="property-name">host</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">the host</span>
</td>
</tr>
<tr>
<td> <span class="property-name">start</span>
</td>
<td> <span class="datatype-reference">dateTime
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">the start</span>
</td>
</tr>
</tbody>
<tr>
<td colspan="6"><h5 class="text-muted">Properties inherited from <a href="xml_ns0_ownedObject.html">ownedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-type">element
</span></td>
<td><span class="property-namespaceInfo">
</span></td>
<td><span class="property-minMaxOccurs">0/1
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;b-----&gt;
&lt;host&gt;...&lt;/host&gt;
&lt;cloudProvider&gt;...&lt;/cloudProvider&gt;
&lt;end&gt;...&lt;/end&gt;
&lt;start&gt;...&lt;/start&gt;
&lt;delta&gt;...&lt;/delta&gt;
&lt;owner&gt;user1&lt;/owner&gt;
&lt;/b-----&gt;
</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
......@@ -91,7 +91,7 @@ pair is only used by kubernetes</p>
<tr>
<td> <span class="property-name">ansibleOutputList</span>
</td>
<td> <span class="datatype-reference"><a href="xml_ns0_ansibleOutput.html">ansibleOutput</a>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
......@@ -173,14 +173,7 @@ the DAO saves the object based on the principal how made the call</span></td>
<p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;d-----&gt;
&lt;ansibleOutputList&gt;
&lt;host&gt;...&lt;/host&gt;
&lt;ansiibleResult&gt;
&lt;msg&gt;...&lt;/msg&gt;
&lt;changed&gt;...&lt;/changed&gt;
&lt;ansibleResults/&gt;
&lt;/ansiibleResult&gt;
&lt;/ansibleOutputList&gt;
&lt;ansibleOutputList&gt;...&lt;/ansibleOutputList&gt;
&lt;provisionID&gt;58e3946e0fb4f562d84ba1ad&lt;/provisionID&gt;
&lt;managerType&gt;ansible&lt;/managerType&gt;
&lt;configurationID&gt;58e3946e0fb4f562d84ba1ad&lt;/configurationID&gt;
......
......@@ -73,7 +73,7 @@ class</p>
<dt>Schema</dt>
<dd><a href="ns0.xsd">ns0.xsd</a></dd>
<dt>Subtypes</dt>
<dd><a href="xml_ns0_cloudCredentials.html">cloudCredentials</a>, <a href="xml_ns0_deployRequest.html">deployRequest</a>, <a href="xml_ns0_deployResponse.html">deployResponse</a>, <a href="xml_ns0_keyPair.html">keyPair</a>, <a href="xml_ns0_keyValueHolder.html">keyValueHolder</a>, <a href="xml_ns0_planResponse.html">planResponse</a>, <a href="xml_ns0_playbookRepresentation.html">playbookRepresentation</a>, <a href="xml_ns0_provisionRequest.html">provisionRequest</a>, <a href="xml_ns0_provisionResponse.html">provisionResponse</a>, <a href="xml_ns0_script.html">script</a>, <a href="xml_ns0_toscaRepresentation.html">toscaRepresentation</a></dd>
<dd><a href="xml_ns0_cloudCredentials.html">cloudCredentials</a>, <a href="xml_ns0_deployRequest.html">deployRequest</a>, <a href="xml_ns0_deployResponse.html">deployResponse</a>, <a href="xml_ns0_keyPair.html">keyPair</a>, <a href="xml_ns0_keyValueHolder.html">keyValueHolder</a>, <a href="xml_ns0_planResponse.html">planResponse</a>, <a href="xml_ns0_playbookRepresentation.html">playbookRepresentation</a>, <a href="xml_ns0_provisionRequest.html">provisionRequest</a>, <a href="xml_ns0_provisionResponse.html">provisionResponse</a>, <a href="xml_ns0_script.html">script</a>, <a href="xml_ns0_toscaRepresentation.html">toscaRepresentation</a>, <a href="xml_ns0_ansibleOutput.html">ansibleOutput</a>, <a href="xml_ns0_benchmarkResult.html">benchmarkResult</a>, <a href="xml_ns0_sysbenchCPUBenchmark.html">sysbenchCPUBenchmark</a></dd>
</dl>
<table class="table datatype-properties">
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>drip-api: sysbenchCPUBenchmark</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">drip-api: sysbenchCPUBenchmark</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
<li><a href="downloads.html">Files and Libraries</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="syntax_xml.html">XML</a></li>
<li class="dropdown"><a href="xml_ns0_sysbenchCPUBenchmark.html">sysbenchCPUBenchmark</a></li>
</ol>
<h1 class="page-header">sysbenchCPUBenchmark <small>Data Type</small></h1>
<p></p>
<dl class="dl-horizontal">
<dt>Namespace</dt>
<dd>(Default)</dd>
<dt>Schema</dt>
<dd><a href="ns0.xsd">ns0.xsd</a></dd>
</dl>
<table class="table datatype-properties">
<caption>Properties</caption>
<thead>
<tr>
<th>name</th>
<th>data type</th>
<th>type</th>
<th>namespace</th>
<th>min/max occurs</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td> <span class="property-name">avgEventsPerThread</span>
</td>
<td> <span class="datatype-reference">int
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">1/1
</span>
</td>
<td> <span class="property-description">the avgEventsPerThread</span>
</td>
</tr>
<tr>
<td> <span class="property-name">avgExecTimePerThread</span>
</td>
<td> <span class="datatype-reference">int
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">1/1
</span>
</td>
<td> <span class="property-description">the avgExecTimePerThread</span>
</td>
</tr>
<tr>
<td> <span class="property-name">executionTime</span>
</td>
<td> <span class="datatype-reference">double
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">1/1
</span>
</td>
<td> <span class="property-description">the executionTime</span>
</td>
</tr>
<tr>
<td> <span class="property-name">numberOfThreads</span>
</td>
<td> <span class="datatype-reference">int
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">1/1
</span>
</td>
<td> <span class="property-description">the numberOfThreads</span>
</td>
</tr>
<tr>
<td> <span class="property-name">stddevEventsPerThread</span>
</td>
<td> <span class="datatype-reference">int
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">1/1
</span>
</td>
<td> <span class="property-description">the stddevEventsPerThread</span>
</td>
</tr>
<tr>
<td> <span class="property-name">stddevExecTimePerThread</span>
</td>
<td> <span class="datatype-reference">int
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">1/1
</span>
</td>
<td> <span class="property-description">the stddevExecTimePerThread</span>
</td>
</tr>
<tr>
<td> <span class="property-name">sysbenchVersion</span>
</td>
<td> <span class="datatype-reference">string
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">0/1
</span>
</td>
<td> <span class="property-description">the sysbenchVersion</span>
</td>
</tr>
<tr>
<td> <span class="property-name">totalNumberOfEvents</span>
</td>
<td> <span class="datatype-reference">int
</span>
</td>
<td> <span class="property-type">element
</span>
</td>
<td> <span class="property-namespaceInfo">
</span>
</td>
<td> <span class="property-minMaxOccurs">1/1
</span>
</td>
<td> <span class="property-description">the totalNumberOfEvents</span>
</td>
</tr>
</tbody>
<tr>
<td colspan="6"><h5 class="text-muted">Properties inherited from <a href="xml_ns0_benchmarkResult.html">benchmarkResult</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">cloudProvider</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-type">element
</span></td>
<td><span class="property-namespaceInfo">
</span></td>
<td><span class="property-minMaxOccurs">0/1
</span></td>
<td><span class="property-description">the cloudProvider</span></td>
</tr>
<tr>
<td><span class="property-name">delta</span></td>
<td><span class="datatype-reference">dateTime
</span></td>
<td><span class="property-type">element
</span></td>
<td><span class="property-namespaceInfo">
</span></td>
<td><span class="property-minMaxOccurs">0/1
</span></td>
<td><span class="property-description">the delta</span></td>
</tr>
<tr>
<td><span class="property-name">end</span></td>
<td><span class="datatype-reference">dateTime
</span></td>
<td><span class="property-type">element
</span></td>
<td><span class="property-namespaceInfo">
</span></td>
<td><span class="property-minMaxOccurs">0/1
</span></td>
<td><span class="property-description">the end</span></td>
</tr>
<tr>
<td><span class="property-name">host</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-type">element
</span></td>
<td><span class="property-namespaceInfo">
</span></td>
<td><span class="property-minMaxOccurs">0/1
</span></td>
<td><span class="property-description">the host</span></td>
</tr>
<tr>
<td><span class="property-name">start</span></td>
<td><span class="datatype-reference">dateTime
</span></td>
<td><span class="property-type">element
</span></td>
<td><span class="property-namespaceInfo">
</span></td>
<td><span class="property-minMaxOccurs">0/1
</span></td>
<td><span class="property-description">the start</span></td>
</tr>
</tbody>
<tr>
<td colspan="6"><h5 class="text-muted">Properties inherited from <a href="xml_ns0_ownedObject.html">ownedObject</a></h5></td>
</tr>
<tbody>
<tr>
<td><span class="property-name">owner</span></td>
<td><span class="datatype-reference">string
</span></td>
<td><span class="property-type">element
</span></td>
<td><span class="property-namespaceInfo">
</span></td>
<td><span class="property-minMaxOccurs">0/1
</span></td>
<td><span class="property-description">The owner (username) for the particular object. This value is set when
the DAO saves the object based on the principal how made the call</span></td>
</tr>
</tbody>
</table>
<p class="lead">Example</p>
<pre class="prettyprint language-xml example">&lt;s-----&gt;
&lt;sysbenchVersion&gt;...&lt;/sysbenchVersion&gt;
&lt;numberOfThreads&gt;...&lt;/numberOfThreads&gt;
&lt;totalNumberOfEvents&gt;...&lt;/totalNumberOfEvents&gt;
&lt;executionTime&gt;...&lt;/executionTime&gt;
&lt;avgEventsPerThread&gt;...&lt;/avgEventsPerThread&gt;
&lt;stddevEventsPerThread&gt;...&lt;/stddevEventsPerThread&gt;
&lt;avgExecTimePerThread&gt;...&lt;/avgExecTimePerThread&gt;
&lt;stddevExecTimePerThread&gt;...&lt;/stddevExecTimePerThread&gt;
&lt;host&gt;...&lt;/host&gt;
&lt;cloudProvider&gt;...&lt;/cloudProvider&gt;
&lt;end&gt;...&lt;/end&gt;
&lt;start&gt;...&lt;/start&gt;
&lt;delta&gt;...&lt;/delta&gt;
&lt;owner&gt;user1&lt;/owner&gt;
&lt;/s-----&gt;
</pre>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>
{"creationDate": 1493024577635, "parameters": [{"url": "null", "attributes": "null", "name": "ansible_output", "value": "[{\"host\": \"34.200.214.56\", \"result\": {\"msg\": \"All items completed\", \"changed\": false, \"results\": [{\"_ansible_parsed\": true, \"changed\": false, \"_ansible_no_log\": false, \"cache_updated\": true, \"_ansible_item_result\": true, \"item\": [\"phoronix-test-suite\", \"sysbench\", \"expect\", \"git\", \"python-pexpect\", \"php-zip\"], \"invocation\": {\"module_name\": \"apt\", \"module_args\": {\"dpkg_options\": \"force-confdef,force-confold\", \"autoremove\": false, \"force\": false, \"name\": [\"phoronix-test-suite\", \"sysbench\", \"expect\", \"git\", \"python-pexpect\", \"php-zip\"], \"install_recommends\": null, \"package\": [\"phoronix-test-suite\", \"sysbench\", \"expect\", \"git\", \"python-pexpect\", \"php-zip\"], \"purge\": false, \"allow_unauthenticated\": false, \"state\": \"latest\", \"upgrade\": null, \"update_cache\": true, \"deb\": null, \"only_upgrade\": false, \"default_release\": null, \"cache_valid_time\": 0}}, \"cache_update_time\": 1493024273}]}}, {\"host\": \"54.237.197.227\", \"result\": {\"msg\": \"All items completed\", \"changed\": false, \"results\": [{\"_ansible_parsed\": true, \"changed\": false, \"_ansible_no_log\": false, \"cache_updated\": true, \"_ansible_item_result\": true, \"item\": [\"phoronix-test-suite\", \"sysbench\", \"expect\", \"git\", \"python-pexpect\", \"php-zip\"], \"invocation\": {\"module_name\": \"apt\", \"module_args\": {\"dpkg_options\": \"force-confdef,force-confold\", \"autoremove\": false, \"force\": false, \"name\": [\"phoronix-test-suite\", \"sysbench\", \"expect\", \"git\", \"python-pexpect\", \"php-zip\"], \"install_recommends\": null, \"package\": [\"phoronix-test-suite\", \"sysbench\", \"expect\", \"git\", \"python-pexpect\", \"php-zip\"], \"purge\": false, \"allow_unauthenticated\": false, \"state\": \"latest\", \"upgrade\": null, \"update_cache\": true, \"deb\": null, \"only_upgrade\": false, \"default_release\": null, \"cache_valid_time\": 0}}, \"cache_update_time\": 1493024273}]}}, {\"host\": \"34.200.214.56\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 08:57:56.322645\", \"_ansible_no_log\": false, \"stdout\": \"spawn phoronix-test-suite\\r\\n\\r\\nPhoronix Test Suite v5.2.1 (Khanino)\\r\\n\\r\\nThe Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux, Solaris, Mac OS X, and BSD operating systems. The Phoronix Test Suite allows for carrying out tests in a fully automated manner from test installation to execution and reporting. All tests are meant to be easily reproducible, easy-to-use, and support fully automated execution. The Phoronix Test Suite is open-source under the GNU GPLv3 license and is developed by Phoronix Media in cooperation with partners.\\r\\n\\r\\nView the included PDF / HTML documentation or visit http://www.phoronix-test-suite.com/ for full details.\\r\\n\\r\\nTEST INSTALLATION\\r\\n\\r\\n install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n install-dependencies [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n make-download-cache\\r\\n remove-installed-test [Test]\\r\\n\\r\\nTESTING\\r\\n\\r\\n auto-compare\\r\\n benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n finish-run [Test Result]\\r\\n run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n run-random-tests\\r\\n run-tests-in-suite\\r\\n\\r\\nBATCH TESTING\\r\\n\\r\\n batch-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n batch-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n batch-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n batch-setup\\r\\n default-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n default-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n internal-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n\\r\\nOPENBENCHMARKING.ORG\\r\\n\\r\\n clone-result [OpenBenchmarking ID] ...\\r\\n list-recommended-tests\\r\\n openbenchmarking-changes\\r\\n openbenchmarking-launcher\\r\\n openbenchmarking-login\\r\\n openbenchmarking-refresh\\r\\n openbenchmarking-repositories\\r\\n upload-result [Test Result]\\r\\n upload-test-profile\\r\\n upload-test-suite\\r\\n\\r\\nSYSTEM\\r\\n\\r\\n detailed-system-info\\r\\n diagnostics\\r\\n interactive\\r\\n system-info\\r\\n system-sensors\\r\\n\\r\\nINFORMATION\\r\\n\\r\\n info [Test | Suite | OpenBenchmarking.org ID | Test Result]\\r\\n list-available-suites\\r\\n list-available-tests\\r\\n list-available-virtual-suites\\r\\n list-installed-dependencies\\r\\n list-installed-suites\\r\\n list-installed-tests\\r\\n list-missing-dependencies\\r\\n list-possible-dependencies\\r\\n list-saved-results\\r\\n list-test-usage\\r\\n list-unsupported-tests\\r\\n\\r\\nASSET CREATION\\r\\n\\r\\n debug-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n debug-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n debug-test-download-links [Test | Suite]\\r\\n download-test-files [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n force-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n result-file-to-suite [Test Result]\\r\\n validate-result-file\\r\\n validate-test-profile\\r\\n validate-test-suite\\r\\n\\r\\nRESULT MANAGEMENT\\r\\n\\r\\n auto-sort-result-file [Test Result]\\r\\n copy-run-in-result-file [Test Result]\\r\\n edit-result-file [Test Result]\\r\\n extract-from-result-file [Test Result]\\r\\n merge-results [Test Result] ...\\r\\n refresh-graphs [Test Result]\\r\\n remove-from-result-file [Test Result]\\r\\n remove-result [Test Result]\\r\\n rename-identifier-in-result-file [Test Result]\\r\\n rename-result-file [Test Result]\\r\\n reorder-result-file [Test Result]\\r\\n result-file-to-csv [Test Result]\\r\\n result-file-to-pdf [Test Result]\\r\\n result-file-to-text [Test Result]\\r\\n show-result [Test Result]\\r\\n\\r\\nRESULT ANALYTICS\\r\\n\\r\\n analyze-all-runs [Test Result]\\r\\n analyze-batch [Test Result]\\r\\n analyze-image-delta [Test Result]\\r\\n\\r\\nOTHER\\r\\n\\r\\n build-suite\\r\\n debug-self-test\\r\\n help\\r\\n network-setup\\r\\n rebuild-composite-xml [Test Result]\\r\\n user-config-reset\\r\\n user-config-set\\r\\n version\\r\\n\\r\\nWEB / GUI SUPPORT\\r\\n\\r\\n gui\\r\\n start-remote-gui-server\\r\\n start-ws-server\\r\\n\\r\\nMODULES\\r\\n\\r\\n list-modules\\r\\n module-info [Phoronix Test Suite Module]\\r\\n module-setup [Phoronix Test Suite Module]\\r\\n test-module [Phoronix Test Suite Module]\\r\\n\\r\\nGUI / WEB SUPPORT\\r\\n\\r\\n start-phoromatic-server\", \"cmd\": [\"expect\", \"-c\", \"spawn phoronix-test-suite; expect \\\"Do you agree to these terms and wish to proceed \\\\(Y/n\\\\):\\\"; send \\\"Y \\\"; expect \\\"Enable anonymous usage / statistics reporting \\\\(Y/n\\\\):\\\"; send \\\"n \\\"; expect \\\"Enable anonymous statistical reporting of installed software / hardware \\\\(Y/n\\\\):\\\"; send \\\"n \\\"; interact;\"], \"rc\": 0, \"start\": \"2017-04-24 08:57:55.907552\", \"stderr\": \"send: spawn id exp4 not open\\n while executing\\n\\\"send \\\"Y \\\"\\\"\", \"delta\": \"0:00:00.415093\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"expect -c \\\"spawn phoronix-test-suite; expect \\\\\\\"Do you agree to these terms and wish to proceed \\\\(Y/n\\\\):\\\\\\\"; send \\\\\\\"Y \\\\\\\"; expect \\\\\\\"Enable anonymous usage / statistics reporting \\\\(Y/n\\\\):\\\\\\\"; send \\\\\\\"n \\\\\\\"; expect \\\\\\\"Enable anonymous statistical reporting of installed software / hardware \\\\(Y/n\\\\):\\\\\\\"; send \\\\\\\"n \\\\\\\"; interact;\\\"\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"spawn phoronix-test-suite\", \"\", \"Phoronix Test Suite v5.2.1 (Khanino)\", \"\", \"The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux, Solaris, Mac OS X, and BSD operating systems. The Phoronix Test Suite allows for carrying out tests in a fully automated manner from test installation to execution and reporting. All tests are meant to be easily reproducible, easy-to-use, and support fully automated execution. The Phoronix Test Suite is open-source under the GNU GPLv3 license and is developed by Phoronix Media in cooperation with partners.\", \"\", \"View the included PDF / HTML documentation or visit http://www.phoronix-test-suite.com/ for full details.\", \"\", \"TEST INSTALLATION\", \"\", \" install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" install-dependencies [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" make-download-cache\", \" remove-installed-test [Test]\", \"\", \"TESTING\", \"\", \" auto-compare\", \" benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" finish-run [Test Result]\", \" run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" run-random-tests\", \" run-tests-in-suite\", \"\", \"BATCH TESTING\", \"\", \" batch-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" batch-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" batch-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" batch-setup\", \" default-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" default-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" internal-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \"\", \"OPENBENCHMARKING.ORG\", \"\", \" clone-result [OpenBenchmarking ID] ...\", \" list-recommended-tests\", \" openbenchmarking-changes\", \" openbenchmarking-launcher\", \" openbenchmarking-login\", \" openbenchmarking-refresh\", \" openbenchmarking-repositories\", \" upload-result [Test Result]\", \" upload-test-profile\", \" upload-test-suite\", \"\", \"SYSTEM\", \"\", \" detailed-system-info\", \" diagnostics\", \" interactive\", \" system-info\", \" system-sensors\", \"\", \"INFORMATION\", \"\", \" info [Test | Suite | OpenBenchmarking.org ID | Test Result]\", \" list-available-suites\", \" list-available-tests\", \" list-available-virtual-suites\", \" list-installed-dependencies\", \" list-installed-suites\", \" list-installed-tests\", \" list-missing-dependencies\", \" list-possible-dependencies\", \" list-saved-results\", \" list-test-usage\", \" list-unsupported-tests\", \"\", \"ASSET CREATION\", \"\", \" debug-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" debug-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" debug-test-download-links [Test | Suite]\", \" download-test-files [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" force-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" result-file-to-suite [Test Result]\", \" validate-result-file\", \" validate-test-profile\", \" validate-test-suite\", \"\", \"RESULT MANAGEMENT\", \"\", \" auto-sort-result-file [Test Result]\", \" copy-run-in-result-file [Test Result]\", \" edit-result-file [Test Result]\", \" extract-from-result-file [Test Result]\", \" merge-results [Test Result] ...\", \" refresh-graphs [Test Result]\", \" remove-from-result-file [Test Result]\", \" remove-result [Test Result]\", \" rename-identifier-in-result-file [Test Result]\", \" rename-result-file [Test Result]\", \" reorder-result-file [Test Result]\", \" result-file-to-csv [Test Result]\", \" result-file-to-pdf [Test Result]\", \" result-file-to-text [Test Result]\", \" show-result [Test Result]\", \"\", \"RESULT ANALYTICS\", \"\", \" analyze-all-runs [Test Result]\", \" analyze-batch [Test Result]\", \" analyze-image-delta [Test Result]\", \"\", \"OTHER\", \"\", \" build-suite\", \" debug-self-test\", \" help\", \" network-setup\", \" rebuild-composite-xml [Test Result]\", \" user-config-reset\", \" user-config-set\", \" version\", \"\", \"WEB / GUI SUPPORT\", \"\", \" gui\", \" start-remote-gui-server\", \" start-ws-server\", \"\", \"MODULES\", \"\", \" list-modules\", \" module-info [Phoronix Test Suite Module]\", \" module-setup [Phoronix Test Suite Module]\", \" test-module [Phoronix Test Suite Module]\", \"\", \"GUI / WEB SUPPORT\", \"\", \" start-phoromatic-server\"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 08:57:56.492527\", \"_ansible_no_log\": false, \"stdout\": \"spawn phoronix-test-suite\\r\\n\\r\\nPhoronix Test Suite v5.2.1 (Khanino)\\r\\n\\r\\nThe Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux, Solaris, Mac OS X, and BSD operating systems. The Phoronix Test Suite allows for carrying out tests in a fully automated manner from test installation to execution and reporting. All tests are meant to be easily reproducible, easy-to-use, and support fully automated execution. The Phoronix Test Suite is open-source under the GNU GPLv3 license and is developed by Phoronix Media in cooperation with partners.\\r\\n\\r\\nView the included PDF / HTML documentation or visit http://www.phoronix-test-suite.com/ for full details.\\r\\n\\r\\nTEST INSTALLATION\\r\\n\\r\\n install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n install-dependencies [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n make-download-cache\\r\\n remove-installed-test [Test]\\r\\n\\r\\nTESTING\\r\\n\\r\\n auto-compare\\r\\n benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n finish-run [Test Result]\\r\\n run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n run-random-tests\\r\\n run-tests-in-suite\\r\\n\\r\\nBATCH TESTING\\r\\n\\r\\n batch-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n batch-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n batch-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n batch-setup\\r\\n default-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n default-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n internal-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n\\r\\nOPENBENCHMARKING.ORG\\r\\n\\r\\n clone-result [OpenBenchmarking ID] ...\\r\\n list-recommended-tests\\r\\n openbenchmarking-changes\\r\\n openbenchmarking-launcher\\r\\n openbenchmarking-login\\r\\n openbenchmarking-refresh\\r\\n openbenchmarking-repositories\\r\\n upload-result [Test Result]\\r\\n upload-test-profile\\r\\n upload-test-suite\\r\\n\\r\\nSYSTEM\\r\\n\\r\\n detailed-system-info\\r\\n diagnostics\\r\\n interactive\\r\\n system-info\\r\\n system-sensors\\r\\n\\r\\nINFORMATION\\r\\n\\r\\n info [Test | Suite | OpenBenchmarking.org ID | Test Result]\\r\\n list-available-suites\\r\\n list-available-tests\\r\\n list-available-virtual-suites\\r\\n list-installed-dependencies\\r\\n list-installed-suites\\r\\n list-installed-tests\\r\\n list-missing-dependencies\\r\\n list-possible-dependencies\\r\\n list-saved-results\\r\\n list-test-usage\\r\\n list-unsupported-tests\\r\\n\\r\\nASSET CREATION\\r\\n\\r\\n debug-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n debug-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n debug-test-download-links [Test | Suite]\\r\\n download-test-files [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n force-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\\r\\n result-file-to-suite [Test Result]\\r\\n validate-result-file\\r\\n validate-test-profile\\r\\n validate-test-suite\\r\\n\\r\\nRESULT MANAGEMENT\\r\\n\\r\\n auto-sort-result-file [Test Result]\\r\\n copy-run-in-result-file [Test Result]\\r\\n edit-result-file [Test Result]\\r\\n extract-from-result-file [Test Result]\\r\\n merge-results [Test Result] ...\\r\\n refresh-graphs [Test Result]\\r\\n remove-from-result-file [Test Result]\\r\\n remove-result [Test Result]\\r\\n rename-identifier-in-result-file [Test Result]\\r\\n rename-result-file [Test Result]\\r\\n reorder-result-file [Test Result]\\r\\n result-file-to-csv [Test Result]\\r\\n result-file-to-pdf [Test Result]\\r\\n result-file-to-text [Test Result]\\r\\n show-result [Test Result]\\r\\n\\r\\nRESULT ANALYTICS\\r\\n\\r\\n analyze-all-runs [Test Result]\\r\\n analyze-batch [Test Result]\\r\\n analyze-image-delta [Test Result]\\r\\n\\r\\nOTHER\\r\\n\\r\\n build-suite\\r\\n debug-self-test\\r\\n help\\r\\n network-setup\\r\\n rebuild-composite-xml [Test Result]\\r\\n user-config-reset\\r\\n user-config-set\\r\\n version\\r\\n\\r\\nWEB / GUI SUPPORT\\r\\n\\r\\n gui\\r\\n start-remote-gui-server\\r\\n start-ws-server\\r\\n\\r\\nMODULES\\r\\n\\r\\n list-modules\\r\\n module-info [Phoronix Test Suite Module]\\r\\n module-setup [Phoronix Test Suite Module]\\r\\n test-module [Phoronix Test Suite Module]\\r\\n\\r\\nGUI / WEB SUPPORT\\r\\n\\r\\n start-phoromatic-server\", \"cmd\": [\"expect\", \"-c\", \"spawn phoronix-test-suite; expect \\\"Do you agree to these terms and wish to proceed \\\\(Y/n\\\\):\\\"; send \\\"Y \\\"; expect \\\"Enable anonymous usage / statistics reporting \\\\(Y/n\\\\):\\\"; send \\\"n \\\"; expect \\\"Enable anonymous statistical reporting of installed software / hardware \\\\(Y/n\\\\):\\\"; send \\\"n \\\"; interact;\"], \"rc\": 0, \"start\": \"2017-04-24 08:57:56.006372\", \"stderr\": \"send: spawn id exp4 not open\\n while executing\\n\\\"send \\\"Y \\\"\\\"\", \"delta\": \"0:00:00.486155\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"expect -c \\\"spawn phoronix-test-suite; expect \\\\\\\"Do you agree to these terms and wish to proceed \\\\(Y/n\\\\):\\\\\\\"; send \\\\\\\"Y \\\\\\\"; expect \\\\\\\"Enable anonymous usage / statistics reporting \\\\(Y/n\\\\):\\\\\\\"; send \\\\\\\"n \\\\\\\"; expect \\\\\\\"Enable anonymous statistical reporting of installed software / hardware \\\\(Y/n\\\\):\\\\\\\"; send \\\\\\\"n \\\\\\\"; interact;\\\"\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"spawn phoronix-test-suite\", \"\", \"Phoronix Test Suite v5.2.1 (Khanino)\", \"\", \"The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available for Linux, Solaris, Mac OS X, and BSD operating systems. The Phoronix Test Suite allows for carrying out tests in a fully automated manner from test installation to execution and reporting. All tests are meant to be easily reproducible, easy-to-use, and support fully automated execution. The Phoronix Test Suite is open-source under the GNU GPLv3 license and is developed by Phoronix Media in cooperation with partners.\", \"\", \"View the included PDF / HTML documentation or visit http://www.phoronix-test-suite.com/ for full details.\", \"\", \"TEST INSTALLATION\", \"\", \" install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" install-dependencies [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" make-download-cache\", \" remove-installed-test [Test]\", \"\", \"TESTING\", \"\", \" auto-compare\", \" benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" finish-run [Test Result]\", \" run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" run-random-tests\", \" run-tests-in-suite\", \"\", \"BATCH TESTING\", \"\", \" batch-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" batch-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" batch-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" batch-setup\", \" default-benchmark [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" default-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" internal-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \"\", \"OPENBENCHMARKING.ORG\", \"\", \" clone-result [OpenBenchmarking ID] ...\", \" list-recommended-tests\", \" openbenchmarking-changes\", \" openbenchmarking-launcher\", \" openbenchmarking-login\", \" openbenchmarking-refresh\", \" openbenchmarking-repositories\", \" upload-result [Test Result]\", \" upload-test-profile\", \" upload-test-suite\", \"\", \"SYSTEM\", \"\", \" detailed-system-info\", \" diagnostics\", \" interactive\", \" system-info\", \" system-sensors\", \"\", \"INFORMATION\", \"\", \" info [Test | Suite | OpenBenchmarking.org ID | Test Result]\", \" list-available-suites\", \" list-available-tests\", \" list-available-virtual-suites\", \" list-installed-dependencies\", \" list-installed-suites\", \" list-installed-tests\", \" list-missing-dependencies\", \" list-possible-dependencies\", \" list-saved-results\", \" list-test-usage\", \" list-unsupported-tests\", \"\", \"ASSET CREATION\", \"\", \" debug-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" debug-run [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" debug-test-download-links [Test | Suite]\", \" download-test-files [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" force-install [Test | Suite | OpenBenchmarking.org ID | Test Result] ...\", \" result-file-to-suite [Test Result]\", \" validate-result-file\", \" validate-test-profile\", \" validate-test-suite\", \"\", \"RESULT MANAGEMENT\", \"\", \" auto-sort-result-file [Test Result]\", \" copy-run-in-result-file [Test Result]\", \" edit-result-file [Test Result]\", \" extract-from-result-file [Test Result]\", \" merge-results [Test Result] ...\", \" refresh-graphs [Test Result]\", \" remove-from-result-file [Test Result]\", \" remove-result [Test Result]\", \" rename-identifier-in-result-file [Test Result]\", \" rename-result-file [Test Result]\", \" reorder-result-file [Test Result]\", \" result-file-to-csv [Test Result]\", \" result-file-to-pdf [Test Result]\", \" result-file-to-text [Test Result]\", \" show-result [Test Result]\", \"\", \"RESULT ANALYTICS\", \"\", \" analyze-all-runs [Test Result]\", \" analyze-batch [Test Result]\", \" analyze-image-delta [Test Result]\", \"\", \"OTHER\", \"\", \" build-suite\", \" debug-self-test\", \" help\", \" network-setup\", \" rebuild-composite-xml [Test Result]\", \" user-config-reset\", \" user-config-set\", \" version\", \"\", \"WEB / GUI SUPPORT\", \"\", \" gui\", \" start-remote-gui-server\", \" start-ws-server\", \"\", \"MODULES\", \"\", \" list-modules\", \" module-info [Phoronix Test Suite Module]\", \" module-setup [Phoronix Test Suite Module]\", \" test-module [Phoronix Test Suite Module]\", \"\", \"GUI / WEB SUPPORT\", \"\", \" start-phoromatic-server\"], \"warnings\": []}}, {\"host\": \"34.200.214.56\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 08:57:58.647569\", \"_ansible_no_log\": false, \"stdout\": \"\\nPhoronix Test Suite v5.2.1\\n\\n Installed: pts/stream-1.3.1\", \"cmd\": [\"phoronix-test-suite\", \"install-test\", \"stream\"], \"rc\": 0, \"start\": \"2017-04-24 08:57:58.343538\", \"stderr\": \"\", \"delta\": \"0:00:00.304031\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"phoronix-test-suite install-test stream\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"\", \"Phoronix Test Suite v5.2.1\", \"\", \" Installed: pts/stream-1.3.1\"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 08:57:58.789656\", \"_ansible_no_log\": false, \"stdout\": \"\\nPhoronix Test Suite v5.2.1\\n\\n Installed: pts/stream-1.3.1\", \"cmd\": [\"phoronix-test-suite\", \"install-test\", \"stream\"], \"rc\": 0, \"start\": \"2017-04-24 08:57:58.461369\", \"stderr\": \"\", \"delta\": \"0:00:00.328287\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"phoronix-test-suite install-test stream\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"\", \"Phoronix Test Suite v5.2.1\", \"\", \" Installed: pts/stream-1.3.1\"], \"warnings\": []}}, {\"host\": \"34.200.214.56\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 08:58:00.935011\", \"_ansible_no_log\": false, \"stdout\": \"\\nPhoronix Test Suite v5.2.1\\n\\n Installed: pts/iozone-1.8.0\", \"cmd\": [\"phoronix-test-suite\", \"install-test\", \"iozone\"], \"rc\": 0, \"start\": \"2017-04-24 08:58:00.630644\", \"stderr\": \"\", \"delta\": \"0:00:00.304367\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"phoronix-test-suite install-test iozone\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"\", \"Phoronix Test Suite v5.2.1\", \"\", \" Installed: pts/iozone-1.8.0\"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 08:58:01.079678\", \"_ansible_no_log\": false, \"stdout\": \"\\nPhoronix Test Suite v5.2.1\\n\\n Installed: pts/iozone-1.8.0\", \"cmd\": [\"phoronix-test-suite\", \"install-test\", \"iozone\"], \"rc\": 0, \"start\": \"2017-04-24 08:58:00.753205\", \"stderr\": \"\", \"delta\": \"0:00:00.326473\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"phoronix-test-suite install-test iozone\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"\", \"Phoronix Test Suite v5.2.1\", \"\", \" Installed: pts/iozone-1.8.0\"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 08:58:03.048827\", \"_ansible_no_log\": false, \"stdout\": \"2\", \"cmd\": [\"nproc\"], \"rc\": 0, \"start\": \"2017-04-24 08:58:03.047355\", \"stderr\": \"\", \"delta\": \"0:00:00.001472\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"nproc\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"2\"], \"warnings\": []}}, {\"host\": \"34.200.214.56\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 08:58:03.934297\", \"_ansible_no_log\": false, \"stdout\": \"2\", \"cmd\": [\"nproc\"], \"rc\": 0, \"start\": \"2017-04-24 08:58:02.931633\", \"stderr\": \"\", \"delta\": \"0:00:01.002664\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"nproc\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"2\"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"invocation\": {\"module_name\": \"debug\", \"module_args\": {\"msg\": \"2\"}}, \"msg\": \"2\", \"changed\": false, \"_ansible_verbose_always\": true, \"_ansible_no_log\": false}}, {\"host\": \"34.200.214.56\", \"result\": {\"invocation\": {\"module_name\": \"debug\", \"module_args\": {\"msg\": \"2\"}}, \"msg\": \"2\", \"changed\": false, \"_ansible_verbose_always\": true, \"_ansible_no_log\": false}}, {\"host\": \"54.237.197.227\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 09:00:22.352523\", \"_ansible_no_log\": false, \"stdout\": \"sysbench 0.4.12: multi-threaded system evaluation benchmark\\n\\nRunning the test with following options:\\nNumber of threads: 2\\n\\nDoing CPU performance benchmark\\n\\nThreads started!\\nDone.\\n\\nMaximum prime number checked in CPU test: 100000\\n\\n\\nTest execution summary:\\n total time: 136.2791s\\n total number of events: 10000\\n total time taken by event execution: 272.5323\\n per-request statistics:\\n min: 26.81ms\\n avg: 27.25ms\\n max: 35.27ms\\n approx. 95 percentile: 27.66ms\\n\\nThreads fairness:\\n events (avg/stddev): 5000.0000/2.00\\n execution time (avg/stddev): 136.2661/0.01\", \"cmd\": [\"sysbench\", \"--test=cpu\", \"--cpu-max-prime=100000\", \"--num-threads=2\", \"run\"], \"rc\": 0, \"start\": \"2017-04-24 08:58:06.070370\", \"stderr\": \"\", \"delta\": \"0:02:16.282153\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"sysbench --test=cpu --cpu-max-prime=100000 --num-threads=2 run\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"sysbench 0.4.12: multi-threaded system evaluation benchmark\", \"\", \"Running the test with following options:\", \"Number of threads: 2\", \"\", \"Doing CPU performance benchmark\", \"\", \"Threads started!\", \"Done.\", \"\", \"Maximum prime number checked in CPU test: 100000\", \"\", \"\", \"Test execution summary:\", \" total time: 136.2791s\", \" total number of events: 10000\", \" total time taken by event execution: 272.5323\", \" per-request statistics:\", \" min: 26.81ms\", \" avg: 27.25ms\", \" max: 35.27ms\", \" approx. 95 percentile: 27.66ms\", \"\", \"Threads fairness:\", \" events (avg/stddev): 5000.0000/2.00\", \" execution time (avg/stddev): 136.2661/0.01\"], \"warnings\": []}}, {\"host\": \"34.200.214.56\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 09:00:47.963181\", \"_ansible_no_log\": false, \"stdout\": \"sysbench 0.4.12: multi-threaded system evaluation benchmark\\n\\nRunning the test with following options:\\nNumber of threads: 2\\n\\nDoing CPU performance benchmark\\n\\nThreads started!\\nDone.\\n\\nMaximum prime number checked in CPU test: 100000\\n\\n\\nTest execution summary:\\n total time: 162.0059s\\n total number of events: 10000\\n total time taken by event execution: 323.9774\\n per-request statistics:\\n min: 27.29ms\\n avg: 32.40ms\\n max: 208.57ms\\n approx. 95 percentile: 56.83ms\\n\\nThreads fairness:\\n events (avg/stddev): 5000.0000/168.00\\n execution time (avg/stddev): 161.9887/0.00\", \"cmd\": [\"sysbench\", \"--test=cpu\", \"--cpu-max-prime=100000\", \"--num-threads=2\", \"run\"], \"rc\": 0, \"start\": \"2017-04-24 08:58:05.953676\", \"stderr\": \"\", \"delta\": \"0:02:42.009505\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"sysbench --test=cpu --cpu-max-prime=100000 --num-threads=2 run\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"sysbench 0.4.12: multi-threaded system evaluation benchmark\", \"\", \"Running the test with following options:\", \"Number of threads: 2\", \"\", \"Doing CPU performance benchmark\", \"\", \"Threads started!\", \"Done.\", \"\", \"Maximum prime number checked in CPU test: 100000\", \"\", \"\", \"Test execution summary:\", \" total time: 162.0059s\", \" total number of events: 10000\", \" total time taken by event execution: 323.9774\", \" per-request statistics:\", \" min: 27.29ms\", \" avg: 32.40ms\", \" max: 208.57ms\", \" approx. 95 percentile: 56.83ms\", \"\", \"Threads fairness:\", \" events (avg/stddev): 5000.0000/168.00\", \" execution time (avg/stddev): 161.9887/0.00\"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"invocation\": {\"module_name\": \"debug\", \"module_args\": {\"msg\": \"sysbench 0.4.12: multi-threaded system evaluation benchmark\\n\\nRunning the test with following options:\\nNumber of threads: 2\\n\\nDoing CPU performance benchmark\\n\\nThreads started!\\nDone.\\n\\nMaximum prime number checked in CPU test: 100000\\n\\n\\nTest execution summary:\\n total time: 136.2791s\\n total number of events: 10000\\n total time taken by event execution: 272.5323\\n per-request statistics:\\n min: 26.81ms\\n avg: 27.25ms\\n max: 35.27ms\\n approx. 95 percentile: 27.66ms\\n\\nThreads fairness:\\n events (avg/stddev): 5000.0000/2.00\\n execution time (avg/stddev): 136.2661/0.01\"}}, \"msg\": \"sysbench 0.4.12: multi-threaded system evaluation benchmark\\n\\nRunning the test with following options:\\nNumber of threads: 2\\n\\nDoing CPU performance benchmark\\n\\nThreads started!\\nDone.\\n\\nMaximum prime number checked in CPU test: 100000\\n\\n\\nTest execution summary:\\n total time: 136.2791s\\n total number of events: 10000\\n total time taken by event execution: 272.5323\\n per-request statistics:\\n min: 26.81ms\\n avg: 27.25ms\\n max: 35.27ms\\n approx. 95 percentile: 27.66ms\\n\\nThreads fairness:\\n events (avg/stddev): 5000.0000/2.00\\n execution time (avg/stddev): 136.2661/0.01\", \"changed\": false, \"_ansible_verbose_always\": true, \"_ansible_no_log\": false}}, {\"host\": \"34.200.214.56\", \"result\": {\"invocation\": {\"module_name\": \"debug\", \"module_args\": {\"msg\": \"sysbench 0.4.12: multi-threaded system evaluation benchmark\\n\\nRunning the test with following options:\\nNumber of threads: 2\\n\\nDoing CPU performance benchmark\\n\\nThreads started!\\nDone.\\n\\nMaximum prime number checked in CPU test: 100000\\n\\n\\nTest execution summary:\\n total time: 162.0059s\\n total number of events: 10000\\n total time taken by event execution: 323.9774\\n per-request statistics:\\n min: 27.29ms\\n avg: 32.40ms\\n max: 208.57ms\\n approx. 95 percentile: 56.83ms\\n\\nThreads fairness:\\n events (avg/stddev): 5000.0000/168.00\\n execution time (avg/stddev): 161.9887/0.00\"}}, \"msg\": \"sysbench 0.4.12: multi-threaded system evaluation benchmark\\n\\nRunning the test with following options:\\nNumber of threads: 2\\n\\nDoing CPU performance benchmark\\n\\nThreads started!\\nDone.\\n\\nMaximum prime number checked in CPU test: 100000\\n\\n\\nTest execution summary:\\n total time: 162.0059s\\n total number of events: 10000\\n total time taken by event execution: 323.9774\\n per-request statistics:\\n min: 27.29ms\\n avg: 32.40ms\\n max: 208.57ms\\n approx. 95 percentile: 56.83ms\\n\\nThreads fairness:\\n events (avg/stddev): 5000.0000/168.00\\n execution time (avg/stddev): 161.9887/0.00\", \"changed\": false, \"_ansible_verbose_always\": true, \"_ansible_no_log\": false}}, {\"host\": \"54.237.197.227\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 09:01:40.711856\", \"_ansible_no_log\": false, \"stdout\": \"spawn phoronix-test-suite run-test stream\\r\\n\\r\\n\\r\\nStream 2013-01-17:\\r\\n pts/stream-1.3.1\\r\\n Memory Test Configuration\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: 4 y\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: out unique\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \", \"cmd\": [\"expect\", \"-c\", \"spawn phoronix-test-suite run-test stream; expect \\\"Type:\\\"; send \\\"4 \\\"; expect \\\"\\\\(Y/n\\\\):\\\"; send -- \\\"y\\\\r\\\"; expect \\\"Enter a name to save these results under:\\\"; send \\\"out \\\"; expect \\\"Enter a unique name to describe this test run / configuration:\\\"; send -- \\\"unique\\\\r\\\"; expect \\\"New Description:\\\"; send \\\"\\\\r\\\"; expect \\\"Would you like to upload the results to OpenBenchmarking.org (Y/n):\\\"; send \\\"n\\\\r\\\"; interact;\"], \"rc\": 0, \"start\": \"2017-04-24 09:00:50.214374\", \"stderr\": \"\", \"delta\": \"0:00:50.497482\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"expect -c \\\"spawn phoronix-test-suite run-test stream; expect \\\\\\\"Type:\\\\\\\"; send \\\\\\\"4 \\\\\\\"; expect \\\\\\\"\\\\(Y/n\\\\):\\\\\\\"; send -- \\\\\\\"y\\\\r\\\\\\\"; expect \\\\\\\"Enter a name to save these results under:\\\\\\\"; send \\\\\\\"out \\\\\\\"; expect \\\\\\\"Enter a unique name to describe this test run / configuration:\\\\\\\"; send -- \\\\\\\"unique\\\\r\\\\\\\"; expect \\\\\\\"New Description:\\\\\\\"; send \\\\\\\"\\\\r\\\\\\\"; expect \\\\\\\"Would you like to upload the results to OpenBenchmarking.org (Y/n):\\\\\\\"; send \\\\\\\"n\\\\r\\\\\\\"; interact;\\\"\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"spawn phoronix-test-suite run-test stream\", \"\", \"\", \"Stream 2013-01-17:\", \" pts/stream-1.3.1\", \" Memory Test Configuration\", \" 1: Copy\", \" 2: Scale\", \" 3: Add\", \" 4: Triad\", \" 5: Test All Options\", \" Type: 4 y\", \"\", \" 1: Copy\", \" 2: Scale\", \" 3: Add\", \" 4: Triad\", \" 5: Test All Options\", \" Type: out unique\", \"\", \" 1: Copy\", \" 2: Scale\", \" 3: Add\", \" 4: Triad\", \" 5: Test All Options\", \" Type: \", \"\", \" 1: Copy\", \" 2: Scale\", \" 3: Add\", \" 4: Triad\", \" 5: Test All Options\", \" Type: \"], \"warnings\": []}}, {\"host\": \"34.200.214.56\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 09:01:41.589696\", \"_ansible_no_log\": false, \"stdout\": \"spawn phoronix-test-suite run-test stream\\r\\n\\r\\n\\r\\nStream 2013-01-17:\\r\\n pts/stream-1.3.1\\r\\n Memory Test Configuration\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: 4 y\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: out unique\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \", \"cmd\": [\"expect\", \"-c\", \"spawn phoronix-test-suite run-test stream; expect \\\"Type:\\\"; send \\\"4 \\\"; expect \\\"\\\\(Y/n\\\\):\\\"; send -- \\\"y\\\\r\\\"; expect \\\"Enter a name to save these results under:\\\"; send \\\"out \\\"; expect \\\"Enter a unique name to describe this test run / configuration:\\\"; send -- \\\"unique\\\\r\\\"; expect \\\"New Description:\\\"; send \\\"\\\\r\\\"; expect \\\"Would you like to upload the results to OpenBenchmarking.org (Y/n):\\\"; send \\\"n\\\\r\\\"; interact;\"], \"rc\": 0, \"start\": \"2017-04-24 09:00:50.482433\", \"stderr\": \"\", \"delta\": \"0:00:51.107263\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"expect -c \\\"spawn phoronix-test-suite run-test stream; expect \\\\\\\"Type:\\\\\\\"; send \\\\\\\"4 \\\\\\\"; expect \\\\\\\"\\\\(Y/n\\\\):\\\\\\\"; send -- \\\\\\\"y\\\\r\\\\\\\"; expect \\\\\\\"Enter a name to save these results under:\\\\\\\"; send \\\\\\\"out \\\\\\\"; expect \\\\\\\"Enter a unique name to describe this test run / configuration:\\\\\\\"; send -- \\\\\\\"unique\\\\r\\\\\\\"; expect \\\\\\\"New Description:\\\\\\\"; send \\\\\\\"\\\\r\\\\\\\"; expect \\\\\\\"Would you like to upload the results to OpenBenchmarking.org (Y/n):\\\\\\\"; send \\\\\\\"n\\\\r\\\\\\\"; interact;\\\"\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"spawn phoronix-test-suite run-test stream\", \"\", \"\", \"Stream 2013-01-17:\", \" pts/stream-1.3.1\", \" Memory Test Configuration\", \" 1: Copy\", \" 2: Scale\", \" 3: Add\", \" 4: Triad\", \" 5: Test All Options\", \" Type: 4 y\", \"\", \" 1: Copy\", \" 2: Scale\", \" 3: Add\", \" 4: Triad\", \" 5: Test All Options\", \" Type: out unique\", \"\", \" 1: Copy\", \" 2: Scale\", \" 3: Add\", \" 4: Triad\", \" 5: Test All Options\", \" Type: \", \"\", \" 1: Copy\", \" 2: Scale\", \" 3: Add\", \" 4: Triad\", \" 5: Test All Options\", \" Type: \"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"invocation\": {\"module_name\": \"debug\", \"module_args\": {\"msg\": \"spawn phoronix-test-suite run-test stream\\r\\n\\r\\n\\r\\nStream 2013-01-17:\\r\\n pts/stream-1.3.1\\r\\n Memory Test Configuration\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: 4 y\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: out unique\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \"}}, \"msg\": \"spawn phoronix-test-suite run-test stream\\r\\n\\r\\n\\r\\nStream 2013-01-17:\\r\\n pts/stream-1.3.1\\r\\n Memory Test Configuration\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: 4 y\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: out unique\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \", \"changed\": false, \"_ansible_verbose_always\": true, \"_ansible_no_log\": false}}, {\"host\": \"34.200.214.56\", \"result\": {\"invocation\": {\"module_name\": \"debug\", \"module_args\": {\"msg\": \"spawn phoronix-test-suite run-test stream\\r\\n\\r\\n\\r\\nStream 2013-01-17:\\r\\n pts/stream-1.3.1\\r\\n Memory Test Configuration\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: 4 y\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: out unique\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \"}}, \"msg\": \"spawn phoronix-test-suite run-test stream\\r\\n\\r\\n\\r\\nStream 2013-01-17:\\r\\n pts/stream-1.3.1\\r\\n Memory Test Configuration\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: 4 y\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: out unique\\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \\r\\n\\r\\n 1: Copy\\r\\n 2: Scale\\r\\n 3: Add\\r\\n 4: Triad\\r\\n 5: Test All Options\\r\\n Type: \", \"changed\": false, \"_ansible_verbose_always\": true, \"_ansible_no_log\": false}}, {\"host\": \"54.237.197.227\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 09:02:54.022088\", \"_ansible_no_log\": false, \"stdout\": \"spawn phoronix-test-suite run-test iozone\\r\\n\\r\\n\\r\\nIOzone 3.405:\\r\\n pts/iozone-1.8.0\\r\\n Disk Test Configuration\\r\\n 1: 4Kb\\r\\n 2: 64Kb\\r\\n 3: 1MB\\r\\n 4: Test All Options\\r\\n Record Size: 2 2 3 y\\r\\n\\r\\n 1: 4Kb\\r\\n 2: 64Kb\\r\\n 3: 1MB\\r\\n 4: Test All Options\\r\\n Record Size: out unique\\r\\n\\r\\n 1: 4Kb\\r\\n 2: 64Kb\\r\\n 3: 1MB\\r\\n 4: Test All Options\\r\\n Record Size: \\r\\n\\r\\n 1: 4Kb\\r\\n 2: 64Kb\\r\\n 3: 1MB\\r\\n 4: Test All Options\\r\\n Record Size: \", \"cmd\": [\"expect\", \"-c\", \"spawn phoronix-test-suite run-test iozone; expect \\\"Record Size:\\\"; send \\\"2 \\\"; expect \\\"File Size:\\\"; send \\\"2 \\\"; expect \\\"Disk Test:\\\"; send \\\"3 \\\"; expect \\\"\\\\(Y/n\\\\):\\\"; send -- \\\"y\\\\r\\\"; expect \\\"Enter a name to save these results under:\\\"; send \\\"out \\\"; expect \\\"Enter a unique name to describe this test run / configuration:\\\"; send -- \\\"unique\\\\r\\\"; expect \\\"New Description:\\\"; send \\\"\\\\r\\\"; expect \\\"Would you like to upload the results to OpenBenchmarking.org (Y/n):\\\"; send \\\"n\\\\r\\\"; interact;\"], \"rc\": 0, \"start\": \"2017-04-24 09:01:43.702911\", \"stderr\": \"\", \"delta\": \"0:01:10.319177\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"expect -c \\\"spawn phoronix-test-suite run-test iozone; expect \\\\\\\"Record Size:\\\\\\\"; send \\\\\\\"2 \\\\\\\"; expect \\\\\\\"File Size:\\\\\\\"; send \\\\\\\"2 \\\\\\\"; expect \\\\\\\"Disk Test:\\\\\\\"; send \\\\\\\"3 \\\\\\\"; expect \\\\\\\"\\\\(Y/n\\\\):\\\\\\\"; send -- \\\\\\\"y\\\\r\\\\\\\"; expect \\\\\\\"Enter a name to save these results under:\\\\\\\"; send \\\\\\\"out \\\\\\\"; expect \\\\\\\"Enter a unique name to describe this test run / configuration:\\\\\\\"; send -- \\\\\\\"unique\\\\r\\\\\\\"; expect \\\\\\\"New Description:\\\\\\\"; send \\\\\\\"\\\\r\\\\\\\"; expect \\\\\\\"Would you like to upload the results to OpenBenchmarking.org (Y/n):\\\\\\\"; send \\\\\\\"n\\\\r\\\\\\\"; interact;\\\"\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"spawn phoronix-test-suite run-test iozone\", \"\", \"\", \"IOzone 3.405:\", \" pts/iozone-1.8.0\", \" Disk Test Configuration\", \" 1: 4Kb\", \" 2: 64Kb\", \" 3: 1MB\", \" 4: Test All Options\", \" Record Size: 2 2 3 y\", \"\", \" 1: 4Kb\", \" 2: 64Kb\", \" 3: 1MB\", \" 4: Test All Options\", \" Record Size: out unique\", \"\", \" 1: 4Kb\", \" 2: 64Kb\", \" 3: 1MB\", \" 4: Test All Options\", \" Record Size: \", \"\", \" 1: 4Kb\", \" 2: 64Kb\", \" 3: 1MB\", \" 4: Test All Options\", \" Record Size: \"], \"warnings\": []}}, {\"host\": \"34.200.214.56\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 09:02:54.517033\", \"_ansible_no_log\": false, \"stdout\": \"spawn phoronix-test-suite run-test iozone\\r\\n\\r\\n\\r\\nIOzone 3.405:\\r\\n pts/iozone-1.8.0\\r\\n Disk Test Configuration\\r\\n 1: 4Kb\\r\\n 2: 64Kb\\r\\n 3: 1MB\\r\\n 4: Test All Options\\r\\n Record Size: 2 2 3 y\\r\\n\\r\\n 1: 4Kb\\r\\n 2: 64Kb\\r\\n 3: 1MB\\r\\n 4: Test All Options\\r\\n Record Size: out unique\\r\\n\\r\\n 1: 4Kb\\r\\n 2: 64Kb\\r\\n 3: 1MB\\r\\n 4: Test All Options\\r\\n Record Size: \\r\\n\\r\\n 1: 4Kb\\r\\n 2: 64Kb\\r\\n 3: 1MB\\r\\n 4: Test All Options\\r\\n Record Size: \", \"cmd\": [\"expect\", \"-c\", \"spawn phoronix-test-suite run-test iozone; expect \\\"Record Size:\\\"; send \\\"2 \\\"; expect \\\"File Size:\\\"; send \\\"2 \\\"; expect \\\"Disk Test:\\\"; send \\\"3 \\\"; expect \\\"\\\\(Y/n\\\\):\\\"; send -- \\\"y\\\\r\\\"; expect \\\"Enter a name to save these results under:\\\"; send \\\"out \\\"; expect \\\"Enter a unique name to describe this test run / configuration:\\\"; send -- \\\"unique\\\\r\\\"; expect \\\"New Description:\\\"; send \\\"\\\\r\\\"; expect \\\"Would you like to upload the results to OpenBenchmarking.org (Y/n):\\\"; send \\\"n\\\\r\\\"; interact;\"], \"rc\": 0, \"start\": \"2017-04-24 09:01:43.745257\", \"stderr\": \"\", \"delta\": \"0:01:10.771776\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"expect -c \\\"spawn phoronix-test-suite run-test iozone; expect \\\\\\\"Record Size:\\\\\\\"; send \\\\\\\"2 \\\\\\\"; expect \\\\\\\"File Size:\\\\\\\"; send \\\\\\\"2 \\\\\\\"; expect \\\\\\\"Disk Test:\\\\\\\"; send \\\\\\\"3 \\\\\\\"; expect \\\\\\\"\\\\(Y/n\\\\):\\\\\\\"; send -- \\\\\\\"y\\\\r\\\\\\\"; expect \\\\\\\"Enter a name to save these results under:\\\\\\\"; send \\\\\\\"out \\\\\\\"; expect \\\\\\\"Enter a unique name to describe this test run / configuration:\\\\\\\"; send -- \\\\\\\"unique\\\\r\\\\\\\"; expect \\\\\\\"New Description:\\\\\\\"; send \\\\\\\"\\\\r\\\\\\\"; expect \\\\\\\"Would you like to upload the results to OpenBenchmarking.org (Y/n):\\\\\\\"; send \\\\\\\"n\\\\r\\\\\\\"; interact;\\\"\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"spawn phoronix-test-suite run-test iozone\", \"\", \"\", \"IOzone 3.405:\", \" pts/iozone-1.8.0\", \" Disk Test Configuration\", \" 1: 4Kb\", \" 2: 64Kb\", \" 3: 1MB\", \" 4: Test All Options\", \" Record Size: 2 2 3 y\", \"\", \" 1: 4Kb\", \" 2: 64Kb\", \" 3: 1MB\", \" 4: Test All Options\", \" Record Size: out unique\", \"\", \" 1: 4Kb\", \" 2: 64Kb\", \" 3: 1MB\", \" 4: Test All Options\", \" Record Size: \", \"\", \" 1: 4Kb\", \" 2: 64Kb\", \" 3: 1MB\", \" 4: Test All Options\", \" Record Size: \"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 09:02:57.180409\", \"_ansible_no_log\": false, \"stdout\": \"\\n[PROBLEM] Invalid Argument: out \\n\\nCORRECT SYNTAX:\\nphoronix-test-suite result-file-to-csv [Test Result]\", \"cmd\": [\"phoronix-test-suite\", \"result-file-to-csv\", \"out\"], \"rc\": 0, \"start\": \"2017-04-24 09:02:56.695970\", \"stderr\": \"\", \"delta\": \"0:00:00.484439\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"phoronix-test-suite result-file-to-csv out\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"\", \"[PROBLEM] Invalid Argument: out \", \"\", \"CORRECT SYNTAX:\", \"phoronix-test-suite result-file-to-csv [Test Result]\"], \"warnings\": []}}, {\"host\": \"34.200.214.56\", \"result\": {\"_ansible_parsed\": true, \"changed\": true, \"end\": \"2017-04-24 09:02:57.387795\", \"_ansible_no_log\": false, \"stdout\": \"\\n[PROBLEM] Invalid Argument: out \\n\\nCORRECT SYNTAX:\\nphoronix-test-suite result-file-to-csv [Test Result]\", \"cmd\": [\"phoronix-test-suite\", \"result-file-to-csv\", \"out\"], \"rc\": 0, \"start\": \"2017-04-24 09:02:56.687882\", \"stderr\": \"\", \"delta\": \"0:00:00.699913\", \"invocation\": {\"module_name\": \"command\", \"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": false, \"_raw_params\": \"phoronix-test-suite result-file-to-csv out\", \"removes\": null, \"creates\": null, \"chdir\": null}}, \"stdout_lines\": [\"\", \"[PROBLEM] Invalid Argument: out \", \"\", \"CORRECT SYNTAX:\", \"phoronix-test-suite result-file-to-csv [Test Result]\"], \"warnings\": []}}, {\"host\": \"54.237.197.227\", \"result\": {\"invocation\": {\"module_name\": \"debug\", \"module_args\": {\"msg\": \"\\n[PROBLEM] Invalid Argument: out \\n\\nCORRECT SYNTAX:\\nphoronix-test-suite result-file-to-csv [Test Result]\"}}, \"msg\": \"\\n[PROBLEM] Invalid Argument: out \\n\\nCORRECT SYNTAX:\\nphoronix-test-suite result-file-to-csv [Test Result]\", \"changed\": false, \"_ansible_verbose_always\": true, \"_ansible_no_log\": false}}, {\"host\": \"34.200.214.56\", \"result\": {\"invocation\": {\"module_name\": \"debug\", \"module_args\": {\"msg\": \"\\n[PROBLEM] Invalid Argument: out \\n\\nCORRECT SYNTAX:\\nphoronix-test-suite result-file-to-csv [Test Result]\"}}, \"msg\": \"\\n[PROBLEM] Invalid Argument: out \\n\\nCORRECT SYNTAX:\\nphoronix-test-suite result-file-to-csv [Test Result]\", \"changed\": false, \"_ansible_verbose_always\": true, \"_ansible_no_log\": false}}]", "encoding": "UTF-8"}]}
\ No newline at end of file
/*
* Copyright 2017 S. Koulouzis, Wang Junchao, Huan Zhou, Yang Hu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nl.uva.sne.drip.api.dao;
import nl.uva.sne.drip.data.v1.external.ansible.AnsibleOutput;
import org.springframework.data.mongodb.repository.MongoRepository;
/**
*
* @author S. Koulouzis
*/
public interface AnsibleOutputDao extends MongoRepository<AnsibleOutput, String> {
}
/*
* Copyright 2017 S. Koulouzis, Wang Junchao, Huan Zhou, Yang Hu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nl.uva.sne.drip.api.dao;
import nl.uva.sne.drip.data.v1.external.ansible.BenchmarkResult;
import org.springframework.data.mongodb.repository.MongoRepository;
/**
*
* @author S. Koulouzis
*/
public interface BenchmarkResultDao extends MongoRepository<BenchmarkResult, String> {
}
......@@ -24,8 +24,8 @@ import org.springframework.data.mongodb.repository.MongoRepository;
*/
public interface CloudCredentialsDao extends MongoRepository<CloudCredentials, String> {
@Override
CloudCredentials findOne(String id);
// @Override
// CloudCredentials findOne(String id);
//
// @PreAuthorize(ALLOWED_FOR_ADMINISTRATOR)
// @Override
......
......@@ -17,7 +17,9 @@ package nl.uva.sne.drip.api.dao;
import nl.uva.sne.drip.data.v1.external.DeployResponse;
import nl.uva.sne.drip.data.v1.external.Key;
import nl.uva.sne.drip.data.v1.external.ansible.AnsibleResult;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.Query;
/**
*
......@@ -25,4 +27,6 @@ import org.springframework.data.mongodb.repository.MongoRepository;
*/
public interface DeployDao extends MongoRepository<DeployResponse, String> {
@Query(value = "{'statusHistories':{$elemMatch:{'status':{$in:['PROCESSABLE']}}},'created' : { '$gt' : { '$date' : ':?0' } , '$lt' : { '$date' : ':?1'}}}", count = true)
public Iterable<AnsibleResult> findByCommand(String cmd);
}
/*
* Copyright 2017 S. Koulouzis, Wang Junchao, Huan Zhou, Yang Hu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nl.uva.sne.drip.api.service;
import nl.uva.sne.drip.api.dao.BenchmarkResultDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Service;
/**
*
* @author S. Koulouzis
*/
@Service
@PreAuthorize("isAuthenticated()")
public class BenchmarkResultService {
@Autowired
private BenchmarkResultDao benchmarkResultDao;
}
......@@ -16,6 +16,7 @@
package nl.uva.sne.drip.api.service;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.util.ArrayList;
......@@ -25,6 +26,8 @@ import java.util.Map;
import java.util.concurrent.TimeoutException;
import java.util.logging.Level;
import java.util.logging.Logger;
import nl.uva.sne.drip.api.dao.AnsibleOutputDao;
import nl.uva.sne.drip.api.dao.DeployDao;
import nl.uva.sne.drip.api.exception.NotFoundException;
import nl.uva.sne.drip.api.rpc.DRIPCaller;
import nl.uva.sne.drip.api.rpc.DeployerCaller;
......@@ -46,7 +49,6 @@ import org.springframework.security.access.prepost.PostFilter;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Service;
import nl.uva.sne.drip.api.dao.DeployDao;
import nl.uva.sne.drip.api.dao.KeyPairDao;
import nl.uva.sne.drip.api.exception.KeyException;
import nl.uva.sne.drip.data.v1.external.KeyPair;
......@@ -63,6 +65,9 @@ public class DeployService {
@Autowired
private DeployDao deployDao;
@Autowired
private AnsibleOutputDao ansibleOutputDao;
@Autowired
KeyPairDao keyDao;
......@@ -87,6 +92,11 @@ public class DeployService {
return creds;
}
@PostAuthorize("(returnObject.owner == authentication.name) or (hasRole('ROLE_ADMIN'))")
public List<DeployResponse> findSysbench() {
return deployDao.findAll();
}
@PostFilter("(filterObject.owner == authentication.name) or (hasRole('ROLE_ADMIN'))")
public List<DeployResponse> findAll() {
return deployDao.findAll();
......@@ -119,11 +129,15 @@ public class DeployService {
// Message response = MessageGenerator.generateArtificialMessage(System.getProperty("user.home")
// + File.separator + "workspace" + File.separator + "DRIP"
// + File.separator + "docs" + File.separator + "json_samples"
// + File.separator + "deployer_ansible_response2.json");
// + File.separator + "deployer_ansible_response_benchmark.json");
Message response = (deployer.call(deployerInvokationMessage));
List<MessageParameter> params = response.getParameters();
return handleResponse(params);
DeployResponse deploy = handleResponse(params, deployInfo);
deploy.setProvisionID(deployInfo.getProvisionID());
deploy.setConfigurationID(deployInfo.getConfigurationID());
deploy.setManagerType(deployInfo.getManagerType().toLowerCase());
save(deploy);
return deploy;
} catch (IOException | TimeoutException | JSONException | InterruptedException ex) {
Logger.getLogger(DeployController.class.getName()).log(Level.SEVERE, null, ex);
......@@ -213,7 +227,7 @@ public class DeployService {
return ansibleParameter;
}
private DeployResponse handleResponse(List<MessageParameter> params) throws KeyException, IOException {
private DeployResponse handleResponse(List<MessageParameter> params, DeployRequest deployInfo) throws KeyException, IOException {
DeployResponse deployResponse = new DeployResponse();
for (MessageParameter p : params) {
......@@ -233,13 +247,31 @@ public class DeployService {
if (name.equals("ansible_output")) {
String value = p.getValue();
ObjectMapper mapper = new ObjectMapper();
System.err.println(value);
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
List<AnsibleOutput> outputList = mapper.readValue(value, new TypeReference<List<AnsibleOutput>>() {
});
deployResponse.setAnsibleOutputList(outputList);
List<String> outputListIds = new ArrayList<>();
for (AnsibleOutput ansOut : outputList) {
Map<String, Object> map = provisionService.findOne(deployInfo.getProvisionID()).getKeyValue();
List<Map<String, Object>> components = (List<Map<String, Object>>) map.get("components");
for (Map<String, Object> component : components) {
String publicAddress = (String) component.get("public_address");
if (publicAddress.equals(ansOut.getHost())) {
ansOut.setVmType((String) component.get("nodeType"));
ansOut.setCloudDeploymentDomain((String) component.get("domain"));
// ansOut.setCloudProviderName("");
break;
}
}
ansOut = ansibleOutputDao.save(ansOut);
outputListIds.add(ansOut.getId());
}
deployResponse.setAnsibleOutputList(outputListIds);
}
}
save(deployResponse);
return deployResponse;
}
}
/*
* Copyright 2017 S. Koulouzis, Wang Junchao, Huan Zhou, Yang Hu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nl.uva.sne.drip.api.v1.rest;
import com.webcohesion.enunciate.metadata.rs.ResponseCode;
import com.webcohesion.enunciate.metadata.rs.StatusCodes;
import nl.uva.sne.drip.api.service.BenchmarkResultService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.stereotype.Controller;
/**
* This controller is responsible for deploying a cluster on provisoned
* resources.
*
* @author S. Koulouzis
*/
@RestController
@RequestMapping("/user/v1.0/benchmark")
@Controller
@StatusCodes({
@ResponseCode(code = 401, condition = "Bad credentials")
})
public class Benchmark {
private BenchmarkResultService benchmarkResultService;
}
......@@ -62,8 +62,8 @@ public class DeployController {
if (deployRequest.getProvisionID() == null) {
throw new BadRequestException("Must provide provision ID");
}
DeployResponse key = deployService.deploySoftware(deployRequest);
return key.getId();
DeployResponse deploy = deployService.deploySoftware(deployRequest);
return deploy.getId();
}
@RequestMapping(value = "/sample", method = RequestMethod.GET)
......@@ -88,6 +88,17 @@ public class DeployController {
return resp;
}
@RequestMapping(value = "/sysbench", method = RequestMethod.GET)
@RolesAllowed({UserService.USER, UserService.ADMIN})
public @ResponseBody
List<DeployResponse> getSysbenchOutputs() {
List<DeployResponse> resp = deployService.findSysbench();
if (resp == null) {
throw new NotFoundException();
}
return resp;
}
@RequestMapping(value = "/ids", method = RequestMethod.GET)
@RolesAllowed({UserService.USER, UserService.ADMIN})
public @ResponseBody
......
......@@ -31,17 +31,17 @@ public class DeployResponse extends DeployRequest {
private KeyPair key;
private List<AnsibleOutput> ansibleOutputList;
private List<String> ansibleOutputListIDs;
public void setAnsibleOutputList(List<AnsibleOutput> outputList) {
this.ansibleOutputList = outputList;
public void setAnsibleOutputList(List<String> outputListIDs) {
this.ansibleOutputListIDs = outputListIDs;
}
/**
* @return the ansibleOutputList
*/
public List<AnsibleOutput> getAnsibleOutputList() {
return ansibleOutputList;
public List<String> getAnsibleOutputList() {
return ansibleOutputListIDs;
}
public void setKey(KeyPair key) {
......
......@@ -15,7 +15,6 @@
*/
package nl.uva.sne.drip.data.v1.external;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.webcohesion.enunciate.metadata.DocumentationExample;
import java.util.List;
import org.springframework.data.mongodb.core.mapping.Document;
......
......@@ -15,9 +15,7 @@
*/
package nl.uva.sne.drip.data.v1.external;
import com.webcohesion.enunciate.metadata.DocumentationExample;
import java.util.List;
import org.springframework.data.annotation.Id;
/**
* This class represents a description of provisioned resources
......
......@@ -19,27 +19,35 @@ package nl.uva.sne.drip.data.v1.external.ansible;
*
* @author S. Koulouzis
*/
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import nl.uva.sne.drip.data.v1.external.OwnedObject;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"host",
"result"
})
public class AnsibleOutput {
@Document
public class AnsibleOutput extends OwnedObject {
@Indexed
@JsonProperty("host")
private String host;
@Indexed
@JsonProperty("cloudDeploymentDomain")
private String cloudDeploymentDomain;
@Indexed
@JsonProperty("vmType")
private String vmType;
@JsonProperty("result")
private AnsibleResult result;
@JsonProperty("host")
public String getHost() {
......@@ -60,4 +68,24 @@ public class AnsibleOutput {
public void setAnsiibleResult(AnsibleResult result) {
this.result = result;
}
@JsonProperty("cloudDeploymentDomain")
public String getCloudDeploymentDomain() {
return cloudDeploymentDomain;
}
@JsonProperty("cloudDeploymentDomain")
public void setCloudDeploymentDomain(String cloudDeploymentDomain) {
this.cloudDeploymentDomain = cloudDeploymentDomain;
}
@JsonProperty("vmType")
public String getVmType() {
return vmType;
}
@JsonProperty("vmType")
public void setVmType(String vmType) {
this.vmType = vmType;
}
}
......@@ -19,28 +19,49 @@ package nl.uva.sne.drip.data.v1.external.ansible;
*
* @author S. Koulouzis
*/
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.Date;
import org.springframework.data.mongodb.core.index.Indexed;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"msg",
"changed",
"results"
})
public class AnsibleResult {
@JsonProperty("msg")
private String msg;
@JsonProperty("changed")
private Boolean changed;
@JsonProperty("end")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS")
private Date end;
@JsonProperty("start")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS")
private Date start;
@JsonProperty("delta")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm:ss.SSSSSS")
private Date delta;
@JsonProperty("stdout")
private String stdout;
@JsonProperty("stderr")
private String stderr;
@Indexed
@JsonProperty("cmd")
private List<String> cmd;
@JsonProperty("stdout_lines")
private List<String> stdout_lines;
@JsonProperty("results")
private List<AnsibleResult_> results = null;
......@@ -74,4 +95,74 @@ public class AnsibleResult {
this.results = results;
}
@JsonProperty("end")
public Date getEnd() {
return end;
}
@JsonProperty("end")
public void setEnd(Date end) {
this.end = end;
}
@JsonProperty("stdout")
public String getStdout() {
return stdout;
}
@JsonProperty("stdout")
public void setStdout(String stdout) {
this.stdout = stdout;
}
@JsonProperty("cmd")
public List<String> getCmd() {
return cmd;
}
@JsonProperty("cmd")
public void setCmd(List<String> cmd) {
this.cmd = cmd;
}
@JsonProperty("start")
public Date getStart() {
return start;
}
@JsonProperty("start")
public void setStart(Date start) {
this.start = start;
}
@JsonProperty("stderr")
public String getStderr() {
return stderr;
}
@JsonProperty("stderr")
public void setStderr(String stderr) {
this.stderr = stderr;
}
@JsonProperty("delta")
public Date getDelta() {
return delta;
}
@JsonProperty("delta")
public void setDelta(Date delta) {
this.delta = delta;
}
@JsonProperty("stdout_lines")
public List<String> getStdout_lines() {
return stdout_lines;
}
@JsonProperty("stdout_lines")
public void setStdout_lines(List<String> stdout_lines) {
this.stdout_lines = stdout_lines;
}
}
/*
* Copyright 2017 S. Koulouzis, Wang Junchao, Huan Zhou, Yang Hu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nl.uva.sne.drip.data.v1.external.ansible;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import nl.uva.sne.drip.data.v1.external.OwnedObject;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
/**
*
* @author S. Koulouzis
*/
@Document
public class BenchmarkResult extends OwnedObject {
@Indexed
private String host;
@Indexed
private String cloudProvider;
@JsonProperty("end")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS")
private Date end;
@JsonProperty("start")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS")
private Date start;
@JsonProperty("delta")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm:ss.SSSSSS")
private Date delta;
/**
* @return the host
*/
public String getHost() {
return host;
}
/**
* @param host the host to set
*/
public void setHost(String host) {
this.host = host;
}
/**
* @return the cloudProvider
*/
public String getCloudProvider() {
return cloudProvider;
}
/**
* @param cloudProvider the cloudProvider to set
*/
public void setCloudProvider(String cloudProvider) {
this.cloudProvider = cloudProvider;
}
/**
* @return the end
*/
public Date getEnd() {
return end;
}
/**
* @param end the end to set
*/
public void setEnd(Date end) {
this.end = end;
}
/**
* @return the start
*/
public Date getStart() {
return start;
}
/**
* @param start the start to set
*/
public void setStart(Date start) {
this.start = start;
}
/**
* @return the delta
*/
public Date getDelta() {
return delta;
}
/**
* @param delta the delta to set
*/
public void setDelta(Date delta) {
this.delta = delta;
}
}
......@@ -19,11 +19,6 @@ package nl.uva.sne.drip.data.v1.external.ansible;
*
* @author S. Koulouzis
*/
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
......
/*
* Copyright 2017 S. Koulouzis, Wang Junchao, Huan Zhou, Yang Hu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nl.uva.sne.drip.data.v1.external.ansible;
import org.springframework.data.mongodb.core.mapping.Document;
/**
*
* @author S. Koulouzis
*/
@Document
public class SysbenchCPUBenchmark extends BenchmarkResult {
private String sysbenchVersion;
private int numberOfThreads;
private int totalNumberOfEvents;
private double executionTime;
private int avgEventsPerThread;
private int stddevEventsPerThread;
private int avgExecTimePerThread;
private int stddevExecTimePerThread;
/**
* @return the sysbenchVersion
*/
public String getSysbenchVersion() {
return sysbenchVersion;
}
/**
* @param sysbenchVersion the sysbenchVersion to set
*/
public void setSysbenchVersion(String sysbenchVersion) {
this.sysbenchVersion = sysbenchVersion;
}
/**
* @return the numberOfThreads
*/
public int getNumberOfThreads() {
return numberOfThreads;
}
/**
* @param numberOfThreads the numberOfThreads to set
*/
public void setNumberOfThreads(int numberOfThreads) {
this.numberOfThreads = numberOfThreads;
}
/**
* @return the totalNumberOfEvents
*/
public int getTotalNumberOfEvents() {
return totalNumberOfEvents;
}
/**
* @param totalNumberOfEvents the totalNumberOfEvents to set
*/
public void setTotalNumberOfEvents(int totalNumberOfEvents) {
this.totalNumberOfEvents = totalNumberOfEvents;
}
/**
* @return the executionTime
*/
public double getExecutionTime() {
return executionTime;
}
/**
* @param executionTime the executionTime to set
*/
public void setExecutionTime(double executionTime) {
this.executionTime = executionTime;
}
/**
* @return the avgEventsPerThread
*/
public int getAvgEventsPerThread() {
return avgEventsPerThread;
}
/**
* @param avgEventsPerThread the avgEventsPerThread to set
*/
public void setAvgEventsPerThread(int avgEventsPerThread) {
this.avgEventsPerThread = avgEventsPerThread;
}
/**
* @return the stddevEventsPerThread
*/
public int getStddevEventsPerThread() {
return stddevEventsPerThread;
}
/**
* @param stddevEventsPerThread the stddevEventsPerThread to set
*/
public void setStddevEventsPerThread(int stddevEventsPerThread) {
this.stddevEventsPerThread = stddevEventsPerThread;
}
/**
* @return the avgExecTimePerThread
*/
public int getAvgExecTimePerThread() {
return avgExecTimePerThread;
}
/**
* @param avgExecTimePerThread the avgExecTimePerThread to set
*/
public void setAvgExecTimePerThread(int avgExecTimePerThread) {
this.avgExecTimePerThread = avgExecTimePerThread;
}
/**
* @return the stddevExecTimePerThread
*/
public int getStddevExecTimePerThread() {
return stddevExecTimePerThread;
}
/**
* @param stddevExecTimePerThread the stddevExecTimePerThread to set
*/
public void setStddevExecTimePerThread(int stddevExecTimePerThread) {
this.stddevExecTimePerThread = stddevExecTimePerThread;
}
}
......@@ -20,8 +20,8 @@
- {debug: 'msg="{{ sysbenchoutput.stdout }}"'}
- {name: Run stream, command: 'expect -c "spawn phoronix-test-suite run-test stream;
expect \"Type:\"; send \"4 \"; expect \"\(Y/n\):\"; send -- \"y\r\"; expect
\"Enter a name to save these results under:\"; send \"out \"; expect \"Enter
a unique name to describe this test run / configuration:\"; send -- \"unique\r\";
\"Enter a name to save these results under:\"; send \"ram \"; expect \"Enter
a unique name to describe this test run / configuration:\"; send -- \"ram_conf\r\";
expect \"New Description:\"; send \"\r\"; expect \"Would you like to upload
the results to OpenBenchmarking.org (Y/n):\"; send \"n\r\"; interact;"', register: streamoutput,
become: true}
......@@ -29,11 +29,15 @@
- {name: Run iozone, command: 'expect -c "spawn phoronix-test-suite run-test iozone;
expect \"Record Size:\"; send \"2 \"; expect \"File Size:\"; send \"2 \"; expect
\"Disk Test:\"; send \"3 \"; expect \"\(Y/n\):\"; send -- \"y\r\"; expect \"Enter
a name to save these results under:\"; send \"out \"; expect \"Enter a unique
name to describe this test run / configuration:\"; send -- \"unique\r\"; expect
a name to save these results under:\"; send \"disk_out \"; expect \"Enter a unique
name to describe this test run / configuration:\"; send -- \"disk_conf\r\"; expect
\"New Description:\"; send \"\r\"; expect \"Would you like to upload the results
to OpenBenchmarking.org (Y/n):\"; send \"n\r\"; interact;"', register: iozoneoutput,
become: true}
- {name: Get stream results, command: phoronix-test-suite result-file-to-csv out,
- {name: Get stream results, command: phoronix-test-suite result-file-to-csv ram,
register: streamoutput, become: true}
- {debug: 'msg="{{ streamoutput.stdout }}"'}
- {name: Get stream results, command: phoronix-test-suite result-file-to-csv disk_out,
register: streamoutput, become: true}
- {debug: 'msg="{{ streamoutput.stdout }}"'}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment