ZteGponOnuGemPortGetAll
Z Net47 2.0
(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...”) |
|||
(Nie pokazano 4 wersji utworzonych przez jednego użytkownika) | |||
Linia 22: | Linia 22: | ||
</pre> | </pre> | ||
− | Odpowiedź: | + | Odpowiedź dla Software >=2: |
<pre class="brush:xml"> | <pre class="brush:xml"> | ||
//BEGIN// | //BEGIN// | ||
Linia 62: | Linia 62: | ||
</pre> | </pre> | ||
+ | Odpowiedź dla Software < 2: | ||
+ | <pre class="brush:xml"> | ||
+ | //BEGIN// | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <Net47> | ||
+ | <Request> | ||
+ | <Type>ZteGponOnuGemPortGetAll</Type> | ||
+ | <ZteGponOnuGemPortGetAll> | ||
+ | <GemPort> | ||
+ | <Rec> | ||
+ | <Name>internetOS</Name> | ||
+ | <TcontIndex>1</TcontIndex> | ||
+ | <PortType>unicast(1)</PortType> | ||
+ | <Direction>bidirection(3)</Direction> | ||
+ | <GemPortIndex>1</GemPortIndex> | ||
+ | <UsTrafficPrf>internet-2</UsTrafficPrf> | ||
+ | <DsTrafficPrf>internet-10</DsTrafficPrf> | ||
+ | <GemPortIndex2>130</GemPortIndex2> | ||
+ | <DefaultCosType>cos0(1)</DefaultCosType> | ||
+ | <Enable>true(1)</Enable> | ||
+ | <DsQueueMapId>0</DsQueueMapId> | ||
+ | <UsQueueMapId>0</UsQueueMapId> | ||
+ | </Rec> | ||
+ | <Rec> | ||
+ | <Name>gemportostrog</Name> | ||
+ | <TcontIndex>3</TcontIndex> | ||
+ | <PortType>unicast(1)</PortType> | ||
+ | <Direction>down(2)</Direction> | ||
+ | <GemPortIndex>2</GemPortIndex> | ||
+ | <UsTrafficPrf>internet-10</UsTrafficPrf> | ||
+ | <DsTrafficPrf>internet-2</DsTrafficPrf> | ||
+ | <GemPortIndex2>129</GemPortIndex2> | ||
+ | <DefaultCosType>cos1(2)</DefaultCosType> | ||
+ | <Enable>true(1)</Enable> | ||
+ | <DsQueueMapId>0</DsQueueMapId> | ||
+ | <UsQueueMapId>0</UsQueueMapId> | ||
+ | </Rec> | ||
+ | </GemPort> | ||
+ | </ZteGponOnuGemPortGetAll> | ||
+ | </Request> | ||
+ | </Net47> | ||
+ | //BEGINEND// | ||
+ | </pre> | ||
Błędy: | Błędy: |
Aktualna wersja na dzień 13:54, 7 maj 2015
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Zte</Module> <Request> <Type>ZteGponOnuGemPortGetAll</Type> <ZteGponOnuGemPortGetAll> <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 --> </ZteGponOnuGemPortGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź dla Software >=2:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>ZteGponOnuGemPortGetAll</Type> <ZteGponOnuGemPortGetAll> <GemPort> <Rec> <TcontIndex>3</TcontIndex> <Name>INET</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>INET-DOWN-120Mb</DsTrafficPrf> </Rec> <Rec> <TcontIndex>4</TcontIndex> <Name>IPTV</Name> <QueueOfTcont>0</QueueOfTcont> <Enable>enabled(1)</Enable> <GemPortIndex>2</GemPortIndex> <DsQueueMapId>0</DsQueueMapId> <UsQueueMapId>0</UsQueueMapId> <Encrypt>noEncrypt(2)</Encrypt> <UsTrafficPrf>default</UsTrafficPrf> <DsTrafficPrf>IPTV-3M</DsTrafficPrf> </Rec> </GemPort> </ZteGponOnuGemPortGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź dla Software < 2:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>ZteGponOnuGemPortGetAll</Type> <ZteGponOnuGemPortGetAll> <GemPort> <Rec> <Name>internetOS</Name> <TcontIndex>1</TcontIndex> <PortType>unicast(1)</PortType> <Direction>bidirection(3)</Direction> <GemPortIndex>1</GemPortIndex> <UsTrafficPrf>internet-2</UsTrafficPrf> <DsTrafficPrf>internet-10</DsTrafficPrf> <GemPortIndex2>130</GemPortIndex2> <DefaultCosType>cos0(1)</DefaultCosType> <Enable>true(1)</Enable> <DsQueueMapId>0</DsQueueMapId> <UsQueueMapId>0</UsQueueMapId> </Rec> <Rec> <Name>gemportostrog</Name> <TcontIndex>3</TcontIndex> <PortType>unicast(1)</PortType> <Direction>down(2)</Direction> <GemPortIndex>2</GemPortIndex> <UsTrafficPrf>internet-10</UsTrafficPrf> <DsTrafficPrf>internet-2</DsTrafficPrf> <GemPortIndex2>129</GemPortIndex2> <DefaultCosType>cos1(2)</DefaultCosType> <Enable>true(1)</Enable> <DsQueueMapId>0</DsQueueMapId> <UsQueueMapId>0</UsQueueMapId> </Rec> </GemPort> </ZteGponOnuGemPortGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error></Error> </Request> </Net47> //BEGINEND//