getNetworkConfiguration
Returns the status of the current network configuration.
Applies to Integration Appliances only.
- Returns:
- The network status.
Examples:
The following code is an example
of a SOAP request to get the network configuration.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sys="http://www.approuter.com/schemas/2008/1/system">
<soapenv:Header>
<sys:sessionId>91997FBCE89093792D40DEF8FDB345DD</sys:sessionId>
</soapenv:Header>
<soapenv:Body>
<sys:getNetworkConfiguration/>
</soapenv:Body>
</soapenv:Envelope>
The following example is
the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns3:getNetworkConfigurationResponse xmlns:ns2="http://
www.approuter.com/schemas/router/1000/NetConfig02.xsd"
xmlns:ns3="http://www.approuter.com/schemas/2008/1/system"
xmlns:ns4="http://www.approuter.com/schemas/2008/1/util/types">
<ns3:networkStatus>
<ns2:active>true</ns2:active>
<ns2:carrierTimeout>30</ns2:carrierTimeout>
<ns2:emgmt active="true">
<ns2:ipaddr>10.10.60.23</ns2:ipaddr>
<ns2:netmask>255.255.255.0</ns2:netmask>
<ns2:broadcast>10.10.60.255</ns2:broadcast>
<ns2:MACaddr>00:04:23:cd:e8:b5</ns2:MACaddr>
<ns2:fromDhcp>true</ns2:fromDhcp>
<ns2:leaseExp>Sat Apr 24 05:33:10 2010 GMT</ns2:leaseExp>
<ns2:isVirtual>false</ns2:isVirtual>
<ns2:linkInfoValid>true</ns2:linkInfoValid>
<ns2:autoNegotiate>true</ns2:autoNegotiate>
<ns2:speed>1000</ns2:speed>
<ns2:fullDuplex>true</ns2:fullDuplex>
</ns2:emgmt>
<ns2:edata active="true">
<ns2:ipaddr>10.10.50.23</ns2:ipaddr>
<ns2:netmask>255.255.255.0</ns2:netmask>
<ns2:broadcast>10.10.50.255</ns2:broadcast>
<ns2:MACaddr>00:04:23:cd:e9:d9</ns2:MACaddr>
<ns2:fromDhcp>true</ns2:fromDhcp>
<ns2:leaseExp>Sat Apr 24 05:33:14 2010 GMT</ns2:leaseExp>
<ns2:isVirtual>false</ns2:isVirtual>
<ns2:linkInfoValid>true</ns2:linkInfoValid>
<ns2:autoNegotiate>true</ns2:autoNegotiate>
<ns2:speed>1000</ns2:speed>
<ns2:fullDuplex>true</ns2:fullDuplex>
</ns2:edata>
<ns2:gateway>
<ns2:value>10.10.70.3</ns2:value>
<ns2:fromDhcp>true</ns2:fromDhcp>
<ns2:dhcpSource>emgmt</ns2:dhcpSource>
</ns2:gateway>
<ns2:hostname>
<ns2:value>myhost</ns2:value>
<ns2:fromDhcp>true</ns2:fromDhcp>
<ns2:dhcpSource>emgmt</ns2:dhcpSource>
</ns2:hostname>
<ns2:domain>
<ns2:value>mycompany.com</ns2:value>
<ns2:fromDhcp>true</ns2:fromDhcp>
<ns2:dhcpSource>emgmt</ns2:dhcpSource>
</ns2:domain>
<ns2:search>
<ns2:value>mycompany.com mycompany.corp</ns2:value>
<ns2:fromDhcp>true</ns2:fromDhcp>
<ns2:dhcpSource>emgmt</ns2:dhcpSource>
</ns2:search>
<ns2:dns>
<ns2:value>10.10.20.21 10.10.10.15</ns2:value>
<ns2:fromDhcp>true</ns2:fromDhcp>
<ns2:dhcpSource>emgmt</ns2:dhcpSource>
</ns2:dns>
<ns2:ntp>
<ns2:value>10.10.20.21</ns2:value>
<ns2:fromDhcp>true</ns2:fromDhcp>
<ns2:dhcpSource>emgmt</ns2:dhcpSource>
</ns2:ntp>
<ns2:routes/>
<ns2:httpProxy>
<ns2:host/>
<ns2:port/>
<ns2:user/>
<ns2:passwd/>
<ns2:enabled>false</ns2:enabled>
</ns2:httpProxy>
<ns2:ftpProxy>
<ns2:host/>
<ns2:port/>
<ns2:user/>
<ns2:passwd/>
<ns2:enabled>false</ns2:enabled>
</ns2:ftpProxy>
<ns2:sftpProxy>
<ns2:host/>
<ns2:port/>
<ns2:user/>
<ns2:passwd/>
<ns2:enabled>false</ns2:enabled>
</ns2:sftpProxy>
<ns2:history>
<ns2:startAttempt>Fri Apr 23 17:33:07 2010 GMT</
ns2:startAttempt>
<ns2:started>Fri Apr 23 17:33:15 2010 GMT</ns2:started>
<ns2:stopped/>
<ns2:stopReason/>
<ns2:current>Monitoring network</ns2:current>
</ns2:history>
</ns3:networkStatus>
</ns3:getNetworkConfigurationResponse>
</S:Body>
</S:Envelope>