ZteGponOnuGemPortGetAll
Z Net47 2.0
(Różnice między wersjami)
(Nie pokazano 1 wersji utworzonej przez jednego użytkownika) | |||
Linia 72: | Linia 72: | ||
<GemPort> | <GemPort> | ||
<Rec> | <Rec> | ||
− | <Name> | + | <Name>internetOS</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>internet-2</UsTrafficPrf> |
− | <DsTrafficPrf> | + | <DsTrafficPrf>internet-10</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</Name> |
− | <TcontIndex> | + | <TcontIndex>3</TcontIndex> |
<PortType>unicast(1)</PortType> | <PortType>unicast(1)</PortType> | ||
− | <Direction> | + | <Direction>down(2)</Direction> |
<GemPortIndex>2</GemPortIndex> | <GemPortIndex>2</GemPortIndex> | ||
− | <UsTrafficPrf> | + | <UsTrafficPrf>internet-10</UsTrafficPrf> |
− | <DsTrafficPrf> | + | <DsTrafficPrf>internet-2</DsTrafficPrf> |
<GemPortIndex2>129</GemPortIndex2> | <GemPortIndex2>129</GemPortIndex2> | ||
− | <DefaultCosType> | + | <DefaultCosType>cos1(2)</DefaultCosType> |
<Enable>true(1)</Enable> | <Enable>true(1)</Enable> | ||
<DsQueueMapId>0</DsQueueMapId> | <DsQueueMapId>0</DsQueueMapId> |
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//