NetworkHuaweiServicePortAdd
Z Net47 2.0
Zapytanie:
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 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Module >Huawei</ Module > < Request > < Type >NetworkHuaweiServicePortAdd</ Type > < NetworkHuaweiServicePortAdd > < OltIP >21.73.88.125</ OltIP > < FrameID >0</ FrameID > < SlotID >5</ SlotID > < PortID >0</ PortID > < OntID >0</ OntID > < GemportID >14</ GemportID > < VlanID >100</ VlanID > < UserVlanID >100</ UserVlanID > < AdminStatus >1</ AdminStatus > <!-- 1 up, 2 down --> < InboundTrafficTableName >FibraNet100</ InboundTrafficTableName > < OutboundTrafficTableName >FibraNet100</ OutboundTrafficTableName > < ServicePort >1</ ServicePort > <!-- opcjonalne --> <!-- numer portu. Bezpieczniej jest nie podawać tego pola, ponieważ wtedy zostanie przypisany pierwszy wolny numer dla portu i nie wystąpi z tego powodu żaden błąd --> < TagTransform >0</ TagTransform > <!--add(0), transparent(1), translate(2), translateAndAdd(3), addDouble(4), translateDouble(5), translateAndRemove(6), remove(7), removeDouble(8) --> < Desc >Opis</ Desc > <!-- opcjonalne --> <!-- wykonywane jako oddzielne polecenie, dlatego service port może się dodać a funkcja zwróci błąd z powodu nie dodania opisu--> </ NetworkHuaweiServicePortAdd > </ 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 >NetworkHuaweiServicePortAdd</ Type > < NetworkHuaweiServicePortAdd > < ServicePort >5</ ServicePort > </ NetworkHuaweiServicePortAdd > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 10 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Wystąpił błąd podczas dodawania service portu. (Treść Błędu)</ Error > < Error >Service port został dodany. Wystąpił błąd podczas dodawaniu opisu (desc): (Treść Błędu)</ Error > </ Request > </ Net47 > //BEGINEND// |