ZteGponOnuGetOne

Z Net47 2.0
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”)
 
 
(Nie pokazano 5 wersji utworzonych przez jednego użytkownika)
Linia 22: Linia 22:
 
</pre>
 
</pre>
  
Odpowiedź:
+
Odpowiedź dla Software >= 2.x:
 
<pre class="brush:xml">
 
<pre class="brush:xml">
 
//BEGIN//
 
//BEGIN//
Linia 34: Linia 34:
 
<Desc>ONU-1:1</Desc>
 
<Desc>ONU-1:1</Desc>
 
<RegMode>regModeSn(1)</RegMode>
 
<RegMode>regModeSn(1)</RegMode>
<SerialNumber>ZTEGC07BAD3F</SerialNumber>
+
<SerialNumber>ZTEGC0712345</SerialNumber>
 
<Pwd>0</Pwd>
 
<Pwd>0</Pwd>
<Loid>
+
<Loid></Loid>
</Loid>
+
<RegistrationId></RegistrationId>
<RegistrationId>
+
</RegistrationId>
+
 
<TargetStatus>omccReady(2)</TargetStatus>
 
<TargetStatus>omccReady(2)</TargetStatus>
 
<VportMode>gemport(1)</VportMode>
 
<VportMode>gemport(1)</VportMode>
 
<DbaMode>hybrid(3)</DbaMode>
 
<DbaMode>hybrid(3)</DbaMode>
<OmccBwPrfName>
+
<OmccBwPrfName> </OmccBwPrfName>
</OmccBwPrfName>
+
 
<EnableWithSn>enabled(1)</EnableWithSn>
 
<EnableWithSn>enabled(1)</EnableWithSn>
 
<AuthPassCtrl>0</AuthPassCtrl>
 
<AuthPassCtrl>0</AuthPassCtrl>
 
<UpstreamFecEnable>disabled(2)</UpstreamFecEnable>
 
<UpstreamFecEnable>disabled(2)</UpstreamFecEnable>
 
<ReonlineAuthInfo>sn(2)</ReonlineAuthInfo>
 
<ReonlineAuthInfo>sn(2)</ReonlineAuthInfo>
<RegistrationInfo>1,ZTEGC07BAD3F</RegistrationInfo>
+
<RegistrationInfo>1,ZTEGC0712345</RegistrationInfo>
 
<OmccEncryptEnable>disabled(2)</OmccEncryptEnable>
 
<OmccEncryptEnable>disabled(2)</OmccEncryptEnable>
 
<BerInterval>5000 Milliseconds</BerInterval>
 
<BerInterval>5000 Milliseconds</BerInterval>
 
<ToDEnable>disabled(2)</ToDEnable>
 
<ToDEnable>disabled(2)</ToDEnable>
 
<EncryptEnable>disabled(2)</EncryptEnable>
 
<EncryptEnable>disabled(2)</EncryptEnable>
<PhaseStatus>working(4)</PhaseStatus>
+
<PhaseStatus>working(4)</PhaseStatus><!-- logging ( 1 ) , los ( 2 ) , syncMib ( 3 ) , working ( 4 ) , dyingGasp ( 5 ) , authFailed ( 6 ) , offline ( 7 )-->
 
<OperState>enabled(1)</OperState>
 
<OperState>enabled(1)</OperState>
 +
<AdminState>unlocked(1)</AdminState>
 
<AdminStatus>enabled(1)</AdminStatus>
 
<AdminStatus>enabled(1)</AdminStatus>
 
<LastOnlineTime>2012-11-3,16:45:29.0</LastOnlineTime>
 
<LastOnlineTime>2012-11-3,16:45:29.0</LastOnlineTime>
 
<LastOfflineTime>2012-11-3,16:44:14.0</LastOfflineTime>
 
<LastOfflineTime>2012-11-3,16:44:14.0</LastOfflineTime>
 
<FiberLen>7 Meter</FiberLen>
 
