Global Configuration.
Version: 2019-04-01
module huawei-pic { yang-version 1; namespace "urn:huawei:yang:huawei-pic"; prefix pic; import ietf-yang-types { prefix yang; } import huawei-devm { prefix devm; } import huawei-driver { prefix driver; } import huawei-ifm { prefix ifm; } import huawei-extension { prefix ext; } import huawei-license { prefix lcs; } import huawei-pub-type { prefix pub-type; } organization "Huawei Technologies Co., Ltd."; contact "Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com"; description "Global Configuration."; revision "2019-04-01" { description "Initial revision."; reference "Huawei private."; } ext:task-name "device-mgr"; typedef detect-signal-type { type enumeration { enum "nodetect" { value 1; description "No detect signal."; } enum "detect" { value 0; description "Detect signal."; } } description "Detect signal."; } typedef fxso-impedance-type { type enumeration { enum "600ohm" { value 0; description "Impedance is 600 ohm."; } enum "900ohm" { value 1; description "Impedance is 900 ohm."; } enum "270ohm" { value 2; description "Impedance is 270 ohm."; } enum "220ohm" { value 3; description "Impedance is 220 ohm."; } enum "370ohm-620ohm" { value 4; description "Impedance is 370 ohm."; } enum "320ohm" { value 5; description "Impedance is 320 ohm."; } enum "370ohm-820ohm" { value 6; description "Impedance is 820 ohm."; } enum "275ohm" { value 7; description "Impedance is 275 ohm."; } enum "20ohm" { value 8; description "Impedance is 20 ohm."; } enum "350ohm" { value 9; description "Impedance is 350 ohm."; } enum "200ohm" { value 10; description "Impedance is 200 ohm."; } enum "600ohm-2.16uf" { value 11; description "Impedance is 600 ohm and 2.16uf."; } enum "900ohm-1uf" { value 12; description "Impedance is 900 ohm and 1uf."; } enum "900ohm-2.16uf" { value 13; description "Impedance is 900 ohm and 2.16 uF."; } enum "600ohm-1uf" { value 14; description "Impedance is 600 ohm and 1 uF."; } enum "global-impedance" { value 15; description "Global impedance."; } } description "FXOS impedance type."; } typedef devm-trans-alarm-type { type enumeration { enum "AUAIS" { value 0; description "Line Alarm Indication Signal."; } enum "B3TCA" { value 1; description "B3 Threshold Crossing Alarm."; } enum "LAIS" { value 2; description "Line alarm indication Signal."; } enum "LOF" { value 3; description "Loss of Frame."; } enum "LOM" { value 4; description "Loss of Tributary Multiframe."; } enum "LOP" { value 5; description "Loss of Pointer."; } enum "LOS" { value 6; description "Loss of Signal."; } enum "LRDI" { value 7; description "Line Remote Defect Indication."; } enum "LREI" { value 8; description "Line Remote Error Indication."; } enum "OOF" { value 9; description "Out of Frame."; } enum "PAIS" { value 10; description "Path Alarm Indication Signal."; } enum "PRDI" { value 11; description "Path Remote Defect Indication."; } enum "PREI" { value 12; description "Path Remote Error Indication."; } enum "PPLM" { value 13; description "Path Payload Mismatch."; } enum "RDOOL" { value 14; description "Receive Data Out of Lock."; } enum "RROOL" { value 15; description "Receive Reference Out of Lock."; } enum "SDBERE" { value 16; description "Signal Degrade Threshold Alarm."; } enum "SFBERE" { value 17; description "Signal Fail Threshold Alarm."; } enum "TROOL" { value 18; description "Transmit Reference Out of Lock."; } enum "PUNEQ" { value 19; description "Path Unequipped Indication."; } enum "LCD" { value 20; description "Loss of Code Group Synchronization."; } enum "WLNK" { value 21; description "WLNK."; } enum "B1TCA" { value 40; description "B1 Threshold Crossing Alarm."; } enum "B2TCA" { value 41; description "B2 Threshold Crossing Alarm."; } } description "Transmission alarm type."; } typedef eth-speed-type { type enumeration { enum "10M" { value 0; description "Configure 10M."; } enum "100M" { value 1; description "Configure 100M."; } enum "1000M" { value 2; description "Configure 1000M."; } enum "2500M" { value 5; description "Configure 2500M."; } enum "10G" { value 6; description "Configure 10G."; } enum "40G" { value 7; description "Configure 40G."; } enum "100G" { value 8; description "Configure 100G."; } enum "auto" { value 9; description "Auto."; } enum "1G" { value 10; description "Configure 1G."; } enum "2G" { value 11; description "Configure 2G."; } enum "3G" { value 12; description "Configure 3G."; } enum "4G" { value 13; description "Configure 4G."; } enum "1.25G" { value 14; description "Configure 1.25G."; } enum "2.5G" { value 15; description "Configure 2.5G."; } enum "3.75G" { value 16; description "Configure 3.75G."; } enum "5G" { value 17; description "Configure 5G."; } enum "15G" { value 18; description "Configure 15G."; } enum "20G" { value 19; description "Configure 20G."; } enum "25G" { value 20; description "Configure 25G."; } enum "30G" { value 21; description "Configure 30G."; } enum "35G" { value 22; description "Configure 35G."; } enum "45G" { value 24; description "Configure 45G."; } enum "50G" { value 25; description "Configure 50G."; } enum "55G" { value 26; description "Configure 55G."; } enum "60G" { value 27; description "Configure 60G."; } enum "65G" { value 28; description "Configure 65G."; } enum "70G" { value 29; description "Configure 70G."; } enum "75G" { value 30; description "Configure 75G."; } enum "80G" { value 31; description "Configure 80G."; } enum "85G" { value 32; description "Configure 85G."; } enum "90G" { value 33; description "Configure 90G."; } enum "95G" { value 34; description "Configure 95G."; } enum "0G" { value 35; description "Configure 0G."; } enum "400G" { value 36; description "Configure 400G."; } } description "Speed type."; } typedef eth-duplex-type { type enumeration { enum "half" { value 1; description "Half duplex."; } enum "full" { value 2; description "Full duplex."; } enum "auto" { value 0; description "Auto-negotiation mode. By default,the mode is negotiated based on hardware capabilities."; } } description "Duplex type."; } typedef pic-statistic-port-type { type enumeration { enum "ATM" { value 0; description "ATM port."; } enum "C37" { value 1; description "C37 serial port."; } enum "CODIR" { value 2; description "Co-directional serial port."; } enum "CPOS" { value 3; description "CPOS port."; } enum "E1" { value 4; description "E1 port."; } enum "E3" { value 5; description "E3 port."; } enum "ECMSERIAL" { value 6; description "Physical serial port."; } enum "ETH" { value 7; description "Ethernet port."; } enum "FLEXEPHY" { value 8; description "FlexE physical port."; } enum "FLEXE" { value 9; description "FlexE business port."; } enum "OTN" { value 10; description "OTN port."; } enum "POS" { value 11; description "POS port."; } enum "VOICE" { value 12; description "Voice serial port."; } } description "Pic statistic port type."; } typedef lcs-active-status-type { type enumeration { enum "unallocated" { value 0; description "Unallocated."; } enum "allocated" { value 1; description "Allocated."; } enum "activated" { value 2; description "Activated."; } } description "License active status type."; } typedef port-negotiation-mode-type { type enumeration { enum "slave" { value 0; description "Slave."; } enum "na" { value 1; description "NA."; } enum "auto" { value 2; description "Auto."; } enum "master" { value 3; description "Master."; } } description "Port negotiation mode type."; } typedef alarm-ais-insert-name { type enumeration { enum "hptim" { value 1; description "Hptim."; } enum "lptim" { value 2; description "Lptim."; } enum "rstim" { value 3; description "Rstim."; } enum "hptimatm" { value 4; description "Hptimatm."; } enum "hpuneqatm" { value 5; description "Hpuneqatm."; } enum "hpuneq" { value 6; description "Hpuneq."; } enum "hpplm" { value 7; description "Hpplm."; } enum "lpuneq" { value 8; description "Lpuneq."; } } description "Alarm Name."; } typedef port-trans-mode-type { type enumeration { enum "lan-mode" { value 0; description "LAN Mode."; } enum "wan-mode" { value 1; description "WAN Mode."; } enum "otn-mode" { value 2; description "OTN Mode."; } } description "Port transmit mode type."; } typedef tunable-wavelength-type { type enumeration { enum "191.15THZ-1568.362NM" { value 99; description "C-band:99-191.15THz-1568.362nm."; } enum "191.20THZ-1567.952NM" { value 98; description "C-band:98-191.20THz-1567.952nm."; } enum "191.25THZ-1567.542NM" { value 97; description "C-band:97-191.25THz-1567.542nm."; } enum "191.30THZ-1567.133NM" { value 96; description "C-band:96-191.30THz-1567.133nm."; } enum "191.35THZ-1566.723NM" { value 95; description "C-band:95-191.35THz-1566.723nm."; } enum "191.40THZ-1566.314NM" { value 94; description "C-band:94-191.40THz-1566.314nm."; } enum "191.45THZ-1565.905NM" { value 93; description "C-band:93-191.45THz-1565.905nm."; } enum "191.50THZ-1565.496NM" { value 92; description "C-band:92-191.50THz-1565.496nm."; } enum "191.55THZ-1565.087NM" { value 91; description "C-band:91-191.55THz-1565.087nm."; } enum "191.60THZ-1564.679NM" { value 90; description "C-band:90-191.60THz-1564.679nm."; } enum "191.65THZ-1564.271NM" { value 89; description "C-band:89-191.65THz-1564.271nm."; } enum "191.70THZ-1563.863NM" { value 88; description "C-band:88-191.70THz-1563.863nm."; } enum "191.75THZ-1563.455NM" { value 87; description "C-band:87-191.75THz-1563.455nm."; } enum "191.80THZ-1563.047NM" { value 86; description "C-band:86-191.80THz-1563.047nm."; } enum "191.85THZ-1562.640NM" { value 85; description "C-band:85-191.85THz-1562.640nm."; } enum "191.90THZ-1562.233NM" { value 84; description "C-band:84-191.90THz-1562.233nm."; } enum "191.95THZ-1561.826NM" { value 83; description "C-band:83-191.95THz-1561.826nm."; } enum "192.00THZ-1561.419NM" { value 82; description "C-band:82-192.00THz-1561.419nm."; } enum "192.05THZ-1561.013NM" { value 81; description "C-band:81-192.05THz-1561.013nm."; } enum "192.10THZ-1560.606NM" { value 80; description "C-band:80-192.10THz-1560.606nm."; } enum "192.15THZ-1560.200NM" { value 79; description "C-band:79-192.15THz-1560.200nm."; } enum "192.20THZ-1559.794NM" { value 78; description "C-band:78-192.20THz-1559.794nm."; } enum "192.25THZ-1559.389NM" { value 77; description "C-band:77-192.25THz-1559.389nm."; } enum "192.30THZ-1558.983NM" { value 76; description "C-band:76-192.30THz-1558.983nm."; } enum "192.35THZ-1558.578NM" { value 75; description "C-band:75-192.35THz-1558.578nm."; } enum "192.40THZ-1558.173NM" { value 74; description "C-band:74-192.40THz-1558.173nm."; } enum "192.45THZ-1557.768NM" { value 73; description "C-band:73-192.45THz-1557.768nm."; } enum "192.50THZ-1557.363NM" { value 72; description "C-band:72-192.50THz-1557.363nm."; } enum "192.55THZ-1556.959NM" { value 71; description "C-band:71-192.55THz-1556.959nm."; } enum "192.60THZ-1556.555NM" { value 70; description "C-band:70-192.60THz-1556.555nm."; } enum "192.65THZ-1556.151NM" { value 69; description "C-band:69-192.65THz-1556.151nm."; } enum "192.70THZ-1555.747NM" { value 68; description "C-band:68-192.70THz-1555.747nm."; } enum "192.75THZ-1555.343NM" { value 67; description "C-band:67-192.75THz-1555.343nm."; } enum "192.80THZ-1554.940NM" { value 66; description "C-band:66-192.80THz-1554.940nm."; } enum "192.85THZ-1554.537NM" { value 65; description "C-band:65-192.85THz-1554.537nm."; } enum "192.90THZ-1554.134NM" { value 64; description "C-band:64-192.90THz-1554.134nm."; } enum "192.95THZ-1553.731NM" { value 63; description "C-band:63-192.95THz-1553.731nm."; } enum "193.00THZ-1553.329NM" { value 62; description "C-band:62-193.00THz-1553.329nm."; } enum "193.05THZ-1552.926NM" { value 61; description "C-band:61-193.05THz-1552.926nm."; } enum "193.10THZ-1552.524NM" { value 60; description "C-band:60-193.10THz-1552.524nm."; } enum "193.15THZ-1552.122NM" { value 59; description "C-band:59-193.15THz-1552.122nm."; } enum "193.20THZ-1551.721NM" { value 58; description "C-band:58-193.20THz-1551.721nm."; } enum "193.25THZ-1551.319NM" { value 57; description "C-band:57-193.25THz-1551.319nm."; } enum "193.30THZ-1550.918NM" { value 56; description "C-band:56-193.30THz-1550.918nm."; } enum "193.35THZ-1550.517NM" { value 55; description "C-band:55-193.35THz-1550.517nm."; } enum "193.40THZ-1550.116NM" { value 54; description "C-band:54-193.40THz-1550.116nm."; } enum "193.45THZ-1549.715NM" { value 53; description "C-band:53-193.45THz-1549.715nm."; } enum "193.50THZ-1549.315NM" { value 52; description "C-band:52-193.50THz-1549.315nm."; } enum "193.55THZ-1548.915NM" { value 51; description "C-band:51-193.55THz-1548.915nm."; } enum "193.60THZ-1548.515NM" { value 50; description "C-band:50-193.60THz-1548.515nm."; } enum "193.65THZ-1548.115NM" { value 49; description "C-band:49-193.65THz-1548.115nm."; } enum "193.70THZ-1547.715NM" { value 48; description "C-band:48-193.70THz-1547.715nm."; } enum "193.75THZ-1547.316NM" { value 47; description "C-band:47-193.75THz-1547.316nm."; } enum "193.80THZ-1546.917NM" { value 46; description "C-band:46-193.80THz-1546.917nm."; } enum "193.85THZ-1546.518NM" { value 45; description "C-band:45-193.85THz-1546.518nm."; } enum "193.90THZ-1546.119NM" { value 44; description "C-band:44-193.90THz-1546.119nm."; } enum "193.95THZ-1545.720NM" { value 43; description "C-band:43-193.95THz-1545.720nm."; } enum "194.00THZ-1545.322NM" { value 42; description "C-band:42-194.00THz-1545.322nm."; } enum "194.05THZ-1544.924NM" { value 41; description "C-band:41-194.05THz-1544.924nm."; } enum "194.10THZ-1544.526NM" { value 40; description "C-band:40-194.10THz-1544.526nm."; } enum "194.15THZ-1544.128NM" { value 39; description "C-band:39-194.15THz-1544.128nm."; } enum "194.20THZ-1543.730NM" { value 38; description "C-band:38-194.20THz-1543.730nm."; } enum "194.25THZ-1543.333NM" { value 37; description "C-band:37-194.25THz-1543.333nm."; } enum "194.30THZ-1542.936NM" { value 36; description "C-band:36-194.30THz-1542.936nm."; } enum "194.35THZ-1542.539NM" { value 35; description "C-band:35-194.35THz-1542.539nm."; } enum "194.40THZ-1542.142NM" { value 34; description "C-band:34-194.40THz-1542.142nm."; } enum "194.45THZ-1541.746NM" { value 33; description "C-band:33-194.45THz-1541.746nm."; } enum "194.50THZ-1541.349NM" { value 32; description "C-band:32-194.50THz-1541.349nm."; } enum "194.55THZ-1540.953NM" { value 31; description "C-band:31-194.55THz-1540.953nm."; } enum "194.60THZ-1540.557NM" { value 30; description "C-band:30-194.60THz-1540.557nm."; } enum "194.65THZ-1540.162NM" { value 29; description "C-band:29-194.65THz-1540.162nm."; } enum "194.70THZ-1539.766NM" { value 28; description "C-band:28-194.70THz-1539.766nm."; } enum "194.75THZ-1539.371NM" { value 27; description "C-band:27-194.75THz-1539.371nm."; } enum "194.80THZ-1538.976NM" { value 26; description "C-band:26-194.80THz-1538.976nm."; } enum "194.85THZ-1538.581NM" { value 25; description "C-band:25-194.85THz-1538.581nm."; } enum "194.90THZ-1538.186NM" { value 24; description "C-band:24-194.90THz-1538.186nm."; } enum "194.95THZ-1537.792NM" { value 23; description "C-band:23-194.95THz-1537.792nm."; } enum "195.00THZ-1537.397NM" { value 22; description "C-band:22-195.00THz-1537.397nm."; } enum "195.05THZ-1537.003NM" { value 21; description "C-band:21-195.05THz-1537.003nm."; } enum "195.10THZ-1536.609NM" { value 20; description "C-band:20-195.10THz-1536.609nm."; } enum "195.15THZ-1536.216NM" { value 19; description "C-band:19-195.15THz-1536.216nm."; } enum "195.20THZ-1535.822NM" { value 18; description "C-band:18-195.20THz-1535.822nm."; } enum "195.25THZ-1535.429NM" { value 17; description "C-band:17-195.25THz-1535.429nm."; } enum "195.30THZ-1535.036NM" { value 16; description "C-band:16-195.30THz-1535.036nm."; } enum "195.35THZ-1534.643NM" { value 15; description "C-band:15-195.35THz-1534.643nm."; } enum "195.40THZ-1534.250NM" { value 14; description "C-band:14-195.40THz-1534.250nm."; } enum "195.45THZ-1533.858NM" { value 13; description "C-band:13-195.45THz-1533.858nm."; } enum "195.50THZ-1533.465NM" { value 12; description "C-band:12-195.50THz-1533.465nm."; } enum "195.55THZ-1533.073NM" { value 11; description "C-band:11-195.55THz-1533.073nm."; } enum "195.60THZ-1532.681NM" { value 10; description "C-band:10-195.60THz-1532.681nm."; } enum "195.65THZ-1532.290NM" { value 9; description "C-band:09-195.65THz-1532.290nm."; } enum "195.70THZ-1531.898NM" { value 8; description "C-band:08-195.70THz-1531.898nm."; } enum "195.75THZ-1531.507NM" { value 7; description "C-band:07-195.75THz-1531.507nm."; } enum "195.80THZ-1531.116NM" { value 6; description "C-band:06-195.80THz-1531.116nm."; } enum "195.85THZ-1530.725NM" { value 5; description "C-band:05-195.85THz-1530.725nm."; } enum "195.90THZ-1530.334NM" { value 4; description "C-band:04-195.90THz-1530.334nm."; } enum "195.95THZ-1529.944NM" { value 3; description "C-band:03-195.95THz-1529.944nm."; } enum "196.00THZ-1529.553NM" { value 2; description "C-band:02-196.00THz-1529.553nm."; } enum "196.05THZ-1529.163NM" { value 1; description "C-band:01-196.05THz-1529.163nm."; } enum "196.10THZ-1528.773NM" { value 0; description "C-band:00-196.10THz-1528.773nm."; } } description "Enum of wavelength and frequence."; } typedef panel-split-ports-split-type { type enumeration { enum "4X10GE" { value 1; description "Four 10G optical fiber ports."; } enum "1X40GE" { value 2; description "One 40G optical fiber port."; } enum "1X100GE" { value 3; description "One 100G optical fiber port."; } enum "10X10GE" { value 4; description "Ten 10G optical fiber ports."; } enum "4X25GE-NULL" { value 5; description "Four 25GE ports."; } enum "4X10GE-1X40GE" { value 9; description "Four 10G optical fiber ports and one 40G optical fiber port."; } enum "4X10GE-4X10GE" { value 10; description "Four 10G optical fiber ports and four 10G optical fiber ports."; } enum "NULL-1X100GE" { value 12; description "One 100GE port."; } enum "1X400GE" { value 13; description "One 400GE port."; } enum "NULL-2X25GE" { value 15; description "Two 25GE port."; } enum "1X50GE-NULL" { value 16; description "One 50GE port."; } enum "1X25GE-2X1GE" { value 17; description "One 25G optical fiber port and two 1G optical fiber ports."; } enum "1X10GE-2X10GE" { value 18; description "One 10G optical fiber port and two 10G optical fiber ports."; } enum "1X25GE-NULL" { value 19; description "One 25GE port."; } enum "1X10GE-1X10GE" { value 20; description "1*10GE-1*10GE."; } enum "ADAPT" { value 21; description "Auto-adapt."; } enum "4X25GE" { value 22; description "Four 25G optical fiber ports."; } enum "1X50GE" { value 23; description "One 50G optical fiber port."; } } description "Enum of split type."; } typedef switch-speed-type { type enumeration { enum "1G" { value 1; description "GE mode."; } enum "10G" { value 10; description "10GE mode."; } enum "25G" { value 25; description "25GE mode."; } enum "undo" { value 0; description "Cancel setting."; } } description "Enum of switch-speed."; } typedef fault-process-mode-type { type enumeration { enum "reset" { value 0; description "Reset."; } enum "isolate" { value 1; description "Isolate."; } } description "Card fault process mode type."; } typedef ext-lcs-active-status-type { type enumeration { enum "unallocated" { value 0; description "Unallocated."; } enum "activated" { value 1; description "Activated."; } enum "allocated" { value 2; description "Allocated."; } } description "License active status type."; } container pic { description "Pic Configuration."; container panel-split-ports { description "List of Panel Ports."; list panel-split-port { ext:generated-by "system"; ext:operation-exclude "create"; key "position"; description "Configure Panel Port."; leaf position { type string { length "1..32"; } description "Panel Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } leaf split-type { ext:dynamic-default; type panel-split-ports-split-type; description "Panel port split type. Modifying the configuration affects the instances of ports and interfaces. For details about the impact, see the description of each enumerated item."; } container split-ports { config false; description "List of Split Ports."; list port { key "split-position"; description "Operational state of Split Port."; leaf split-position { type string { length "1..32"; } description "Split Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } leaf port-name { type pub-type:if-name; description "Split Port Name."; } } // list port } // container split-ports container related-ports { config false; description "List of related ports."; list related-port { key "port-name"; description "Statistics of related ports."; leaf port-name { type pub-type:if-name; description "Split Port Name."; } } // list related-port } // container related-ports } // list panel-split-port } // container panel-split-ports container auto-clears { description "List of Auto Clears."; list auto-clear { ext:generated-by "system"; ext:operation-exclude "create"; key "type"; description "Configure Auto Clear."; leaf type { type enumeration { enum "lsrclose" { value 7; description "Laser Close."; } enum "physical-mode" { value 14; description "Physical mode."; } } description "Auto Clear Type."; } leaf status { type enumeration { enum "disabled" { value 0; description "Disabled."; } enum "enabled" { value 1; description "Enabled."; } } default "enabled"; description "Auto Clear Status."; } leaf time { ext:dynamic-default { ext:default-value "5" { when "../type = 'lsrclose'"; description "The default value is 5 when type is lsrclose."; } ext:default-value "20" { when "../type = 'physical-mode'"; description "The default value is 20 when type is physical-mode."; } } type uint32 { range "1..2880"; } units "min"; description "Auto Clear Time."; } } // list auto-clear } // container auto-clears container tad-trans-alarm-if-downs { description "List of Global TAD Alarm Status Information."; list tad-trans-alarm-if-down { ext:generated-by "system"; ext:operation-exclude "create"; key "port-type alarm-type"; description "Configure Global TAD Alarm Status Information."; leaf port-type { type enumeration { enum "wan" { value 1; description "WAN port type."; } enum "pos" { value 2; description "POS port type."; } } description "Global TAD Port Type. If the hardware does not support it, returning to the current interface does not support it."; } leaf alarm-type { type enumeration { enum "LOS" { value 6; description "Loss of Signal."; } enum "LAIS" { value 2; description "Line alarm indication Signal."; } enum "LOF" { value 3; description "Loss of Frame."; } enum "OOF" { value 9; description "Out of Frame."; } enum "AUAIS" { value 0; description "Line Alarm Indication Signal."; } enum "B3TCA" { value 1; description "B3 Threshold Crossing Alarm."; } enum "B1TCA" { value 40; description "B1 Threshold Crossing Alarm."; } enum "B2TCA" { value 41; description "B2 Threshold Crossing Alarm."; } enum "LOM" { value 4; description "Loss of Tributary Multiframe."; } enum "LOP" { value 5; description "Loss of Pointer."; } enum "LRDI" { value 7; description "Line Remote Defect Indication."; } enum "LREI" { value 8; description "Line Remote Error Indication."; } enum "PAIS" { value 10; description "Path Alarm Indication Signal."; } enum "PRDI" { value 11; description "Path Remote Defect Indication."; } enum "PREI" { value 12; description "Path Remote Error Indication."; } enum "PPLM" { value 13; description "Path Payload Mismatch."; } enum "RDOOL" { value 14; description "Receive Data Out of Lock."; } enum "RROOL" { value 15; description "Receive Reference Out of Lock."; } enum "SDBERE" { value 16; description "Signal Degrade Threshold Alarm."; } enum "SFBERE" { value 17; description "Signal Fail Threshold Alarm."; } enum "TROOL" { value 18; description "Transmit Reference Out of Lock."; } enum "PUNEQ" { value 19; description "Path Unequipped Indication."; } enum "LCD" { value 20; description "Loss of Code Group Synchronization."; } } description "Global TAD Alarm Type. If the hardware does not support it, returning to the current interface does not support it."; } leaf if-down { ext:dynamic-default; type boolean; description "Enable/disable Global TAD Alarm If down."; } } // list tad-trans-alarm-if-down } // container tad-trans-alarm-if-downs container alarm-ais-inserts { description "List of Alarm Insert Ais Configuration."; list alarm-ais-insert { ext:generated-by "system"; ext:operation-exclude "create"; key "name"; description "Configure Alarm Insert Ais Configuration."; leaf name { type alarm-ais-insert-name; description "Alarm Name."; } leaf ais { type boolean; default "false"; description "Enable/disable Alarm Insert Ais Enable."; } leaf rdi { type boolean; description "Enable/disable Peer Alarm Report RDI Enable."; } } // list alarm-ais-insert } // container alarm-ais-inserts container port-statistics { config false; description "List of Port statistics."; list statistic { key "chassis-id board-id port-type"; description "Operational state of Port statistic."; leaf chassis-id { type string { length "1..32"; } description "Chassis id."; } leaf board-id { type uint32 { range "0..65535"; } description "Board id."; } leaf port-type { type pic-statistic-port-type; description "Port type."; } leaf total-port-num { type uint32 { range "0..65535"; } description "Total port number."; } leaf phy-up-port-num { type uint32 { range "0..65535"; } description "Physical up port number."; } } // list statistic } // container port-statistics } // container pic rpc laser-turn { ext:node-ref "devm/ports/port"; description "Set port laser."; input { leaf laser-shutdown { type enumeration { enum "on" { value 0; description "Laser open."; } enum "off" { value 1; description "Laser close."; } } default "on"; description "Laser open or shut."; } leaf laser-test-time { type uint32 { range "200..30000"; } units "10 ms"; description "Laser open time."; } leaf port-position { type string { length "1..32"; } mandatory true; description "Port position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc laser-turn rpc attr-abort { ext:node-ref "/devm/ports/port"; description "Port attr detect abort."; input { leaf position { type string { length "1..32"; } mandatory true; description "Entity position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc attr-abort rpc attr-start { ext:node-ref "/devm/ports/port"; description "Port attr detect start."; input { leaf position { type string { length "1..32"; } mandatory true; description "Entity position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc attr-start rpc clear-port-crc-err-alarm { ext:node-ref "/devm/ports/port"; description "Clear CRC error alarm."; input { leaf port-position { type string { length "1..32"; } mandatory true; description "Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc clear-port-crc-err-alarm rpc clear-port-input-err-alarm { ext:node-ref "/devm/ports/port"; description "Clear input error alarm."; input { leaf port-position { type string { length "1..32"; } mandatory true; description "Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc clear-port-input-err-alarm rpc clear-port-output-err-alarm { ext:node-ref "/devm/ports/port"; description "Clear output error alarm."; input { leaf port-position { type string { length "1..32"; } mandatory true; description "Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc clear-port-output-err-alarm rpc clear-port-sdh-err-alarm { ext:node-ref "/devm/ports/port"; description "Clear sdh error alarm."; input { leaf port-position { type string { length "1..32"; } mandatory true; description "Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc clear-port-sdh-err-alarm rpc clear-port-symbol-err-alarm { ext:node-ref "/devm/ports/port"; description "Clear symbol error alarm."; input { leaf port-position { type string { length "1..32"; } mandatory true; description "Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc clear-port-symbol-err-alarm rpc clear-port-trans-alarm { ext:node-ref "/devm/ports/port"; description "Clear tad alarm information."; input { leaf port-position { type string { length "1..32"; } mandatory true; description "Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc clear-port-trans-alarm rpc clear-port-rx-pause-err-alarm { ext:node-ref "/devm/ports/port"; description "Clear pause-frame error alarm."; input { leaf port-position { type string { length "1..32"; } mandatory true; description "Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc clear-port-rx-pause-err-alarm rpc test-local-loopback { ext:node-ref "/devm:devm/devm:ports/devm:port"; description "Test local Loopback."; input { leaf port-position { type string { length "1..32"; } mandatory true; description "Port Position. The position is expressed in the format of slotID/cardID/portID. For example, 1/0/1. Here 1/0/1 is an example. The value may vary with devices."; } } } // rpc test-local-loopback } // module huawei-pic
© 2023 YumaWorks, Inc. All rights reserved.