setNetworkConfiguration

現在のネットワーク構成を設定します。

統合アプライアンス のみに適用されます。

戻り:
成功または失敗。

例:

以下のコードは、統合アプライアンスのネットワーク構成を設定するための SOAP 要求の例です。実際のネットワークおよびアプライアンスの値を入力してください。
<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>
     <!--必要に応じて繰り返す:-->
     <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>



フィードバック | 特記事項


タイム・スタンプ・アイコン 最終更新: 2013年11月7日 (木曜日)


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