ZteGponOnuGemPortGetAll
Z Net47 2.0
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> <Name>internet</Name> <TcontIndex>1</TcontIndex> <PortType>unicast(1)</PortType> <Direction>bidirection(3)</Direction> <GemPortIndex>1</GemPortIndex> <UsTrafficPrf>1879048193</UsTrafficPrf> <DsTrafficPrf>1879048203</DsTrafficPrf> <GemPortIndex2>130</GemPortIndex2> <DefaultCosType>cos0(1)</DefaultCosType> <Enable>true(1)</Enable> <DsQueueMapId>0</DsQueueMapId> <UsQueueMapId>0</UsQueueMapId> </Rec> <Rec> <Name>voip</Name> <TcontIndex>2</TcontIndex> <PortType>unicast(1)</PortType> <Direction>bidirection(3)</Direction> <GemPortIndex>2</GemPortIndex> <UsTrafficPrf>1879048193</UsTrafficPrf> <DsTrafficPrf>1879048205</DsTrafficPrf> <GemPortIndex2>129</GemPortIndex2> <DefaultCosType>cos0(1)</DefaultCosType> <Enable>true(1)</Enable> <DsQueueMapId>0</DsQueueMapId> <UsQueueMapId>0</UsQueueMapId> </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> <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//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error></Error> </Request> </Net47> //BEGINEND//