NetworkHuaweiOntIpConfigGet

(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
Linia 19: Linia 19:
 
</pre>
 
</pre>
  
Odpowiedź gdy zostanie podane OntPort:
+
Odpowiedź:
 
<pre class="brush:xml">
 
<pre class="brush:xml">
 
//BEGIN//
 
//BEGIN//
Linia 39: Linia 39:
 
<IpConfigPriority>-1</IpConfigPriority>
 
<IpConfigPriority>-1</IpConfigPriority>
 
</poz>
 
</poz>
</NetworkHuaweiOntIpConfigGet>
 
</Request>
 
</Net47>
 
//BEGINEND//
 
</pre>
 
 
Odpowiedź gdy nie zostanie podane OntPort:
 
<pre class="brush:xml">
 
//BEGIN//
 
<?xml version="1.0" encoding="UTF-8"?>
 
<Net47>
 
<Request>
 
<Type>NetworkHuaweiOntIpConfigGet</Type>
 
<NetworkHuaweiOntIpConfigGet>
 
<OltIP>21.73.88.125</OltIP>
 
<OltPort>4194344960</OltPort>
 
<OntID>0</OntID>
 
<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>c0:56:74:4c:62: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>
 
</NetworkHuaweiOntIpConfigGet>
 
</Request>
 
</Request>

Wersja z 08:27, 6 lip 2015

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>	
			<OntID>0</OntID>				
		</NetworkHuaweiOntIpConfigGet>
	</Request>
</Net47>
//BEGINEND//

Odpowiedź:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>NetworkHuaweiOntIpConfigGet</Type>
		<NetworkHuaweiOntIpConfigGet>
			<poz><!--  może wystąpić kilka razy -->
				<OntPort>0</OntPort>
				<IpConfigMode>dhcp(1)</IpConfigMode>
				<IpAddress>0.0.0.0</IpAddress>
				<NetMask>0.0.0.0</NetMask>
				<PhyAddress>ff:ff:ff:ff:ff:ff</PhyAddress>
				<NetGateway>0.0.0.0</NetGateway>
				<MasterDNS>0.0.0.0</MasterDNS>
				<SlaveDNS>0.0.0.0</SlaveDNS>
				<IpConfigVlan>-1</IpConfigVlan>
				<IpConfigPriority>-1</IpConfigPriority>
			</poz>
		</NetworkHuaweiOntIpConfigGet>
	</Request>
</Net47>
//BEGINEND//


Błędy:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>Error</Type>
		<Error></Error>
	</Request>
</Net47>
//BEGINEND//
Osobiste
Przestrzenie nazw
Warianty
Działania
Nawigacja
Konfiguracja Systemu
Szablony
API
PostgreSQL
Narzędzia
MENU