setNetworkConfiguration

Sets the current network configuration.

Applies to Integration Appliances only.

Returns:
Success or failure.

Example:

The following code is an example of a SOAP request to set the network configuration for an Integration Appliance. Enter the values for your network and appliance.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sys="http://www.approuter.com/schemas/2008/1/system"
xmlns:net="http://www.approuter.com/schemas/router/1000/
NetConfig02.xsd">
 <soapenv:Header>
  <sys:sessionId>?</sys:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <sys:setNetworkConfiguration>
   <sys:networkType>
    <net:emgmt>
     <net:fallback>
      <net:ipaddr>?</net:ipaddr>
      <net:netmask>?</net:netmask>
      <net:broadcast>?</net:broadcast>
     </net:fallback>
     <net:manual>
      <net:ipaddr>?</net:ipaddr>
      <net:netmask>?</net:netmask>
      <net:broadcast>?</net:broadcast>
     </net:manual>
     <net:useDhcp>?</net:useDhcp>
     <net:useDhcpRoutes>?</net:useDhcpRoutes>
     <net:autoNegotiate>?</net:autoNegotiate>
     <net:speed>?</net:speed>
     <net:fullDuplex>?</net:fullDuplex>
    </net:emgmt>
    <net:edata>
     <net:fallback>
      <net:ipaddr>?</net:ipaddr>
      <net:netmask>?</net:netmask>
      <net:broadcast>?</net:broadcast>
     </net:fallback>
     <net:manual>
      <net:ipaddr>?</net:ipaddr>
      <net:netmask>?</net:netmask>
      <net:broadcast>?</net:broadcast>
     </net:manual>
     <net:useDhcp>?</net:useDhcp>
     <net:useDhcpRoutes>?</net:useDhcpRoutes>
     <net:autoNegotiate>?</net:autoNegotiate>
     <net:speed>?</net:speed>
     <net:fullDuplex>?</net:fullDuplex>
    </net:edata>
    <net:gateway>
     <net:useDhcp>?</net:useDhcp>
     <net:dhcpSource>?</net:dhcpSource>
     <net:manual>?</net:manual>
     <net:fallback>?</net:fallback>
    </net:gateway>
    <net:hostname>
     <net:useDhcp>?</net:useDhcp>
     <net:dhcpSource>?</net:dhcpSource>
     <net:manual>?</net:manual>
     <net:fallback>?</net:fallback>
    </net:hostname>
    <net:domain>
     <net:useDhcp>?</net:useDhcp>
     <net:dhcpSource>?</net:dhcpSource>
     <net:manual>?</net:manual>
     <net:fallback>?</net:fallback>
    </net:domain>
    <net:search>
     <net:useDhcp>?</net:useDhcp>
     <net:dhcpSource>?</net:dhcpSource>
     <net:manual>?</net:manual>
     <net:fallback>?</net:fallback>
    </net:search>
    <net:dns>
     <net:useDhcp>?</net:useDhcp>
     <net:dhcpSource>?</net:dhcpSource>
     <net:manual>?</net:manual>
     <net:fallback>?</net:fallback>
    </net:dns>
    <net:ntp>
     <net:useDhcp>?</net:useDhcp>
     <net:dhcpSource>?</net:dhcpSource>
     <net:manual>?</net:manual>
     <net:fallback>?</net:fallback>
    </net:ntp>
    <net:routes>
     <!--Zero or more repetitions:-->
     <net:route>
      <net:destination>?</net:destination>
      <net:netmask>?</net:netmask>
      <net:router>?</net:router>
      <net:interface>?</net:interface>
     </net:route>
    </net:routes>
    <net:httpProxy>
     <net:host>?</net:host>
     <net:port>?</net:port>
     <net:user>?</net:user>
     <net:passwd>?</net:passwd>
     <net:enabled>?</net:enabled>
     <net:passwdEncoding>?</net:passwdEncoding>
    </net:httpProxy>
    <net:ftpProxy>
     <net:host>?</net:host>
     <net:port>?</net:port>
     <net:user>?</net:user>
     <net:passwd>?</net:passwd>
     <net:enabled>?</net:enabled>
     <net:passwdEncoding>?</net:passwdEncoding>
    </net:ftpProxy>
    <net:sftpProxy>
     <net:host>?</net:host>
     <net:port>?</net:port>
     <net:user>?</net:user>
     <net:passwd>?</net:passwd>
     <net:enabled>?</net:enabled>
     <net:passwdEncoding>?</net:passwdEncoding>
    </net:sftpProxy>
    <net:carrierTimeout>?</net:carrierTimeout>
    <net:enabled>?</net:enabled>
   </sys:networkType>
  </sys:setNetworkConfiguration>
 </soapenv:Body>
</soapenv:Envelope>



Feedback | Notices


Timestamp icon Last updated: Tuesday, 27 September 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.api.doc/ci00154.html