NetworkHuaweiOntIpConfigGet

Z Net47 2.0
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
 
(Nie pokazano 3 wersji utworzonych przez jednego użytkownika)
Linia 12: Linia 12:
 
<OltIP>21.73.88.125</OltIP>
 
<OltIP>21.73.88.125</OltIP>
 
<OltPort>4194344960</OltPort>
 
<OltPort>4194344960</OltPort>
<PortID>0</PortID>
+
<OntID>0</OntID>
<OntPort>0</OntPort><!-- opcjonalne --><!-- jeżeli nie zostanie podane to zostaną zwrócone dane dla wszystkich portów ONT'a -->
+
 
</NetworkHuaweiOntIpConfigGet>
 
</NetworkHuaweiOntIpConfigGet>
 
</Request>
 
</Request>
Linia 20: Linia 19:
 
</pre>
 
</pre>
  
Odpowiedź gdy zostanie podane OntPort:
+
Odpowiedź:
 
<pre class="brush:xml">
 
<pre class="brush:xml">
 
//BEGIN//
 
//BEGIN//
Linia 28: Linia 27:
 
<Type>NetworkHuaweiOntIpConfigGet</Type>
 
<Type>NetworkHuaweiOntIpConfigGet</Type>
 
<NetworkHuaweiOntIpConfigGet>
 
<NetworkHuaweiOntIpConfigGet>
<OntPort>0</OntPort><!-- Tylko gdy w zapytaniu zostanie podane OntPort -->
+
<poz><!-- może wystąpić kilka razy -->
<OltIP>21.73.88.125</OltIP>
+
<OntPort>0</OntPort>
<OltPort>4194344960</OltPort>
+
<IpConfigMode>dhcp(1)</IpConfigMode>
<PortID>0</PortID>
+
<IpAddress>0.0.0.0</IpAddress>
<IpConfigMode.0.0>dhcp(1)</IpConfigMode.0.0>
+
<NetMask>0.0.0.0</NetMask>
<IpAddress.0.0>0.0.0.0</IpAddress.0.0>
+
<PhyAddress>ff:ff:ff:ff:ff:ff</PhyAddress>
<NetMask.0.0>0.0.0.0</NetMask.0.0>
+
<NetGateway>0.0.0.0</NetGateway>
<PhyAddress.0.0>c0:56:74:4c:62:5c</PhyAddress.0.0>
+
<MasterDNS>0.0.0.0</MasterDNS>
<NetGateway.0.0>0.0.0.0</NetGateway.0.0>
+
<SlaveDNS>0.0.0.0</SlaveDNS>
<MasterDNS.0.0>0.0.0.0</MasterDNS.0.0>
+
<IpConfigVlan>-1</IpConfigVlan>
<SlaveDNS.0.0>0.0.0.0</SlaveDNS.0.0>
+
<IpConfigPriority>-1</IpConfigPriority><!-- The management priority of MDU. range: 0-7-->
<IpConfigVlan.0.0>99</IpConfigVlan.0.0>
+
</poz>
<IpConfigPriority.0.0>5</IpConfigPriority.0.0>
+
</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>
+
<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>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>

Aktualna wersja na dzień 08:33, 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><!-- The management priority of MDU. range: 0-7-->
			</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