sebdet | f9e2cee | 2019-08-09 18:36:09 +0200 | [diff] [blame] | 1 | { |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 2 | "type": "object", |
| 3 | "title": "Configuration", |
| 4 | "required": [ |
| 5 | "operational_policy", |
| 6 | "guard_policies" |
| 7 | ], |
| 8 | "properties": { |
| 9 | "operational_policy": { |
| 10 | "type": "object", |
| 11 | "title": "Related Parameters", |
| 12 | "required": [ |
| 13 | "controlLoop", |
| 14 | "policies" |
| 15 | ], |
| 16 | "properties": { |
| 17 | "controlLoop": { |
| 18 | "type": "object", |
| 19 | "title": "Control Loop details", |
| 20 | "required": [ |
| 21 | "timeout", |
| 22 | "abatement", |
| 23 | "trigger_policy", |
| 24 | "controlLoopName" |
| 25 | ], |
| 26 | "properties": { |
| 27 | "timeout": { |
| 28 | "type": "string", |
| 29 | "title": "Overall Time Limit", |
| 30 | "default": "0", |
| 31 | "format": "number" |
| 32 | }, |
| 33 | "abatement": { |
| 34 | "type": "string", |
| 35 | "title": "Abatement", |
| 36 | "enum": [ |
| 37 | "True", |
| 38 | "False" |
| 39 | ] |
| 40 | }, |
| 41 | "trigger_policy": { |
| 42 | "type": "string", |
| 43 | "title": "Policy Decision Entry" |
| 44 | }, |
| 45 | "controlLoopName": { |
| 46 | "type": "string", |
| 47 | "title": "Control loop name", |
| 48 | "readOnly": "True" |
| 49 | } |
| 50 | } |
| 51 | }, |
| 52 | "policies": { |
| 53 | "uniqueItems": "true", |
| 54 | "id": "policies_array", |
| 55 | "type": "array", |
| 56 | "title": "Policy Decision Tree", |
| 57 | "format": "tabs-top", |
| 58 | "items": { |
| 59 | "title": "Policy Decision", |
| 60 | "type": "object", |
| 61 | "id": "policy_item", |
| 62 | "headerTemplate": "{{self.id}} - {{self.recipe}}", |
| 63 | "format": "categories", |
| 64 | "basicCategoryTitle": "recipe", |
| 65 | "required": [ |
| 66 | "id", |
| 67 | "retry", |
| 68 | "timeout", |
| 69 | "actor", |
| 70 | "success", |
| 71 | "failure", |
| 72 | "failure_timeout", |
| 73 | "failure_retries", |
| 74 | "failure_exception", |
| 75 | "failure_guard", |
| 76 | "target" |
| 77 | ], |
| 78 | "properties": { |
| 79 | "id": { |
| 80 | "default": "Policy 1", |
| 81 | "title": "Policy ID", |
| 82 | "type": "string" |
| 83 | }, |
| 84 | "retry": { |
| 85 | "default": "0", |
| 86 | "title": "Number of Retry", |
| 87 | "type": "string", |
| 88 | "format": "number" |
| 89 | }, |
| 90 | "timeout": { |
| 91 | "default": "0", |
| 92 | "title": "Timeout", |
| 93 | "type": "string", |
| 94 | "format": "number" |
| 95 | }, |
| 96 | "actor": { |
| 97 | "type": "object", |
| 98 | "title": "Actor", |
| 99 | "anyOf": [ |
| 100 | { |
| 101 | "title": "APPC", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 102 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 103 | "properties": { |
| 104 | "actor": { |
| 105 | "title": "actor", |
| 106 | "type": "string", |
| 107 | "default": "APPC", |
| 108 | "options": { |
| 109 | "hidden": true |
| 110 | } |
| 111 | }, |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 112 | "recipe": { |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 113 | "title": "recipe", |
| 114 | "type": "string", |
| 115 | "default": "", |
| 116 | "enum": [ |
| 117 | "Restart", |
| 118 | "Rebuild", |
| 119 | "Migrate", |
| 120 | "Health-Check", |
| 121 | "ModifyConfig" |
| 122 | ] |
| 123 | }, |
| 124 | "payload": { |
| 125 | "title": "Payload (YAML)", |
| 126 | "type": "string", |
| 127 | "format": "textarea" |
| 128 | } |
| 129 | } |
| 130 | }, |
| 131 | { |
| 132 | "title": "SO", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 133 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 134 | "properties": { |
| 135 | "actor": { |
| 136 | "title": "actor", |
| 137 | "type": "string", |
| 138 | "default": "SO", |
| 139 | "options": { |
| 140 | "hidden": true |
| 141 | } |
| 142 | }, |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 143 | "recipe": { |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 144 | "title": "recipe", |
| 145 | "type": "string", |
| 146 | "default": "", |
| 147 | "enum": [ |
| 148 | "VF Module Create", |
| 149 | "VF Module Delete" |
| 150 | ] |
| 151 | }, |
| 152 | "payload": { |
| 153 | "title": "Payload (YAML)", |
| 154 | "type": "string", |
| 155 | "format": "textarea" |
| 156 | } |
| 157 | } |
| 158 | }, |
| 159 | { |
| 160 | "title": "SDNC", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 161 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 162 | "properties": { |
| 163 | "actor": { |
| 164 | "title": "actor", |
| 165 | "type": "string", |
| 166 | "default": "SDNC", |
| 167 | "options": { |
| 168 | "hidden": true |
| 169 | } |
| 170 | }, |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 171 | "recipe": { |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 172 | "title": "recipe", |
| 173 | "type": "string", |
| 174 | "default": "", |
| 175 | "enum": [ |
| 176 | "Reroute", |
| 177 | "BandwidthOnDemand" |
| 178 | ] |
| 179 | }, |
| 180 | "payload": { |
| 181 | "title": "Payload (YAML)", |
| 182 | "type": "string", |
| 183 | "format": "textarea" |
| 184 | } |
| 185 | } |
| 186 | }, |
| 187 | { |
| 188 | "title": "VFC", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 189 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 190 | "properties": { |
| 191 | "actor": { |
| 192 | "title": "actor", |
| 193 | "type": "string", |
| 194 | "default": "VFC", |
| 195 | "options": { |
| 196 | "hidden": true |
| 197 | } |
| 198 | }, |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 199 | "recipe": { |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 200 | "title": "recipe", |
| 201 | "type": "string", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 202 | "default": "", |
| 203 | "enum": [ |
| 204 | "ModifyConfig" |
| 205 | ] |
| 206 | }, |
| 207 | "payload": { |
| 208 | "title": "Payload (YAML)", |
| 209 | "type": "string", |
| 210 | "format": "textarea" |
| 211 | } |
| 212 | } |
| 213 | }, |
| 214 | { |
| 215 | "title": "CDS", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 216 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 217 | "properties": { |
| 218 | "actor": { |
| 219 | "title": "actor", |
| 220 | "type": "string", |
| 221 | "default": "CDS", |
| 222 | "options": { |
| 223 | "hidden": true |
| 224 | } |
| 225 | }, |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 226 | "recipe": { |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 227 | "title": "recipe", |
| 228 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 229 | "anyOf": [ |
| 230 | { |
| 231 | "title": "user-defined", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 232 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 233 | "properties": { |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 234 | "recipe": { |
| 235 | "title": "recipe", |
| 236 | "type": "string", |
| 237 | "default": "user-defined", |
| 238 | "format": "textarea" |
| 239 | }, |
| 240 | "payload": { |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 241 | "title": "Payload (YAML)", |
| 242 | "type": "string", |
| 243 | "default": "", |
| 244 | "format": "textarea" |
| 245 | } |
| 246 | } |
| 247 | }, |
| 248 | { |
| 249 | "title": "resource-assignment", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 250 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 251 | "properties": { |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 252 | "recipe": { |
| 253 | "title": "recipe", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 254 | "type": "string", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 255 | "default": "resource-assignment", |
| 256 | "options": { |
| 257 | "hidden": true |
| 258 | } |
| 259 | }, |
| 260 | "payload": { |
| 261 | "title": "Payload (YAML)", |
| 262 | "type": "object", |
| 263 | "properties": { |
| 264 | "artifact_name": { |
| 265 | "title": "artifact name", |
| 266 | "type": "string", |
| 267 | "default": "baseconfiguration", |
| 268 | "readOnly": "True" |
| 269 | }, |
| 270 | "artifact_version": { |
| 271 | "title": "artifact version", |
| 272 | "type": "string", |
| 273 | "default": "1.0.0", |
| 274 | "readOnly": "True" |
| 275 | }, |
| 276 | "mode": { |
| 277 | "title": "mode", |
| 278 | "type": "string", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 279 | "default": "async" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 280 | }, |
| 281 | "data": { |
| 282 | "title": "data", |
| 283 | "properties": { |
| 284 | "resource-assignment-properties": { |
| 285 | "title": "resource-assignment-properties", |
| 286 | "type": "object", |
| 287 | "properties": { |
| 288 | "request-id": { |
| 289 | "title": "request-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 290 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 291 | }, |
| 292 | "service-instance-id": { |
| 293 | "title": "service-instance-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 294 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 295 | }, |
| 296 | "vnf-id": { |
| 297 | "title": "vnf-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 298 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 299 | }, |
| 300 | "action-name": { |
| 301 | "title": "action-name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 302 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 303 | }, |
| 304 | "scope-type": { |
| 305 | "title": "scope-type", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 306 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 307 | }, |
| 308 | "hostname": { |
| 309 | "title": "hostname", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 310 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 311 | }, |
| 312 | "vnf_name": { |
| 313 | "title": "vnf_name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 314 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 315 | } |
| 316 | } |
| 317 | } |
| 318 | } |
| 319 | } |
| 320 | } |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 321 | } |
| 322 | } |
| 323 | }, |
| 324 | { |
| 325 | "title": "activate", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 326 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 327 | "properties": { |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 328 | "recipe": { |
| 329 | "title": "recipe", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 330 | "type": "string", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 331 | "default": "activate", |
| 332 | "options": { |
| 333 | "hidden": true |
| 334 | } |
| 335 | }, |
| 336 | "payload": { |
| 337 | "title": "Payload (YAML)", |
| 338 | "type": "object", |
| 339 | "properties": { |
| 340 | "artifact_name": { |
| 341 | "title": "artifact name", |
| 342 | "type": "string", |
| 343 | "default": "baseconfiguration", |
| 344 | "readOnly": "True" |
| 345 | }, |
| 346 | "artifact_version": { |
| 347 | "title": "artifact version", |
| 348 | "type": "string", |
| 349 | "default": "1.0.0", |
| 350 | "readOnly": "True" |
| 351 | }, |
| 352 | "mode": { |
| 353 | "title": "mode", |
| 354 | "type": "string", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 355 | "default": "async" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 356 | }, |
| 357 | "data": { |
| 358 | "title": "data", |
| 359 | "properties": { |
| 360 | "resource-assignment-properties": { |
| 361 | "title": "resource-assignment-properties", |
| 362 | "type": "object", |
| 363 | "properties": { |
| 364 | "request-id": { |
| 365 | "title": "request-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 366 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 367 | }, |
| 368 | "service-instance-id": { |
| 369 | "title": "service-instance-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 370 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 371 | }, |
| 372 | "vnf-id": { |
| 373 | "title": "vnf-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 374 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 375 | }, |
| 376 | "action-name": { |
| 377 | "title": "action-name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 378 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 379 | }, |
| 380 | "scope-type": { |
| 381 | "title": "scope-type", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 382 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 383 | }, |
| 384 | "hostname": { |
| 385 | "title": "hostname", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 386 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 387 | }, |
| 388 | "vnf_name": { |
| 389 | "title": "vnf_name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 390 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 391 | } |
| 392 | } |
| 393 | } |
| 394 | } |
| 395 | } |
| 396 | } |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 397 | } |
| 398 | } |
| 399 | }, |
| 400 | { |
| 401 | "title": "activate-restconf", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 402 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 403 | "properties": { |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 404 | "recipe": { |
| 405 | "title": "recipe", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 406 | "type": "string", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 407 | "default": "activate-restconf", |
| 408 | "options": { |
| 409 | "hidden": true |
| 410 | } |
| 411 | }, |
| 412 | "payload": { |
| 413 | "title": "Payload (YAML)", |
| 414 | "type": "object", |
| 415 | "properties": { |
| 416 | "artifact_name": { |
| 417 | "title": "artifact name", |
| 418 | "type": "string", |
| 419 | "default": "baseconfiguration", |
| 420 | "readOnly": "True" |
| 421 | }, |
| 422 | "artifact_version": { |
| 423 | "title": "artifact version", |
| 424 | "type": "string", |
| 425 | "default": "1.0.0", |
| 426 | "readOnly": "True" |
| 427 | }, |
| 428 | "mode": { |
| 429 | "title": "mode", |
| 430 | "type": "string", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 431 | "default": "async" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 432 | }, |
| 433 | "data": { |
| 434 | "title": "data", |
| 435 | "properties": { |
| 436 | "resource-assignment-properties": { |
| 437 | "title": "resource-assignment-properties", |
| 438 | "type": "object", |
| 439 | "properties": { |
| 440 | "request-id": { |
| 441 | "title": "request-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 442 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 443 | }, |
| 444 | "service-instance-id": { |
| 445 | "title": "service-instance-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 446 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 447 | }, |
| 448 | "vnf-id": { |
| 449 | "title": "vnf-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 450 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 451 | }, |
| 452 | "action-name": { |
| 453 | "title": "action-name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 454 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 455 | }, |
| 456 | "scope-type": { |
| 457 | "title": "scope-type", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 458 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 459 | }, |
| 460 | "hostname": { |
| 461 | "title": "hostname", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 462 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 463 | }, |
| 464 | "vnf_name": { |
| 465 | "title": "vnf_name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 466 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 467 | } |
| 468 | } |
| 469 | } |
| 470 | } |
| 471 | } |
| 472 | } |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 473 | } |
| 474 | } |
| 475 | }, |
| 476 | { |
| 477 | "title": "activate-cli", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 478 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 479 | "properties": { |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 480 | "recipe": { |
| 481 | "title": "recipe", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 482 | "type": "string", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 483 | "default": "activate-cli", |
| 484 | "options": { |
| 485 | "hidden": true |
| 486 | } |
| 487 | }, |
| 488 | "payload": { |
| 489 | "title": "Payload (YAML)", |
| 490 | "type": "object", |
| 491 | "properties": { |
| 492 | "artifact_name": { |
| 493 | "title": "artifact name", |
| 494 | "type": "string", |
| 495 | "default": "baseconfiguration", |
| 496 | "readOnly": "True" |
| 497 | }, |
| 498 | "artifact_version": { |
| 499 | "title": "artifact version", |
| 500 | "type": "string", |
| 501 | "default": "1.0.0", |
| 502 | "readOnly": "True" |
| 503 | }, |
| 504 | "mode": { |
| 505 | "title": "mode", |
| 506 | "type": "string", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 507 | "default": "async" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 508 | }, |
| 509 | "data": { |
| 510 | "title": "data", |
| 511 | "properties": { |
| 512 | "resource-assignment-properties": { |
| 513 | "title": "resource-assignment-properties", |
| 514 | "type": "object", |
| 515 | "properties": { |
| 516 | "request-id": { |
| 517 | "title": "request-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 518 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 519 | }, |
| 520 | "service-instance-id": { |
| 521 | "title": "service-instance-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 522 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 523 | }, |
| 524 | "vnf-id": { |
| 525 | "title": "vnf-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 526 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 527 | }, |
| 528 | "action-name": { |
| 529 | "title": "action-name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 530 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 531 | }, |
| 532 | "scope-type": { |
| 533 | "title": "scope-type", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 534 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 535 | }, |
| 536 | "hostname": { |
| 537 | "title": "hostname", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 538 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 539 | }, |
| 540 | "vnf_name": { |
| 541 | "title": "vnf_name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 542 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 543 | } |
| 544 | } |
| 545 | } |
| 546 | } |
| 547 | } |
| 548 | } |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 549 | } |
| 550 | } |
| 551 | }, |
| 552 | { |
| 553 | "title": "assign-activate", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 554 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 555 | "properties": { |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 556 | "recipe": { |
| 557 | "title": "recipe", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 558 | "type": "string", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 559 | "default": "assign-activate", |
| 560 | "options": { |
| 561 | "hidden": true |
| 562 | } |
| 563 | }, |
| 564 | "payload": { |
| 565 | "title": "Payload (YAML)", |
| 566 | "type": "object", |
| 567 | "properties": { |
| 568 | "artifact_name": { |
| 569 | "title": "artifact name", |
| 570 | "type": "string", |
| 571 | "default": "baseconfiguration", |
| 572 | "readOnly": "True" |
| 573 | }, |
| 574 | "artifact_version": { |
| 575 | "title": "artifact version", |
| 576 | "type": "string", |
| 577 | "default": "1.0.0", |
| 578 | "readOnly": "True" |
| 579 | }, |
| 580 | "mode": { |
| 581 | "title": "mode", |
| 582 | "type": "string", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 583 | "default": "async" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 584 | }, |
| 585 | "data": { |
| 586 | "title": "data", |
| 587 | "properties": { |
| 588 | "resource-assignment-properties": { |
| 589 | "title": "resource-assignment-properties", |
| 590 | "type": "object", |
| 591 | "properties": { |
| 592 | "request-id": { |
| 593 | "title": "request-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 594 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 595 | }, |
| 596 | "service-instance-id": { |
| 597 | "title": "service-instance-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 598 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 599 | }, |
| 600 | "vnf-id": { |
| 601 | "title": "vnf-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 602 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 603 | }, |
| 604 | "action-name": { |
| 605 | "title": "action-name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 606 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 607 | }, |
| 608 | "scope-type": { |
| 609 | "title": "scope-type", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 610 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 611 | }, |
| 612 | "hostname": { |
| 613 | "title": "hostname", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 614 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 615 | }, |
| 616 | "vnf_name": { |
| 617 | "title": "vnf_name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 618 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 619 | } |
| 620 | } |
| 621 | } |
| 622 | } |
| 623 | } |
| 624 | } |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 625 | } |
| 626 | } |
| 627 | }, |
| 628 | { |
| 629 | "title": "imperative-test-wf", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 630 | "type": "object", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 631 | "properties": { |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 632 | "recipe": { |
| 633 | "title": "recipe", |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 634 | "type": "string", |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 635 | "default": "imperative-test-wf", |
| 636 | "options": { |
| 637 | "hidden": true |
| 638 | } |
| 639 | }, |
| 640 | "payload": { |
| 641 | "title": "Payload (YAML)", |
| 642 | "type": "object", |
| 643 | "properties": { |
| 644 | "artifact_name": { |
| 645 | "title": "artifact name", |
| 646 | "type": "string", |
| 647 | "default": "baseconfiguration", |
| 648 | "readOnly": "True" |
| 649 | }, |
| 650 | "artifact_version": { |
| 651 | "title": "artifact version", |
| 652 | "type": "string", |
| 653 | "default": "1.0.0", |
| 654 | "readOnly": "True" |
| 655 | }, |
| 656 | "mode": { |
| 657 | "title": "mode", |
| 658 | "type": "string", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 659 | "default": "async" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 660 | }, |
| 661 | "data": { |
| 662 | "title": "data", |
| 663 | "properties": { |
| 664 | "resource-assignment-properties": { |
| 665 | "title": "resource-assignment-properties", |
| 666 | "type": "object", |
| 667 | "properties": { |
| 668 | "request-id": { |
| 669 | "title": "request-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 670 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 671 | }, |
| 672 | "service-instance-id": { |
| 673 | "title": "service-instance-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 674 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 675 | }, |
| 676 | "vnf-id": { |
| 677 | "title": "vnf-id", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 678 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 679 | }, |
| 680 | "action-name": { |
| 681 | "title": "action-name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 682 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 683 | }, |
| 684 | "scope-type": { |
| 685 | "title": "scope-type", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 686 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 687 | }, |
| 688 | "hostname": { |
| 689 | "title": "hostname", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 690 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 691 | }, |
| 692 | "vnf_name": { |
| 693 | "title": "vnf_name", |
Vidyashree-Huawei | bd6abe5 | 2020-04-17 19:06:56 +0530 | [diff] [blame^] | 694 | "type": "string" |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 695 | } |
| 696 | } |
| 697 | } |
| 698 | } |
| 699 | } |
| 700 | } |
sebdet | 49ab84a | 2020-03-13 15:27:41 -0700 | [diff] [blame] | 701 | } |
| 702 | } |
| 703 | } |
| 704 | ] |
| 705 | } |
| 706 | } |
| 707 | } |
| 708 | ] |
| 709 | }, |
| 710 | "success": { |
| 711 | "default": "final_success", |
| 712 | "title": "When Success", |
| 713 | "type": "string" |
| 714 | }, |
| 715 | "failure": { |
| 716 | "default": "final_failure", |
| 717 | "title": "When Failure", |
| 718 | "type": "string" |
| 719 | }, |
| 720 | "failure_timeout": { |
| 721 | "default": "final_failure_timeout", |
| 722 | "title": "When Failure Timeout", |
| 723 | "type": "string" |
| 724 | }, |
| 725 | "failure_retries": { |
| 726 | "default": "final_failure_retries", |
| 727 | "title": "When Failure Retries", |
| 728 | "type": "string" |
| 729 | }, |
| 730 | "failure_exception": { |
| 731 | "default": "final_failure_exception", |
| 732 | "title": "When Failure Exception", |
| 733 | "type": "string" |
| 734 | }, |
| 735 | "failure_guard": { |
| 736 | "default": "final_failure_guard", |
| 737 | "title": "When Failure Guard", |
| 738 | "type": "string" |
| 739 | }, |
| 740 | "target": { |
| 741 | "type": "object", |
| 742 | "required": [ |
| 743 | "type", |
| 744 | "resourceID" |
| 745 | ], |
| 746 | "anyOf": [ |
| 747 | { |
| 748 | "title": "User Defined", |
| 749 | "additionalProperties": "True", |
| 750 | "properties": { |
| 751 | "type": { |
| 752 | "title": "Target type", |
| 753 | "type": "string", |
| 754 | "default": "", |
| 755 | "enum": [ |
| 756 | "VNF", |
| 757 | "VFMODULE", |
| 758 | "VM" |
| 759 | ] |
| 760 | }, |
| 761 | "resourceID": { |
| 762 | "title": "Target type", |
| 763 | "type": "string", |
| 764 | "default": "" |
| 765 | } |
| 766 | } |
| 767 | }, |
| 768 | { |
| 769 | "title": "VNF-vLoadBalancerMS 0", |
| 770 | "properties": { |
| 771 | "type": { |
| 772 | "title": "Type", |
| 773 | "type": "string", |
| 774 | "default": "VNF", |
| 775 | "readOnly": "True" |
| 776 | }, |
| 777 | "resourceID": { |
| 778 | "title": "Resource ID", |
| 779 | "type": "string", |
| 780 | "default": "vLoadBalancerMS", |
| 781 | "readOnly": "True" |
| 782 | } |
| 783 | } |
| 784 | }, |
| 785 | { |
| 786 | "title": "VFMODULE-Vloadbalancerms..vpkg..module-1", |
| 787 | "properties": { |
| 788 | "type": { |
| 789 | "title": "Type", |
| 790 | "type": "string", |
| 791 | "default": "VFMODULE", |
| 792 | "readOnly": "True" |
| 793 | }, |
| 794 | "resourceID": { |
| 795 | "title": "Resource ID", |
| 796 | "type": "string", |
| 797 | "default": "Vloadbalancerms..vpkg..module-1", |
| 798 | "readOnly": "True" |
| 799 | }, |
| 800 | "modelInvariantId": { |
| 801 | "title": "Model Invariant Id (ModelInvariantUUID)", |
| 802 | "type": "string", |
| 803 | "default": "ca052563-eb92-4b5b-ad41-9111768ce043", |
| 804 | "readOnly": "True" |
| 805 | }, |
| 806 | "modelVersionId": { |
| 807 | "title": "Model Version Id (ModelUUID)", |
| 808 | "type": "string", |
| 809 | "default": "1e725ccc-b823-4f67-82b9-4f4367070dbc", |
| 810 | "readOnly": "True" |
| 811 | }, |
| 812 | "modelName": { |
| 813 | "title": "Model Name", |
| 814 | "type": "string", |
| 815 | "default": "Vloadbalancerms..vpkg..module-1", |
| 816 | "readOnly": "True" |
| 817 | }, |
| 818 | "modelVersion": { |
| 819 | "title": "Model Version", |
| 820 | "type": "string", |
| 821 | "default": "1", |
| 822 | "readOnly": "True" |
| 823 | }, |
| 824 | "modelCustomizationId": { |
| 825 | "title": "Customization ID", |
| 826 | "type": "string", |
| 827 | "default": "1bffdc31-a37d-4dee-b65c-dde623a76e52", |
| 828 | "readOnly": "True" |
| 829 | } |
| 830 | } |
| 831 | }, |
| 832 | { |
| 833 | "title": "VFMODULE-Vloadbalancerms..vdns..module-3", |
| 834 | "properties": { |
| 835 | "type": { |
| 836 | "title": "Type", |
| 837 | "type": "string", |
| 838 | "default": "VFMODULE", |
| 839 | "readOnly": "True" |
| 840 | }, |
| 841 | "resourceID": { |
| 842 | "title": "Resource ID", |
| 843 | "type": "string", |
| 844 | "default": "Vloadbalancerms..vdns..module-3", |
| 845 | "readOnly": "True" |
| 846 | }, |
| 847 | "modelInvariantId": { |
| 848 | "title": "Model Invariant Id (ModelInvariantUUID)", |
| 849 | "type": "string", |
| 850 | "default": "4c10ba9b-f88f-415e-9de3-5d33336047fa", |
| 851 | "readOnly": "True" |
| 852 | }, |
| 853 | "modelVersionId": { |
| 854 | "title": "Model Version Id (ModelUUID)", |
| 855 | "type": "string", |
| 856 | "default": "4fa73b49-8a6c-493e-816b-eb401567b720", |
| 857 | "readOnly": "True" |
| 858 | }, |
| 859 | "modelName": { |
| 860 | "title": "Model Name", |
| 861 | "type": "string", |
| 862 | "default": "Vloadbalancerms..vdns..module-3", |
| 863 | "readOnly": "True" |
| 864 | }, |
| 865 | "modelVersion": { |
| 866 | "title": "Model Version", |
| 867 | "type": "string", |
| 868 | "default": "1", |
| 869 | "readOnly": "True" |
| 870 | }, |
| 871 | "modelCustomizationId": { |
| 872 | "title": "Customization ID", |
| 873 | "type": "string", |
| 874 | "default": "bafcdab0-801d-4d81-9ead-f464640a38b1", |
| 875 | "readOnly": "True" |
| 876 | } |
| 877 | } |
| 878 | }, |
| 879 | { |
| 880 | "title": "VFMODULE-Vloadbalancerms..base_template..module-0", |
| 881 | "properties": { |
| 882 | "type": { |
| 883 | "title": "Type", |
| 884 | "type": "string", |
| 885 | "default": "VFMODULE", |
| 886 | "readOnly": "True" |
| 887 | }, |
| 888 | "resourceID": { |
| 889 | "title": "Resource ID", |
| 890 | "type": "string", |
| 891 | "default": "Vloadbalancerms..base_template..module-0", |
| 892 | "readOnly": "True" |
| 893 | }, |
| 894 | "modelInvariantId": { |
| 895 | "title": "Model Invariant Id (ModelInvariantUUID)", |
| 896 | "type": "string", |
| 897 | "default": "921f7c96-ebdd-42e6-81b9-1cfc0c9796f3", |
| 898 | "readOnly": "True" |
| 899 | }, |
| 900 | "modelVersionId": { |
| 901 | "title": "Model Version Id (ModelUUID)", |
| 902 | "type": "string", |
| 903 | "default": "63734409-f745-4e4d-a38b-131638a0edce", |
| 904 | "readOnly": "True" |
| 905 | }, |
| 906 | "modelName": { |
| 907 | "title": "Model Name", |
| 908 | "type": "string", |
| 909 | "default": "Vloadbalancerms..base_template..module-0", |
| 910 | "readOnly": "True" |
| 911 | }, |
| 912 | "modelVersion": { |
| 913 | "title": "Model Version", |
| 914 | "type": "string", |
| 915 | "default": "1", |
| 916 | "readOnly": "True" |
| 917 | }, |
| 918 | "modelCustomizationId": { |
| 919 | "title": "Customization ID", |
| 920 | "type": "string", |
| 921 | "default": "86baddea-c730-4fb8-9410-cd2e17fd7f27", |
| 922 | "readOnly": "True" |
| 923 | } |
| 924 | } |
| 925 | }, |
| 926 | { |
| 927 | "title": "VFMODULE-Vloadbalancerms..vlb..module-2", |
| 928 | "properties": { |
| 929 | "type": { |
| 930 | "title": "Type", |
| 931 | "type": "string", |
| 932 | "default": "VFMODULE", |
| 933 | "readOnly": "True" |
| 934 | }, |
| 935 | "resourceID": { |
| 936 | "title": "Resource ID", |
| 937 | "type": "string", |
| 938 | "default": "Vloadbalancerms..vlb..module-2", |
| 939 | "readOnly": "True" |
| 940 | }, |
| 941 | "modelInvariantId": { |
| 942 | "title": "Model Invariant Id (ModelInvariantUUID)", |
| 943 | "type": "string", |
| 944 | "default": "a772a1f4-0064-412c-833d-4749b15828dd", |
| 945 | "readOnly": "True" |
| 946 | }, |
| 947 | "modelVersionId": { |
| 948 | "title": "Model Version Id (ModelUUID)", |
| 949 | "type": "string", |
| 950 | "default": "0f5c3f6a-650a-4303-abb6-fff3e573a07a", |
| 951 | "readOnly": "True" |
| 952 | }, |
| 953 | "modelName": { |
| 954 | "title": "Model Name", |
| 955 | "type": "string", |
| 956 | "default": "Vloadbalancerms..vlb..module-2", |
| 957 | "readOnly": "True" |
| 958 | }, |
| 959 | "modelVersion": { |
| 960 | "title": "Model Version", |
| 961 | "type": "string", |
| 962 | "default": "1", |
| 963 | "readOnly": "True" |
| 964 | }, |
| 965 | "modelCustomizationId": { |
| 966 | "title": "Customization ID", |
| 967 | "type": "string", |
| 968 | "default": "96a78aad-4ffb-4ef0-9c4f-deb03bf1d806", |
| 969 | "readOnly": "True" |
| 970 | } |
| 971 | } |
| 972 | } |
| 973 | ] |
| 974 | } |
| 975 | } |
| 976 | } |
| 977 | } |
| 978 | } |
| 979 | }, |
| 980 | "guard_policies": { |
| 981 | "type": "array", |
| 982 | "format": "tabs-top", |
| 983 | "title": "Associated Guard policies", |
| 984 | "items": { |
| 985 | "headerTemplate": "{{self.policy-id}} - {{self.content.recipe}}", |
| 986 | "anyOf": [ |
| 987 | { |
| 988 | "title": "Guard MinMax", |
| 989 | "type": "object", |
| 990 | "properties": { |
| 991 | "policy-id": { |
| 992 | "type": "string", |
| 993 | "default": "guard.minmax.new", |
| 994 | "pattern": "^(guard.minmax\\..*)$" |
| 995 | }, |
| 996 | "content": { |
| 997 | "properties": { |
| 998 | "actor": { |
| 999 | "type": "string", |
| 1000 | "enum": [ |
| 1001 | "APPC", |
| 1002 | "SO", |
| 1003 | "VFC", |
| 1004 | "SDNC", |
| 1005 | "SDNR" |
| 1006 | ] |
| 1007 | }, |
| 1008 | "recipe": { |
| 1009 | "type": "string", |
| 1010 | "enum": [ |
| 1011 | "Restart", |
| 1012 | "Rebuild", |
| 1013 | "Migrate", |
| 1014 | "Health-Check", |
| 1015 | "ModifyConfig", |
| 1016 | "VF Module Create", |
| 1017 | "VF Module Delete", |
| 1018 | "Reroute" |
| 1019 | ] |
| 1020 | }, |
| 1021 | "targets": { |
| 1022 | "type": "string", |
| 1023 | "default": ".*" |
| 1024 | }, |
| 1025 | "clname": { |
| 1026 | "type": "string", |
| 1027 | "template": "{{loopName}}", |
| 1028 | "watch": { |
| 1029 | "loopName": "operational_policy.controlLoop.controlLoopName" |
| 1030 | } |
| 1031 | }, |
| 1032 | "guardActiveStart": { |
| 1033 | "type": "string", |
| 1034 | "default": "00:00:00Z" |
| 1035 | }, |
| 1036 | "guardActiveEnd": { |
| 1037 | "type": "string", |
| 1038 | "default": "10:00:00Z" |
| 1039 | }, |
| 1040 | "min": { |
| 1041 | "type": "string", |
| 1042 | "default": "0" |
| 1043 | }, |
| 1044 | "max": { |
| 1045 | "type": "string", |
| 1046 | "default": "1" |
| 1047 | } |
| 1048 | } |
| 1049 | } |
| 1050 | } |
| 1051 | }, |
| 1052 | { |
| 1053 | "title": "Guard Frequency", |
| 1054 | "type": "object", |
| 1055 | "properties": { |
| 1056 | "policy-id": { |
| 1057 | "type": "string", |
| 1058 | "default": "guard.frequency.new", |
| 1059 | "pattern": "^(guard.frequency\\..*)$" |
| 1060 | }, |
| 1061 | "content": { |
| 1062 | "properties": { |
| 1063 | "actor": { |
| 1064 | "type": "string", |
| 1065 | "enum": [ |
| 1066 | "APPC", |
| 1067 | "SO", |
| 1068 | "VFC", |
| 1069 | "SDNC", |
| 1070 | "SDNR" |
| 1071 | ] |
| 1072 | }, |
| 1073 | "recipe": { |
| 1074 | "type": "string", |
| 1075 | "enum": [ |
| 1076 | "Restart", |
| 1077 | "Rebuild", |
| 1078 | "Migrate", |
| 1079 | "Health-Check", |
| 1080 | "ModifyConfig", |
| 1081 | "VF Module Create", |
| 1082 | "VF Module Delete", |
| 1083 | "Reroute" |
| 1084 | ] |
| 1085 | }, |
| 1086 | "targets": { |
| 1087 | "type": "string", |
| 1088 | "default": ".*" |
| 1089 | }, |
| 1090 | "clname": { |
| 1091 | "type": "string", |
| 1092 | "template": "{{loopName}}", |
| 1093 | "watch": { |
| 1094 | "loopName": "operational_policy.controlLoop.controlLoopName" |
| 1095 | } |
| 1096 | }, |
| 1097 | "guardActiveStart": { |
| 1098 | "type": "string", |
| 1099 | "default": "00:00:00Z" |
| 1100 | }, |
| 1101 | "guardActiveEnd": { |
| 1102 | "type": "string", |
| 1103 | "default": "10:00:00Z" |
| 1104 | }, |
| 1105 | "limit": { |
| 1106 | "type": "string" |
| 1107 | }, |
| 1108 | "timeWindow": { |
| 1109 | "type": "string" |
| 1110 | }, |
| 1111 | "timeUnits": { |
| 1112 | "type": "string", |
| 1113 | "enum": [ |
| 1114 | "minute", |
| 1115 | "hour", |
| 1116 | "day", |
| 1117 | "week", |
| 1118 | "month", |
| 1119 | "year" |
| 1120 | ] |
| 1121 | } |
| 1122 | } |
| 1123 | } |
| 1124 | } |
| 1125 | } |
| 1126 | ] |
| 1127 | } |
| 1128 | } |
| 1129 | } |
Vidyashree-Huawei | 3ec03cc | 2020-04-10 17:36:09 +0530 | [diff] [blame] | 1130 | } |