ZteGponTcontBwPrfGetAll
(Różnice między wersjami)
| Linia 17: | Linia 17: | ||
</pre> | </pre> | ||
| − | Odpowiedź: | + | Odpowiedź dla Software >= 2: |
<pre class="brush:xml"> | <pre class="brush:xml"> | ||
//BEGIN// | //BEGIN// | ||
| Linia 38: | Linia 38: | ||
<Maximum>0 kbps</Maximum> | <Maximum>0 kbps</Maximum> | ||
<Type>type1(1)</Type> | <Type>type1(1)</Type> | ||
| + | </Tcont> | ||
| + | </ZteGponTcontBwPrfGetAll> | ||
| + | </Request> | ||
| + | </Net47> | ||
| + | //BEGINEND// | ||
| + | </pre> | ||
| + | |||
| + | Odpowiedź dla Software < 2: | ||
| + | <pre class="brush:xml"> | ||
| + | //BEGIN// | ||
| + | <?xml version="1.0" encoding="UTF-8"?> | ||
| + | <Net47> | ||
| + | <Request> | ||
| + | <Type>ZteGponTcontBwPrfGetAll</Type> | ||
| + | <ZteGponTcontBwPrfGetAll> | ||
| + | <Tcont><!-- sekcja może wystąpić kilka razy --> | ||
| + | <Name>default</Name> | ||
| + | <Fixed>10000</Fixed> | ||
| + | <Assured>0</Assured> | ||
| + | <Maximum>0</Maximum> | ||
| + | <Type>type1(1)</Type> | ||
| + | </Tcont> | ||
| + | <Tcont> | ||
| + | <Name>LMS_64_10240</Name> | ||
| + | <Fixed>0</Fixed> | ||
| + | <Assured>64</Assured> | ||
| + | <Maximum>10240</Maximum> | ||
| + | <Type>type3(3)</Type> | ||
</Tcont> | </Tcont> | ||
</ZteGponTcontBwPrfGetAll> | </ZteGponTcontBwPrfGetAll> | ||
Wersja z 11:52, 30 kwi 2015
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Zte</Module> <Request> <Type>ZteGponTcontBwPrfGetAll</Type> <ZteGponTcontBwPrfGetAll> <OltIP>11.142.123.22</OltIP> </ZteGponTcontBwPrfGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź dla Software >= 2:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>ZteGponTcontBwPrfGetAll</Type> <ZteGponTcontBwPrfGetAll> <Tcont><!-- sekcja może wystąpić kilka razy --> <Name>T1-20M</Name> <Fixed>20000 kbps</Fixed> <Assured>0 kbps</Assured> <Maximum>0 kbps</Maximum> <Type>type1(1)</Type><!-- Type 1 is characterized by Fixed bandwidth only; Type 2 is characterized by Assured bandwidth only; Type 3 has Assured bandwidth and Non-assured bandwidth; Type 4 has Best-effort bandwidth only and does not have any Guaranteed bandwidth; Type 5 is the super set of all of types.--> </Tcont> <Tcont> <Name>default</Name> <Fixed>10000 kbps</Fixed> <Assured>0 kbps</Assured> <Maximum>0 kbps</Maximum> <Type>type1(1)</Type> </Tcont> </ZteGponTcontBwPrfGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź dla Software < 2:
//BEGIN//
<?xml version="1.0" encoding="UTF-8"?>
<Net47>
<Request>
<Type>ZteGponTcontBwPrfGetAll</Type>
<ZteGponTcontBwPrfGetAll>
<Tcont><!-- sekcja może wystąpić kilka razy -->
<Name>default</Name>
<Fixed>10000</Fixed>
<Assured>0</Assured>
<Maximum>0</Maximum>
<Type>type1(1)</Type>
</Tcont>
<Tcont>
<Name>LMS_64_10240</Name>
<Fixed>0</Fixed>
<Assured>64</Assured>
<Maximum>10240</Maximum>
<Type>type3(3)</Type>
</Tcont>
</ZteGponTcontBwPrfGetAll>
</Request>
</Net47>
//BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error></Error> </Request> </Net47> //BEGINEND//