NetworkHuaweiServicePortGetForOnt
Z Net47 2.0
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Huawei</ Module > < Request > < Type >NetworkHuaweiServicePortGetForOnt</ Type > < NetworkHuaweiServicePortGetForOnt > < OltIP >21.73.88.125</ OltIP > < FrameID >0</ FrameID > < SlotID >5</ SlotID > < PortID >0</ PortID > < OntID >1</ OntID > < FromDevice >false</ FromDevice > <!-- opcjonalne --> <!-- indexy service portów są trzymane w bazie, jeżeli jakieś service port był utworzony poza systemem z konsoli CLI to należy podać true, żeby pobrało nowe indexy bezpośrednio z urządzenia --> </ NetworkHuaweiServicePortGetForOnt > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
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 29 30 31 32 33 34 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >NetworkHuaweiServicePortGetForOnt</ Type > < NetworkHuaweiServicePortGetForOnt > < ServicePort > < ServicePortID >1</ ServicePortID > < VlanID >100</ VlanID > < GemportID >12</ GemportID > < MultiServiceType >byUserVlan(1)</ MultiServiceType > < UserVlanID >100</ UserVlanID > < OutboundTrafficTableName >FibraNet10</ OutboundTrafficTableName > < InboundTrafficTableName >FibraNet10</ InboundTrafficTableName > < Desc >WyedytowanyOpis</ Desc > < TagTransform >0</ TagTransform > <!--add(0), transparent(1), translate(2), translateAndAdd(3), addDouble(4), translateDouble(5), translateAndRemove(6), remove(7), removeDouble(8) --> < AdminStatus >up(1)</ AdminStatus > </ ServicePort > < ServicePort > < ServicePortID >2</ ServicePortID > < VlanID >99</ VlanID > < GemportID >11</ GemportID > < MultiServiceType >byUserVlan(1)</ MultiServiceType > < UserVlanID >99</ UserVlanID > < OutboundTrafficTableName >MGMT</ OutboundTrafficTableName > < InboundTrafficTableName >MGMT</ InboundTrafficTableName > < Desc ></ Desc > < TagTransform >0</ TagTransform > <!--add(0), transparent(1), translate(2), translateAndAdd(3), addDouble(4), translateDouble(5), translateAndRemove(6), remove(7), removeDouble(8) --> < AdminStatus >up(1)</ AdminStatus > </ ServicePort > </ NetworkHuaweiServicePortGetForOnt > </ 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// |