<FiberLen>7 Meter</FiberLen>
<Tcont>
+
<SysUpTime>(0) 0:00:00.00</SysUpTime>
<Rec>
+
<BwPrfName>T1-20M</BwPrfName>
+
<Name>tcont1</Name>
+
<DbaGapMode>mode2(3)</DbaGapMode>
+
<AllocId>257</AllocId>
+
<TcontIndex>1</TcontIndex>
+
</Rec>
+
<Rec>
+
<BwPrfName>T1-20M</BwPrfName>
+
<Name>tcont3</Name>
+
<DbaGapMode>mode2(3)</DbaGapMode>
+
<AllocId>256</AllocId>
+
<TcontIndex>3</TcontIndex>
+
</Rec>
+
</Tcont>
+
<GemPort>
+
<Rec>
+
<TcontIndex>1</TcontIndex>
+
<Name>gemport1</Name>
+
<QueueOfTcont>0</QueueOfTcont>
+
<Enable>enabled(1)</Enable>
+
<GemPortIndex>1</GemPortIndex>
+
<DsQueueMapId>0</DsQueueMapId>
+
<UsQueueMapId>0</UsQueueMapId>
+
<Encrypt>noEncrypt(2)</Encrypt>
+
<UsTrafficPrf>default</UsTrafficPrf>
+
<DsTrafficPrf>default</DsTrafficPrf>
+
</Rec>
+
<Rec>
+
<TcontIndex>1</TcontIndex>
+
<Name>gemport2</Name>
+
<QueueOfTcont>0</QueueOfTcont>
+
<Enable>enabled(1)</Enable>
+
<GemPortIndex>2</GemPortIndex>
+
<DsQueueMapId>0</DsQueueMapId>
+
<UsQueueMapId>0</UsQueueMapId>
+
<Encrypt>noEncrypt(2)</Encrypt>
+
<UsTrafficPrf>INET-DOWN-60Mb</UsTrafficPrf>
+
<DsTrafficPrf>INET-DOWN-60Mb</DsTrafficPrf>
+
</Rec>
+
</GemPort>
+
<Service>
+
<Rec>
+
<GemPort>3</GemPort>
+
<IfId>0</IfId>
+
<MapType>vlan(2)</MapType>
+
<MapCos>0</MapCos>
+
<Name>int3</Name>
+
<MapVid>20</MapVid>
+
</Rec>
+
<Rec>
+
<GemPort>1</GemPort>
+
<IfId>0</IfId>
+
<MapType>vlan(2)</MapType>
+
<MapCos>0</MapCos>
+
<Name>internet</Name>
+
<MapVid>100</MapVid>
+
</Rec>
+
</Service>
+
<Ports>
+
<Rec>
+
<Mode>trunk(2)</Mode>
+
<DefaultVid>1</DefaultVid>
+
<DefaultCos>0</DefaultCos>
+
<VlanList>10,74,100</VlanList>
+
<Type>0</Type>
+
</Rec>
+
<Rec>
+
<Mode>trunk(2)</Mode>
+
<DefaultVid>1</DefaultVid>
+
<DefaultCos>0</DefaultCos>
+
<VlanList>
+
</VlanList>
+
<Type>1</Type>
+
</Rec>
+
</Ports>
+
<SrvPort>
+
<Rec>
+
<SrvPortIndex>1</SrvPortIndex>
+
<Mode>tag(4)</Mode>
+
<VportIndex>1</VportIndex>
+
<UserVid>100</UserVid>
+
<CVid>100</CVid>
+
</Rec>
+
<Rec>
+
<SrvPortIndex>2</SrvPortIndex>
+
<Mode>tag(4)</Mode>
+
<VportIndex>2</VportIndex>
+
<UserVid>88</UserVid>
+
<CVid>87</CVid>
+
</Rec>
+
</SrvPort>
+
<VPort>
+
<Rec>
+
<VportIndex>1</VportIndex>
+
<ConfMode>hybrid(3)</ConfMode>
+
<DefaultVid>1</DefaultVid>
+
<DefaultCVid>0</DefaultCVid>
+
<UntaggedVlanList>1</UntaggedVlanList>
+
<ConfTaggedVlanList>1</ConfTaggedVlanList>
+
<AcceptableFrameTypes>1</AcceptableFrameTypes>
+
</Rec>
+
<Rec>
+
<VportIndex>3</VportIndex>
+
<ConfMode>hybrid(3)</ConfMode>
+
<DefaultVid>1</DefaultVid>
+
<DefaultCVid>0</DefaultCVid>
+
<UntaggedVlanList>1</UntaggedVlanList>
+
<ConfTaggedVlanList>1</ConfTaggedVlanList>
+
<AcceptableFrameTypes>1</AcceptableFrameTypes>
+
</Rec>
+
</VPort>
+
 
</ZteGponOnuGetOne>
 
</ZteGponOnuGetOne>
 
</Request>
 
</Request>
Linia 179: Linia 65:
 
</pre>
 
</pre>
  
 +
Odpowiedź dla Software 1.x:
 +
<pre class="brush:xml">
 +
//BEGIN//
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<Net47>
 +
<Request>
 +
<Type>ZteGponOnuGetOne</Type>
 +
<ZteGponOnuGetOne>
 +
<PhaseStatus>working(3)</PhaseStatus><!-- logging(0), los(1), syncMib(2), working(3), dyinggasp(4), authFailed(5), offline(6)-->
 +
<TypeName>ZTE-F660</TypeName>
 +
<Name>testowa-F660</Name>
 +
<Desc>ONU-4:2</Desc>
 +
<SerialNumber>ZTEGC045AE0F</SerialNumber>
 +
<LastOnlineTime>2015-05-11 08:14:31</LastOnlineTime>
 +
<LastOfflineTime>2015-05-11 08:01:50</LastOfflineTime>
 +
<LastOfflineReson>los(2)</LastOfflineReson>
 +
<RegMode>regModeSn(1)</RegMode>
 +
