THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED "AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, and iQuick Study are service marks of Cisco Systems, Inc.; and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo, Networking Academy, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0601R)
This document descirbes the SOAP API and the formats used to interact with this API. If you wish to use the Web Services Description Language file that is included with this installation, you can use this document as a reference for the parameters and commands, but the sample envelopes will be slightly different than those sent by a tool which uses the WSDL file. The SOAP API described in this document is a pure SOAP implementation that is used by many existing applications, including the client tools that come with this product. To support those users who wish to use the convenience of a WSDL file, a file was created that works with several toolsets, but the interaction had to be changed slightly from the original SOAP API to ensure maximum compatibility. The sample envelopes for web services are not published in this document since they are not of great importance to someone using a WSDL file. Programmers looking to parse and manipulate their own SOAP packets should use the examples in this document, not the WSDL file.
For those looking to use the Web Services Description Language file, look here.
Mark a device as activated.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:activate_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:activate_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a new advanced script.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_advanced_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:driver xsi:type="xsd:string"></nas:driver>
<nas:language xsi:type="xsd:string">script language</nas:language>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:script xsi:type="xsd:string">script</nas:script>
<nas:type xsi:type="xsd:string">advanced</nas:type>
<!-- Optional arguments -->
<nas:description xsi:type="xsd:string">description</nas:description>
<nas:family xsi:type="xsd:string">device family</nas:family>
<nas:parameters xsi:type="xsd:string">script parameters</nas:parameters>
<nas:scripttype xsi:type="xsd:string">script type</nas:scripttype>
</nas:add_advanced_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add device password information.
This command can modify passwords on a specific device or device group, or merely update what the system knows of a device's or network's password information. The -ip option provides information specific to the device. Otherwise, the command adds a network-wide password rule to the system. When using this command to modify passwords on a device, the modification operation is actually a scheduled task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_authentication xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:loc xsi:type="xsd:string">(device|group|db)</nas:loc>
<!-- Optional arguments -->
<nas:accessvariables xsi:type="xsd:string">access variables</nas:accessvariables>
<nas:appendsnmpro xsi:type="xsd:string">append to read only community strings?</nas:appendsnmpro>
<nas:appendsnmprw xsi:type="xsd:string">append to read write community strings?</nas:appendsnmprw>
<nas:connectionmethods xsi:type="xsd:string">connection methods</nas:connectionmethods>
<nas:enablepasswd xsi:type="xsd:string">enable password</nas:enablepasswd>
<nas:enableuser xsi:type="xsd:string">enable mode username</nas:enableuser>
<nas:group xsi:type="xsd:string">name of device group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:iprangeend xsi:type="xsd:string">ip end range</nas:iprangeend>
<nas:iprangestart xsi:type="xsd:string">ip start range</nas:iprangestart>
<nas:passwd xsi:type="xsd:string">password</nas:passwd>
<nas:rule xsi:type="xsd:string">name of device password rule</nas:rule>
<nas:ruledevicegroup xsi:type="xsd:string">device group</nas:ruledevicegroup>
<nas:rulehostname xsi:type="xsd:string">Host name></nas:rulehostname>
<nas:snmpro xsi:type="xsd:string">read-only community string</nas:snmpro>
<nas:snmprw xsi:type="xsd:string">read-write community string</nas:snmprw>
<nas:snmpv3authpw xsi:type="xsd:string">SNMPv3 authentication password</nas:snmpv3authpw>
<nas:snmpv3encryptpw xsi:type="xsd:string">SNMPv3 encryption password</nas:snmpv3encryptpw>
<nas:snmpv3user xsi:type="xsd:string">SNNPv3 username</nas:snmpv3user>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
<nas:user xsi:type="xsd:string">username</nas:user>
</nas:add_authentication>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a new command script.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_command_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:mode xsi:type="xsd:string">custom action mode</nas:mode>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:script xsi:type="xsd:string">script</nas:script>
<nas:type xsi:type="xsd:string">command</nas:type>
<!-- Optional arguments -->
<nas:description xsi:type="xsd:string">description</nas:description>
<nas:driver xsi:type="xsd:string">driver</nas:driver>
<nas:scripttype xsi:type="xsd:string">script type</nas:scripttype>
</nas:add_command_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a device to the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:accessmethods xsi:type="xsd:string">supported access methods</nas:accessmethods>
<nas:asset xsi:type="xsd:string">Asset Tag</nas:asset>
<nas:comment xsi:type="xsd:string">Comment</nas:comment>
<nas:consoleip xsi:type="xsd:string">Console IP Address</nas:consoleip>
<nas:consoleport xsi:type="xsd:string">Console Port</nas:consoleport>
<nas:description xsi:type="xsd:string">Device Name</nas:description>
<nas:domain xsi:type="xsd:string">primary FQDN</nas:domain>
<nas:hierarchylayer xsi:type="xsd:string">hierarchy layer</nas:hierarchylayer>
<nas:hostname xsi:type="xsd:string">Hostname</nas:hostname>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:location xsi:type="xsd:string">Location</nas:location>
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:natip xsi:type="xsd:string">NAT IP Address</nas:natip>
<nas:nopoll xsi:type="xsd:string">0</nas:nopoll>
<nas:serial xsi:type="xsd:string">Serial Number</nas:serial>
<nas:tftpserverip xsi:type="xsd:string">TFTP Server IP Address</nas:tftpserverip>
<nas:unmanaged xsi:type="xsd:string">0</nas:unmanaged>
<nas:useconsoleserver xsi:type="xsd:string">true=use console server</nas:useconsoleserver>
<nas:vendor xsi:type="xsd:string">Vendor</nas:vendor>
</nas:add_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a device to a device group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_device_to_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:group xsi:type="xsd:string">group name</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:add_device_to_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a new custom diagnostic script.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_diagnostic xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:mode xsi:type="xsd:string">custom action mode</nas:mode>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:script xsi:type="xsd:string">script</nas:script>
<nas:type xsi:type="xsd:string">diagnostic</nas:type>
<!-- Optional arguments -->
<nas:description xsi:type="xsd:string">description</nas:description>
<nas:driver xsi:type="xsd:string">driver</nas:driver>
</nas:add_diagnostic>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add an event.
An email message (containing the event) will be the result of an added events if the system is configured to send email for added events.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_event xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:message xsi:type="xsd:string">message</nas:message>
<!-- Optional arguments -->
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:add_event>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a event rule.
Add new event rule. It will subscribe provided host to the system events.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_event_rule xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:action xsi:type="xsd:string">action type</nas:action>
<nas:name xsi:type="xsd:string">rule name</nas:name>
<nas:receiverhost xsi:type="xsd:string">receiver host name</nas:receiverhost>
<!-- Optional arguments -->
<nas:community xsi:type="xsd:string">community string</nas:community>
<nas:events xsi:type="xsd:string">event types</nas:events>
<nas:receiverport xsi:type="xsd:string">receiver port</nas:receiverport>
</nas:add_event_rule>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a group to the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">group name</nas:name>
<nas:type xsi:type="xsd:string">group type</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:shared xsi:type="xsd:string">0</nas:shared>
</nas:add_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a device group to a parent device group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_group_to_parent_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:child xsi:type="xsd:string">child group name</nas:child>
<nas:parent xsi:type="xsd:string">parent group name</nas:parent>
</nas:add_group_to_parent_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add images to database.
Add images to database. Must specify either driver or model
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_image xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:images xsi:type="xsd:string">name</nas:images>
<nas:imageset xsi:type="xsd:string">setname</nas:imageset>
<!-- Optional arguments -->
<nas:bootrom xsi:type="xsd:string">bootrom</nas:bootrom>
<nas:driver xsi:type="xsd:string">driver</nas:driver>
<nas:memory xsi:type="xsd:string">0</nas:memory>
<nas:model xsi:type="xsd:string">model</nas:model>
<nas:processor xsi:type="xsd:string">processors</nas:processor>
</nas:add_image>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add information for device which is not under management but needed for software image update.
Add information for device which is not under management but needed for software image update.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_imageoption xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:imagebootroms xsi:type="xsd:string">bootromname</nas:imagebootroms>
<nas:imagemodels xsi:type="xsd:string">modelname</nas:imagemodels>
<nas:imageprocessors xsi:type="xsd:string">processorname</nas:imageprocessors>
</nas:add_imageoption>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add new secondary ip.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_ip xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:deviceip xsi:type="xsd:string">device ip address</nas:deviceip>
<nas:ipvalue xsi:type="xsd:string">ip address value</nas:ipvalue>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">Comment</nas:comment>
<nas:usetoaccess xsi:type="xsd:string">0</nas:usetoaccess>
</nas:add_ip>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a piece of custom data to be associated with a specific field and associated entity.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_metadata xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:associatedtableid xsi:type="xsd:string">0</nas:associatedtableid>
<nas:fieldid xsi:type="xsd:string">0</nas:fieldid>
<!-- Optional arguments -->
<nas:data xsi:type="xsd:string">data</nas:data>
</nas:add_metadata>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Used to define a custom data field for a specific table.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_metadata_field xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:associatedtable xsi:type="xsd:string">associated table</nas:associatedtable>
<nas:fieldname xsi:type="xsd:string">field name</nas:fieldname>
<!-- Optional arguments -->
<nas:fieldvalues xsi:type="xsd:string">field values</nas:fieldvalues>
<nas:flags xsi:type="xsd:string">0</nas:flags>
<nas:inuse xsi:type="xsd:string">0</nas:inuse>
</nas:add_metadata_field>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a parent group to the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_parent_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">group name</nas:name>
<nas:type xsi:type="xsd:string">group type</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
</nas:add_parent_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a partition to view.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_partition xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:viewname xsi:type="xsd:string">viewName</nas:viewname>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
</nas:add_partition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_snmp_trap_config xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:value xsi:type="xsd:string">value</nas:value>
</nas:add_snmp_trap_config>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a system message.
An email message (containing the system message) will be the result of an added system messages if the system is configured to send email for added events.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_system_message xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:message xsi:type="xsd:string">message</nas:message>
<!-- Optional arguments -->
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:add_system_message>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a user to the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_user xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:p xsi:type="xsd:string">password</nas:p>
<nas:u xsi:type="xsd:string">username</nas:u>
<!-- Optional arguments -->
<nas:aaapassword xsi:type="xsd:string">AAA Password</nas:aaapassword>
<nas:aaausername xsi:type="xsd:string">AAA Username</nas:aaausername>
<nas:email xsi:type="xsd:string">Email</nas:email>
<nas:extauthfailover xsi:type="xsd:string">Use External Auth Failover (yes|no)</nas:extauthfailover>
<nas:fn xsi:type="xsd:string">FirstName</nas:fn>
<nas:ln xsi:type="xsd:string">LastName</nas:ln>
<nas:useaaaloginforproxy xsi:type="xsd:string">Use AAA Login for Proxy (yes|no)</nas:useaaaloginforproxy>
</nas:add_user>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a user to a user group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:add_user_to_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:g xsi:type="xsd:string">group name</nas:g>
<nas:u xsi:type="xsd:string">username</nas:u>
</nas:add_user_to_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify the comments on, or the display name of, a device access record.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:annotate_access xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">configid</nas:id>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:customname xsi:type="xsd:string">custom field name</nas:customname>
<nas:customvalue xsi:type="xsd:string">custom value</nas:customvalue>
<nas:name xsi:type="xsd:string">name</nas:name>
</nas:annotate_access>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Add a comment to the specified config.
Note that comments added by means of this command are not added to the config itself. They are stored seperately along with the config.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:annotate_config xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:id xsi:type="xsd:string">configid</nas:id>
</nas:annotate_config>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Manually assign driver to device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:assign_driver xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">deviceid</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:name xsi:type="xsd:string">drivername</nas:name>
</nas:assign_driver>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Configure a device to send syslog messages to the system's change detection facilites.
Have the system configure the specified device to send all syslog messages necessary for the system's change detection facilites to function optimally to the system's syslog server. The configuration operation is atually a scheduled task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:configure_syslog xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:group xsi:type="xsd:string">group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
<nas:usesyslogrelay xsi:type="xsd:string">ipaddress</nas:usesyslogrelay>
</nas:configure_syslog>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Mark a device as deactivated.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:deactivate_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:deactivate_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete access records.
This command can delete a single access record when provided that record's id (via. the option "-id"), or all access records prior to a given date (via the option "-cutoff"). Provide exactly one of "-id", "-cutoff". Note that deleting access records will cause all configs associated with the deleted access record to also be deleted.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_access xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:cutoff xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:cutoff>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:del_access>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Deletes all password information associated with the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_authentication xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:loc xsi:type="xsd:string">(device|group|db</nas:loc>
<nas:rulename xsi:type="xsd:string">password rule to delete</nas:rulename>
</nas:del_authentication>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:del_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete device configuration and diagnostic data.
This command can delete a single device data block when provided that device data id (via. the option "-id"), or all device data prior to a given date (via the option "-cutoff"). Provide exactly one of "-id", "-cutoff".
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_device_data xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:cutoff xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:cutoff>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:del_device_data>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete a device from a device group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_device_from_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:group xsi:type="xsd:string">group name</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:del_device_from_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete all drivers associated with a device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_drivers xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:del_drivers>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete the specified event.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_event xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:del_event>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete a group from the system.
Specify the group by both its name and type.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">group name</nas:name>
<nas:type xsi:type="xsd:string">group type</nas:type>
</nas:del_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Remove a device group from a parent device group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_group_from_parent_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:child xsi:type="xsd:string">child group name</nas:child>
<nas:parent xsi:type="xsd:string">parent group name</nas:parent>
</nas:del_group_from_parent_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete the specified ip.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_ip xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:deviceip xsi:type="xsd:string">device ip address</nas:deviceip>
<nas:ipvalue xsi:type="xsd:string">ip address value</nas:ipvalue>
</nas:del_ip>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete a specific piece of custom data.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_metadata xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:metadataid xsi:type="xsd:string">0</nas:metadataid>
</nas:del_metadata>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete a custom data field and all data currently associated with that field.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_metadata_field xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:fieldid xsi:type="xsd:string">0</nas:fieldid>
</nas:del_metadata_field>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete a partition from view.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_partition xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">partition name</nas:name>
</nas:del_partition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete an existing command script, advanced script or diagnostic.
Delete the indicated command script, advanced script or diagnostic. The desired script or diagnostic can be specified by ID, or by a combination of name and type. If more than one name match occurs, then an error will be reported and you must specify the unique script desired by ID.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:del_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete an interceptor log record.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_session xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:del_session>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete the specified system message.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_system_message xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:del_system_message>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete a task.
Deletes a task, whether it has run or not.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_task xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">taskid</nas:id>
</nas:del_task>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete a user from the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_user xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:u xsi:type="xsd:string">username</nas:u>
</nas:del_user>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete a user from a user group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:del_user_from_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:g xsi:type="xsd:string">group name</nas:g>
<nas:u xsi:type="xsd:string">username</nas:u>
</nas:del_user_from_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Delete software images from database
Delete software images from database
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:delete_image xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:images xsi:type="xsd:string">name</nas:images>
<nas:imageset xsi:type="xsd:string">setname</nas:imageset>
</nas:delete_image>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Deploy config to a device.
Deploy the specified config to a specified device either right away, or at some point in the future. The deploy operation is actually a scheduled task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:deploy_config xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:option xsi:type="xsd:string">(current|startup_reload)</nas:option>
<!-- Optional arguments -->
<nas:configtext xsi:type="xsd:string">configuration text to deploy</nas:configtext>
<nas:id xsi:type="xsd:string">configid</nas:id>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
</nas:deploy_config>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Deploy software images to device.
Deploy software images to device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:deploy_image xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:images xsi:type="xsd:string">name</nas:images>
<nas:imageset xsi:type="xsd:string">setname</nas:imageset>
<nas:ip xsi:type="xsd:string">ip</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:filesystem xsi:type="xsd:string">fs</nas:filesystem>
<nas:posttask xsi:type="xsd:string">posttask</nas:posttask>
<nas:pretask xsi:type="xsd:string">pretask</nas:pretask>
<nas:reboot xsi:type="xsd:string">reboot</nas:reboot>
<nas:rebootwait xsi:type="xsd:string">0</nas:rebootwait>
<nas:verify xsi:type="xsd:string">verify</nas:verify>
</nas:deploy_image>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the differences between two configs.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:diff_config xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id1 xsi:type="xsd:string">configid1</nas:id1>
<nas:id2 xsi:type="xsd:string">configid2</nas:id2>
</nas:diff_config>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Mark a device as disabled.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:disable_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:disable_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Discover a driver for a device.
Attempts to match a driver to the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:discover_driver xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:discover_driver>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Discover drivers for all devices.
Attempts to match a driver to each device that the system recognizes.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:discover_drivers xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:group xsi:type="xsd:string">group</nas:group>
<nas:noskip xsi:type="xsd:string">dont skip if driver already assigned</nas:noskip>
</nas:discover_drivers>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Mark a device as enabled.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:enable_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:enable_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:generate_stacktrace xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:generate_stacktrace>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Get the config from a device.
Get the config from a specified device either right away, or at some point in the future. The retrieval operation is actually a scheduled task. Using this command, you can set the task to repeat periodically.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:get_snapshot xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:duration xsi:type="xsd:string">duration</nas:duration>
<nas:group xsi:type="xsd:string">group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
</nas:get_snapshot>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Import device or device password information.
This command can import into the system device or device password information contained in appropriately formatted CSV files. (Contact customer support for a CSV file format specification.)
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:import xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:append xsi:type="xsd:string">(true|false)</nas:append>
<nas:auth xsi:type="xsd:string">auth</nas:auth>
<nas:cleanafter xsi:type="xsd:string">(true|false)</nas:cleanafter>
<nas:configuresyslog xsi:type="xsd:string">(true|false)</nas:configuresyslog>
<nas:data xsi:type="xsd:string">data</nas:data>
<nas:debug xsi:type="xsd:string">(true|false)</nas:debug>
<nas:device xsi:type="xsd:string">device</nas:device>
<nas:deviceorigin xsi:type="xsd:string">deviceorigin</nas:deviceorigin>
<nas:discoverafter xsi:type="xsd:string">(true|false)</nas:discoverafter>
<nas:filter xsi:type="xsd:string">filter</nas:filter>
<nas:input xsi:type="xsd:string">input</nas:input>
<nas:log xsi:type="xsd:string">log</nas:log>
<nas:usesyslogrelay xsi:type="xsd:string">usesyslogrelay</nas:usesyslogrelay>
</nas:import>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all access records for a device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_access xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_access>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all access records for all devices.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_access_all xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:list_access_all>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List ACLs.
Lists all device ACLs in the system unless you include any of the options to limit the ACLs listed.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_acl xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:aclid xsi:type="xsd:string">device acl id</nas:aclid>
<nas:deviceid xsi:type="xsd:string">0</nas:deviceid>
<nas:fqdn xsi:type="xsd:string">primary fqdn</nas:fqdn>
<nas:handle xsi:type="xsd:string">handle</nas:handle>
<nas:host xsi:type="xsd:string">host name</nas:host>
<nas:includeapplication xsi:type="xsd:string">include application</nas:includeapplication>
<nas:includescript xsi:type="xsd:string">include script</nas:includescript>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:recent xsi:type="xsd:string">(true|false)</nas:recent>
</nas:list_acl>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_agvalues xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:agtypes xsi:type="xsd:string">agtypes</nas:agtypes>
<nas:deviceids xsi:type="xsd:string">deviceids</nas:deviceids>
</nas:list_agvalues>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all drivers installed in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_all_drivers xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:list_all_drivers>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
list Authentication.
Displays the Authentication Rules by Rule Name.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_authentication xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:rulename xsi:type="xsd:string">Rule Name</nas:rulename>
</nas:list_authentication>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all configs for which the BasicIP model can be shown.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_basicip xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_basicip>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all configs for the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_config xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:ids xsi:type="xsd:string">id list</nas:ids>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:mask xsi:type="xsd:string">included size is for masked config</nas:mask>
<nas:size xsi:type="xsd:string">include size</nas:size>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_config>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all configs for all devices.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_config_all xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:list_config_all>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List config IDs for the specified configs.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_config_id xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_config_id>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
list Custom Data Definition.
List Custom Data Definition by table name.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_custom_data_definition xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:tablename xsi:type="xsd:string">Table Name</nas:tablename>
</nas:list_custom_data_definition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List devices.
Lists all devices in the system unless you include any of the options to limit the devices listed.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:disabled xsi:type="xsd:string">list disabled devices</nas:disabled>
<nas:family xsi:type="xsd:string">Device Family</nas:family>
<nas:group xsi:type="xsd:string">device group</nas:group>
<nas:hierarchy xsi:type="xsd:string">0</nas:hierarchy>
<nas:host xsi:type="xsd:string">host name</nas:host>
<nas:ids xsi:type="xsd:string">id list</nas:ids>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:limitcount xsi:type="xsd:string">0</nas:limitcount>
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:partition xsi:type="xsd:string">partition name</nas:partition>
<nas:pollexcluded xsi:type="xsd:string">list devices with polling turned off</nas:pollexcluded>
<nas:realm xsi:type="xsd:string">realm name</nas:realm>
<nas:software xsi:type="xsd:string">Software</nas:software>
<nas:startid xsi:type="xsd:string">0</nas:startid>
<nas:type xsi:type="xsd:string">Device Type</nas:type>
<nas:vendor xsi:type="xsd:string">Device Vendor</nas:vendor>
</nas:list_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List configuration and diagnostic data records for the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device_data xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:datatype xsi:type="xsd:string">Data Type</nas:datatype>
</nas:list_device_data>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List device families.
Lists device families in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device_family xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:group xsi:type="xsd:string">Device Group</nas:group>
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:software xsi:type="xsd:string">Software</nas:software>
<nas:type xsi:type="xsd:string">Device Type</nas:type>
<nas:vendor xsi:type="xsd:string">Vendor</nas:vendor>
</nas:list_device_family>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List device groups.
Lists device groups in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:family xsi:type="xsd:string">Device Family</nas:family>
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:parent xsi:type="xsd:string">Parent Device Group</nas:parent>
<nas:software xsi:type="xsd:string">Software</nas:software>
<nas:type xsi:type="xsd:string">Device Type</nas:type>
<nas:vendor xsi:type="xsd:string">Vendor</nas:vendor>
</nas:list_device_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
list device IDs.
Lists all device IDs in the system unless you include any of the options to limit the device IDs listed.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device_id xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:disabled xsi:type="xsd:string">list disabled devices</nas:disabled>
<nas:family xsi:type="xsd:string">Device Family</nas:family>
<nas:group xsi:type="xsd:string">device group</nas:group>
<nas:hierarchy xsi:type="xsd:string">0</nas:hierarchy>
<nas:host xsi:type="xsd:string">host name</nas:host>
<nas:id xsi:type="xsd:string">Device ID</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:pollexcluded xsi:type="xsd:string">list devices with polling turned off</nas:pollexcluded>
<nas:realm xsi:type="xsd:string">realm name</nas:realm>
<nas:software xsi:type="xsd:string">Software</nas:software>
<nas:type xsi:type="xsd:string">Device Type</nas:type>
<nas:vendor xsi:type="xsd:string">Device Vendor</nas:vendor>
<nas:viewable_by xsi:type="xsd:string">0</nas:viewable_by>
</nas:list_device_id>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List device model names.
Lists device model names in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device_model xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:family xsi:type="xsd:string">Device Family</nas:family>
<nas:group xsi:type="xsd:string">Device Group</nas:group>
<nas:software xsi:type="xsd:string">Software</nas:software>
<nas:type xsi:type="xsd:string">Device Type</nas:type>
<nas:vendor xsi:type="xsd:string">Vendor</nas:vendor>
</nas:list_device_model>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List device software versions.
Lists device software versions in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device_software xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:family xsi:type="xsd:string">Device Family</nas:family>
<nas:group xsi:type="xsd:string">Device Group</nas:group>
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:type xsi:type="xsd:string">Device Type</nas:type>
<nas:vendor xsi:type="xsd:string">Vendor</nas:vendor>
</nas:list_device_software>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List device types.
Lists device types in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device_type xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:family xsi:type="xsd:string">Device Family</nas:family>
<nas:group xsi:type="xsd:string">Device Group</nas:group>
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:software xsi:type="xsd:string">Software</nas:software>
<nas:vendor xsi:type="xsd:string">Vendor</nas:vendor>
</nas:list_device_type>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List device manufacturers.
Lists device manufacturers in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_device_vendor xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:family xsi:type="xsd:string">Device Family</nas:family>
<nas:group xsi:type="xsd:string">Device Group</nas:group>
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:software xsi:type="xsd:string">Software</nas:software>
<nas:type xsi:type="xsd:string">Device Type</nas:type>
</nas:list_device_vendor>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all configs for which the DeviceInformation model can be shown.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_deviceinfo xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:list_deviceinfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all configs for which the given diagnostic may be shown.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_diagnostic xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:diagnostic xsi:type="xsd:string">custom diagnostic name</nas:diagnostic>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_diagnostic>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all drivers associated with a device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_drivers xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:list_drivers>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List events.
Lists all the events and system messages
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_event xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:start xsi:type="xsd:string">startDate</nas:start>
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:list_event>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all device groups or user groups viewable by userID.
List all device groups or user groups viewable by a particular user.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_group_id xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:type xsi:type="xsd:string">(device|user)</nas:type>
<!-- Optional arguments -->
<nas:viewable_by xsi:type="xsd:string">0</nas:viewable_by>
</nas:list_group_id>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List groups of the specified type; for a specific device or all groups in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_groups xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:type xsi:type="xsd:string">group type</nas:type>
<!-- Optional arguments -->
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:parent xsi:type="xsd:string">parent group</nas:parent>
</nas:list_groups>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all configs for which the ICMPTest model may be shown.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_icmp xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_icmp>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List images in database or device.
Use -imageset option to list images in database, and -ip to list images in device
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_image xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:imageset xsi:type="xsd:string">setname</nas:imageset>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:list_image>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List information for device which is not under management but in configuration data.
List information for device which is not under management but in configuration data for software image management purpose.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_imageoption xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">(model|processor|bootrom)</nas:name>
</nas:list_imageoption>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List imageset in database.
List imageset in database
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_imageset xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:list_imageset>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all configs for which the ShowInterfaces model may be shown.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_int xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_int>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List ip.
Lists ip addresses for specific device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_ip xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:deviceip xsi:type="xsd:string">device ip address</nas:deviceip>
</nas:list_ip>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all secondary ip.
List all secondary ip addresses in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_ip_all xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:list_ip_all>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all the custom data associated with a specific entry in a specific table.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_metadata xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:associatedtableid xsi:type="xsd:string">0</nas:associatedtableid>
<nas:table xsi:type="xsd:string">table name</nas:table>
</nas:list_metadata>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all the custom data fields associated with a specific table.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_metadata_field xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:table xsi:type="xsd:string">table</nas:table>
</nas:list_metadata_field>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List modules (or blades) in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_module xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:firmware xsi:type="xsd:string">firmware</nas:firmware>
<nas:group xsi:type="xsd:string">group</nas:group>
<nas:hardware xsi:type="xsd:string">hardware</nas:hardware>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:memory xsi:type="xsd:string">memory</nas:memory>
<nas:model xsi:type="xsd:string">model</nas:model>
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:list_module>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all configs for which the ShowOSPFNeighbors model may be shown.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_ospfneighbor xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_ospfneighbor>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show details for a single view.
Show details for a single parition.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_partition xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:viewname xsi:type="xsd:string">viewName</nas:viewname>
</nas:list_partition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Lists IDs of all policies that apply to a given device
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_policy_id xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:deviceid xsi:type="xsd:string">0</nas:deviceid>
</nas:list_policy_id>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Lists all rules of a policy
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_policy_rule xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:policyid xsi:type="xsd:string">0</nas:policyid>
</nas:list_policy_rule>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List ports (or interfaces) for a specific device in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_port xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:list_port>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all routing tables for a device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_routing xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_routing>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Lists all conditions of a policy rule
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_rule_condition xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ruleid xsi:type="xsd:string">0</nas:ruleid>
</nas:list_rule_condition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List command scripts, advanced scripts and/or diagnostics.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:ids xsi:type="xsd:string">id list</nas:ids>
<nas:mode xsi:type="xsd:string">mode</nas:mode>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:scripttype xsi:type="xsd:string">script type</nas:scripttype>
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:list_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List command script IDs, advanced scripts and/or diagnostics.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_script_id xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:mode xsi:type="xsd:string">mode</nas:mode>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:scripttype xsi:type="xsd:string">script type</nas:scripttype>
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:list_script_id>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List valid modes for commands scripts and diagnostics, and valid device families for advanced scripts, for all devices or a specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_script_mode xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">device ID</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:list_script_mode>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all interceptor log records for a device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_session xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:start xsi:type="xsd:string">startDate</nas:start>
</nas:list_session>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all Sites in the system.
Result includes the name of each site in the system, and the number of devices in each site.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_site xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:name xsi:type="xsd:string">name</nas:name>
</nas:list_site>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all sys oids supported by the system.
List all sys oids in the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_sys_oids_all xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:list_sys_oids_all>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List system messages.
Lists all system messages unless you include one of the options. Including one of the device options displays all system messages associated with the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_system_message xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endDate</nas:end>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:start xsi:type="xsd:string">startDate</nas:start>
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:list_system_message>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Display a list of tasks.
This command behaves differently depending on the options you give it. The command by itself returns a list of all tasks. Each option filters the returned list of tasks, causing it to return a subset of the total list.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_task xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:end>
<nas:id xsi:type="xsd:string">task id</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:parentid xsi:type="xsd:string">parent task id</nas:parentid>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:status xsi:type="xsd:string">status</nas:status>
</nas:list_task>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all tasks.
Equivalent to "list task".
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_task_all xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:list_task_all>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List Device Information from Topology Data.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_topology xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:mac xsi:type="xsd:string">macaddress</nas:mac>
</nas:list_topology>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List probable Layer 1 topology data.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_topology_graph xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:deviceid xsi:type="xsd:string">0</nas:deviceid>
<nas:deviceids xsi:type="xsd:string">deviceids</nas:deviceids>
<nas:deviceportids xsi:type="xsd:string">deviceportids</nas:deviceportids>
<nas:endip xsi:type="xsd:string">endip</nas:endip>
<nas:hideinactive xsi:type="xsd:string">hideinactive</nas:hideinactive>
<nas:hideunconnected xsi:type="xsd:string">hideunconnected</nas:hideunconnected>
<nas:hideunmanaged xsi:type="xsd:string">hideunmanaged</nas:hideunmanaged>
<nas:hierarchylayer xsi:type="xsd:string">hierarchylayer</nas:hierarchylayer>
<nas:hopcount xsi:type="xsd:string">0</nas:hopcount>
<nas:layer xsi:type="xsd:string">layer</nas:layer>
<nas:serverids xsi:type="xsd:string">serverids</nas:serverids>
<nas:serverportids xsi:type="xsd:string">serverportids</nas:serverportids>
<nas:startip xsi:type="xsd:string">startip</nas:startip>
<nas:type xsi:type="xsd:string">(phy_inferred|nearest)</nas:type>
</nas:list_topology_graph>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List IP address Topology Data.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_topology_ip xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:address xsi:type="xsd:string">(all|internal|connected)</nas:address>
<nas:deviceid xsi:type="xsd:string">0</nas:deviceid>
<nas:deviceip xsi:type="xsd:string">ipaddress</nas:deviceip>
<nas:notcurrent xsi:type="xsd:string">not currently seen</nas:notcurrent>
<nas:portid xsi:type="xsd:string">0</nas:portid>
<nas:serverid xsi:type="xsd:string">server ID</nas:serverid>
<nas:serverportid xsi:type="xsd:string">server interface ID</nas:serverportid>
<nas:type xsi:type="xsd:string">(all|internal|connected)</nas:type>
</nas:list_topology_ip>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List MAC address Topology Data.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_topology_mac xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:address xsi:type="xsd:string">(all|internal|connected)</nas:address>
<nas:deviceid xsi:type="xsd:string">0</nas:deviceid>
<nas:deviceip xsi:type="xsd:string">ipaddress</nas:deviceip>
<nas:notcurrent xsi:type="xsd:string">not currently seen</nas:notcurrent>
<nas:portid xsi:type="xsd:string">0</nas:portid>
<nas:serverid xsi:type="xsd:string">server ID</nas:serverid>
<nas:serverportid xsi:type="xsd:string">server interface ID</nas:serverportid>
<nas:type xsi:type="xsd:string">(all|internal|connected)</nas:type>
</nas:list_topology_mac>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all users.
List all users known to the system.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_user xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:group xsi:type="xsd:string">group</nas:group>
</nas:list_user>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all users viewable by userID.
List all users viewable by a particular user.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_user_id xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:viewable_by xsi:type="xsd:string">0</nas:viewable_by>
</nas:list_user_id>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
display the views defined within the system.
Show the views defined within the system. This command takes no arguments.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_view xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:list_view>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the vlans and their associated Device Port ID on a device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_vlan xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:deviceip xsi:type="xsd:string">ipaddress</nas:deviceip>
</nas:list_vlan>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the ports on a given vlan, identified by its port id.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:list_vlan_ports xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">vlan id</nas:id>
</nas:list_vlan_ports>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Authenticate against the CWNCM SOAP API and start an API session
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:login xmlns:nas="http://opsware.com/nas/">
<nas:password xsi:type="xsd:string">CWNCM password</nas:password>
<nas:username xsi:type="xsd:string">CWNCM username</nas:username>
<!-- Optional arguments -->
<nas:host xsi:type="xsd:string">CWNCM host URL</nas:host>
</nas:login>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
End the CWNCM SOAP API session
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:logout xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:logout>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify an existing advanced script.
Modify the indicated advanced script. The desired script can be specified by ID or name. If more than one name match occurs, then an error will be reported and you must specify the unique script desired by ID.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_advanced_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:driver xsi:type="xsd:string"></nas:driver>
<nas:type xsi:type="xsd:string">advanced</nas:type>
<!-- Optional arguments -->
<nas:description xsi:type="xsd:string">description</nas:description>
<nas:family xsi:type="xsd:string">device family</nas:family>
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:language xsi:type="xsd:string">script language</nas:language>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:newname xsi:type="xsd:string">new script name</nas:newname>
<nas:parameters xsi:type="xsd:string">script parameters</nas:parameters>
<nas:script xsi:type="xsd:string">script</nas:script>
<nas:scripttype xsi:type="xsd:string">script type</nas:scripttype>
</nas:mod_advanced_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify device password information.
This command can modify passwords on a specific device, across all devices in a device group, or merely update what the system knows of the device's password information. When using this command to modify passwords on a device or device group, the modification operation is actually a scheduled task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_authentication xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:loc xsi:type="xsd:string">(device|group|db)</nas:loc>
<!-- Optional arguments -->
<nas:accessvariables xsi:type="xsd:string">access variables</nas:accessvariables>
<nas:appendsnmpro xsi:type="xsd:string">append to read only community strings?</nas:appendsnmpro>
<nas:appendsnmprw xsi:type="xsd:string">append to read write community strings?</nas:appendsnmprw>
<nas:connectionmethods xsi:type="xsd:string">connection methods</nas:connectionmethods>
<nas:enablepasswd xsi:type="xsd:string">enable password</nas:enablepasswd>
<nas:enableuser xsi:type="xsd:string">enable mode username</nas:enableuser>
<nas:group xsi:type="xsd:string">name of device group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:iprangeend xsi:type="xsd:string">ip end range</nas:iprangeend>
<nas:iprangestart xsi:type="xsd:string">ip start range</nas:iprangestart>
<nas:passwd xsi:type="xsd:string">password</nas:passwd>
<nas:ruledevicegroup xsi:type="xsd:string">device group</nas:ruledevicegroup>
<nas:rulehostname xsi:type="xsd:string">Host name></nas:rulehostname>
<nas:rulename xsi:type="xsd:string">password rule to modify</nas:rulename>
<nas:snmpro xsi:type="xsd:string">read-only community string</nas:snmpro>
<nas:snmprw xsi:type="xsd:string">read-write community string</nas:snmprw>
<nas:snmpv3authpw xsi:type="xsd:string">SNMPv3 authentication password</nas:snmpv3authpw>
<nas:snmpv3encryptpw xsi:type="xsd:string">SNMPv3 encryption password</nas:snmpv3encryptpw>
<nas:snmpv3user xsi:type="xsd:string">SNNPv3 username</nas:snmpv3user>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
<nas:user xsi:type="xsd:string">username</nas:user>
</nas:mod_authentication>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify an existing command script.
Modify the indicated command script. The desired script can be specified by ID or name. If more than one name match occurs, then an error will be reported and you must specify the unique script desired by ID.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_command_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:type xsi:type="xsd:string">command</nas:type>
<!-- Optional arguments -->
<nas:description xsi:type="xsd:string">description</nas:description>
<nas:driver xsi:type="xsd:string">driver</nas:driver>
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:mode xsi:type="xsd:string">custom action mode</nas:mode>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:newname xsi:type="xsd:string">new script name</nas:newname>
<nas:script xsi:type="xsd:string">script</nas:script>
<nas:scripttype xsi:type="xsd:string">script type</nas:scripttype>
</nas:mod_command_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify the properties of a device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:accessmethods xsi:type="xsd:string">supported access methods</nas:accessmethods>
<nas:asset xsi:type="xsd:string">Asset Tag</nas:asset>
<nas:comment xsi:type="xsd:string">Comment</nas:comment>
<nas:consoleip xsi:type="xsd:string">Console IP Address</nas:consoleip>
<nas:consoleport xsi:type="xsd:string">Console Port</nas:consoleport>
<nas:customname xsi:type="xsd:string">custom field name</nas:customname>
<nas:customvalue xsi:type="xsd:string">custom value</nas:customvalue>
<nas:description xsi:type="xsd:string">Device Description</nas:description>
<nas:domain xsi:type="xsd:string">primary FQDN</nas:domain>
<nas:hierarchylayer xsi:type="xsd:string">hierarchy layer</nas:hierarchylayer>
<nas:hostname xsi:type="xsd:string">Hostname</nas:hostname>
<nas:location xsi:type="xsd:string">Location</nas:location>
<nas:model xsi:type="xsd:string">Device Model</nas:model>
<nas:natip xsi:type="xsd:string">NAT IP Address</nas:natip>
<nas:newip xsi:type="xsd:string">new ipaddress</nas:newip>
<nas:nopoll xsi:type="xsd:string">0</nas:nopoll>
<nas:serial xsi:type="xsd:string">Serial Number</nas:serial>
<nas:tftpserverip xsi:type="xsd:string">TFTP Server IP Address</nas:tftpserverip>
<nas:unmanaged xsi:type="xsd:string">0</nas:unmanaged>
<nas:useconsoleserver xsi:type="xsd:string">true=use console server</nas:useconsoleserver>
<nas:vendor xsi:type="xsd:string">Vendor</nas:vendor>
</nas:mod_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify an existing custom diagnostic script.
Modify the indicated diagnostic script. The desired diagnostic can be specified by ID or name. If more than one name match occurs, then an error will be reported and you must specify the unique diagnostic desired by ID.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_diagnostic xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:type xsi:type="xsd:string">diagnostic</nas:type>
<!-- Optional arguments -->
<nas:description xsi:type="xsd:string">description</nas:description>
<nas:driver xsi:type="xsd:string">driver</nas:driver>
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:mode xsi:type="xsd:string">custom action mode</nas:mode>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:newname xsi:type="xsd:string">new diagnostic name</nas:newname>
<nas:script xsi:type="xsd:string">script</nas:script>
</nas:mod_diagnostic>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify a group.
Modify the comments associated with and/or the name of a group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">current group name</nas:name>
<nas:type xsi:type="xsd:string">group type</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:customname xsi:type="xsd:string">custom field name</nas:customname>
<nas:customvalue xsi:type="xsd:string">custom value</nas:customvalue>
<nas:newname xsi:type="xsd:string">new group name</nas:newname>
<nas:shared xsi:type="xsd:string">0</nas:shared>
</nas:mod_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify the properties of a ip.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_ip xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:deviceip xsi:type="xsd:string">device ip address</nas:deviceip>
<nas:ipvalue xsi:type="xsd:string">ip address value</nas:ipvalue>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">Comment</nas:comment>
<nas:usetoaccess xsi:type="xsd:string">0</nas:usetoaccess>
</nas:mod_ip>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify an existing piece of custom data associated with a specific field and associated entity.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_metadata xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:metadataid xsi:type="xsd:string">0</nas:metadataid>
<!-- Optional arguments -->
<nas:associatedtableid xsi:type="xsd:string">0</nas:associatedtableid>
<nas:data xsi:type="xsd:string">data</nas:data>
<nas:fieldid xsi:type="xsd:string">0</nas:fieldid>
</nas:mod_metadata>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Used to modify an existing custom data field.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_metadata_field xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:fieldid xsi:type="xsd:string">0</nas:fieldid>
<!-- Optional arguments -->
<nas:associatedtable xsi:type="xsd:string">associated table</nas:associatedtable>
<nas:fieldname xsi:type="xsd:string">field name</nas:fieldname>
<nas:fieldvalues xsi:type="xsd:string">field values</nas:fieldvalues>
<nas:flags xsi:type="xsd:string">0</nas:flags>
<nas:inuse xsi:type="xsd:string">0</nas:inuse>
</nas:mod_metadata_field>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify a module's properties.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_module xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:customname xsi:type="xsd:string">custom field name</nas:customname>
<nas:customvalue xsi:type="xsd:string">custom value</nas:customvalue>
</nas:mod_module>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify a partition.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_partition xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">current group name</nas:name>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:newname xsi:type="xsd:string">new group name</nas:newname>
</nas:mod_partition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify a port's properties.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_port xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:customname xsi:type="xsd:string">custom field name</nas:customname>
<nas:customvalue xsi:type="xsd:string">custom value</nas:customvalue>
</nas:mod_port>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify a scheduled task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_task xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">taskid</nas:id>
<!-- Optional arguments -->
<nas:approve xsi:type="xsd:string">approve</nas:approve>
<nas:comment xsi:type="xsd:string">comments</nas:comment>
<nas:customname xsi:type="xsd:string">custom field name</nas:customname>
<nas:customvalue xsi:type="xsd:string">custom value</nas:customvalue>
<nas:days xsi:type="xsd:string">days to run</nas:days>
<nas:duration xsi:type="xsd:string">duration</nas:duration>
<nas:expensive xsi:type="xsd:string">mark task as expensive</nas:expensive>
<nas:notexpensive xsi:type="xsd:string"> mark task as not expensive</nas:notexpensive>
<nas:override xsi:type="xsd:string">override</nas:override>
<nas:reject xsi:type="xsd:string">reject</nas:reject>
<nas:repeatinterval xsi:type="xsd:string">Repeat Interval</nas:repeatinterval>
<nas:repeattype xsi:type="xsd:string">RepeatType</nas:repeattype>
<nas:retrycount xsi:type="xsd:string">retry count</nas:retrycount>
<nas:retryinterval xsi:type="xsd:string">retry interval</nas:retryinterval>
<nas:start xsi:type="xsd:string">start date</nas:start>
</nas:mod_task>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify topology data.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_topology_graph xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:data xsi:type="xsd:string">data</nas:data>
<nas:deviceid xsi:type="xsd:string">0</nas:deviceid>
<nas:type xsi:type="xsd:string">type</nas:type>
<!-- Optional arguments -->
<nas:deviceportid xsi:type="xsd:string">0</nas:deviceportid>
<nas:remotedeviceid xsi:type="xsd:string">0</nas:remotedeviceid>
<nas:remotedeviceportid xsi:type="xsd:string">0</nas:remotedeviceportid>
<nas:serverid xsi:type="xsd:string">serverid</nas:serverid>
<nas:serverportid xsi:type="xsd:string">serverportid</nas:serverportid>
</nas:mod_topology_graph>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify the properties of an unmanaged device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_unmanaged_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">Comment</nas:comment>
</nas:mod_unmanaged_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Modify a user's properties.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:mod_user xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:u xsi:type="xsd:string">username</nas:u>
<!-- Optional arguments -->
<nas:aaapassword xsi:type="xsd:string">AAA Password</nas:aaapassword>
<nas:aaausername xsi:type="xsd:string">AAA Username</nas:aaausername>
<nas:customname xsi:type="xsd:string">custom field name</nas:customname>
<nas:customvalue xsi:type="xsd:string">custom value</nas:customvalue>
<nas:email xsi:type="xsd:string">Email</nas:email>
<nas:extauthfailover xsi:type="xsd:string">Use External Auth Failover (yes|no)</nas:extauthfailover>
<nas:fn xsi:type="xsd:string">FirstName</nas:fn>
<nas:ln xsi:type="xsd:string">LastName</nas:ln>
<nas:newusername xsi:type="xsd:string">new username</nas:newusername>
<nas:p xsi:type="xsd:string">password</nas:p>
<nas:priv xsi:type="xsd:string">Privelege</nas:priv>
<nas:status xsi:type="xsd:string">(enable|disable)</nas:status>
<nas:useaaaloginforproxy xsi:type="xsd:string">Use AAA Login for Proxy (0|1)</nas:useaaaloginforproxy>
</nas:mod_user>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Change current user's password.
Causes the current user's password to be changed.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:passwd xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:newpwd xsi:type="xsd:string">new password</nas:newpwd>
<nas:oldpwd xsi:type="xsd:string">old password</nas:oldpwd>
</nas:passwd>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Stop polling.
Stop polling devices for configuration changes.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:pause_polling xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:pause_polling>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Run a ping command on a device.
Causes a series of ping commands to be executed on a device. One ping command is executed for each target host specified. This series of commands may by run on the device immediately, or scheduled to run sometime in the future. Via this command, the task scheduled can be set to repeat periodically. Note that if not scheduled as a task, this command may take some time to complete.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:ping xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:dest xsi:type="xsd:string">target IP addresses</nas:dest>
<!-- Optional arguments -->
<nas:async xsi:type="xsd:string">execute synchronously?</nas:async>
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:source xsi:type="xsd:string">ipaddress</nas:source>
<nas:sourcegroup xsi:type="xsd:string">source group</nas:sourcegroup>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
</nas:ping>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Load any new content packs (such as scripts or policies) that have been installed on the server since the last time it was restarted or content was reloaded.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:reload_content xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:reload_content>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Causes the server to reload all installed driver files.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:reload_drivers xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:force xsi:type="xsd:string">(true|false)</nas:force>
</nas:reload_drivers>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Causes the server to reload config variables from all config files.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:reload_server_options xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:reload_server_options>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:replication_start xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:replication_start>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:replication_status xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:replication_status>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:replication_stop xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:replication_stop>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:replication_sync xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:replication_sync>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Resume polling.
Resume polling devices for configuration changes.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:resume_polling xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:resume_polling>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Run an existing advanced script against a device or group of devices.
Runs an existing advanced script, specified by name, against a device or group of devices. The proper variant of the script will be applied to each device. If no variant of the script supports a given device, that device will be skipped. The script is run as a system task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:run_advanced_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:linebyline xsi:type="xsd:string"></nas:linebyline>
<nas:name xsi:type="xsd:string">script name</nas:name>
<nas:type xsi:type="xsd:string">advanced</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:group xsi:type="xsd:string">device group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:nowait xsi:type="xsd:string">don't wait if other tasks are running</nas:nowait>
<nas:parameters xsi:type="xsd:string">parameters</nas:parameters>
<nas:postsnapshot xsi:type="xsd:string">(true|false|task)</nas:postsnapshot>
<nas:presnapshot xsi:type="xsd:string">(true|false)</nas:presnapshot>
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
<nas:variables xsi:type="xsd:string">list of variable names and values</nas:variables>
</nas:run_advanced_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Run an existing command script against a device or group of devices.
Runs an existing command script, specified by name, against a device or group of devices. The proper variant of the script will be applied to each device. If no variant of the script supports a given device, that device will be skipped. The script is run as a system task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:run_command_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">script name</nas:name>
<nas:parameters xsi:type="xsd:string"></nas:parameters>
<nas:type xsi:type="xsd:string">command</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:group xsi:type="xsd:string">device group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:linebyline xsi:type="xsd:string">run scripts line-by-line (when applicable)</nas:linebyline>
<nas:nowait xsi:type="xsd:string">don't wait if other tasks are running</nas:nowait>
<nas:postsnapshot xsi:type="xsd:string">(true|false|task)</nas:postsnapshot>
<nas:presnapshot xsi:type="xsd:string">(true|false)</nas:presnapshot>
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
<nas:variables xsi:type="xsd:string">list of variable names and values</nas:variables>
</nas:run_command_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Run a diagnostic on a device.
Run the specified diagnostic on a specified device either right away, or at some point in the future. The run diagnostic operation is actually a scheduled task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:run_diagnostic xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:diagnostic xsi:type="xsd:string">custom diagnostic nam</nas:diagnostic>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:group xsi:type="xsd:string">device group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
</nas:run_diagnostic>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Execute a command.
Runs a CWNCM task which spawns a new process that executes a command external to CWNCM.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:run_external_application xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:app xsi:type="xsd:string">app</nas:app>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:errorifnonzero xsi:type="xsd:string">error if nonzero result?</nas:errorifnonzero>
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:resultfile xsi:type="xsd:string">resultfile</nas:resultfile>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:startdir xsi:type="xsd:string">startdir</nas:startdir>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
</nas:run_external_application>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Run the garbage collector.
Recycle unused objects to increase the amount of free memory.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:run_gc xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:run_gc>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:run_internal_test xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:run_internal_test>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Run a command script on a device.
Run the specified command script on a specified device either right away, or at some point in the future. The run script operation is actually a scheduled task. If no mode is specified the first supported enable, supervisor, provisioning or root mode will be used.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:run_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:script xsi:type="xsd:string">script</nas:script>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:group xsi:type="xsd:string">device group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:mode xsi:type="xsd:string">custom action mod</nas:mode>
<nas:nowait xsi:type="xsd:string">don't wait if other tasks are running</nas:nowait>
<nas:postsnapshot xsi:type="xsd:string">(true|false|task)</nas:postsnapshot>
<nas:presnapshot xsi:type="xsd:string">(true|false)</nas:presnapshot>
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
</nas:run_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:schedule_task xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:task xsi:type="xsd:string">task</nas:task>
<nas:type xsi:type="xsd:string">task type</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comments</nas:comment>
<nas:expensive xsi:type="xsd:string">expensive?</nas:expensive>
<nas:retrycount xsi:type="xsd:string">retry count</nas:retrycount>
<nas:retryinterval xsi:type="xsd:string">retry interval</nas:retryinterval>
<nas:start xsi:type="xsd:string">start date</nas:start>
</nas:schedule_task>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:schedule_task_daily xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:task xsi:type="xsd:string">task</nas:task>
<nas:type xsi:type="xsd:string">task type</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comments</nas:comment>
<nas:expensive xsi:type="xsd:string">expensive?</nas:expensive>
<nas:retrycount xsi:type="xsd:string">retry count</nas:retrycount>
<nas:retryinterval xsi:type="xsd:string">retry interval</nas:retryinterval>
<nas:start xsi:type="xsd:string">start date</nas:start>
</nas:schedule_task_daily>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:schedule_task_monthly xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:days xsi:type="xsd:string">days of month</nas:days>
<nas:task xsi:type="xsd:string">task</nas:task>
<nas:type xsi:type="xsd:string">task type</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comments</nas:comment>
<nas:expensive xsi:type="xsd:string">expensive?</nas:expensive>
<nas:retrycount xsi:type="xsd:string">retry count</nas:retrycount>
<nas:retryinterval xsi:type="xsd:string">retry interval</nas:retryinterval>
<nas:start xsi:type="xsd:string">start date</nas:start>
</nas:schedule_task_monthly>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:schedule_task_periodic xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:repeat xsi:type="xsd:string">repeat interval</nas:repeat>
<nas:task xsi:type="xsd:string">task</nas:task>
<nas:type xsi:type="xsd:string">task type</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comments</nas:comment>
<nas:expensive xsi:type="xsd:string">expensive?</nas:expensive>
<nas:retrycount xsi:type="xsd:string">retry count</nas:retrycount>
<nas:retryinterval xsi:type="xsd:string">retry interval</nas:retryinterval>
<nas:start xsi:type="xsd:string">start date</nas:start>
</nas:schedule_task_periodic>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:schedule_task_weekly xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:days xsi:type="xsd:string">days of week</nas:days>
<nas:task xsi:type="xsd:string">task</nas:task>
<nas:type xsi:type="xsd:string">task type</nas:type>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comments</nas:comment>
<nas:expensive xsi:type="xsd:string">expensive?</nas:expensive>
<nas:retrycount xsi:type="xsd:string">retry count</nas:retrycount>
<nas:retryinterval xsi:type="xsd:string">retry interval</nas:retryinterval>
<nas:start xsi:type="xsd:string">start date</nas:start>
</nas:schedule_task_weekly>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Display a device access record.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_access xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">configid</nas:id>
</nas:show_access>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show ACL.
Displays the device ACL in the system including Script and Application.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_acl xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">device acl id</nas:id>
</nas:show_acl>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a BasicIP model.
If the -ip flag is given, show the BasicIP model for the most recent config for the specified device. If the -id flag is given, show the BasicIP model for the specified config. Include either the -id or -ip option, but not both.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_basicip xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_basicip>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the contents of a config.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_config xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">configid</nas:id>
<!-- Optional arguments -->
<nas:mask xsi:type="xsd:string">mask config?</nas:mask>
</nas:show_config>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the configlet inbetween start and end pattern.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_configlet xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">devic</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:end xsi:type="xsd:string">endBlock</nas:end>
<nas:start xsi:type="xsd:string">start</nas:start>
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:show_configlet>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a device's properties.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_device xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">device ID</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_device>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the config most recently retrieved from the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_device_config xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_device_config>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the family classification associated with the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_device_family xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_device_family>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the difference between two configs most recently retrieved from the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_device_latest_diff xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_device_latest_diff>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a DeviceInformation model.
If the -ip flag is given, show the DeviceInformation model for the most recent config for the specified device. If the -id flag is given, show the DeviceInformation model for the specified config. Include either the -id or -ip option, but not both.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_deviceinfo xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_deviceinfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a diagnostic's results.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_diagnostic xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">configid</nas:id>
</nas:show_diagnostic>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the driver assigned to a device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_driver xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_driver>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Display the details of an event.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_event xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:show_event>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show all information for a group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:name xsi:type="xsd:string">name</nas:name>
</nas:show_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show an ICMPTest model.
If the -ip flag is given, show the ICMPTest model for the most recent config for the specified device. If the -id flag is given, show the ICMPTest model for the specified config. Include exactly one of the -id or -ip option.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_icmp xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_icmp>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a ShowInterfaces model.
If the -ip flag is given, show the ShowInterfaces model for the most recent config for the specified device. If the -id flag is given, show the ShowInterfaces model for the specified config. Include either the -id or -ip option, but not both.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_int xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_int>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a ip's properties.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_ip xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:deviceip xsi:type="xsd:string">device ip address</nas:deviceip>
<nas:ipvalue xsi:type="xsd:string">ip address value</nas:ipvalue>
</nas:show_ip>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the most recent access record for the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_latest_access xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_latest_access>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a specific piece of custom data.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_metadata xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:metadataid xsi:type="xsd:string">0</nas:metadataid>
</nas:show_metadata>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a custom data field
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_metadata_field xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:fieldid xsi:type="xsd:string">0</nas:fieldid>
</nas:show_metadata_field>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a module's properties.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_module xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:show_module>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a ShowOSPFNeighbors model.
If the -ip flag is provided, show the ShowOSPFNeighbors model for the most recent config for the specified device. If the -id flag is given, show the ShowOSPFNeighbors model for the specified config. Include either the -id or -ip option, but not both.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_ospfneighbor xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_ospfneighbor>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Display whether or not a user has permissions for a particular resource.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_permission xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:resource xsi:type="xsd:string">resource</nas:resource>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:u xsi:type="xsd:string">username</nas:u>
</nas:show_permission>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Shows policy information
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_policy xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">policy id</nas:id>
</nas:show_policy>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Shows policies and device compliance states
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_policy_compliance xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:compliance xsi:type="xsd:string">(in|out|unknown)</nas:compliance>
<nas:deviceid xsi:type="xsd:string">0</nas:deviceid>
<nas:policyid xsi:type="xsd:string">0</nas:policyid>
</nas:show_policy_compliance>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Shows rule information
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_policy_rule xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">rule id</nas:id>
</nas:show_policy_rule>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the current status of polling.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_polling_status xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:show_polling_status>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show a port's properties.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_port xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:show_port>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Display a routing table.
If the -ip flag is given, show the most recent routing table captured for the specified device. If the -id flag is given, show the specified routing table. Include either the -id or -ip option, but not both.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_routing xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">configid</nas:id>
<nas:ip xsi:type="xsd:string">IP address</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_routing>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Shows rule condition information
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_rule_condition xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">rule condition id</nas:id>
</nas:show_rule_condition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show one command script, advanced script or diagnostic.
Output the indicated command script, advanced script or diagnostic. The desired script or diagnostic can be specified by ID, or by a combination of name and type. If more than one name match occurs, then an error will be reported and you must specify the unique script desired by ID.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_script xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:name xsi:type="xsd:string">name</nas:name>
<nas:type xsi:type="xsd:string">type</nas:type>
</nas:show_script>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Display the setting of a server option
Display the value of an Admin Setting or server configuration option. If the option is not set and no default is provided then this command will fail.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_server_option xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">optionName</nas:name>
<!-- Optional arguments -->
<nas:default xsi:type="xsd:string">defaultValue</nas:default>
</nas:show_server_option>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show interceptor log record.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_session xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:show_session>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
List all commands in interceptor log record.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_session_commands xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:show_session_commands>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show the config most recently retrieved from the specified device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_snapshot xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:show_snapshot>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Display the details of a system message.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_system_message xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:show_system_message>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Shows detailed information about a task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_task xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">taskid</nas:id>
</nas:show_task>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show details for a single topology record.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_topology xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:show_topology>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Show all information for a user.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_user xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:id xsi:type="xsd:string">id</nas:id>
<nas:u xsi:type="xsd:string">username</nas:u>
</nas:show_user>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Display the release version of CWNCM.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:show_version xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:show_version>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Stop a running task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:stop_task xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:id xsi:type="xsd:string">id</nas:id>
</nas:stop_task>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Stop all Running and Waiting tasks.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:stop_task_all xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
</nas:stop_task_all>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Synchronize a device's startup and running configs.
Synchronize a device's startup configuration so it matches its running configuration. The synchronize operation is actually a scheduled task.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:synchronize xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:comment xsi:type="xsd:string">comment</nas:comment>
<nas:group xsi:type="xsd:string">device group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:skipinsync xsi:type="xsd:string">skip if device already in sync</nas:skipinsync>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
<nas:sync xsi:type="xsd:string">execute synchronously?</nas:sync>
</nas:synchronize>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Test policy compliance for a device configuration script.
This command is used to verify whether a configuration script is in compliance with applicable policies.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:test_config xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:family xsi:type="xsd:string">device family name</nas:family>
<nas:script xsi:type="xsd:string">configuration text</nas:script>
<!-- Optional arguments -->
<nas:group xsi:type="xsd:string">device group name</nas:group>
<nas:policy xsi:type="xsd:string">policy name</nas:policy>
</nas:test_config>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Test software levels for a device or device group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:test_software xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<!-- Optional arguments -->
<nas:group xsi:type="xsd:string">group</nas:group>
<nas:ip xsi:type="xsd:string">ipaddress</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
</nas:test_software>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:test_view xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">viewName</nas:name>
</nas:test_view>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Run a traceroute command on a device.
Causes a series of traceroute commands to be executed on a device. One traceroute command is executed for each target host specified. This series of commands may by run on the device immediately, or scheduled to run sometime in the future. Via this command, the task scheduled can be set to repeat periodically. Note that if not scheduled as a task, this command may take some time to complete.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:traceroute xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:dest xsi:type="xsd:string">target IP addresses</nas:dest>
<!-- Optional arguments -->
<nas:async xsi:type="xsd:string">execute synchronously?</nas:async>
<nas:rep xsi:type="xsd:string">repeat</nas:rep>
<nas:source xsi:type="xsd:string">ipaddress</nas:source>
<nas:sourcegroup xsi:type="xsd:string">source group</nas:sourcegroup>
<nas:start xsi:type="xsd:string">YYYY:MM:DD:HH:mm</nas:start>
</nas:traceroute>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
undeploy software images from device
delete software images from device.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:undeploy_image xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:images xsi:type="xsd:string">name</nas:images>
<nas:ip xsi:type="xsd:string">ip</nas:ip>
<!-- Note: host or fqdn can be sent instead of ip -->
<!-- Optional arguments -->
<nas:filesystem xsi:type="xsd:string">fs</nas:filesystem>
<nas:posttask xsi:type="xsd:string">posttask</nas:posttask>
<nas:pretask xsi:type="xsd:string">pretask</nas:pretask>
<nas:reboot xsi:type="xsd:string">reboot</nas:reboot>
<nas:rebootwait xsi:type="xsd:string">0</nas:rebootwait>
</nas:undeploy_image>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Update dynamic group's member devices.
Recalculate a dynamic group's member devices based on the predefined criteria. This has no effect on a non-dynamic device group.
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:update_dynamic_group xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">session id from login</nas:sessionid>
<nas:name xsi:type="xsd:string">current group name</nas:name>
</nas:update_dynamic_group>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
If multiple requests are included in one SOAP Body, then multiple responses are included in the response. When an error occurs CWNCM stops processing requests unless the SOAP Header Attribute ContinueOnError is set.
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:loginreply xmlns:nas="http://opsware.com/nas/">
<nas:sessionid xsi:type="xsd:string">s027283733873</nas:sessionid>
</nas:loginreply>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:Result xmlns:nas="http://opsware.com/nas/">
<nas:Status xsi:type="xsd:string">200 OK</nas:Status>
<nas:Text xsi:type="xsd:string">Text Block
goes here.
Can be multiple
lines.</nas:Text>
</nas:Result>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
If the SOAP Header Attribute DropNullElements is set then null elements in the ResultSet will not be included.
For details on the return types and result set values, see the CWNCM Java API Guide (PDF).
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<nas:Result xmlns:nas="http://opsware.com/nas/">
<nas:Status xsi:type="xsd:string">200 OK</nas:Status>
<nas:ResultSet>
<nas:Row>
<nas:deviceID xsi:type="xsd:string">383</nas:deviceID>
<nas:hostName xsi:type="xsd:string">la-border2</nas:hostName>
<nas:primaryIPAddress xsi:type="xsd:string">10.255.30.4</nas:primaryIPAddress>
...
</nas:Row>
...
</nas:ResultSet>
</nas:Result>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
As part of the installation, there is a file named api.wsdl in the client/sdk/ directory of the core and client installations. This file can be used by a stub compiler or other toolset that can import a WSDL file. The following information describes specific toolsets and any known issues you might encounter.
As with any WSDL file, the endpoint is specified in the <service> element. The value of the endpoint will be set to 'localhost' by default. This should be changed if it poses a problem for the target environment.
When using the wsdl2h tool, there is a long list of warnings related to the
use of a "type" versus an "element" in the types section. These warnings are
benign. Normally, when using this tool, you use the generated .nsmap file. This
structure contains URIs that do not work well with the server side
implementation. As a workaround, use something similar to the following in the
program:
SOAP_NMAC struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", NULL, NULL},
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"wsdl", "http://tempuri.org/wsdl.xsd", NULL, NULL},
{"nas", "http://opsware.com/nas/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
Java has a hard limit of 256 parameters to a method. This tool generates
constructors for each of the objects it finds in the WSDL file. One of these
objects, Row, contains more than 256 members. As a result, one of the generated
constructors has too many arguments. This can be solved in your make or ant
environment by doing a deletion or replacement, for example: sed -i -e '/public Row($$/, /}/d' $OUT_CLASS_DIR/Row.java
This stub compiler for Python currently has two known issues. One issue involes the .wsdl file and one involes the resulting stub files.
Before running the WSDL file through the stub compiler, the following lines
must be removed. Look for lines like the following: <!-- wsdl2py needs this
wsdl2py cannot handle the header information properly, so remove all of
the lines marked like the example above. A command similar to the following will
work: sed -i -e 's/<part name="header" element="nas:RequestHeader" \/>/<!-- <part name="header" element="nas:RequestHeader" \/> -->/g' api.wsdl
Once the stubs are created, there is another change which must be made. One
of the exported functions is called "import". Since this is a reserved word in
Python, using import creates a conflict. The Python stub compiler creates a
method for each of the exposed methods of the service. For this module to
compile, you must rename this method. As part of the build process, doing a
simple replacement in the stub file after it is generated solves the problem: sed -i -e 's/def import/def _import/g' Network*services.py
Another common Python tool comes from the SOAPpy module. Before this file can
be imported using this module, a change will have to be made. In the WSDL, there
is a comment about a line which needs to be removed. Since this module does not
properly handle SOAP header information, lines like the following need to be
commented out or removed: <!--SOAPpy needs soap:header commented out -->
<soap:header use="literal" message="nas:activate_deviceRequest" part="header" />
For each of the lines marked like this, perform a removal similar to the
following: sed -i -e 's/<soap:header/<!-- <soap:header/g' `basename $(WSDL)`
sed -i -e 's/part="header" \/>/part="header" \/> -->/g' `basename $(WSDL)`
This module allows the dynamic loading of a file, rather than creation of stubs like other tools. One way to make usage easier is making sure the endpoint in the <service> tag points to the desired CWNCM server before using the file to create the WSDL.Proxy object. By default, this file comes with an endpoint of localhost. It may be easier to modify the file that this tool uses rather than changing the endpoint explicitly when using this toolset.
This tool has an issue with the namespace attribute not being allowed in the
<soap:fault> element. This attribute is necessary for many tools to work
properly. As a workaround, replace <soap:fault use="literal" name="error" namespace="http://opsware.com/nas/" />
with: <soap:fault use="literal" name="error" />
wsdl.exe does not create custom exceptions based on the <fault>
information in the WSDL. To handle exceptions thrown by the server, something
like the following will be required in the program: try
{
result = api.login( inParms );
}
catch( System.Web.Services.Protocols.SoapException e )
{
Console.WriteLine( "Caught exception: " + e.Message );
// e.Detail contains the parsable node
}