NetworkHuaweiOntIpConfigGet
(Różnice między wersjami)
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”) |
|||
Linia 20: | Linia 20: | ||
</pre> | </pre> | ||
− | Odpowiedź | + | Odpowiedź gdy zostanie podane OntPort: |
<pre class="brush:xml"> | <pre class="brush:xml"> | ||
//BEGIN// | //BEGIN// | ||
Linia 47: | Linia 47: | ||
</pre> | </pre> | ||
− | Odpowiedź | + | Odpowiedź gdy nie zostanie podane OntPort: |
<pre class="brush:xml"> | <pre class="brush:xml"> | ||
//BEGIN// | //BEGIN// |
Wersja z 12:35, 4 lip 2014
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Huawei</Module> <Request> <Type>NetworkHuaweiOntIpConfigGet</Type> <NetworkHuaweiOntIpConfigGet> <OltIP>21.73.88.125</OltIP> <OltPort>4194344960</OltPort> <PortID>0</PortID> <OntPort>0</OntPort><!-- opcjonalne --><!-- jeżeli nie zostanie podane to zostaną zwrócone dane dla wszystkich portów ONT'a --> </NetworkHuaweiOntIpConfigGet> </Request> </Net47> //BEGINEND//
Odpowiedź gdy zostanie podane OntPort:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NetworkHuaweiOntIpConfigGet</Type> <NetworkHuaweiOntIpConfigGet> <OntPort>0</OntPort><!-- Tylko gdy w zapytaniu zostanie podane OntPort --> <OltIP>21.73.88.125</OltIP> <OltPort>4194344960</OltPort> <PortID>0</PortID> <IpConfigMode.0.0>dhcp(1)</IpConfigMode.0.0> <IpAddress.0.0>0.0.0.0</IpAddress.0.0> <NetMask.0.0>0.0.0.0</NetMask.0.0> <PhyAddress.0.0>e0:24:7f:4c:6b:5c</PhyAddress.0.0> <NetGateway.0.0>0.0.0.0</NetGateway.0.0> <MasterDNS.0.0>0.0.0.0</MasterDNS.0.0> <SlaveDNS.0.0>0.0.0.0</SlaveDNS.0.0> <IpConfigVlan.0.0>99</IpConfigVlan.0.0> <IpConfigPriority.0.0>5</IpConfigPriority.0.0> </NetworkHuaweiOntIpConfigGet> </Request> </Net47> //BEGINEND//
Odpowiedź gdy nie zostanie podane OntPort:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>NetworkHuaweiOntIpConfigGet</Type> <NetworkHuaweiOntIpConfigGet> <OltIP>21.73.88.125</OltIP> <OltPort>4194344960</OltPort> <PortID>0</PortID> <IpConfigMode.0.0>dhcp(1)</IpConfigMode.0.0> <IpConfigMode.0.1>dhcp(1)</IpConfigMode.0.1> <IpAddress.0.0>0.0.0.0</IpAddress.0.0> <IpAddress.0.1>0.0.0.0</IpAddress.0.1> <NetMask.0.0>0.0.0.0</NetMask.0.0> <NetMask.0.1>0.0.0.0</NetMask.0.1> <PhyAddress.0.0>e0:24:7f:4c:6b:5c</PhyAddress.0.0> <PhyAddress.0.1>ff:ff:ff:ff:ff:ff</PhyAddress.0.1> <NetGateway.0.0>0.0.0.0</NetGateway.0.0> <NetGateway.0.1>0.0.0.0</NetGateway.0.1> <MasterDNS.0.0>0.0.0.0</MasterDNS.0.0> <MasterDNS.0.1>0.0.0.0</MasterDNS.0.1> <SlaveDNS.0.0>0.0.0.0</SlaveDNS.0.0> <SlaveDNS.0.1>0.0.0.0</SlaveDNS.0.1> <IpConfigVlan.0.0>99</IpConfigVlan.0.0> <IpConfigVlan.0.1>99</IpConfigVlan.0.1> <IpConfigPriority.0.0>5</IpConfigPriority.0.0> <IpConfigPriority.0.1>5</IpConfigPriority.0.1> </NetworkHuaweiOntIpConfigGet> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error></Error> </Request> </Net47> //BEGINEND//