ZteGponOnuGemPortCreate
Z Net47 2.0
Zapytanie dla Software >= 2.x:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Zte</ Module > < Request > < Type >ZteGponOnuGemPortCreate</ Type > < ZteGponOnuGemPortCreate > < 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 > < TcontIndex >1</ TcontIndex > < Rack >1</ Rack > <!-- opcjonalne--> <!-- szafa --> <!-- domyślnie: 1 --> < Name >gemportname</ Name > <!-- opcjonalne --> < QueueOfTcont >2</ QueueOfTcont > <!-- opcjonalne --> <!-- domyślnie: 0 --> <!-- The queue(index from 0 to 7) of T-CONT for this GEM port. Queue 7 is the highest priority queue.--> < Enable >1</ Enable > <!-- opcjonalne --> <!-- domyślnie: enabled --> <!-- enabled(1), disabled(2) --> < DsQueueMapId >2</ DsQueueMapId > <!-- opcjonalne --> <!-- domyślnie: 0 --> <!-- The downstream queue map ID for GEM port at OLT side.--> < UsQueueMapId >2</ UsQueueMapId > <!-- opcjonalne --> <!-- domyślnie: 0 --> <!-- The upstream queue map ID for GEM port at OLT side.--> < Encrypt >2</ Encrypt > <!-- opcjonalne --> <!-- domyślnie: noEncrypt --> <!-- downstreamEncrypt(1), noEncrypt(2), bothDirectEncrypt(3)--> < UsTrafficPrf >2</ UsTrafficPrf > <!-- opcjonalne --> <!-- Refers to 'zxAnGponSrvTrafficPrfName', upstream traffic limit of GEM port at OLT side.--> < DsTrafficPrf >2</ DsTrafficPrf > <!-- opcjonalne --> <!-- Refers to 'zxAnGponSrvTrafficPrfName', downstream traffic limit of GEM port at OLT side.--> </ ZteGponOnuGemPortCreate > </ Request > </ Net47 > //BEGINEND// |
Zapytanie dla Software 1.x:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Zte</ Module > < Request > < Type >ZteGponOnuGemPortCreate</ Type > < ZteGponOnuGemPortCreate > < 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 > < TcontIndex >1</ TcontIndex > < Rack >1</ Rack > <!-- opcjonalne--> <!-- szafa --> <!-- domyślnie: 1 --> < Name >gemportname</ Name > <!-- opcjonalne --> < Enable >1</ Enable > <!-- opcjonalne --> <!-- domyślnie: enabled --> <!-- enabled(1), disabled(2) --> < DsQueueMapId >2</ DsQueueMapId > <!-- opcjonalne --> <!-- domyślnie: 0 --> <!-- The downstream queue map ID for GEM port at OLT side. Można podac wartosc od 0-7--> < UsQueueMapId >2</ UsQueueMapId > <!-- opcjonalne --> <!-- domyślnie: 0 --> <!-- The upstream queue map ID for GEM port at OLT side. Można podac wartosc od 0-7--> < UsTrafficPrf >2</ UsTrafficPrf > <!-- opcjonalne --> <!-- Refers to 'zxAnGponSrvTrafficPrfName', upstream traffic limit of GEM port at OLT side.--> < DsTrafficPrf >2</ DsTrafficPrf > <!-- opcjonalne --> <!-- Refers to 'zxAnGponSrvTrafficPrfName', downstream traffic limit of GEM port at OLT side.--> < Direction >2</ Direction > <!-- opcjonalne --> <!-- domyślnie: bidirection(3) --> <!-- up(1), down(2), bidirection(3)--> < DefaultCosType >2</ DefaultCosType > <!-- opcjonalne --> <!-- domyślnie: cos0(1) --> <!-- cos0(1), cos1(2), cos2(3), cos3(4)--> </ ZteGponOnuGemPortCreate > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >ZteGponOnuGemPortCreate</ Type > < ZteGponOnuGemPortCreate > < Status >OK</ Status > </ ZteGponOnuGemPortCreate > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error ></ Error > </ Request > </ Net47 > //BEGINEND// |