<TargetStatus>omciready(2)</TargetStatus>
 +
<VportMode>gemport(1)</VportMode>
 +
<DbaMode>3</DbaMode>
 +
<EnableWithSn>true(1)</EnableWithSn>
 +
<AuthPassCtrl>0</AuthPassCtrl>
 +
<UpstreamFecEnable>false(2)</UpstreamFecEnable>
 +
<AdminStatus>enable(1)</AdminStatus>
 +
</ZteGponOnuGetOne>
 +
</Request>
 +
</Net47>
 +
//BEGINEND//
 +
</pre>
  
 
Błędy:
 
Błędy:

Aktualna wersja na dzień 12:00, 11 maj 2015

Zapytanie:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID>
	<Priority>0</Priority>
	<Module>Zte</Module>
	<Request>
		<Type>ZteGponOnuGetOne</Type>
		<ZteGponOnuGetOne>
			<OltIP>11.142.123.22</OltIP>
			<Shelf>1</Shelf><!-- Dla gpon-onu_1/2/1:1 kolejne liczby oznaczją Shelf/Slot/Port:Onu -->
			<Slot>2</Slot>
			<Port>1</Port>
			<Onu>1</Onu>	
			<Rack>1</Rack><!-- opcjonalne--><!-- szafa --><!-- domyślnie: 1 -->	
		</ZteGponOnuGetOne>
	</Request>
</Net47>
//BEGINEND//

Odpowiedź dla Software >= 2.x:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>ZteGponOnuGetOne</Type>
		<ZteGponOnuGetOne>
			<TypeName>ZTE-F660</TypeName>
			<Name>ONU-1:1</Name>
			<Desc>ONU-1:1</Desc>
			<RegMode>regModeSn(1)</RegMode>
			<SerialNumber>ZTEGC0712345</SerialNumber>
			<Pwd>0</Pwd>
			<Loid></Loid>
			<RegistrationId></RegistrationId>
			<TargetStatus>omccReady(2)</TargetStatus>
			<VportMode>gemport(1)</VportMode>
			<DbaMode>hybrid(3)</DbaMode>
			<OmccBwPrfName>	</OmccBwPrfName>
			<EnableWithSn>enabled(1)</EnableWithSn>
			<AuthPassCtrl>0</AuthPassCtrl>
			<UpstreamFecEnable>disabled(2)</UpstreamFecEnable>
			<ReonlineAuthInfo>sn(2)</ReonlineAuthInfo>
			<RegistrationInfo>1,ZTEGC0712345</RegistrationInfo>
			<OmccEncryptEnable>disabled(2)</OmccEncryptEnable>
			<BerInterval>5000 Milliseconds</BerInterval>
			<ToDEnable>disabled(2)</ToDEnable>
			<EncryptEnable>disabled(2)</EncryptEnable>
			<PhaseStatus>working(4)</PhaseStatus><!-- logging ( 1 ) , los ( 2 ) , syncMib ( 3 ) , working ( 4 ) , dyingGasp ( 5 ) , authFailed ( 6 ) , offline ( 7 )-->
			<OperState>enabled(1)</OperState>
			<AdminState>unlocked(1)</AdminState>
			<AdminStatus>enabled(1)</AdminStatus>
			<LastOnlineTime>2012-11-3,16:45:29.0</LastOnlineTime>
			<LastOfflineTime>2012-11-3,16:44:14.0</LastOfflineTime>
			<FiberLen>7 Meter</FiberLen>
			<SysUpTime>(0) 0:00:00.00</SysUpTime>			
		</ZteGponOnuGetOne>
	</Request>
</Net47>
//BEGINEND//

Odpowiedź dla Software 1.x:

//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
	<Request>
		<Type>ZteGponOnuGetOne</Type>
		<ZteGponOnuGetOne>
			<PhaseStatus>working(3)</PhaseStatus><!-- logging(0), los(1), syncMib(2), working(3), dyinggasp(4), authFailed(5), offline(6)-->
			<TypeName>ZTE-F660</TypeName>
			<Name>testowa-F660</Name>
			<Desc>ONU-4:2</Desc>
			<SerialNumber>ZTEGC045AE0F</SerialNumber>
			<LastOnlineTime>2015-05-11 08:14:31</LastOnlineTime>
			<LastOfflineTime>2015-05-11 08:01:50</LastOfflineTime>
			<LastOfflineReson>los(2)</LastOfflineReson>
			<RegMode>regModeSn(1)</RegMode>
			<TargetStatus>omciready(2)</TargetStatus>
			<VportMode>gemport(1)</VportMode>
			<DbaMode>3</DbaMode>
			<EnableWithSn>true(1)</EnableWithSn>
			<AuthPassCtrl>0</AuthPassCtrl>
			<UpstreamFecEnable>false(2)</UpstreamFecEnable>
			<AdminStatus>enable(1)</AdminStatus>			
		</ZteGponOnuGetOne>
	</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