1syntax = "proto3"; 2// Automatically generated by goyang https://github.com/openconfig/goyang 3// compiled 2017-08-09T07:03:53Z 4// do not delete the next line 5// goyang-version 1 6// module "huawei-devm" 7// revision "2017-03-23" 8// revision "2013-01-01" 9// namespace "http://www.huawei.com/netconf/vrp/huawei-devm" 10 11package huawei_devm; 12 13message Devm { 14 message CpuInfos { 15 message CpuInfo { 16 uint32 entIndex = 1; //0x08 17 uint32 interval = 2; //0x10 18 uint32 ovloadThreshold = 3; //0x18 19 string position = 4; //0x22 20 uint32 systemCpuUsage = 5; //0x28 21 uint32 unovloadThreshold = 6; //0x30 22 } 23 repeated CpuInfo cpuInfo = 1; //0x1a 24 } 25 CpuInfos cpuInfos = 5; //0x2a 26 message EthPortStaStss { 27 message EthPortStaSts { 28 uint32 ifName = 1; //0x08 29 uint64 receiveByte = 2; //0x10 30 uint64 receivePacket = 3; //0x18 31 uint64 sendByte = 4; //0x20 32 uint64 sendPacket = 5; //0x28 33 } 34 repeated EthPortStaSts ethPortStaSts = 1; //0x0a 35 } 36 EthPortStaStss ethPortStaStss = 7; //0x3a 37 message MemoryInfos { 38 message MemoryInfo { 39 uint32 doMemoryFree = 1; //0x08 40 uint32 doMemoryTotal = 2; //0x10 41 uint32 doMemoryUsage = 3; //0x18 42 uint32 doMemoryUse = 4; //0x20 43 uint32 entIndex = 5; //0x28 44 uint32 osMemoryFree = 6; //0x30 45 uint32 osMemoryTotal = 7; //0x38 46 uint32 osMemoryUsage = 8; //0x40 47 uint32 osMemoryUse = 9; //0x48 48 uint32 ovloadThreshold = 10; //0x50 49 string position = 11; //0x5a 50 uint32 simpleMemoryFree = 12; //0x60 51 uint32 simpleMemoryTotal = 13; //0x68 52 uint32 simpleMemoryUsage = 14; //0x70 53 uint32 simpleMemoryUse = 15; //0x78 54 uint32 unovloadThreshold = 16; //0x80 01 55 } 56 repeated MemoryInfo memoryInfo = 1; //0x0e 57 } 58 MemoryInfos memoryInfos = 15; //0x7e 59 60 message Ports { 61 message Port { 62 message OpticalInfo { 63 string biasCurrent = 1; 64 string manuDate = 2; 65 string position = 15; 66 string rxPower = 16; 67 string temperature = 17; 68 string txPower = 20; 69 string voltage = 23; 70 } 71 OpticalInfo opticalInfo = 8; 72 } 73 repeated Port port = 1; 74 } 75 Ports ports = 20; 76} 77 78// Do not delete the lines below, they preserve tag information for goyang. 79// goyang-tag Devm cpuInfos/CpuInfos 5 80// goyang-tag Devm ethPortStaStss/EthPortStaStss 7 81// goyang-tag Devm memoryInfos/MemoryInfos 15 82// goyang-tag Devm_CpuInfos cpuInfo/CpuInfo[] 1 83// goyang-tag Devm_CpuInfos_CpuInfo entIndex/uint32 1 84// goyang-tag Devm_CpuInfos_CpuInfo interval/uint32 2 85// goyang-tag Devm_CpuInfos_CpuInfo ovloadThreshold/uint32 3 86// goyang-tag Devm_CpuInfos_CpuInfo position/string 4 87// goyang-tag Devm_CpuInfos_CpuInfo systemCpuUsage/uint32 5 88// goyang-tag Devm_CpuInfos_CpuInfo unovloadThreshold/uint32 6 89// goyang-tag Devm_MemoryInfos memoryInfo/MemoryInfo[] 1 90// goyang-tag Devm_MemoryInfos_MemoryInfo doMemoryFree/uint32 1 91// goyang-tag Devm_MemoryInfos_MemoryInfo doMemoryTotal/uint32 2 92// goyang-tag Devm_MemoryInfos_MemoryInfo doMemoryUsage/uint32 3 93// goyang-tag Devm_MemoryInfos_MemoryInfo doMemoryUse/uint32 4 94// goyang-tag Devm_MemoryInfos_MemoryInfo entIndex/uint32 5 95// goyang-tag Devm_MemoryInfos_MemoryInfo osMemoryFree/uint32 6 96// goyang-tag Devm_MemoryInfos_MemoryInfo osMemoryTotal/uint32 7 97// goyang-tag Devm_MemoryInfos_MemoryInfo osMemoryUsage/uint32 8 98// goyang-tag Devm_MemoryInfos_MemoryInfo osMemoryUse/uint32 9 99// goyang-tag Devm_MemoryInfos_MemoryInfo ovloadThreshold/uint32 10 100// goyang-tag Devm_MemoryInfos_MemoryInfo position/string 11 101// goyang-tag Devm_MemoryInfos_MemoryInfo simpleMemoryFree/uint32 12 102// goyang-tag Devm_MemoryInfos_MemoryInfo simpleMemoryTotal/uint32 13 103// goyang-tag Devm_MemoryInfos_MemoryInfo simpleMemoryUsage/uint32 14 104// goyang-tag Devm_MemoryInfos_MemoryInfo simpleMemoryUse/uint32 15 105// goyang-tag Devm_MemoryInfos_MemoryInfo unovloadThreshold/uint32 16 106// goyang-tag Devm_EthPortStaStss ethPortStaSts/EthPortStaSts[] 1 107// goyang-tag Devm_EthPortStaStss_EthPortStaSts ifName/uint32 1 108// goyang-tag Devm_EthPortStaStss_EthPortStaSts receiveByte/uint64 2 109// goyang-tag Devm_EthPortStaStss_EthPortStaSts receivePacket/uint64 3 110// goyang-tag Devm_EthPortStaStss_EthPortStaSts sendByte/uint64 4 111// goyang-tag Devm_EthPortStaStss_EthPortStaSts sendPacket/uint64 5 112