Sean Condon | 081290d | 2017-11-02 13:15:08 +0000 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "dm", |
| 4 | "required": [ |
| 5 | "dm" |
| 6 | ], |
| 7 | "properties": { |
| 8 | "dm": { |
| 9 | "type": "object", |
| 10 | "title": "dmprops", |
| 11 | "required": [ |
| 12 | "remoteMepId", |
| 13 | "dmCfgType", |
| 14 | "version", |
| 15 | "priority" |
| 16 | ], |
| 17 | "properties": { |
| 18 | "remoteMepId": { |
| 19 | "type": "uint16", |
| 20 | "minimum": 1, |
| 21 | "maximum": 8191, |
| 22 | "description": "Remote MEP identifier", |
| 23 | "example": 20 |
| 24 | }, |
| 25 | "dmCfgType": { |
| 26 | "type": "string", |
| 27 | "enum": ["DMDMM","DM1DMTX", "DM1DMRX"], |
| 28 | "description": "The type of Delay Measurement to be performed", |
| 29 | "example": "DMDMM" |
| 30 | }, |
| 31 | "version": { |
| 32 | "type": "string", |
| 33 | "enum": ["Y17312008","Y17312011"], |
| 34 | "description": "The version of Delay Measurement to be performed", |
| 35 | "example": "Y17312011" |
| 36 | }, |
| 37 | "messagePeriodMs": { |
| 38 | "type": "uint32", |
| 39 | "description": "Message period in milliseconds", |
| 40 | "example": 100 |
| 41 | }, |
| 42 | "priority": { |
| 43 | "type": "string", |
| 44 | "enum": ["PRIO0","PRIO1","PRIO2","PRIO3","PRIO4","PRIO5","PRIO6","PRIO7"], |
| 45 | "description": "The Priority for the Delay Measurement", |
| 46 | "example": "PRIO3" |
| 47 | }, |
| 48 | "frameSize": { |
| 49 | "type": "uint16", |
| 50 | "minimum": 64, |
| 51 | "maximum": 9600, |
| 52 | "description": "Frame size", |
| 53 | "example": 64 |
| 54 | }, |
| 55 | "measurementIntervalMins": { |
| 56 | "type": "uint16", |
| 57 | "description": "Measurement Interval in minutes", |
| 58 | "example": 15 |
| 59 | }, |
| 60 | "alignMeasurementIntervals": { |
| 61 | "type": "boolean", |
| 62 | "description": "Defines if measurement intervals are aligned with a zero offset to real time" |
| 63 | }, |
| 64 | "alignMeasurementOffsetMins": { |
| 65 | "type": "uint16", |
| 66 | "description": "The offset in minutes from the time of day value", |
| 67 | "example": 0 |
| 68 | }, |
| 69 | "measurementsEnabled": { |
| 70 | "type": "array" , |
| 71 | "xml": { |
| 72 | "name": "measurementsEnabled", |
| 73 | "wrapped": true |
| 74 | }, |
| 75 | "items": { |
| 76 | "type": "string", |
| 77 | "enum": [ |
| 78 | "SOAM_PDUS_SENT", |
| 79 | "SOAM_PDUS_RECEIVED", |
| 80 | "FRAME_DELAY_TWO_WAY_BINS", |
| 81 | "FRAME_DELAY_TWO_WAY_MIN", |
| 82 | "FRAME_DELAY_TWO_WAY_MAX", |
| 83 | "FRAME_DELAY_TWO_WAY_AVERAGE", |
| 84 | "FRAME_DELAY_FORWARD_BINS", |
| 85 | "FRAME_DELAY_FORWARD_MIN", |
| 86 | "FRAME_DELAY_FORWARD_MAX", |
| 87 | "FRAME_DELAY_FORWARD_AVERAGE", |
| 88 | "FRAME_DELAY_BACKWARD_BINS", |
| 89 | "FRAME_DELAY_BACKWARD_MIN", |
| 90 | "FRAME_DELAY_BACKWARD_MAX", |
| 91 | "FRAME_DELAY_BACKWARD_AVERAGE", |
| 92 | "INTER_FRAME_DELAY_VARIATION_FORWARD_BINS", |
| 93 | "INTER_FRAME_DELAY_VARIATION_FORWARD_MIN", |
| 94 | "INTER_FRAME_DELAY_VARIATION_FORWARD_MAX", |
| 95 | "INTER_FRAME_DELAY_VARIATION_FORWARD_AVERAGE", |
| 96 | "INTER_FRAME_DELAY_VARIATION_BACKWARD_BINS", |
| 97 | "INTER_FRAME_DELAY_VARIATION_BACKWARD_MIN", |
| 98 | "INTER_FRAME_DELAY_VARIATION_BACKWARD_MAX", |
| 99 | "INTER_FRAME_DELAY_VARIATION_BACKWARD_AVERAGE", |
| 100 | "INTER_FRAME_DELAY_VARIATION_TWO_WAY_BINS", |
| 101 | "INTER_FRAME_DELAY_VARIATION_TWO_WAY_MIN", |
| 102 | "INTER_FRAME_DELAY_VARIATION_TWO_WAY_MAX", |
| 103 | "INTER_FRAME_DELAY_VARIATION_TWO_WAY_AVERAGE", |
| 104 | "FRAME_DELAY_RANGE_FORWARD_BINS", |
| 105 | "FRAME_DELAY_RANGE_FORWARD_MAX", |
| 106 | "FRAME_DELAY_RANGE_FORWARD_AVERAGE", |
| 107 | "FRAME_DELAY_RANGE_BACKWARD_BINS", |
| 108 | "FRAME_DELAY_RANGE_BACKWARD_MAX", |
| 109 | "FRAME_DELAY_RANGE_BACKWARD_AVERAGE", |
| 110 | "FRAME_DELAY_RANGE_TWO_WAY_BINS", |
| 111 | "FRAME_DELAY_RANGE_TWO_WAY_MAX", |
| 112 | "FRAME_DELAY_RANGE_TWO_WAY_AVERAGE", |
| 113 | "MEASURED_STATS_FRAME_DELAY_TWO_WAY", |
| 114 | "MEASURED_STATS_FRAME_DELAY_FORWARD", |
| 115 | "MEASURED_STATS_FRAME_DELAY_BACKWARD", |
| 116 | "MEASURED_STATS_INTER_FRAME_DELAY_VARIATION_TWO_WAY", |
| 117 | "MEASURED_STATS_INTER_FRAME_DELAY_VARIATION_FORWARD", |
| 118 | "MEASURED_STATS_INTER_FRAME_DELAY_VARIATION_BACKWARD" |
| 119 | ], |
| 120 | "description": "A vector of bits that indicates the type of SOAM DM counters that are enabled" |
| 121 | }, |
| 122 | "example": ["FRAME_DELAY_TWO_WAY_BINS","FRAME_DELAY_TWO_WAY_AVERAGE"] |
| 123 | }, |
| 124 | "binsPerFdInterval": { |
| 125 | "type": "uint8", |
| 126 | "minimum": 3, |
| 127 | "description": "The number of measurement bins per Measurement Interval for Frame Delay measurements", |
| 128 | "example": 4 |
| 129 | }, |
| 130 | "binsPerIfdvInterval": { |
| 131 | "type": "uint8", |
| 132 | "minimum": 3, |
| 133 | "description": "The number of measurement bins per Measurement Interval for IFDV measurements", |
| 134 | "example": 4 |
| 135 | }, |
| 136 | "ifdvSelectionOffset": { |
| 137 | "type": "uint8", |
| 138 | "minimum": 2, |
| 139 | "description": "selection offset for Inter-Frame Delay Variation measurements", |
| 140 | "example": 2 |
| 141 | }, |
| 142 | "binsPerFdrInterval": { |
| 143 | "type": "uint8", |
| 144 | "minimum": 3, |
| 145 | "description": "The number of measurement bins per Measurement Interval for Frame Delay Range measurements", |
| 146 | "example": 4 |
| 147 | }, |
| 148 | "startTime": { |
| 149 | "type": "object", |
| 150 | "title": "startTime", |
| 151 | "description": "only one needs to be specified", |
| 152 | "properties": { |
| 153 | "immediate": { |
| 154 | "type": "boolean", |
| 155 | "description": "Should always be true if specified", |
| 156 | "example": true |
| 157 | }, |
| 158 | "absolute": { |
| 159 | "type": "object", |
| 160 | "description": "Will be ignored if immediate is specified", |
| 161 | "properties": { |
| 162 | "start-time": { |
| 163 | "type": "date-time", |
| 164 | "example": "2017-11-11T12:00:00" |
| 165 | } |
| 166 | } |
| 167 | }, |
| 168 | "relative": { |
| 169 | "type": "object", |
| 170 | "description": "Will be ignored if immediate or absolute is specified", |
| 171 | "properties": { |
| 172 | "start-time": { |
| 173 | "type": "string", |
| 174 | "description": "A period of time written as a Java Duration", |
| 175 | "example": "PT10M" |
| 176 | } |
| 177 | } |
| 178 | } |
| 179 | }, |
| 180 | "example": {"immediate": true} |
| 181 | }, |
| 182 | "stopTime": { |
| 183 | "type": "object", |
| 184 | "title": "stopTime", |
| 185 | "description": "only one needs to be specified", |
| 186 | "properties": { |
| 187 | "none": { |
| 188 | "type": "boolean", |
| 189 | "description": "Should always be true if specified", |
| 190 | "example": true |
| 191 | }, |
| 192 | "absolute": { |
| 193 | "type": "object", |
| 194 | "description": "Will be ignored if none is specified", |
| 195 | "properties": { |
| 196 | "start-time": { |
| 197 | "type": "date-time", |
| 198 | "example": "2017-11-11T12:00:00" |
| 199 | } |
| 200 | } |
| 201 | }, |
| 202 | "relative": { |
| 203 | "type": "object", |
| 204 | "description": "Will be ignored if none or absolute is specified", |
| 205 | "properties": { |
| 206 | "start-time": { |
| 207 | "type": "string", |
| 208 | "description": "A period of time written as a Java Duration", |
| 209 | "example": "PT10M" |
| 210 | } |
| 211 | } |
| 212 | } |
| 213 | }, |
| 214 | "example": {"none": true} |
| 215 | } |
| 216 | } |
| 217 | } |
| 218 | } |
| 219 | } |