ZteGponOnuGemPortGetAll
(Różnice między wersjami)
| Linia 72: | Linia 72: | ||
<GemPort> | <GemPort> | ||
<Rec> | <Rec> | ||
| − | <Name> | + | <Name>gemportostrog</Name> |
<TcontIndex>1</TcontIndex> | <TcontIndex>1</TcontIndex> | ||
<PortType>unicast(1)</PortType> | <PortType>unicast(1)</PortType> | ||
<Direction>bidirection(3)</Direction> | <Direction>bidirection(3)</Direction> | ||
<GemPortIndex>1</GemPortIndex> | <GemPortIndex>1</GemPortIndex> | ||
| − | <UsTrafficPrf> | + | <UsTrafficPrf>"default"</UsTrafficPrf> |
| − | <DsTrafficPrf> | + | <DsTrafficPrf>"default"</DsTrafficPrf> |
<GemPortIndex2>130</GemPortIndex2> | <GemPortIndex2>130</GemPortIndex2> | ||
<DefaultCosType>cos0(1)</DefaultCosType> | <DefaultCosType>cos0(1)</DefaultCosType> | ||
| Linia 86: | Linia 86: | ||
</Rec> | </Rec> | ||
<Rec> | <Rec> | ||
| − | <Name> | + | <Name>gemportostrog_dwa</Name> |
| − | <TcontIndex> | + | <TcontIndex>1</TcontIndex> |
<PortType>unicast(1)</PortType> | <PortType>unicast(1)</PortType> | ||
<Direction>bidirection(3)</Direction> | <Direction>bidirection(3)</Direction> | ||
<GemPortIndex>2</GemPortIndex> | <GemPortIndex>2</GemPortIndex> | ||
| − | <UsTrafficPrf> | + | <UsTrafficPrf>"default"</UsTrafficPrf> |
| − | <DsTrafficPrf> | + | <DsTrafficPrf>"default"</DsTrafficPrf> |
<GemPortIndex2>129</GemPortIndex2> | <GemPortIndex2>129</GemPortIndex2> | ||
<DefaultCosType>cos0(1)</DefaultCosType> | <DefaultCosType>cos0(1)</DefaultCosType> | ||
Wersja z 13:48, 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>gemportostrog</Name>
<TcontIndex>1</TcontIndex>
<PortType>unicast(1)</PortType>
<Direction>bidirection(3)</Direction>
<GemPortIndex>1</GemPortIndex>
<UsTrafficPrf>"default"</UsTrafficPrf>
<DsTrafficPrf>"default"</DsTrafficPrf>
<GemPortIndex2>130</GemPortIndex2>
<DefaultCosType>cos0(1)</DefaultCosType>
<Enable>true(1)</Enable>
<DsQueueMapId>0</DsQueueMapId>
<UsQueueMapId>0</UsQueueMapId>
</Rec>
<Rec>
<Name>gemportostrog_dwa</Name>
<TcontIndex>1</TcontIndex>
<PortType>unicast(1)</PortType>
<Direction>bidirection(3)</Direction>
<GemPortIndex>2</GemPortIndex>
<UsTrafficPrf>"default"</UsTrafficPrf>
<DsTrafficPrf>"default"</DsTrafficPrf>
<GemPortIndex2>129</GemPortIndex2>
<DefaultCosType>cos0(1)</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//