ZteGponOnuServiceMappingGetAll
(Różnice między wersjami)
| Linia 22: | Linia 22: | ||
</pre> | </pre> | ||
| − | Odpowiedź: | + | Odpowiedź dla Software >= 2.x: |
<pre class="brush:xml"> | <pre class="brush:xml"> | ||
//BEGIN// | //BEGIN// | ||
| Linia 46: | Linia 46: | ||
</pre> | </pre> | ||
| + | Odpowiedź dla Software 1.x: | ||
| + | <pre class="brush:xml"> | ||
| + | //BEGIN// | ||
| + | <?xml version="1.0" encoding="UTF-8"?> | ||
| + | <Net47> | ||
| + | <Request> | ||
| + | <Type>ZteGponOnuServiceMappingGetAll</Type> | ||
| + | <ZteGponOnuServiceMappingGetAll> | ||
| + | <Service> | ||
| + | <Rec><!-- sekcja może wystąpić wielokrotnie --> | ||
| + | <GemPort>1</GemPort> | ||
| + | <IfId>0</IfId> | ||
| + | <MapType>vlan(2)</MapType> | ||
| + | <MapCos>0</MapCos> | ||
| + | <Name>internet</Name> | ||
| + | <ServiceType>internet(1)</ServiceType> | ||
| + | <ServiceMVlan>0</ServiceMVlan> | ||
| + | <MapVid>90</MapVid> | ||
| + | </Rec> | ||
| + | </Service> | ||
| + | </ZteGponOnuServiceMappingGetAll> | ||
| + | </Request> | ||
| + | </Net47> | ||
| + | //BEGINEND// | ||
| + | </pre> | ||
Błędy: | Błędy: | ||
Wersja z 13:36, 7 maj 2015
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Zte</Module> <Request> <Type>ZteGponOnuServiceMappingGetAll</Type> <ZteGponOnuServiceMappingGetAll> <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 --> </ZteGponOnuServiceMappingGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź dla Software >= 2.x:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>ZteGponOnuServiceMappingGetAll</Type> <ZteGponOnuServiceMappingGetAll> <Service> <Rec><!-- sekcja może wystąpić wielokrotnie --> <GemPort>2</GemPort> <IfId>0</IfId> <MapType>vlan(2)</MapType> <MapCos>0</MapCos> <Name>IPTV</Name> <MapVid>218</MapVid> </Rec> </Service> </ZteGponOnuServiceMappingGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź dla Software 1.x:
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
<Request>
<Type>ZteGponOnuServiceMappingGetAll</Type>
<ZteGponOnuServiceMappingGetAll>
<Service>
<Rec><!-- sekcja może wystąpić wielokrotnie -->
<GemPort>1</GemPort>
<IfId>0</IfId>
<MapType>vlan(2)</MapType>
<MapCos>0</MapCos>
<Name>internet</Name>
<ServiceType>internet(1)</ServiceType>
<ServiceMVlan>0</ServiceMVlan>
<MapVid>90</MapVid>
</Rec>
</Service>
</ZteGponOnuServiceMappingGetAll>
</Request>
</Net47>
//BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error></Error> </Request> </Net47> //BEGINEND//