Don Newton | 276cd1f | 2019-02-06 17:14:03 -0500 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | |
| 3 | package xos; |
| 4 | |
| 5 | import "google/protobuf/empty.proto"; |
| 6 | import "annotations.proto"; |
| 7 | import "common.proto"; |
| 8 | import "xosoptions.proto"; |
| 9 | |
| 10 | // Note: all fields are wrapped in a "oneof". This causes proto3 to always send |
| 11 | // fields that are set by the caller, regardless if they are set to a default |
| 12 | // value. XOS uses this to know when to apply a default value. |
| 13 | |
| 14 | |
| 15 | message AttWorkflowDriverService { |
| 16 | option (contentTypeId) = "att-workflow-driver.attworkflowdriverservice"; |
| 17 | oneof id_present { |
| 18 | int32 id = 1 ; |
| 19 | } |
| 20 | oneof created_present { |
| 21 | double created = 2 ; |
| 22 | } |
| 23 | oneof updated_present { |
| 24 | double updated = 3 ; |
| 25 | } |
| 26 | oneof enacted_present { |
| 27 | double enacted = 4 ; |
| 28 | } |
| 29 | oneof policed_present { |
| 30 | double policed = 5 ; |
| 31 | } |
| 32 | oneof backend_register_present { |
| 33 | string backend_register = 6 [(val).maxLength = 1024]; |
| 34 | } |
| 35 | oneof backend_need_delete_present { |
| 36 | bool backend_need_delete = 7 ; |
| 37 | } |
| 38 | oneof backend_need_reap_present { |
| 39 | bool backend_need_reap = 8 ; |
| 40 | } |
| 41 | oneof backend_status_present { |
| 42 | string backend_status = 9 [(val).maxLength = 1024]; |
| 43 | } |
| 44 | oneof backend_code_present { |
| 45 | int32 backend_code = 10 ; |
| 46 | } |
| 47 | oneof deleted_present { |
| 48 | bool deleted = 11 ; |
| 49 | } |
| 50 | oneof write_protect_present { |
| 51 | bool write_protect = 12 ; |
| 52 | } |
| 53 | oneof lazy_blocked_present { |
| 54 | bool lazy_blocked = 13 ; |
| 55 | } |
| 56 | oneof no_sync_present { |
| 57 | bool no_sync = 14 ; |
| 58 | } |
| 59 | oneof no_policy_present { |
| 60 | bool no_policy = 15 ; |
| 61 | } |
| 62 | oneof policy_status_present { |
| 63 | string policy_status = 16 [(val).maxLength = 1024]; |
| 64 | } |
| 65 | oneof policy_code_present { |
| 66 | int32 policy_code = 17 ; |
| 67 | } |
| 68 | oneof leaf_model_name_present { |
| 69 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 70 | } |
| 71 | oneof backend_need_delete_policy_present { |
| 72 | bool backend_need_delete_policy = 19 ; |
| 73 | } |
| 74 | oneof xos_managed_present { |
| 75 | bool xos_managed = 20 ; |
| 76 | } |
| 77 | oneof backend_handle_present { |
| 78 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 79 | } |
| 80 | oneof changed_by_step_present { |
| 81 | double changed_by_step = 22 ; |
| 82 | } |
| 83 | oneof changed_by_policy_present { |
| 84 | double changed_by_policy = 23 ; |
| 85 | } |
| 86 | oneof description_present { |
| 87 | string description = 101 [(val).maxLength = 254]; |
| 88 | } |
| 89 | oneof enabled_present { |
| 90 | bool enabled = 102 [(val).nonNull = true]; |
| 91 | } |
| 92 | oneof kind_present { |
| 93 | string kind = 103 [(val).maxLength = 30, (val).nonNull = true]; |
| 94 | } |
| 95 | oneof name_present { |
| 96 | string name = 104 [(val).maxLength = 30, (val).nonNull = true]; |
| 97 | } |
| 98 | oneof versionNumber_present { |
| 99 | string versionNumber = 105 [(val).maxLength = 30]; |
| 100 | } |
| 101 | oneof published_present { |
| 102 | bool published = 106 [(val).nonNull = true]; |
| 103 | } |
| 104 | oneof icon_url_present { |
| 105 | string icon_url = 108 [(val).maxLength = 1024]; |
| 106 | } |
| 107 | oneof public_key_present { |
| 108 | string public_key = 109 [(val).maxLength = 4096]; |
| 109 | } |
| 110 | oneof private_key_fn_present { |
| 111 | string private_key_fn = 110 [(val).maxLength = 4096]; |
| 112 | } |
| 113 | oneof service_specific_id_present { |
| 114 | string service_specific_id = 111 [(val).maxLength = 30]; |
| 115 | } |
| 116 | oneof service_specific_attribute_present { |
| 117 | string service_specific_attribute = 112 ; |
| 118 | } |
| 119 | repeated int32 addresspools_ids = 1001 [(reverseForeignKey).modelName = "AddressPool"]; |
| 120 | repeated int32 serviceports_ids = 1002 [(reverseForeignKey).modelName = "ServicePort"]; |
| 121 | repeated int32 serviceattributes_ids = 1003 [(reverseForeignKey).modelName = "ServiceAttribute"]; |
| 122 | repeated int32 provided_dependencies_ids = 1004 [(reverseForeignKey).modelName = "ServiceDependency"]; |
| 123 | repeated int32 subscribed_dependencies_ids = 1005 [(reverseForeignKey).modelName = "ServiceDependency"]; |
| 124 | repeated int32 slices_ids = 1006 [(reverseForeignKey).modelName = "Slice"]; |
| 125 | repeated int32 tags_ids = 1007 [(reverseForeignKey).modelName = "Tag"]; |
| 126 | repeated int32 service_interfaces_ids = 1008 [(reverseForeignKey).modelName = "ServiceInterface"]; |
| 127 | repeated int32 service_instances_ids = 1009 [(reverseForeignKey).modelName = "ServiceInstance"]; |
| 128 | repeated int32 subscribed_links_ids = 1010 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 129 | repeated int32 owned_trust_domains_ids = 1011 [(reverseForeignKey).modelName = "TrustDomain"]; |
| 130 | repeated int32 whitelist_entries_ids = 1101 [(reverseForeignKey).modelName = "AttWorkflowDriverWhiteListEntry"]; |
| 131 | string class_names = 2046; |
| 132 | string self_content_type_id = 2047; |
| 133 | } |
| 134 | |
| 135 | message AttWorkflowDriverServices { |
| 136 | repeated AttWorkflowDriverService items = 1; |
| 137 | } |
| 138 | |
| 139 | message AttWorkflowDriverServiceInstance { |
| 140 | option (contentTypeId) = "att-workflow-driver.attworkflowdriverserviceinstance"; |
| 141 | oneof id_present { |
| 142 | int32 id = 1 ; |
| 143 | } |
| 144 | oneof created_present { |
| 145 | double created = 2 ; |
| 146 | } |
| 147 | oneof updated_present { |
| 148 | double updated = 3 ; |
| 149 | } |
| 150 | oneof enacted_present { |
| 151 | double enacted = 4 ; |
| 152 | } |
| 153 | oneof policed_present { |
| 154 | double policed = 5 ; |
| 155 | } |
| 156 | oneof backend_register_present { |
| 157 | string backend_register = 6 [(val).maxLength = 1024]; |
| 158 | } |
| 159 | oneof backend_need_delete_present { |
| 160 | bool backend_need_delete = 7 ; |
| 161 | } |
| 162 | oneof backend_need_reap_present { |
| 163 | bool backend_need_reap = 8 ; |
| 164 | } |
| 165 | oneof backend_status_present { |
| 166 | string backend_status = 9 [(val).maxLength = 1024]; |
| 167 | } |
| 168 | oneof backend_code_present { |
| 169 | int32 backend_code = 10 ; |
| 170 | } |
| 171 | oneof deleted_present { |
| 172 | bool deleted = 11 ; |
| 173 | } |
| 174 | oneof write_protect_present { |
| 175 | bool write_protect = 12 ; |
| 176 | } |
| 177 | oneof lazy_blocked_present { |
| 178 | bool lazy_blocked = 13 ; |
| 179 | } |
| 180 | oneof no_sync_present { |
| 181 | bool no_sync = 14 ; |
| 182 | } |
| 183 | oneof no_policy_present { |
| 184 | bool no_policy = 15 ; |
| 185 | } |
| 186 | oneof policy_status_present { |
| 187 | string policy_status = 16 [(val).maxLength = 1024]; |
| 188 | } |
| 189 | oneof policy_code_present { |
| 190 | int32 policy_code = 17 ; |
| 191 | } |
| 192 | oneof leaf_model_name_present { |
| 193 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 194 | } |
| 195 | oneof backend_need_delete_policy_present { |
| 196 | bool backend_need_delete_policy = 19 ; |
| 197 | } |
| 198 | oneof xos_managed_present { |
| 199 | bool xos_managed = 20 ; |
| 200 | } |
| 201 | oneof backend_handle_present { |
| 202 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 203 | } |
| 204 | oneof changed_by_step_present { |
| 205 | double changed_by_step = 22 ; |
| 206 | } |
| 207 | oneof changed_by_policy_present { |
| 208 | double changed_by_policy = 23 ; |
| 209 | } |
| 210 | oneof name_present { |
| 211 | string name = 101 [(val).maxLength = 200]; |
| 212 | } |
| 213 | oneof owner_present { |
| 214 | int32 owner_id = 102 [(val).nonNull = true, (foreignKey).modelName = "Service", (foreignKey).reverseFieldName = "service_instances"]; |
| 215 | } |
| 216 | oneof service_specific_id_present { |
| 217 | string service_specific_id = 103 [(val).maxLength = 30]; |
| 218 | } |
| 219 | oneof service_specific_attribute_present { |
| 220 | string service_specific_attribute = 110 ; |
| 221 | } |
| 222 | oneof link_deleted_count_present { |
| 223 | uint32 link_deleted_count = 111 ; |
| 224 | } |
| 225 | oneof master_serviceinstance_present { |
| 226 | int32 master_serviceinstance_id = 112 [(foreignKey).modelName = "ServiceInstance", (foreignKey).reverseFieldName = "child_serviceinstances"]; |
| 227 | } |
| 228 | oneof serial_number_present { |
| 229 | string serial_number = 202 [(val).maxLength = 254]; |
| 230 | } |
| 231 | oneof authentication_state_present { |
| 232 | string authentication_state = 203 [(val).maxLength = 50]; |
| 233 | } |
| 234 | oneof of_dpid_present { |
| 235 | string of_dpid = 204 [(val).maxLength = 254]; |
| 236 | } |
| 237 | oneof uni_port_id_present { |
| 238 | int32 uni_port_id = 205 ; |
| 239 | } |
| 240 | oneof onu_state_present { |
| 241 | string onu_state = 206 [(val).maxLength = 254]; |
| 242 | } |
| 243 | oneof status_message_present { |
| 244 | string status_message = 207 [(val).maxLength = 254]; |
| 245 | } |
| 246 | oneof dhcp_state_present { |
| 247 | string dhcp_state = 208 [(val).maxLength = 254]; |
| 248 | } |
| 249 | oneof ip_address_present { |
| 250 | string ip_address = 209 [(val).maxLength = 20]; |
| 251 | } |
| 252 | oneof mac_address_present { |
| 253 | string mac_address = 210 [(val).maxLength = 20]; |
| 254 | } |
| 255 | repeated int32 ports_ids = 1001 [(reverseForeignKey).modelName = "Port"]; |
| 256 | repeated int32 child_serviceinstances_ids = 1002 [(reverseForeignKey).modelName = "ServiceInstance"]; |
| 257 | repeated int32 provided_links_ids = 1003 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 258 | repeated int32 subscribed_links_ids = 1005 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 259 | repeated int32 service_instance_attributes_ids = 1006 [(reverseForeignKey).modelName = "ServiceInstanceAttribute"]; |
| 260 | string class_names = 2046; |
| 261 | string self_content_type_id = 2047; |
| 262 | } |
| 263 | |
| 264 | message AttWorkflowDriverServiceInstances { |
| 265 | repeated AttWorkflowDriverServiceInstance items = 1; |
| 266 | } |
| 267 | |
| 268 | message AttWorkflowDriverWhiteListEntry { |
| 269 | option (contentTypeId) = "att-workflow-driver.attworkflowdriverwhitelistentry"; |
| 270 | oneof id_present { |
| 271 | int32 id = 1 ; |
| 272 | } |
| 273 | oneof created_present { |
| 274 | double created = 2 ; |
| 275 | } |
| 276 | oneof updated_present { |
| 277 | double updated = 3 ; |
| 278 | } |
| 279 | oneof enacted_present { |
| 280 | double enacted = 4 ; |
| 281 | } |
| 282 | oneof policed_present { |
| 283 | double policed = 5 ; |
| 284 | } |
| 285 | oneof backend_register_present { |
| 286 | string backend_register = 6 [(val).maxLength = 1024]; |
| 287 | } |
| 288 | oneof backend_need_delete_present { |
| 289 | bool backend_need_delete = 7 ; |
| 290 | } |
| 291 | oneof backend_need_reap_present { |
| 292 | bool backend_need_reap = 8 ; |
| 293 | } |
| 294 | oneof backend_status_present { |
| 295 | string backend_status = 9 [(val).maxLength = 1024]; |
| 296 | } |
| 297 | oneof backend_code_present { |
| 298 | int32 backend_code = 10 ; |
| 299 | } |
| 300 | oneof deleted_present { |
| 301 | bool deleted = 11 ; |
| 302 | } |
| 303 | oneof write_protect_present { |
| 304 | bool write_protect = 12 ; |
| 305 | } |
| 306 | oneof lazy_blocked_present { |
| 307 | bool lazy_blocked = 13 ; |
| 308 | } |
| 309 | oneof no_sync_present { |
| 310 | bool no_sync = 14 ; |
| 311 | } |
| 312 | oneof no_policy_present { |
| 313 | bool no_policy = 15 ; |
| 314 | } |
| 315 | oneof policy_status_present { |
| 316 | string policy_status = 16 [(val).maxLength = 1024]; |
| 317 | } |
| 318 | oneof policy_code_present { |
| 319 | int32 policy_code = 17 ; |
| 320 | } |
| 321 | oneof leaf_model_name_present { |
| 322 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 323 | } |
| 324 | oneof backend_need_delete_policy_present { |
| 325 | bool backend_need_delete_policy = 19 ; |
| 326 | } |
| 327 | oneof xos_managed_present { |
| 328 | bool xos_managed = 20 ; |
| 329 | } |
| 330 | oneof backend_handle_present { |
| 331 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 332 | } |
| 333 | oneof changed_by_step_present { |
| 334 | double changed_by_step = 22 ; |
| 335 | } |
| 336 | oneof changed_by_policy_present { |
| 337 | double changed_by_policy = 23 ; |
| 338 | } |
| 339 | oneof owner_present { |
| 340 | int32 owner_id = 101 [(foreignKey).modelName = "AttWorkflowDriverService", (foreignKey).reverseFieldName = "whitelist_entries"]; |
| 341 | } |
| 342 | oneof serial_number_present { |
| 343 | string serial_number = 102 [(val).maxLength = 254]; |
| 344 | } |
| 345 | oneof pon_port_id_present { |
| 346 | int32 pon_port_id = 103 ; |
| 347 | } |
| 348 | oneof device_id_present { |
| 349 | string device_id = 104 [(val).maxLength = 54]; |
| 350 | } |
| 351 | string class_names = 2046; |
| 352 | string self_content_type_id = 2047; |
| 353 | } |
| 354 | |
| 355 | message attworkflowdriverwhitelistentries { |
| 356 | repeated AttWorkflowDriverWhiteListEntry items = 1; |
| 357 | } |
| 358 | |
| 359 | message BNGPortMapping { |
| 360 | option (contentTypeId) = "fabric-crossconnect.bngportmapping"; |
| 361 | oneof id_present { |
| 362 | int32 id = 1 ; |
| 363 | } |
| 364 | oneof created_present { |
| 365 | double created = 2 ; |
| 366 | } |
| 367 | oneof updated_present { |
| 368 | double updated = 3 ; |
| 369 | } |
| 370 | oneof enacted_present { |
| 371 | double enacted = 4 ; |
| 372 | } |
| 373 | oneof policed_present { |
| 374 | double policed = 5 ; |
| 375 | } |
| 376 | oneof backend_register_present { |
| 377 | string backend_register = 6 [(val).maxLength = 1024]; |
| 378 | } |
| 379 | oneof backend_need_delete_present { |
| 380 | bool backend_need_delete = 7 ; |
| 381 | } |
| 382 | oneof backend_need_reap_present { |
| 383 | bool backend_need_reap = 8 ; |
| 384 | } |
| 385 | oneof backend_status_present { |
| 386 | string backend_status = 9 [(val).maxLength = 1024]; |
| 387 | } |
| 388 | oneof backend_code_present { |
| 389 | int32 backend_code = 10 ; |
| 390 | } |
| 391 | oneof deleted_present { |
| 392 | bool deleted = 11 ; |
| 393 | } |
| 394 | oneof write_protect_present { |
| 395 | bool write_protect = 12 ; |
| 396 | } |
| 397 | oneof lazy_blocked_present { |
| 398 | bool lazy_blocked = 13 ; |
| 399 | } |
| 400 | oneof no_sync_present { |
| 401 | bool no_sync = 14 ; |
| 402 | } |
| 403 | oneof no_policy_present { |
| 404 | bool no_policy = 15 ; |
| 405 | } |
| 406 | oneof policy_status_present { |
| 407 | string policy_status = 16 [(val).maxLength = 1024]; |
| 408 | } |
| 409 | oneof policy_code_present { |
| 410 | int32 policy_code = 17 ; |
| 411 | } |
| 412 | oneof leaf_model_name_present { |
| 413 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 414 | } |
| 415 | oneof backend_need_delete_policy_present { |
| 416 | bool backend_need_delete_policy = 19 ; |
| 417 | } |
| 418 | oneof xos_managed_present { |
| 419 | bool xos_managed = 20 ; |
| 420 | } |
| 421 | oneof backend_handle_present { |
| 422 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 423 | } |
| 424 | oneof changed_by_step_present { |
| 425 | double changed_by_step = 22 ; |
| 426 | } |
| 427 | oneof changed_by_policy_present { |
| 428 | double changed_by_policy = 23 ; |
| 429 | } |
| 430 | oneof s_tag_present { |
| 431 | string s_tag = 101 [(val).nonNull = true]; |
| 432 | } |
| 433 | oneof switch_port_present { |
| 434 | int32 switch_port = 102 [(val).nonNull = true]; |
| 435 | } |
| 436 | string class_names = 2046; |
| 437 | string self_content_type_id = 2047; |
| 438 | } |
| 439 | |
| 440 | message BNGPortMappings { |
| 441 | repeated BNGPortMapping items = 1; |
| 442 | } |
| 443 | |
| 444 | message FabricCrossconnectService { |
| 445 | option (contentTypeId) = "fabric-crossconnect.fabriccrossconnectservice"; |
| 446 | oneof id_present { |
| 447 | int32 id = 1 ; |
| 448 | } |
| 449 | oneof created_present { |
| 450 | double created = 2 ; |
| 451 | } |
| 452 | oneof updated_present { |
| 453 | double updated = 3 ; |
| 454 | } |
| 455 | oneof enacted_present { |
| 456 | double enacted = 4 ; |
| 457 | } |
| 458 | oneof policed_present { |
| 459 | double policed = 5 ; |
| 460 | } |
| 461 | oneof backend_register_present { |
| 462 | string backend_register = 6 [(val).maxLength = 1024]; |
| 463 | } |
| 464 | oneof backend_need_delete_present { |
| 465 | bool backend_need_delete = 7 ; |
| 466 | } |
| 467 | oneof backend_need_reap_present { |
| 468 | bool backend_need_reap = 8 ; |
| 469 | } |
| 470 | oneof backend_status_present { |
| 471 | string backend_status = 9 [(val).maxLength = 1024]; |
| 472 | } |
| 473 | oneof backend_code_present { |
| 474 | int32 backend_code = 10 ; |
| 475 | } |
| 476 | oneof deleted_present { |
| 477 | bool deleted = 11 ; |
| 478 | } |
| 479 | oneof write_protect_present { |
| 480 | bool write_protect = 12 ; |
| 481 | } |
| 482 | oneof lazy_blocked_present { |
| 483 | bool lazy_blocked = 13 ; |
| 484 | } |
| 485 | oneof no_sync_present { |
| 486 | bool no_sync = 14 ; |
| 487 | } |
| 488 | oneof no_policy_present { |
| 489 | bool no_policy = 15 ; |
| 490 | } |
| 491 | oneof policy_status_present { |
| 492 | string policy_status = 16 [(val).maxLength = 1024]; |
| 493 | } |
| 494 | oneof policy_code_present { |
| 495 | int32 policy_code = 17 ; |
| 496 | } |
| 497 | oneof leaf_model_name_present { |
| 498 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 499 | } |
| 500 | oneof backend_need_delete_policy_present { |
| 501 | bool backend_need_delete_policy = 19 ; |
| 502 | } |
| 503 | oneof xos_managed_present { |
| 504 | bool xos_managed = 20 ; |
| 505 | } |
| 506 | oneof backend_handle_present { |
| 507 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 508 | } |
| 509 | oneof changed_by_step_present { |
| 510 | double changed_by_step = 22 ; |
| 511 | } |
| 512 | oneof changed_by_policy_present { |
| 513 | double changed_by_policy = 23 ; |
| 514 | } |
| 515 | oneof description_present { |
| 516 | string description = 101 [(val).maxLength = 254]; |
| 517 | } |
| 518 | oneof enabled_present { |
| 519 | bool enabled = 102 [(val).nonNull = true]; |
| 520 | } |
| 521 | oneof kind_present { |
| 522 | string kind = 103 [(val).maxLength = 30, (val).nonNull = true]; |
| 523 | } |
| 524 | oneof name_present { |
| 525 | string name = 104 [(val).maxLength = 30, (val).nonNull = true]; |
| 526 | } |
| 527 | oneof versionNumber_present { |
| 528 | string versionNumber = 105 [(val).maxLength = 30]; |
| 529 | } |
| 530 | oneof published_present { |
| 531 | bool published = 106 [(val).nonNull = true]; |
| 532 | } |
| 533 | oneof icon_url_present { |
| 534 | string icon_url = 108 [(val).maxLength = 1024]; |
| 535 | } |
| 536 | oneof public_key_present { |
| 537 | string public_key = 109 [(val).maxLength = 4096]; |
| 538 | } |
| 539 | oneof private_key_fn_present { |
| 540 | string private_key_fn = 110 [(val).maxLength = 4096]; |
| 541 | } |
| 542 | oneof service_specific_id_present { |
| 543 | string service_specific_id = 111 [(val).maxLength = 30]; |
| 544 | } |
| 545 | oneof service_specific_attribute_present { |
| 546 | string service_specific_attribute = 112 ; |
| 547 | } |
| 548 | repeated int32 addresspools_ids = 1001 [(reverseForeignKey).modelName = "AddressPool"]; |
| 549 | repeated int32 serviceports_ids = 1002 [(reverseForeignKey).modelName = "ServicePort"]; |
| 550 | repeated int32 serviceattributes_ids = 1003 [(reverseForeignKey).modelName = "ServiceAttribute"]; |
| 551 | repeated int32 provided_dependencies_ids = 1004 [(reverseForeignKey).modelName = "ServiceDependency"]; |
| 552 | repeated int32 subscribed_dependencies_ids = 1005 [(reverseForeignKey).modelName = "ServiceDependency"]; |
| 553 | repeated int32 slices_ids = 1006 [(reverseForeignKey).modelName = "Slice"]; |
| 554 | repeated int32 tags_ids = 1007 [(reverseForeignKey).modelName = "Tag"]; |
| 555 | repeated int32 service_interfaces_ids = 1008 [(reverseForeignKey).modelName = "ServiceInterface"]; |
| 556 | repeated int32 service_instances_ids = 1009 [(reverseForeignKey).modelName = "ServiceInstance"]; |
| 557 | repeated int32 subscribed_links_ids = 1010 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 558 | repeated int32 owned_trust_domains_ids = 1011 [(reverseForeignKey).modelName = "TrustDomain"]; |
| 559 | string class_names = 2046; |
| 560 | string self_content_type_id = 2047; |
| 561 | } |
| 562 | |
| 563 | message FabricCrossconnectServices { |
| 564 | repeated FabricCrossconnectService items = 1; |
| 565 | } |
| 566 | |
| 567 | message FabricCrossconnectServiceInstance { |
| 568 | option (contentTypeId) = "fabric-crossconnect.fabriccrossconnectserviceinstance"; |
| 569 | oneof id_present { |
| 570 | int32 id = 1 ; |
| 571 | } |
| 572 | oneof created_present { |
| 573 | double created = 2 ; |
| 574 | } |
| 575 | oneof updated_present { |
| 576 | double updated = 3 ; |
| 577 | } |
| 578 | oneof enacted_present { |
| 579 | double enacted = 4 ; |
| 580 | } |
| 581 | oneof policed_present { |
| 582 | double policed = 5 ; |
| 583 | } |
| 584 | oneof backend_register_present { |
| 585 | string backend_register = 6 [(val).maxLength = 1024]; |
| 586 | } |
| 587 | oneof backend_need_delete_present { |
| 588 | bool backend_need_delete = 7 ; |
| 589 | } |
| 590 | oneof backend_need_reap_present { |
| 591 | bool backend_need_reap = 8 ; |
| 592 | } |
| 593 | oneof backend_status_present { |
| 594 | string backend_status = 9 [(val).maxLength = 1024]; |
| 595 | } |
| 596 | oneof backend_code_present { |
| 597 | int32 backend_code = 10 ; |
| 598 | } |
| 599 | oneof deleted_present { |
| 600 | bool deleted = 11 ; |
| 601 | } |
| 602 | oneof write_protect_present { |
| 603 | bool write_protect = 12 ; |
| 604 | } |
| 605 | oneof lazy_blocked_present { |
| 606 | bool lazy_blocked = 13 ; |
| 607 | } |
| 608 | oneof no_sync_present { |
| 609 | bool no_sync = 14 ; |
| 610 | } |
| 611 | oneof no_policy_present { |
| 612 | bool no_policy = 15 ; |
| 613 | } |
| 614 | oneof policy_status_present { |
| 615 | string policy_status = 16 [(val).maxLength = 1024]; |
| 616 | } |
| 617 | oneof policy_code_present { |
| 618 | int32 policy_code = 17 ; |
| 619 | } |
| 620 | oneof leaf_model_name_present { |
| 621 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 622 | } |
| 623 | oneof backend_need_delete_policy_present { |
| 624 | bool backend_need_delete_policy = 19 ; |
| 625 | } |
| 626 | oneof xos_managed_present { |
| 627 | bool xos_managed = 20 ; |
| 628 | } |
| 629 | oneof backend_handle_present { |
| 630 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 631 | } |
| 632 | oneof changed_by_step_present { |
| 633 | double changed_by_step = 22 ; |
| 634 | } |
| 635 | oneof changed_by_policy_present { |
| 636 | double changed_by_policy = 23 ; |
| 637 | } |
| 638 | oneof name_present { |
| 639 | string name = 101 [(val).maxLength = 200]; |
| 640 | } |
| 641 | oneof owner_present { |
| 642 | int32 owner_id = 102 [(val).nonNull = true, (foreignKey).modelName = "Service", (foreignKey).reverseFieldName = "service_instances"]; |
| 643 | } |
| 644 | oneof service_specific_id_present { |
| 645 | string service_specific_id = 103 [(val).maxLength = 30]; |
| 646 | } |
| 647 | oneof service_specific_attribute_present { |
| 648 | string service_specific_attribute = 110 ; |
| 649 | } |
| 650 | oneof link_deleted_count_present { |
| 651 | uint32 link_deleted_count = 111 ; |
| 652 | } |
| 653 | oneof master_serviceinstance_present { |
| 654 | int32 master_serviceinstance_id = 112 [(foreignKey).modelName = "ServiceInstance", (foreignKey).reverseFieldName = "child_serviceinstances"]; |
| 655 | } |
| 656 | oneof s_tag_present { |
| 657 | int32 s_tag = 201 ; |
| 658 | } |
| 659 | oneof switch_datapath_id_present { |
| 660 | string switch_datapath_id = 202 ; |
| 661 | } |
| 662 | oneof source_port_present { |
| 663 | int32 source_port = 203 ; |
| 664 | } |
| 665 | repeated int32 ports_ids = 1001 [(reverseForeignKey).modelName = "Port"]; |
| 666 | repeated int32 child_serviceinstances_ids = 1002 [(reverseForeignKey).modelName = "ServiceInstance"]; |
| 667 | repeated int32 provided_links_ids = 1003 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 668 | repeated int32 subscribed_links_ids = 1005 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 669 | repeated int32 service_instance_attributes_ids = 1006 [(reverseForeignKey).modelName = "ServiceInstanceAttribute"]; |
| 670 | string class_names = 2046; |
| 671 | string self_content_type_id = 2047; |
| 672 | } |
| 673 | |
| 674 | message FabricCrossconnectServiceInstances { |
| 675 | repeated FabricCrossconnectServiceInstance items = 1; |
| 676 | } |
| 677 | |
| 678 | message NNIPort { |
| 679 | option (contentTypeId) = "volt.nniport"; |
| 680 | oneof id_present { |
| 681 | int32 id = 1 ; |
| 682 | } |
| 683 | oneof created_present { |
| 684 | double created = 2 ; |
| 685 | } |
| 686 | oneof updated_present { |
| 687 | double updated = 3 ; |
| 688 | } |
| 689 | oneof enacted_present { |
| 690 | double enacted = 4 ; |
| 691 | } |
| 692 | oneof policed_present { |
| 693 | double policed = 5 ; |
| 694 | } |
| 695 | oneof backend_register_present { |
| 696 | string backend_register = 6 [(val).maxLength = 1024]; |
| 697 | } |
| 698 | oneof backend_need_delete_present { |
| 699 | bool backend_need_delete = 7 ; |
| 700 | } |
| 701 | oneof backend_need_reap_present { |
| 702 | bool backend_need_reap = 8 ; |
| 703 | } |
| 704 | oneof backend_status_present { |
| 705 | string backend_status = 9 [(val).maxLength = 1024]; |
| 706 | } |
| 707 | oneof backend_code_present { |
| 708 | int32 backend_code = 10 ; |
| 709 | } |
| 710 | oneof deleted_present { |
| 711 | bool deleted = 11 ; |
| 712 | } |
| 713 | oneof write_protect_present { |
| 714 | bool write_protect = 12 ; |
| 715 | } |
| 716 | oneof lazy_blocked_present { |
| 717 | bool lazy_blocked = 13 ; |
| 718 | } |
| 719 | oneof no_sync_present { |
| 720 | bool no_sync = 14 ; |
| 721 | } |
| 722 | oneof no_policy_present { |
| 723 | bool no_policy = 15 ; |
| 724 | } |
| 725 | oneof policy_status_present { |
| 726 | string policy_status = 16 [(val).maxLength = 1024]; |
| 727 | } |
| 728 | oneof policy_code_present { |
| 729 | int32 policy_code = 17 ; |
| 730 | } |
| 731 | oneof leaf_model_name_present { |
| 732 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 733 | } |
| 734 | oneof backend_need_delete_policy_present { |
| 735 | bool backend_need_delete_policy = 19 ; |
| 736 | } |
| 737 | oneof xos_managed_present { |
| 738 | bool xos_managed = 20 ; |
| 739 | } |
| 740 | oneof backend_handle_present { |
| 741 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 742 | } |
| 743 | oneof changed_by_step_present { |
| 744 | double changed_by_step = 22 ; |
| 745 | } |
| 746 | oneof changed_by_policy_present { |
| 747 | double changed_by_policy = 23 ; |
| 748 | } |
| 749 | oneof name_present { |
| 750 | string name = 101 ; |
| 751 | } |
| 752 | oneof port_no_present { |
| 753 | int32 port_no = 103 ; |
| 754 | } |
| 755 | oneof admin_state_present { |
| 756 | string admin_state = 104 ; |
| 757 | } |
| 758 | oneof oper_status_present { |
| 759 | string oper_status = 105 ; |
| 760 | } |
| 761 | oneof olt_device_present { |
| 762 | int32 olt_device_id = 201 [(foreignKey).modelName = "OLTDevice", (foreignKey).reverseFieldName = "nni_ports"]; |
| 763 | } |
| 764 | string class_names = 2046; |
| 765 | string self_content_type_id = 2047; |
| 766 | } |
| 767 | |
| 768 | message NNIPorts { |
| 769 | repeated NNIPort items = 1; |
| 770 | } |
| 771 | |
| 772 | message OLTDevice { |
| 773 | option (contentTypeId) = "volt.oltdevice"; |
| 774 | oneof id_present { |
| 775 | int32 id = 1 ; |
| 776 | } |
| 777 | oneof created_present { |
| 778 | double created = 2 ; |
| 779 | } |
| 780 | oneof updated_present { |
| 781 | double updated = 3 ; |
| 782 | } |
| 783 | oneof enacted_present { |
| 784 | double enacted = 4 ; |
| 785 | } |
| 786 | oneof policed_present { |
| 787 | double policed = 5 ; |
| 788 | } |
| 789 | oneof backend_register_present { |
| 790 | string backend_register = 6 [(val).maxLength = 1024]; |
| 791 | } |
| 792 | oneof backend_need_delete_present { |
| 793 | bool backend_need_delete = 7 ; |
| 794 | } |
| 795 | oneof backend_need_reap_present { |
| 796 | bool backend_need_reap = 8 ; |
| 797 | } |
| 798 | oneof backend_status_present { |
| 799 | string backend_status = 9 [(val).maxLength = 1024]; |
| 800 | } |
| 801 | oneof backend_code_present { |
| 802 | int32 backend_code = 10 ; |
| 803 | } |
| 804 | oneof deleted_present { |
| 805 | bool deleted = 11 ; |
| 806 | } |
| 807 | oneof write_protect_present { |
| 808 | bool write_protect = 12 ; |
| 809 | } |
| 810 | oneof lazy_blocked_present { |
| 811 | bool lazy_blocked = 13 ; |
| 812 | } |
| 813 | oneof no_sync_present { |
| 814 | bool no_sync = 14 ; |
| 815 | } |
| 816 | oneof no_policy_present { |
| 817 | bool no_policy = 15 ; |
| 818 | } |
| 819 | oneof policy_status_present { |
| 820 | string policy_status = 16 [(val).maxLength = 1024]; |
| 821 | } |
| 822 | oneof policy_code_present { |
| 823 | int32 policy_code = 17 ; |
| 824 | } |
| 825 | oneof leaf_model_name_present { |
| 826 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 827 | } |
| 828 | oneof backend_need_delete_policy_present { |
| 829 | bool backend_need_delete_policy = 19 ; |
| 830 | } |
| 831 | oneof xos_managed_present { |
| 832 | bool xos_managed = 20 ; |
| 833 | } |
| 834 | oneof backend_handle_present { |
| 835 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 836 | } |
| 837 | oneof changed_by_step_present { |
| 838 | double changed_by_step = 22 ; |
| 839 | } |
| 840 | oneof changed_by_policy_present { |
| 841 | double changed_by_policy = 23 ; |
| 842 | } |
| 843 | oneof volt_service_present { |
| 844 | int32 volt_service_id = 101 [(foreignKey).modelName = "VOLTService", (foreignKey).reverseFieldName = "volt_devices"]; |
| 845 | } |
| 846 | oneof name_present { |
| 847 | string name = 102 [(val).maxLength = 254]; |
| 848 | } |
| 849 | oneof device_type_present { |
| 850 | string device_type = 103 [(val).maxLength = 254]; |
| 851 | } |
| 852 | oneof host_present { |
| 853 | string host = 104 [(val).maxLength = 254]; |
| 854 | } |
| 855 | oneof port_present { |
| 856 | int32 port = 105 ; |
| 857 | } |
| 858 | oneof mac_address_present { |
| 859 | string mac_address = 106 ; |
| 860 | } |
| 861 | oneof serial_number_present { |
| 862 | string serial_number = 109 ; |
| 863 | } |
| 864 | oneof device_id_present { |
| 865 | string device_id = 110 ; |
| 866 | } |
| 867 | oneof admin_state_present { |
| 868 | string admin_state = 111 ; |
| 869 | } |
| 870 | oneof oper_status_present { |
| 871 | string oper_status = 112 ; |
| 872 | } |
| 873 | oneof of_id_present { |
| 874 | string of_id = 113 ; |
| 875 | } |
| 876 | oneof dp_id_present { |
| 877 | string dp_id = 114 ; |
| 878 | } |
| 879 | oneof uplink_present { |
| 880 | string uplink = 115 ; |
| 881 | } |
| 882 | oneof driver_present { |
| 883 | string driver = 116 ; |
| 884 | } |
| 885 | oneof switch_datapath_id_present { |
| 886 | string switch_datapath_id = 117 ; |
| 887 | } |
| 888 | oneof switch_port_present { |
| 889 | string switch_port = 118 ; |
| 890 | } |
| 891 | oneof outer_tpid_present { |
| 892 | string outer_tpid = 119 ; |
| 893 | } |
| 894 | oneof nas_id_present { |
| 895 | string nas_id = 120 ; |
| 896 | } |
| 897 | repeated int32 pon_ports_ids = 1001 [(reverseForeignKey).modelName = "PONPort"]; |
| 898 | repeated int32 nni_ports_ids = 1002 [(reverseForeignKey).modelName = "NNIPort"]; |
| 899 | string class_names = 2046; |
| 900 | string self_content_type_id = 2047; |
| 901 | } |
| 902 | |
| 903 | message OLTDevices { |
| 904 | repeated OLTDevice items = 1; |
| 905 | } |
| 906 | |
| 907 | message ONUDevice { |
| 908 | option (contentTypeId) = "volt.onudevice"; |
| 909 | oneof id_present { |
| 910 | int32 id = 1 ; |
| 911 | } |
| 912 | oneof created_present { |
| 913 | double created = 2 ; |
| 914 | } |
| 915 | oneof updated_present { |
| 916 | double updated = 3 ; |
| 917 | } |
| 918 | oneof enacted_present { |
| 919 | double enacted = 4 ; |
| 920 | } |
| 921 | oneof policed_present { |
| 922 | double policed = 5 ; |
| 923 | } |
| 924 | oneof backend_register_present { |
| 925 | string backend_register = 6 [(val).maxLength = 1024]; |
| 926 | } |
| 927 | oneof backend_need_delete_present { |
| 928 | bool backend_need_delete = 7 ; |
| 929 | } |
| 930 | oneof backend_need_reap_present { |
| 931 | bool backend_need_reap = 8 ; |
| 932 | } |
| 933 | oneof backend_status_present { |
| 934 | string backend_status = 9 [(val).maxLength = 1024]; |
| 935 | } |
| 936 | oneof backend_code_present { |
| 937 | int32 backend_code = 10 ; |
| 938 | } |
| 939 | oneof deleted_present { |
| 940 | bool deleted = 11 ; |
| 941 | } |
| 942 | oneof write_protect_present { |
| 943 | bool write_protect = 12 ; |
| 944 | } |
| 945 | oneof lazy_blocked_present { |
| 946 | bool lazy_blocked = 13 ; |
| 947 | } |
| 948 | oneof no_sync_present { |
| 949 | bool no_sync = 14 ; |
| 950 | } |
| 951 | oneof no_policy_present { |
| 952 | bool no_policy = 15 ; |
| 953 | } |
| 954 | oneof policy_status_present { |
| 955 | string policy_status = 16 [(val).maxLength = 1024]; |
| 956 | } |
| 957 | oneof policy_code_present { |
| 958 | int32 policy_code = 17 ; |
| 959 | } |
| 960 | oneof leaf_model_name_present { |
| 961 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 962 | } |
| 963 | oneof backend_need_delete_policy_present { |
| 964 | bool backend_need_delete_policy = 19 ; |
| 965 | } |
| 966 | oneof xos_managed_present { |
| 967 | bool xos_managed = 20 ; |
| 968 | } |
| 969 | oneof backend_handle_present { |
| 970 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 971 | } |
| 972 | oneof changed_by_step_present { |
| 973 | double changed_by_step = 22 ; |
| 974 | } |
| 975 | oneof changed_by_policy_present { |
| 976 | double changed_by_policy = 23 ; |
| 977 | } |
| 978 | oneof pon_port_present { |
| 979 | int32 pon_port_id = 101 [(foreignKey).modelName = "PONPort", (foreignKey).reverseFieldName = "onu_devices"]; |
| 980 | } |
| 981 | oneof serial_number_present { |
| 982 | string serial_number = 102 [(val).maxLength = 254]; |
| 983 | } |
| 984 | oneof vendor_present { |
| 985 | string vendor = 103 [(val).maxLength = 254]; |
| 986 | } |
| 987 | oneof device_type_present { |
| 988 | string device_type = 104 [(val).maxLength = 254]; |
| 989 | } |
| 990 | oneof device_id_present { |
| 991 | string device_id = 105 [(val).maxLength = 254]; |
| 992 | } |
| 993 | oneof admin_state_present { |
| 994 | string admin_state = 106 ; |
| 995 | } |
| 996 | oneof oper_status_present { |
| 997 | string oper_status = 107 ; |
| 998 | } |
| 999 | oneof connect_status_present { |
| 1000 | string connect_status = 108 ; |
| 1001 | } |
| 1002 | repeated int32 pononu_ports_ids = 1001 [(reverseForeignKey).modelName = "PONONUPort"]; |
| 1003 | repeated int32 uni_ports_ids = 1002 [(reverseForeignKey).modelName = "UNIPort"]; |
| 1004 | repeated int32 volt_service_instances_ids = 1003 [(reverseForeignKey).modelName = "VOLTServiceInstance"]; |
| 1005 | string class_names = 2046; |
| 1006 | string self_content_type_id = 2047; |
| 1007 | } |
| 1008 | |
| 1009 | message ONUDevices { |
| 1010 | repeated ONUDevice items = 1; |
| 1011 | } |
| 1012 | |
| 1013 | message PONONUPort { |
| 1014 | option (contentTypeId) = "volt.pononuport"; |
| 1015 | oneof id_present { |
| 1016 | int32 id = 1 ; |
| 1017 | } |
| 1018 | oneof created_present { |
| 1019 | double created = 2 ; |
| 1020 | } |
| 1021 | oneof updated_present { |
| 1022 | double updated = 3 ; |
| 1023 | } |
| 1024 | oneof enacted_present { |
| 1025 | double enacted = 4 ; |
| 1026 | } |
| 1027 | oneof policed_present { |
| 1028 | double policed = 5 ; |
| 1029 | } |
| 1030 | oneof backend_register_present { |
| 1031 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1032 | } |
| 1033 | oneof backend_need_delete_present { |
| 1034 | bool backend_need_delete = 7 ; |
| 1035 | } |
| 1036 | oneof backend_need_reap_present { |
| 1037 | bool backend_need_reap = 8 ; |
| 1038 | } |
| 1039 | oneof backend_status_present { |
| 1040 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1041 | } |
| 1042 | oneof backend_code_present { |
| 1043 | int32 backend_code = 10 ; |
| 1044 | } |
| 1045 | oneof deleted_present { |
| 1046 | bool deleted = 11 ; |
| 1047 | } |
| 1048 | oneof write_protect_present { |
| 1049 | bool write_protect = 12 ; |
| 1050 | } |
| 1051 | oneof lazy_blocked_present { |
| 1052 | bool lazy_blocked = 13 ; |
| 1053 | } |
| 1054 | oneof no_sync_present { |
| 1055 | bool no_sync = 14 ; |
| 1056 | } |
| 1057 | oneof no_policy_present { |
| 1058 | bool no_policy = 15 ; |
| 1059 | } |
| 1060 | oneof policy_status_present { |
| 1061 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1062 | } |
| 1063 | oneof policy_code_present { |
| 1064 | int32 policy_code = 17 ; |
| 1065 | } |
| 1066 | oneof leaf_model_name_present { |
| 1067 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1068 | } |
| 1069 | oneof backend_need_delete_policy_present { |
| 1070 | bool backend_need_delete_policy = 19 ; |
| 1071 | } |
| 1072 | oneof xos_managed_present { |
| 1073 | bool xos_managed = 20 ; |
| 1074 | } |
| 1075 | oneof backend_handle_present { |
| 1076 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1077 | } |
| 1078 | oneof changed_by_step_present { |
| 1079 | double changed_by_step = 22 ; |
| 1080 | } |
| 1081 | oneof changed_by_policy_present { |
| 1082 | double changed_by_policy = 23 ; |
| 1083 | } |
| 1084 | oneof name_present { |
| 1085 | string name = 101 ; |
| 1086 | } |
| 1087 | oneof port_no_present { |
| 1088 | int32 port_no = 103 ; |
| 1089 | } |
| 1090 | oneof admin_state_present { |
| 1091 | string admin_state = 104 ; |
| 1092 | } |
| 1093 | oneof oper_status_present { |
| 1094 | string oper_status = 105 ; |
| 1095 | } |
| 1096 | oneof onu_device_present { |
| 1097 | int32 onu_device_id = 201 [(foreignKey).modelName = "ONUDevice", (foreignKey).reverseFieldName = "pononu_ports"]; |
| 1098 | } |
| 1099 | string class_names = 2046; |
| 1100 | string self_content_type_id = 2047; |
| 1101 | } |
| 1102 | |
| 1103 | message PONONUPorts { |
| 1104 | repeated PONONUPort items = 1; |
| 1105 | } |
| 1106 | |
| 1107 | message PONPort { |
| 1108 | option (contentTypeId) = "volt.ponport"; |
| 1109 | oneof id_present { |
| 1110 | int32 id = 1 ; |
| 1111 | } |
| 1112 | oneof created_present { |
| 1113 | double created = 2 ; |
| 1114 | } |
| 1115 | oneof updated_present { |
| 1116 | double updated = 3 ; |
| 1117 | } |
| 1118 | oneof enacted_present { |
| 1119 | double enacted = 4 ; |
| 1120 | } |
| 1121 | oneof policed_present { |
| 1122 | double policed = 5 ; |
| 1123 | } |
| 1124 | oneof backend_register_present { |
| 1125 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1126 | } |
| 1127 | oneof backend_need_delete_present { |
| 1128 | bool backend_need_delete = 7 ; |
| 1129 | } |
| 1130 | oneof backend_need_reap_present { |
| 1131 | bool backend_need_reap = 8 ; |
| 1132 | } |
| 1133 | oneof backend_status_present { |
| 1134 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1135 | } |
| 1136 | oneof backend_code_present { |
| 1137 | int32 backend_code = 10 ; |
| 1138 | } |
| 1139 | oneof deleted_present { |
| 1140 | bool deleted = 11 ; |
| 1141 | } |
| 1142 | oneof write_protect_present { |
| 1143 | bool write_protect = 12 ; |
| 1144 | } |
| 1145 | oneof lazy_blocked_present { |
| 1146 | bool lazy_blocked = 13 ; |
| 1147 | } |
| 1148 | oneof no_sync_present { |
| 1149 | bool no_sync = 14 ; |
| 1150 | } |
| 1151 | oneof no_policy_present { |
| 1152 | bool no_policy = 15 ; |
| 1153 | } |
| 1154 | oneof policy_status_present { |
| 1155 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1156 | } |
| 1157 | oneof policy_code_present { |
| 1158 | int32 policy_code = 17 ; |
| 1159 | } |
| 1160 | oneof leaf_model_name_present { |
| 1161 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1162 | } |
| 1163 | oneof backend_need_delete_policy_present { |
| 1164 | bool backend_need_delete_policy = 19 ; |
| 1165 | } |
| 1166 | oneof xos_managed_present { |
| 1167 | bool xos_managed = 20 ; |
| 1168 | } |
| 1169 | oneof backend_handle_present { |
| 1170 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1171 | } |
| 1172 | oneof changed_by_step_present { |
| 1173 | double changed_by_step = 22 ; |
| 1174 | } |
| 1175 | oneof changed_by_policy_present { |
| 1176 | double changed_by_policy = 23 ; |
| 1177 | } |
| 1178 | oneof name_present { |
| 1179 | string name = 101 ; |
| 1180 | } |
| 1181 | oneof port_no_present { |
| 1182 | int32 port_no = 103 ; |
| 1183 | } |
| 1184 | oneof admin_state_present { |
| 1185 | string admin_state = 104 ; |
| 1186 | } |
| 1187 | oneof oper_status_present { |
| 1188 | string oper_status = 105 ; |
| 1189 | } |
| 1190 | oneof olt_device_present { |
| 1191 | int32 olt_device_id = 201 [(foreignKey).modelName = "OLTDevice", (foreignKey).reverseFieldName = "pon_ports"]; |
| 1192 | } |
| 1193 | repeated int32 onu_devices_ids = 1001 [(reverseForeignKey).modelName = "ONUDevice"]; |
| 1194 | string class_names = 2046; |
| 1195 | string self_content_type_id = 2047; |
| 1196 | } |
| 1197 | |
| 1198 | message PONPorts { |
| 1199 | repeated PONPort items = 1; |
| 1200 | } |
| 1201 | |
| 1202 | message PortBase { |
| 1203 | option (contentTypeId) = "volt.portbase"; |
| 1204 | oneof id_present { |
| 1205 | int32 id = 1 ; |
| 1206 | } |
| 1207 | oneof created_present { |
| 1208 | double created = 2 ; |
| 1209 | } |
| 1210 | oneof updated_present { |
| 1211 | double updated = 3 ; |
| 1212 | } |
| 1213 | oneof enacted_present { |
| 1214 | double enacted = 4 ; |
| 1215 | } |
| 1216 | oneof policed_present { |
| 1217 | double policed = 5 ; |
| 1218 | } |
| 1219 | oneof backend_register_present { |
| 1220 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1221 | } |
| 1222 | oneof backend_need_delete_present { |
| 1223 | bool backend_need_delete = 7 ; |
| 1224 | } |
| 1225 | oneof backend_need_reap_present { |
| 1226 | bool backend_need_reap = 8 ; |
| 1227 | } |
| 1228 | oneof backend_status_present { |
| 1229 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1230 | } |
| 1231 | oneof backend_code_present { |
| 1232 | int32 backend_code = 10 ; |
| 1233 | } |
| 1234 | oneof deleted_present { |
| 1235 | bool deleted = 11 ; |
| 1236 | } |
| 1237 | oneof write_protect_present { |
| 1238 | bool write_protect = 12 ; |
| 1239 | } |
| 1240 | oneof lazy_blocked_present { |
| 1241 | bool lazy_blocked = 13 ; |
| 1242 | } |
| 1243 | oneof no_sync_present { |
| 1244 | bool no_sync = 14 ; |
| 1245 | } |
| 1246 | oneof no_policy_present { |
| 1247 | bool no_policy = 15 ; |
| 1248 | } |
| 1249 | oneof policy_status_present { |
| 1250 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1251 | } |
| 1252 | oneof policy_code_present { |
| 1253 | int32 policy_code = 17 ; |
| 1254 | } |
| 1255 | oneof leaf_model_name_present { |
| 1256 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1257 | } |
| 1258 | oneof backend_need_delete_policy_present { |
| 1259 | bool backend_need_delete_policy = 19 ; |
| 1260 | } |
| 1261 | oneof xos_managed_present { |
| 1262 | bool xos_managed = 20 ; |
| 1263 | } |
| 1264 | oneof backend_handle_present { |
| 1265 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1266 | } |
| 1267 | oneof changed_by_step_present { |
| 1268 | double changed_by_step = 22 ; |
| 1269 | } |
| 1270 | oneof changed_by_policy_present { |
| 1271 | double changed_by_policy = 23 ; |
| 1272 | } |
| 1273 | oneof name_present { |
| 1274 | string name = 101 ; |
| 1275 | } |
| 1276 | oneof port_no_present { |
| 1277 | int32 port_no = 103 ; |
| 1278 | } |
| 1279 | oneof admin_state_present { |
| 1280 | string admin_state = 104 ; |
| 1281 | } |
| 1282 | oneof oper_status_present { |
| 1283 | string oper_status = 105 ; |
| 1284 | } |
| 1285 | string class_names = 2046; |
| 1286 | string self_content_type_id = 2047; |
| 1287 | } |
| 1288 | |
| 1289 | message PortBases { |
| 1290 | repeated PortBase items = 1; |
| 1291 | } |
| 1292 | |
| 1293 | message RCORDIpAddress { |
| 1294 | option (contentTypeId) = "rcord.rcordipaddress"; |
| 1295 | oneof id_present { |
| 1296 | int32 id = 1 ; |
| 1297 | } |
| 1298 | oneof created_present { |
| 1299 | double created = 2 ; |
| 1300 | } |
| 1301 | oneof updated_present { |
| 1302 | double updated = 3 ; |
| 1303 | } |
| 1304 | oneof enacted_present { |
| 1305 | double enacted = 4 ; |
| 1306 | } |
| 1307 | oneof policed_present { |
| 1308 | double policed = 5 ; |
| 1309 | } |
| 1310 | oneof backend_register_present { |
| 1311 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1312 | } |
| 1313 | oneof backend_need_delete_present { |
| 1314 | bool backend_need_delete = 7 ; |
| 1315 | } |
| 1316 | oneof backend_need_reap_present { |
| 1317 | bool backend_need_reap = 8 ; |
| 1318 | } |
| 1319 | oneof backend_status_present { |
| 1320 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1321 | } |
| 1322 | oneof backend_code_present { |
| 1323 | int32 backend_code = 10 ; |
| 1324 | } |
| 1325 | oneof deleted_present { |
| 1326 | bool deleted = 11 ; |
| 1327 | } |
| 1328 | oneof write_protect_present { |
| 1329 | bool write_protect = 12 ; |
| 1330 | } |
| 1331 | oneof lazy_blocked_present { |
| 1332 | bool lazy_blocked = 13 ; |
| 1333 | } |
| 1334 | oneof no_sync_present { |
| 1335 | bool no_sync = 14 ; |
| 1336 | } |
| 1337 | oneof no_policy_present { |
| 1338 | bool no_policy = 15 ; |
| 1339 | } |
| 1340 | oneof policy_status_present { |
| 1341 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1342 | } |
| 1343 | oneof policy_code_present { |
| 1344 | int32 policy_code = 17 ; |
| 1345 | } |
| 1346 | oneof leaf_model_name_present { |
| 1347 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1348 | } |
| 1349 | oneof backend_need_delete_policy_present { |
| 1350 | bool backend_need_delete_policy = 19 ; |
| 1351 | } |
| 1352 | oneof xos_managed_present { |
| 1353 | bool xos_managed = 20 ; |
| 1354 | } |
| 1355 | oneof backend_handle_present { |
| 1356 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1357 | } |
| 1358 | oneof changed_by_step_present { |
| 1359 | double changed_by_step = 22 ; |
| 1360 | } |
| 1361 | oneof changed_by_policy_present { |
| 1362 | double changed_by_policy = 23 ; |
| 1363 | } |
| 1364 | oneof subscriber_present { |
| 1365 | int32 subscriber_id = 101 [(val).nonNull = true, (foreignKey).modelName = "RCORDSubscriber", (foreignKey).reverseFieldName = "ips"]; |
| 1366 | } |
| 1367 | oneof ip_present { |
| 1368 | string ip = 102 [(val).maxLength = 52, (val).nonNull = true]; |
| 1369 | } |
| 1370 | oneof description_present { |
| 1371 | string description = 103 [(val).maxLength = 254, (val).nonNull = true]; |
| 1372 | } |
| 1373 | string class_names = 2046; |
| 1374 | string self_content_type_id = 2047; |
| 1375 | } |
| 1376 | |
| 1377 | message RCORDIpAddresses { |
| 1378 | repeated RCORDIpAddress items = 1; |
| 1379 | } |
| 1380 | |
| 1381 | message RCORDService { |
| 1382 | option (contentTypeId) = "rcord.rcordservice"; |
| 1383 | oneof id_present { |
| 1384 | int32 id = 1 ; |
| 1385 | } |
| 1386 | oneof created_present { |
| 1387 | double created = 2 ; |
| 1388 | } |
| 1389 | oneof updated_present { |
| 1390 | double updated = 3 ; |
| 1391 | } |
| 1392 | oneof enacted_present { |
| 1393 | double enacted = 4 ; |
| 1394 | } |
| 1395 | oneof policed_present { |
| 1396 | double policed = 5 ; |
| 1397 | } |
| 1398 | oneof backend_register_present { |
| 1399 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1400 | } |
| 1401 | oneof backend_need_delete_present { |
| 1402 | bool backend_need_delete = 7 ; |
| 1403 | } |
| 1404 | oneof backend_need_reap_present { |
| 1405 | bool backend_need_reap = 8 ; |
| 1406 | } |
| 1407 | oneof backend_status_present { |
| 1408 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1409 | } |
| 1410 | oneof backend_code_present { |
| 1411 | int32 backend_code = 10 ; |
| 1412 | } |
| 1413 | oneof deleted_present { |
| 1414 | bool deleted = 11 ; |
| 1415 | } |
| 1416 | oneof write_protect_present { |
| 1417 | bool write_protect = 12 ; |
| 1418 | } |
| 1419 | oneof lazy_blocked_present { |
| 1420 | bool lazy_blocked = 13 ; |
| 1421 | } |
| 1422 | oneof no_sync_present { |
| 1423 | bool no_sync = 14 ; |
| 1424 | } |
| 1425 | oneof no_policy_present { |
| 1426 | bool no_policy = 15 ; |
| 1427 | } |
| 1428 | oneof policy_status_present { |
| 1429 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1430 | } |
| 1431 | oneof policy_code_present { |
| 1432 | int32 policy_code = 17 ; |
| 1433 | } |
| 1434 | oneof leaf_model_name_present { |
| 1435 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1436 | } |
| 1437 | oneof backend_need_delete_policy_present { |
| 1438 | bool backend_need_delete_policy = 19 ; |
| 1439 | } |
| 1440 | oneof xos_managed_present { |
| 1441 | bool xos_managed = 20 ; |
| 1442 | } |
| 1443 | oneof backend_handle_present { |
| 1444 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1445 | } |
| 1446 | oneof changed_by_step_present { |
| 1447 | double changed_by_step = 22 ; |
| 1448 | } |
| 1449 | oneof changed_by_policy_present { |
| 1450 | double changed_by_policy = 23 ; |
| 1451 | } |
| 1452 | oneof description_present { |
| 1453 | string description = 101 [(val).maxLength = 254]; |
| 1454 | } |
| 1455 | oneof enabled_present { |
| 1456 | bool enabled = 102 [(val).nonNull = true]; |
| 1457 | } |
| 1458 | oneof kind_present { |
| 1459 | string kind = 103 [(val).maxLength = 30, (val).nonNull = true]; |
| 1460 | } |
| 1461 | oneof name_present { |
| 1462 | string name = 104 [(val).maxLength = 30, (val).nonNull = true]; |
| 1463 | } |
| 1464 | oneof versionNumber_present { |
| 1465 | string versionNumber = 105 [(val).maxLength = 30]; |
| 1466 | } |
| 1467 | oneof published_present { |
| 1468 | bool published = 106 [(val).nonNull = true]; |
| 1469 | } |
| 1470 | oneof icon_url_present { |
| 1471 | string icon_url = 108 [(val).maxLength = 1024]; |
| 1472 | } |
| 1473 | oneof public_key_present { |
| 1474 | string public_key = 109 [(val).maxLength = 4096]; |
| 1475 | } |
| 1476 | oneof private_key_fn_present { |
| 1477 | string private_key_fn = 110 [(val).maxLength = 4096]; |
| 1478 | } |
| 1479 | oneof service_specific_id_present { |
| 1480 | string service_specific_id = 111 [(val).maxLength = 30]; |
| 1481 | } |
| 1482 | oneof service_specific_attribute_present { |
| 1483 | string service_specific_attribute = 112 ; |
| 1484 | } |
| 1485 | oneof access_present { |
| 1486 | string access = 211 [(val).maxLength = 30]; |
| 1487 | } |
| 1488 | repeated int32 addresspools_ids = 1001 [(reverseForeignKey).modelName = "AddressPool"]; |
| 1489 | repeated int32 serviceports_ids = 1002 [(reverseForeignKey).modelName = "ServicePort"]; |
| 1490 | repeated int32 serviceattributes_ids = 1003 [(reverseForeignKey).modelName = "ServiceAttribute"]; |
| 1491 | repeated int32 provided_dependencies_ids = 1004 [(reverseForeignKey).modelName = "ServiceDependency"]; |
| 1492 | repeated int32 subscribed_dependencies_ids = 1005 [(reverseForeignKey).modelName = "ServiceDependency"]; |
| 1493 | repeated int32 slices_ids = 1006 [(reverseForeignKey).modelName = "Slice"]; |
| 1494 | repeated int32 tags_ids = 1007 [(reverseForeignKey).modelName = "Tag"]; |
| 1495 | repeated int32 service_interfaces_ids = 1008 [(reverseForeignKey).modelName = "ServiceInterface"]; |
| 1496 | repeated int32 service_instances_ids = 1009 [(reverseForeignKey).modelName = "ServiceInstance"]; |
| 1497 | repeated int32 subscribed_links_ids = 1010 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 1498 | repeated int32 owned_trust_domains_ids = 1011 [(reverseForeignKey).modelName = "TrustDomain"]; |
| 1499 | string class_names = 2046; |
| 1500 | string self_content_type_id = 2047; |
| 1501 | } |
| 1502 | |
| 1503 | message RCORDServices { |
| 1504 | repeated RCORDService items = 1; |
| 1505 | } |
| 1506 | |
| 1507 | message RCORDSubscriber { |
| 1508 | option (contentTypeId) = "rcord.rcordsubscriber"; |
| 1509 | oneof id_present { |
| 1510 | int32 id = 1 ; |
| 1511 | } |
| 1512 | oneof created_present { |
| 1513 | double created = 2 ; |
| 1514 | } |
| 1515 | oneof updated_present { |
| 1516 | double updated = 3 ; |
| 1517 | } |
| 1518 | oneof enacted_present { |
| 1519 | double enacted = 4 ; |
| 1520 | } |
| 1521 | oneof policed_present { |
| 1522 | double policed = 5 ; |
| 1523 | } |
| 1524 | oneof backend_register_present { |
| 1525 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1526 | } |
| 1527 | oneof backend_need_delete_present { |
| 1528 | bool backend_need_delete = 7 ; |
| 1529 | } |
| 1530 | oneof backend_need_reap_present { |
| 1531 | bool backend_need_reap = 8 ; |
| 1532 | } |
| 1533 | oneof backend_status_present { |
| 1534 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1535 | } |
| 1536 | oneof backend_code_present { |
| 1537 | int32 backend_code = 10 ; |
| 1538 | } |
| 1539 | oneof deleted_present { |
| 1540 | bool deleted = 11 ; |
| 1541 | } |
| 1542 | oneof write_protect_present { |
| 1543 | bool write_protect = 12 ; |
| 1544 | } |
| 1545 | oneof lazy_blocked_present { |
| 1546 | bool lazy_blocked = 13 ; |
| 1547 | } |
| 1548 | oneof no_sync_present { |
| 1549 | bool no_sync = 14 ; |
| 1550 | } |
| 1551 | oneof no_policy_present { |
| 1552 | bool no_policy = 15 ; |
| 1553 | } |
| 1554 | oneof policy_status_present { |
| 1555 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1556 | } |
| 1557 | oneof policy_code_present { |
| 1558 | int32 policy_code = 17 ; |
| 1559 | } |
| 1560 | oneof leaf_model_name_present { |
| 1561 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1562 | } |
| 1563 | oneof backend_need_delete_policy_present { |
| 1564 | bool backend_need_delete_policy = 19 ; |
| 1565 | } |
| 1566 | oneof xos_managed_present { |
| 1567 | bool xos_managed = 20 ; |
| 1568 | } |
| 1569 | oneof backend_handle_present { |
| 1570 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1571 | } |
| 1572 | oneof changed_by_step_present { |
| 1573 | double changed_by_step = 22 ; |
| 1574 | } |
| 1575 | oneof changed_by_policy_present { |
| 1576 | double changed_by_policy = 23 ; |
| 1577 | } |
| 1578 | oneof name_present { |
| 1579 | string name = 101 [(val).maxLength = 200]; |
| 1580 | } |
| 1581 | oneof owner_present { |
| 1582 | int32 owner_id = 102 [(val).nonNull = true, (foreignKey).modelName = "Service", (foreignKey).reverseFieldName = "service_instances"]; |
| 1583 | } |
| 1584 | oneof service_specific_id_present { |
| 1585 | string service_specific_id = 103 [(val).maxLength = 30]; |
| 1586 | } |
| 1587 | oneof service_specific_attribute_present { |
| 1588 | string service_specific_attribute = 110 ; |
| 1589 | } |
| 1590 | oneof link_deleted_count_present { |
| 1591 | uint32 link_deleted_count = 111 ; |
| 1592 | } |
| 1593 | oneof master_serviceinstance_present { |
| 1594 | int32 master_serviceinstance_id = 112 [(foreignKey).modelName = "ServiceInstance", (foreignKey).reverseFieldName = "child_serviceinstances"]; |
| 1595 | } |
| 1596 | oneof status_present { |
| 1597 | string status = 211 [(val).maxLength = 30]; |
| 1598 | } |
| 1599 | oneof c_tag_present { |
| 1600 | int32 c_tag = 212 ; |
| 1601 | } |
| 1602 | oneof onu_device_present { |
| 1603 | string onu_device = 213 ; |
| 1604 | } |
| 1605 | oneof creator_present { |
| 1606 | int32 creator_id = 215 [(foreignKey).modelName = "User", (foreignKey).reverseFieldName = "created_rcord_subscribers"]; |
| 1607 | } |
| 1608 | oneof mac_address_present { |
| 1609 | string mac_address = 218 ; |
| 1610 | } |
| 1611 | oneof s_tag_present { |
| 1612 | int32 s_tag = 219 ; |
| 1613 | } |
| 1614 | oneof nas_port_id_present { |
| 1615 | string nas_port_id = 220 ; |
| 1616 | } |
| 1617 | oneof circuit_id_present { |
| 1618 | string circuit_id = 221 ; |
| 1619 | } |
| 1620 | oneof remote_id_present { |
| 1621 | string remote_id = 222 ; |
| 1622 | } |
| 1623 | repeated int32 ports_ids = 1001 [(reverseForeignKey).modelName = "Port"]; |
| 1624 | repeated int32 child_serviceinstances_ids = 1002 [(reverseForeignKey).modelName = "ServiceInstance"]; |
| 1625 | repeated int32 provided_links_ids = 1003 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 1626 | repeated int32 subscribed_links_ids = 1005 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 1627 | repeated int32 service_instance_attributes_ids = 1006 [(reverseForeignKey).modelName = "ServiceInstanceAttribute"]; |
| 1628 | repeated int32 ips_ids = 1101 [(reverseForeignKey).modelName = "RCORDIpAddress"]; |
| 1629 | string class_names = 2046; |
| 1630 | string self_content_type_id = 2047; |
| 1631 | } |
| 1632 | |
| 1633 | message RCORDSubscribers { |
| 1634 | repeated RCORDSubscriber items = 1; |
| 1635 | } |
| 1636 | |
| 1637 | message UNIPort { |
| 1638 | option (contentTypeId) = "volt.uniport"; |
| 1639 | oneof id_present { |
| 1640 | int32 id = 1 ; |
| 1641 | } |
| 1642 | oneof created_present { |
| 1643 | double created = 2 ; |
| 1644 | } |
| 1645 | oneof updated_present { |
| 1646 | double updated = 3 ; |
| 1647 | } |
| 1648 | oneof enacted_present { |
| 1649 | double enacted = 4 ; |
| 1650 | } |
| 1651 | oneof policed_present { |
| 1652 | double policed = 5 ; |
| 1653 | } |
| 1654 | oneof backend_register_present { |
| 1655 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1656 | } |
| 1657 | oneof backend_need_delete_present { |
| 1658 | bool backend_need_delete = 7 ; |
| 1659 | } |
| 1660 | oneof backend_need_reap_present { |
| 1661 | bool backend_need_reap = 8 ; |
| 1662 | } |
| 1663 | oneof backend_status_present { |
| 1664 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1665 | } |
| 1666 | oneof backend_code_present { |
| 1667 | int32 backend_code = 10 ; |
| 1668 | } |
| 1669 | oneof deleted_present { |
| 1670 | bool deleted = 11 ; |
| 1671 | } |
| 1672 | oneof write_protect_present { |
| 1673 | bool write_protect = 12 ; |
| 1674 | } |
| 1675 | oneof lazy_blocked_present { |
| 1676 | bool lazy_blocked = 13 ; |
| 1677 | } |
| 1678 | oneof no_sync_present { |
| 1679 | bool no_sync = 14 ; |
| 1680 | } |
| 1681 | oneof no_policy_present { |
| 1682 | bool no_policy = 15 ; |
| 1683 | } |
| 1684 | oneof policy_status_present { |
| 1685 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1686 | } |
| 1687 | oneof policy_code_present { |
| 1688 | int32 policy_code = 17 ; |
| 1689 | } |
| 1690 | oneof leaf_model_name_present { |
| 1691 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1692 | } |
| 1693 | oneof backend_need_delete_policy_present { |
| 1694 | bool backend_need_delete_policy = 19 ; |
| 1695 | } |
| 1696 | oneof xos_managed_present { |
| 1697 | bool xos_managed = 20 ; |
| 1698 | } |
| 1699 | oneof backend_handle_present { |
| 1700 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1701 | } |
| 1702 | oneof changed_by_step_present { |
| 1703 | double changed_by_step = 22 ; |
| 1704 | } |
| 1705 | oneof changed_by_policy_present { |
| 1706 | double changed_by_policy = 23 ; |
| 1707 | } |
| 1708 | oneof name_present { |
| 1709 | string name = 101 ; |
| 1710 | } |
| 1711 | oneof port_no_present { |
| 1712 | int32 port_no = 103 ; |
| 1713 | } |
| 1714 | oneof admin_state_present { |
| 1715 | string admin_state = 104 ; |
| 1716 | } |
| 1717 | oneof oper_status_present { |
| 1718 | string oper_status = 105 ; |
| 1719 | } |
| 1720 | oneof onu_device_present { |
| 1721 | int32 onu_device_id = 201 [(foreignKey).modelName = "ONUDevice", (foreignKey).reverseFieldName = "uni_ports"]; |
| 1722 | } |
| 1723 | string class_names = 2046; |
| 1724 | string self_content_type_id = 2047; |
| 1725 | } |
| 1726 | |
| 1727 | message UNIPorts { |
| 1728 | repeated UNIPort items = 1; |
| 1729 | } |
| 1730 | |
| 1731 | message VOLTService { |
| 1732 | option (contentTypeId) = "volt.voltservice"; |
| 1733 | oneof id_present { |
| 1734 | int32 id = 1 ; |
| 1735 | } |
| 1736 | oneof created_present { |
| 1737 | double created = 2 ; |
| 1738 | } |
| 1739 | oneof updated_present { |
| 1740 | double updated = 3 ; |
| 1741 | } |
| 1742 | oneof enacted_present { |
| 1743 | double enacted = 4 ; |
| 1744 | } |
| 1745 | oneof policed_present { |
| 1746 | double policed = 5 ; |
| 1747 | } |
| 1748 | oneof backend_register_present { |
| 1749 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1750 | } |
| 1751 | oneof backend_need_delete_present { |
| 1752 | bool backend_need_delete = 7 ; |
| 1753 | } |
| 1754 | oneof backend_need_reap_present { |
| 1755 | bool backend_need_reap = 8 ; |
| 1756 | } |
| 1757 | oneof backend_status_present { |
| 1758 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1759 | } |
| 1760 | oneof backend_code_present { |
| 1761 | int32 backend_code = 10 ; |
| 1762 | } |
| 1763 | oneof deleted_present { |
| 1764 | bool deleted = 11 ; |
| 1765 | } |
| 1766 | oneof write_protect_present { |
| 1767 | bool write_protect = 12 ; |
| 1768 | } |
| 1769 | oneof lazy_blocked_present { |
| 1770 | bool lazy_blocked = 13 ; |
| 1771 | } |
| 1772 | oneof no_sync_present { |
| 1773 | bool no_sync = 14 ; |
| 1774 | } |
| 1775 | oneof no_policy_present { |
| 1776 | bool no_policy = 15 ; |
| 1777 | } |
| 1778 | oneof policy_status_present { |
| 1779 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1780 | } |
| 1781 | oneof policy_code_present { |
| 1782 | int32 policy_code = 17 ; |
| 1783 | } |
| 1784 | oneof leaf_model_name_present { |
| 1785 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1786 | } |
| 1787 | oneof backend_need_delete_policy_present { |
| 1788 | bool backend_need_delete_policy = 19 ; |
| 1789 | } |
| 1790 | oneof xos_managed_present { |
| 1791 | bool xos_managed = 20 ; |
| 1792 | } |
| 1793 | oneof backend_handle_present { |
| 1794 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1795 | } |
| 1796 | oneof changed_by_step_present { |
| 1797 | double changed_by_step = 22 ; |
| 1798 | } |
| 1799 | oneof changed_by_policy_present { |
| 1800 | double changed_by_policy = 23 ; |
| 1801 | } |
| 1802 | oneof description_present { |
| 1803 | string description = 101 [(val).maxLength = 254]; |
| 1804 | } |
| 1805 | oneof enabled_present { |
| 1806 | bool enabled = 102 [(val).nonNull = true]; |
| 1807 | } |
| 1808 | oneof kind_present { |
| 1809 | string kind = 103 [(val).maxLength = 30, (val).nonNull = true]; |
| 1810 | } |
| 1811 | oneof name_present { |
| 1812 | string name = 104 [(val).maxLength = 30, (val).nonNull = true]; |
| 1813 | } |
| 1814 | oneof versionNumber_present { |
| 1815 | string versionNumber = 105 [(val).maxLength = 30]; |
| 1816 | } |
| 1817 | oneof published_present { |
| 1818 | bool published = 106 [(val).nonNull = true]; |
| 1819 | } |
| 1820 | oneof icon_url_present { |
| 1821 | string icon_url = 108 [(val).maxLength = 1024]; |
| 1822 | } |
| 1823 | oneof public_key_present { |
| 1824 | string public_key = 109 [(val).maxLength = 4096]; |
| 1825 | } |
| 1826 | oneof private_key_fn_present { |
| 1827 | string private_key_fn = 110 [(val).maxLength = 4096]; |
| 1828 | } |
| 1829 | oneof service_specific_id_present { |
| 1830 | string service_specific_id = 111 [(val).maxLength = 30]; |
| 1831 | } |
| 1832 | oneof service_specific_attribute_present { |
| 1833 | string service_specific_attribute = 112 ; |
| 1834 | } |
| 1835 | oneof voltha_url_present { |
| 1836 | string voltha_url = 201 [(val).maxLength = 254]; |
| 1837 | } |
| 1838 | oneof voltha_port_present { |
| 1839 | int32 voltha_port = 202 ; |
| 1840 | } |
| 1841 | oneof voltha_user_present { |
| 1842 | string voltha_user = 203 [(val).maxLength = 254]; |
| 1843 | } |
| 1844 | oneof voltha_pass_present { |
| 1845 | string voltha_pass = 204 [(val).maxLength = 254]; |
| 1846 | } |
| 1847 | oneof onos_voltha_url_present { |
| 1848 | string onos_voltha_url = 205 [(val).maxLength = 254]; |
| 1849 | } |
| 1850 | oneof onos_voltha_port_present { |
| 1851 | int32 onos_voltha_port = 206 ; |
| 1852 | } |
| 1853 | oneof onos_voltha_user_present { |
| 1854 | string onos_voltha_user = 207 [(val).maxLength = 254]; |
| 1855 | } |
| 1856 | oneof onos_voltha_pass_present { |
| 1857 | string onos_voltha_pass = 208 [(val).maxLength = 254]; |
| 1858 | } |
| 1859 | repeated int32 addresspools_ids = 1001 [(reverseForeignKey).modelName = "AddressPool"]; |
| 1860 | repeated int32 serviceports_ids = 1002 [(reverseForeignKey).modelName = "ServicePort"]; |
| 1861 | repeated int32 serviceattributes_ids = 1003 [(reverseForeignKey).modelName = "ServiceAttribute"]; |
| 1862 | repeated int32 provided_dependencies_ids = 1004 [(reverseForeignKey).modelName = "ServiceDependency"]; |
| 1863 | repeated int32 subscribed_dependencies_ids = 1005 [(reverseForeignKey).modelName = "ServiceDependency"]; |
| 1864 | repeated int32 slices_ids = 1006 [(reverseForeignKey).modelName = "Slice"]; |
| 1865 | repeated int32 tags_ids = 1007 [(reverseForeignKey).modelName = "Tag"]; |
| 1866 | repeated int32 service_interfaces_ids = 1008 [(reverseForeignKey).modelName = "ServiceInterface"]; |
| 1867 | repeated int32 service_instances_ids = 1009 [(reverseForeignKey).modelName = "ServiceInstance"]; |
| 1868 | repeated int32 subscribed_links_ids = 1010 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 1869 | repeated int32 owned_trust_domains_ids = 1011 [(reverseForeignKey).modelName = "TrustDomain"]; |
| 1870 | repeated int32 volt_devices_ids = 1101 [(reverseForeignKey).modelName = "OLTDevice"]; |
| 1871 | string class_names = 2046; |
| 1872 | string self_content_type_id = 2047; |
| 1873 | } |
| 1874 | |
| 1875 | message VOLTServices { |
| 1876 | repeated VOLTService items = 1; |
| 1877 | } |
| 1878 | |
| 1879 | message VOLTServiceInstance { |
| 1880 | option (contentTypeId) = "volt.voltserviceinstance"; |
| 1881 | oneof id_present { |
| 1882 | int32 id = 1 ; |
| 1883 | } |
| 1884 | oneof created_present { |
| 1885 | double created = 2 ; |
| 1886 | } |
| 1887 | oneof updated_present { |
| 1888 | double updated = 3 ; |
| 1889 | } |
| 1890 | oneof enacted_present { |
| 1891 | double enacted = 4 ; |
| 1892 | } |
| 1893 | oneof policed_present { |
| 1894 | double policed = 5 ; |
| 1895 | } |
| 1896 | oneof backend_register_present { |
| 1897 | string backend_register = 6 [(val).maxLength = 1024]; |
| 1898 | } |
| 1899 | oneof backend_need_delete_present { |
| 1900 | bool backend_need_delete = 7 ; |
| 1901 | } |
| 1902 | oneof backend_need_reap_present { |
| 1903 | bool backend_need_reap = 8 ; |
| 1904 | } |
| 1905 | oneof backend_status_present { |
| 1906 | string backend_status = 9 [(val).maxLength = 1024]; |
| 1907 | } |
| 1908 | oneof backend_code_present { |
| 1909 | int32 backend_code = 10 ; |
| 1910 | } |
| 1911 | oneof deleted_present { |
| 1912 | bool deleted = 11 ; |
| 1913 | } |
| 1914 | oneof write_protect_present { |
| 1915 | bool write_protect = 12 ; |
| 1916 | } |
| 1917 | oneof lazy_blocked_present { |
| 1918 | bool lazy_blocked = 13 ; |
| 1919 | } |
| 1920 | oneof no_sync_present { |
| 1921 | bool no_sync = 14 ; |
| 1922 | } |
| 1923 | oneof no_policy_present { |
| 1924 | bool no_policy = 15 ; |
| 1925 | } |
| 1926 | oneof policy_status_present { |
| 1927 | string policy_status = 16 [(val).maxLength = 1024]; |
| 1928 | } |
| 1929 | oneof policy_code_present { |
| 1930 | int32 policy_code = 17 ; |
| 1931 | } |
| 1932 | oneof leaf_model_name_present { |
| 1933 | string leaf_model_name = 18 [(val).maxLength = 1024, (val).nonNull = true]; |
| 1934 | } |
| 1935 | oneof backend_need_delete_policy_present { |
| 1936 | bool backend_need_delete_policy = 19 ; |
| 1937 | } |
| 1938 | oneof xos_managed_present { |
| 1939 | bool xos_managed = 20 ; |
| 1940 | } |
| 1941 | oneof backend_handle_present { |
| 1942 | string backend_handle = 21 [(val).maxLength = 1024]; |
| 1943 | } |
| 1944 | oneof changed_by_step_present { |
| 1945 | double changed_by_step = 22 ; |
| 1946 | } |
| 1947 | oneof changed_by_policy_present { |
| 1948 | double changed_by_policy = 23 ; |
| 1949 | } |
| 1950 | oneof name_present { |
| 1951 | string name = 101 [(val).maxLength = 200]; |
| 1952 | } |
| 1953 | oneof owner_present { |
| 1954 | int32 owner_id = 102 [(val).nonNull = true, (foreignKey).modelName = "Service", (foreignKey).reverseFieldName = "service_instances"]; |
| 1955 | } |
| 1956 | oneof service_specific_id_present { |
| 1957 | string service_specific_id = 103 [(val).maxLength = 30]; |
| 1958 | } |
| 1959 | oneof service_specific_attribute_present { |
| 1960 | string service_specific_attribute = 110 ; |
| 1961 | } |
| 1962 | oneof link_deleted_count_present { |
| 1963 | uint32 link_deleted_count = 111 ; |
| 1964 | } |
| 1965 | oneof master_serviceinstance_present { |
| 1966 | int32 master_serviceinstance_id = 112 [(foreignKey).modelName = "ServiceInstance", (foreignKey).reverseFieldName = "child_serviceinstances"]; |
| 1967 | } |
| 1968 | oneof description_present { |
| 1969 | string description = 201 [(val).maxLength = 254]; |
| 1970 | } |
| 1971 | oneof onu_device_present { |
| 1972 | int32 onu_device_id = 202 [(foreignKey).modelName = "ONUDevice", (foreignKey).reverseFieldName = "volt_service_instances"]; |
| 1973 | } |
| 1974 | repeated int32 ports_ids = 1001 [(reverseForeignKey).modelName = "Port"]; |
| 1975 | repeated int32 child_serviceinstances_ids = 1002 [(reverseForeignKey).modelName = "ServiceInstance"]; |
| 1976 | repeated int32 provided_links_ids = 1003 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 1977 | repeated int32 subscribed_links_ids = 1005 [(reverseForeignKey).modelName = "ServiceInstanceLink"]; |
| 1978 | repeated int32 service_instance_attributes_ids = 1006 [(reverseForeignKey).modelName = "ServiceInstanceAttribute"]; |
| 1979 | string class_names = 2046; |
| 1980 | string self_content_type_id = 2047; |
| 1981 | } |
| 1982 | |
| 1983 | message VOLTServiceInstances { |
| 1984 | repeated VOLTServiceInstance items = 1; |
| 1985 | } |
| 1986 | |
| 1987 | |
| 1988 | service xos { |
| 1989 | |
| 1990 | rpc ListAttWorkflowDriverService(google.protobuf.Empty) returns (AttWorkflowDriverServices) { |
| 1991 | option (googleapi.http) = { |
| 1992 | get: "/xosapi/v1/att-workflow-driver/attworkflowdriverservices" |
| 1993 | }; |
| 1994 | } |
| 1995 | rpc FilterAttWorkflowDriverService(Query) returns (AttWorkflowDriverServices) { |
| 1996 | } |
| 1997 | rpc GetAttWorkflowDriverService(ID) returns (AttWorkflowDriverService) { |
| 1998 | option (googleapi.http) = { |
| 1999 | get: "/xosapi/v1/att-workflow-driver/attworkflowdriverservices/{id}" |
| 2000 | }; |
| 2001 | } |
| 2002 | rpc CreateAttWorkflowDriverService(AttWorkflowDriverService) returns (AttWorkflowDriverService) { |
| 2003 | option (googleapi.http) = { |
| 2004 | post: "/xosapi/v1/att-workflow-driver/attworkflowdriverservices" |
| 2005 | body: "*" |
| 2006 | }; |
| 2007 | } |
| 2008 | rpc UpdateAttWorkflowDriverService(AttWorkflowDriverService) returns (AttWorkflowDriverService) { |
| 2009 | option (googleapi.http) = { |
| 2010 | put: "/xosapi/v1/att-workflow-driver/attworkflowdriverservices/{id}" |
| 2011 | body: "*" |
| 2012 | }; |
| 2013 | } |
| 2014 | rpc DeleteAttWorkflowDriverService(ID) returns (google.protobuf.Empty) { |
| 2015 | option (googleapi.http) = { |
| 2016 | delete: "/xosapi/v1/att-workflow-driver/attworkflowdriverservices/{id}" |
| 2017 | }; |
| 2018 | } |
| 2019 | |
| 2020 | rpc ListAttWorkflowDriverServiceInstance(google.protobuf.Empty) returns (AttWorkflowDriverServiceInstances) { |
| 2021 | option (googleapi.http) = { |
| 2022 | get: "/xosapi/v1/att-workflow-driver/attworkflowdriverserviceinstances" |
| 2023 | }; |
| 2024 | } |
| 2025 | rpc FilterAttWorkflowDriverServiceInstance(Query) returns (AttWorkflowDriverServiceInstances) { |
| 2026 | } |
| 2027 | rpc GetAttWorkflowDriverServiceInstance(ID) returns (AttWorkflowDriverServiceInstance) { |
| 2028 | option (googleapi.http) = { |
| 2029 | get: "/xosapi/v1/att-workflow-driver/attworkflowdriverserviceinstances/{id}" |
| 2030 | }; |
| 2031 | } |
| 2032 | rpc CreateAttWorkflowDriverServiceInstance(AttWorkflowDriverServiceInstance) returns (AttWorkflowDriverServiceInstance) { |
| 2033 | option (googleapi.http) = { |
| 2034 | post: "/xosapi/v1/att-workflow-driver/attworkflowdriverserviceinstances" |
| 2035 | body: "*" |
| 2036 | }; |
| 2037 | } |
| 2038 | rpc UpdateAttWorkflowDriverServiceInstance(AttWorkflowDriverServiceInstance) returns (AttWorkflowDriverServiceInstance) { |
| 2039 | option (googleapi.http) = { |
| 2040 | put: "/xosapi/v1/att-workflow-driver/attworkflowdriverserviceinstances/{id}" |
| 2041 | body: "*" |
| 2042 | }; |
| 2043 | } |
| 2044 | rpc DeleteAttWorkflowDriverServiceInstance(ID) returns (google.protobuf.Empty) { |
| 2045 | option (googleapi.http) = { |
| 2046 | delete: "/xosapi/v1/att-workflow-driver/attworkflowdriverserviceinstances/{id}" |
| 2047 | }; |
| 2048 | } |
| 2049 | |
| 2050 | rpc ListAttWorkflowDriverWhiteListEntry(google.protobuf.Empty) returns (attworkflowdriverwhitelistentries) { |
| 2051 | option (googleapi.http) = { |
| 2052 | get: "/xosapi/v1/att-workflow-driver/attworkflowdriverwhitelistentries" |
| 2053 | }; |
| 2054 | } |
| 2055 | rpc FilterAttWorkflowDriverWhiteListEntry(Query) returns (attworkflowdriverwhitelistentries) { |
| 2056 | } |
| 2057 | rpc GetAttWorkflowDriverWhiteListEntry(ID) returns (AttWorkflowDriverWhiteListEntry) { |
| 2058 | option (googleapi.http) = { |
| 2059 | get: "/xosapi/v1/att-workflow-driver/attworkflowdriverwhitelistentries/{id}" |
| 2060 | }; |
| 2061 | } |
| 2062 | rpc CreateAttWorkflowDriverWhiteListEntry(AttWorkflowDriverWhiteListEntry) returns (AttWorkflowDriverWhiteListEntry) { |
| 2063 | option (googleapi.http) = { |
| 2064 | post: "/xosapi/v1/att-workflow-driver/attworkflowdriverwhitelistentries" |
| 2065 | body: "*" |
| 2066 | }; |
| 2067 | } |
| 2068 | rpc UpdateAttWorkflowDriverWhiteListEntry(AttWorkflowDriverWhiteListEntry) returns (AttWorkflowDriverWhiteListEntry) { |
| 2069 | option (googleapi.http) = { |
| 2070 | put: "/xosapi/v1/att-workflow-driver/attworkflowdriverwhitelistentries/{id}" |
| 2071 | body: "*" |
| 2072 | }; |
| 2073 | } |
| 2074 | rpc DeleteAttWorkflowDriverWhiteListEntry(ID) returns (google.protobuf.Empty) { |
| 2075 | option (googleapi.http) = { |
| 2076 | delete: "/xosapi/v1/att-workflow-driver/attworkflowdriverwhitelistentries/{id}" |
| 2077 | }; |
| 2078 | } |
| 2079 | |
| 2080 | rpc ListBNGPortMapping(google.protobuf.Empty) returns (BNGPortMappings) { |
| 2081 | option (googleapi.http) = { |
| 2082 | get: "/xosapi/v1/fabric-crossconnect/bngportmappings" |
| 2083 | }; |
| 2084 | } |
| 2085 | rpc FilterBNGPortMapping(Query) returns (BNGPortMappings) { |
| 2086 | } |
| 2087 | rpc GetBNGPortMapping(ID) returns (BNGPortMapping) { |
| 2088 | option (googleapi.http) = { |
| 2089 | get: "/xosapi/v1/fabric-crossconnect/bngportmappings/{id}" |
| 2090 | }; |
| 2091 | } |
| 2092 | rpc CreateBNGPortMapping(BNGPortMapping) returns (BNGPortMapping) { |
| 2093 | option (googleapi.http) = { |
| 2094 | post: "/xosapi/v1/fabric-crossconnect/bngportmappings" |
| 2095 | body: "*" |
| 2096 | }; |
| 2097 | } |
| 2098 | rpc UpdateBNGPortMapping(BNGPortMapping) returns (BNGPortMapping) { |
| 2099 | option (googleapi.http) = { |
| 2100 | put: "/xosapi/v1/fabric-crossconnect/bngportmappings/{id}" |
| 2101 | body: "*" |
| 2102 | }; |
| 2103 | } |
| 2104 | rpc DeleteBNGPortMapping(ID) returns (google.protobuf.Empty) { |
| 2105 | option (googleapi.http) = { |
| 2106 | delete: "/xosapi/v1/fabric-crossconnect/bngportmappings/{id}" |
| 2107 | }; |
| 2108 | } |
| 2109 | |
| 2110 | rpc ListFabricCrossconnectService(google.protobuf.Empty) returns (FabricCrossconnectServices) { |
| 2111 | option (googleapi.http) = { |
| 2112 | get: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectservices" |
| 2113 | }; |
| 2114 | } |
| 2115 | rpc FilterFabricCrossconnectService(Query) returns (FabricCrossconnectServices) { |
| 2116 | } |
| 2117 | rpc GetFabricCrossconnectService(ID) returns (FabricCrossconnectService) { |
| 2118 | option (googleapi.http) = { |
| 2119 | get: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectservices/{id}" |
| 2120 | }; |
| 2121 | } |
| 2122 | rpc CreateFabricCrossconnectService(FabricCrossconnectService) returns (FabricCrossconnectService) { |
| 2123 | option (googleapi.http) = { |
| 2124 | post: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectservices" |
| 2125 | body: "*" |
| 2126 | }; |
| 2127 | } |
| 2128 | rpc UpdateFabricCrossconnectService(FabricCrossconnectService) returns (FabricCrossconnectService) { |
| 2129 | option (googleapi.http) = { |
| 2130 | put: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectservices/{id}" |
| 2131 | body: "*" |
| 2132 | }; |
| 2133 | } |
| 2134 | rpc DeleteFabricCrossconnectService(ID) returns (google.protobuf.Empty) { |
| 2135 | option (googleapi.http) = { |
| 2136 | delete: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectservices/{id}" |
| 2137 | }; |
| 2138 | } |
| 2139 | |
| 2140 | rpc ListFabricCrossconnectServiceInstance(google.protobuf.Empty) returns (FabricCrossconnectServiceInstances) { |
| 2141 | option (googleapi.http) = { |
| 2142 | get: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectserviceinstances" |
| 2143 | }; |
| 2144 | } |
| 2145 | rpc FilterFabricCrossconnectServiceInstance(Query) returns (FabricCrossconnectServiceInstances) { |
| 2146 | } |
| 2147 | rpc GetFabricCrossconnectServiceInstance(ID) returns (FabricCrossconnectServiceInstance) { |
| 2148 | option (googleapi.http) = { |
| 2149 | get: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectserviceinstances/{id}" |
| 2150 | }; |
| 2151 | } |
| 2152 | rpc CreateFabricCrossconnectServiceInstance(FabricCrossconnectServiceInstance) returns (FabricCrossconnectServiceInstance) { |
| 2153 | option (googleapi.http) = { |
| 2154 | post: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectserviceinstances" |
| 2155 | body: "*" |
| 2156 | }; |
| 2157 | } |
| 2158 | rpc UpdateFabricCrossconnectServiceInstance(FabricCrossconnectServiceInstance) returns (FabricCrossconnectServiceInstance) { |
| 2159 | option (googleapi.http) = { |
| 2160 | put: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectserviceinstances/{id}" |
| 2161 | body: "*" |
| 2162 | }; |
| 2163 | } |
| 2164 | rpc DeleteFabricCrossconnectServiceInstance(ID) returns (google.protobuf.Empty) { |
| 2165 | option (googleapi.http) = { |
| 2166 | delete: "/xosapi/v1/fabric-crossconnect/fabriccrossconnectserviceinstances/{id}" |
| 2167 | }; |
| 2168 | } |
| 2169 | |
| 2170 | rpc ListNNIPort(google.protobuf.Empty) returns (NNIPorts) { |
| 2171 | option (googleapi.http) = { |
| 2172 | get: "/xosapi/v1/volt/nniports" |
| 2173 | }; |
| 2174 | } |
| 2175 | rpc FilterNNIPort(Query) returns (NNIPorts) { |
| 2176 | } |
| 2177 | rpc GetNNIPort(ID) returns (NNIPort) { |
| 2178 | option (googleapi.http) = { |
| 2179 | get: "/xosapi/v1/volt/nniports/{id}" |
| 2180 | }; |
| 2181 | } |
| 2182 | rpc CreateNNIPort(NNIPort) returns (NNIPort) { |
| 2183 | option (googleapi.http) = { |
| 2184 | post: "/xosapi/v1/volt/nniports" |
| 2185 | body: "*" |
| 2186 | }; |
| 2187 | } |
| 2188 | rpc UpdateNNIPort(NNIPort) returns (NNIPort) { |
| 2189 | option (googleapi.http) = { |
| 2190 | put: "/xosapi/v1/volt/nniports/{id}" |
| 2191 | body: "*" |
| 2192 | }; |
| 2193 | } |
| 2194 | rpc DeleteNNIPort(ID) returns (google.protobuf.Empty) { |
| 2195 | option (googleapi.http) = { |
| 2196 | delete: "/xosapi/v1/volt/nniports/{id}" |
| 2197 | }; |
| 2198 | } |
| 2199 | |
| 2200 | rpc ListOLTDevice(google.protobuf.Empty) returns (OLTDevices) { |
| 2201 | option (googleapi.http) = { |
| 2202 | get: "/xosapi/v1/volt/oltdevices" |
| 2203 | }; |
| 2204 | } |
| 2205 | rpc FilterOLTDevice(Query) returns (OLTDevices) { |
| 2206 | } |
| 2207 | rpc GetOLTDevice(ID) returns (OLTDevice) { |
| 2208 | option (googleapi.http) = { |
| 2209 | get: "/xosapi/v1/volt/oltdevices/{id}" |
| 2210 | }; |
| 2211 | } |
| 2212 | rpc CreateOLTDevice(OLTDevice) returns (OLTDevice) { |
| 2213 | option (googleapi.http) = { |
| 2214 | post: "/xosapi/v1/volt/oltdevices" |
| 2215 | body: "*" |
| 2216 | }; |
| 2217 | } |
| 2218 | rpc UpdateOLTDevice(OLTDevice) returns (OLTDevice) { |
| 2219 | option (googleapi.http) = { |
| 2220 | put: "/xosapi/v1/volt/oltdevices/{id}" |
| 2221 | body: "*" |
| 2222 | }; |
| 2223 | } |
| 2224 | rpc DeleteOLTDevice(ID) returns (google.protobuf.Empty) { |
| 2225 | option (googleapi.http) = { |
| 2226 | delete: "/xosapi/v1/volt/oltdevices/{id}" |
| 2227 | }; |
| 2228 | } |
| 2229 | |
| 2230 | rpc ListONUDevice(google.protobuf.Empty) returns (ONUDevices) { |
| 2231 | option (googleapi.http) = { |
| 2232 | get: "/xosapi/v1/volt/onudevices" |
| 2233 | }; |
| 2234 | } |
| 2235 | rpc FilterONUDevice(Query) returns (ONUDevices) { |
| 2236 | } |
| 2237 | rpc GetONUDevice(ID) returns (ONUDevice) { |
| 2238 | option (googleapi.http) = { |
| 2239 | get: "/xosapi/v1/volt/onudevices/{id}" |
| 2240 | }; |
| 2241 | } |
| 2242 | rpc CreateONUDevice(ONUDevice) returns (ONUDevice) { |
| 2243 | option (googleapi.http) = { |
| 2244 | post: "/xosapi/v1/volt/onudevices" |
| 2245 | body: "*" |
| 2246 | }; |
| 2247 | } |
| 2248 | rpc UpdateONUDevice(ONUDevice) returns (ONUDevice) { |
| 2249 | option (googleapi.http) = { |
| 2250 | put: "/xosapi/v1/volt/onudevices/{id}" |
| 2251 | body: "*" |
| 2252 | }; |
| 2253 | } |
| 2254 | rpc DeleteONUDevice(ID) returns (google.protobuf.Empty) { |
| 2255 | option (googleapi.http) = { |
| 2256 | delete: "/xosapi/v1/volt/onudevices/{id}" |
| 2257 | }; |
| 2258 | } |
| 2259 | |
| 2260 | rpc ListPONONUPort(google.protobuf.Empty) returns (PONONUPorts) { |
| 2261 | option (googleapi.http) = { |
| 2262 | get: "/xosapi/v1/volt/pononuports" |
| 2263 | }; |
| 2264 | } |
| 2265 | rpc FilterPONONUPort(Query) returns (PONONUPorts) { |
| 2266 | } |
| 2267 | rpc GetPONONUPort(ID) returns (PONONUPort) { |
| 2268 | option (googleapi.http) = { |
| 2269 | get: "/xosapi/v1/volt/pononuports/{id}" |
| 2270 | }; |
| 2271 | } |
| 2272 | rpc CreatePONONUPort(PONONUPort) returns (PONONUPort) { |
| 2273 | option (googleapi.http) = { |
| 2274 | post: "/xosapi/v1/volt/pononuports" |
| 2275 | body: "*" |
| 2276 | }; |
| 2277 | } |
| 2278 | rpc UpdatePONONUPort(PONONUPort) returns (PONONUPort) { |
| 2279 | option (googleapi.http) = { |
| 2280 | put: "/xosapi/v1/volt/pononuports/{id}" |
| 2281 | body: "*" |
| 2282 | }; |
| 2283 | } |
| 2284 | rpc DeletePONONUPort(ID) returns (google.protobuf.Empty) { |
| 2285 | option (googleapi.http) = { |
| 2286 | delete: "/xosapi/v1/volt/pononuports/{id}" |
| 2287 | }; |
| 2288 | } |
| 2289 | |
| 2290 | rpc ListPONPort(google.protobuf.Empty) returns (PONPorts) { |
| 2291 | option (googleapi.http) = { |
| 2292 | get: "/xosapi/v1/volt/ponports" |
| 2293 | }; |
| 2294 | } |
| 2295 | rpc FilterPONPort(Query) returns (PONPorts) { |
| 2296 | } |
| 2297 | rpc GetPONPort(ID) returns (PONPort) { |
| 2298 | option (googleapi.http) = { |
| 2299 | get: "/xosapi/v1/volt/ponports/{id}" |
| 2300 | }; |
| 2301 | } |
| 2302 | rpc CreatePONPort(PONPort) returns (PONPort) { |
| 2303 | option (googleapi.http) = { |
| 2304 | post: "/xosapi/v1/volt/ponports" |
| 2305 | body: "*" |
| 2306 | }; |
| 2307 | } |
| 2308 | rpc UpdatePONPort(PONPort) returns (PONPort) { |
| 2309 | option (googleapi.http) = { |
| 2310 | put: "/xosapi/v1/volt/ponports/{id}" |
| 2311 | body: "*" |
| 2312 | }; |
| 2313 | } |
| 2314 | rpc DeletePONPort(ID) returns (google.protobuf.Empty) { |
| 2315 | option (googleapi.http) = { |
| 2316 | delete: "/xosapi/v1/volt/ponports/{id}" |
| 2317 | }; |
| 2318 | } |
| 2319 | |
| 2320 | rpc ListPortBase(google.protobuf.Empty) returns (PortBases) { |
| 2321 | option (googleapi.http) = { |
| 2322 | get: "/xosapi/v1/volt/portbases" |
| 2323 | }; |
| 2324 | } |
| 2325 | rpc FilterPortBase(Query) returns (PortBases) { |
| 2326 | } |
| 2327 | rpc GetPortBase(ID) returns (PortBase) { |
| 2328 | option (googleapi.http) = { |
| 2329 | get: "/xosapi/v1/volt/portbases/{id}" |
| 2330 | }; |
| 2331 | } |
| 2332 | rpc CreatePortBase(PortBase) returns (PortBase) { |
| 2333 | option (googleapi.http) = { |
| 2334 | post: "/xosapi/v1/volt/portbases" |
| 2335 | body: "*" |
| 2336 | }; |
| 2337 | } |
| 2338 | rpc UpdatePortBase(PortBase) returns (PortBase) { |
| 2339 | option (googleapi.http) = { |
| 2340 | put: "/xosapi/v1/volt/portbases/{id}" |
| 2341 | body: "*" |
| 2342 | }; |
| 2343 | } |
| 2344 | rpc DeletePortBase(ID) returns (google.protobuf.Empty) { |
| 2345 | option (googleapi.http) = { |
| 2346 | delete: "/xosapi/v1/volt/portbases/{id}" |
| 2347 | }; |
| 2348 | } |
| 2349 | |
| 2350 | rpc ListRCORDIpAddress(google.protobuf.Empty) returns (RCORDIpAddresses) { |
| 2351 | option (googleapi.http) = { |
| 2352 | get: "/xosapi/v1/rcord/rcordipaddresses" |
| 2353 | }; |
| 2354 | } |
| 2355 | rpc FilterRCORDIpAddress(Query) returns (RCORDIpAddresses) { |
| 2356 | } |
| 2357 | rpc GetRCORDIpAddress(ID) returns (RCORDIpAddress) { |
| 2358 | option (googleapi.http) = { |
| 2359 | get: "/xosapi/v1/rcord/rcordipaddresses/{id}" |
| 2360 | }; |
| 2361 | } |
| 2362 | rpc CreateRCORDIpAddress(RCORDIpAddress) returns (RCORDIpAddress) { |
| 2363 | option (googleapi.http) = { |
| 2364 | post: "/xosapi/v1/rcord/rcordipaddresses" |
| 2365 | body: "*" |
| 2366 | }; |
| 2367 | } |
| 2368 | rpc UpdateRCORDIpAddress(RCORDIpAddress) returns (RCORDIpAddress) { |
| 2369 | option (googleapi.http) = { |
| 2370 | put: "/xosapi/v1/rcord/rcordipaddresses/{id}" |
| 2371 | body: "*" |
| 2372 | }; |
| 2373 | } |
| 2374 | rpc DeleteRCORDIpAddress(ID) returns (google.protobuf.Empty) { |
| 2375 | option (googleapi.http) = { |
| 2376 | delete: "/xosapi/v1/rcord/rcordipaddresses/{id}" |
| 2377 | }; |
| 2378 | } |
| 2379 | |
| 2380 | rpc ListRCORDService(google.protobuf.Empty) returns (RCORDServices) { |
| 2381 | option (googleapi.http) = { |
| 2382 | get: "/xosapi/v1/rcord/rcordservices" |
| 2383 | }; |
| 2384 | } |
| 2385 | rpc FilterRCORDService(Query) returns (RCORDServices) { |
| 2386 | } |
| 2387 | rpc GetRCORDService(ID) returns (RCORDService) { |
| 2388 | option (googleapi.http) = { |
| 2389 | get: "/xosapi/v1/rcord/rcordservices/{id}" |
| 2390 | }; |
| 2391 | } |
| 2392 | rpc CreateRCORDService(RCORDService) returns (RCORDService) { |
| 2393 | option (googleapi.http) = { |
| 2394 | post: "/xosapi/v1/rcord/rcordservices" |
| 2395 | body: "*" |
| 2396 | }; |
| 2397 | } |
| 2398 | rpc UpdateRCORDService(RCORDService) returns (RCORDService) { |
| 2399 | option (googleapi.http) = { |
| 2400 | put: "/xosapi/v1/rcord/rcordservices/{id}" |
| 2401 | body: "*" |
| 2402 | }; |
| 2403 | } |
| 2404 | rpc DeleteRCORDService(ID) returns (google.protobuf.Empty) { |
| 2405 | option (googleapi.http) = { |
| 2406 | delete: "/xosapi/v1/rcord/rcordservices/{id}" |
| 2407 | }; |
| 2408 | } |
| 2409 | |
| 2410 | rpc ListRCORDSubscriber(google.protobuf.Empty) returns (RCORDSubscribers) { |
| 2411 | option (googleapi.http) = { |
| 2412 | get: "/xosapi/v1/rcord/rcordsubscribers" |
| 2413 | }; |
| 2414 | } |
| 2415 | rpc FilterRCORDSubscriber(Query) returns (RCORDSubscribers) { |
| 2416 | } |
| 2417 | rpc GetRCORDSubscriber(ID) returns (RCORDSubscriber) { |
| 2418 | option (googleapi.http) = { |
| 2419 | get: "/xosapi/v1/rcord/rcordsubscribers/{id}" |
| 2420 | }; |
| 2421 | } |
| 2422 | rpc CreateRCORDSubscriber(RCORDSubscriber) returns (RCORDSubscriber) { |
| 2423 | option (googleapi.http) = { |
| 2424 | post: "/xosapi/v1/rcord/rcordsubscribers" |
| 2425 | body: "*" |
| 2426 | }; |
| 2427 | } |
| 2428 | rpc UpdateRCORDSubscriber(RCORDSubscriber) returns (RCORDSubscriber) { |
| 2429 | option (googleapi.http) = { |
| 2430 | put: "/xosapi/v1/rcord/rcordsubscribers/{id}" |
| 2431 | body: "*" |
| 2432 | }; |
| 2433 | } |
| 2434 | rpc DeleteRCORDSubscriber(ID) returns (google.protobuf.Empty) { |
| 2435 | option (googleapi.http) = { |
| 2436 | delete: "/xosapi/v1/rcord/rcordsubscribers/{id}" |
| 2437 | }; |
| 2438 | } |
| 2439 | |
| 2440 | rpc ListUNIPort(google.protobuf.Empty) returns (UNIPorts) { |
| 2441 | option (googleapi.http) = { |
| 2442 | get: "/xosapi/v1/volt/uniports" |
| 2443 | }; |
| 2444 | } |
| 2445 | rpc FilterUNIPort(Query) returns (UNIPorts) { |
| 2446 | } |
| 2447 | rpc GetUNIPort(ID) returns (UNIPort) { |
| 2448 | option (googleapi.http) = { |
| 2449 | get: "/xosapi/v1/volt/uniports/{id}" |
| 2450 | }; |
| 2451 | } |
| 2452 | rpc CreateUNIPort(UNIPort) returns (UNIPort) { |
| 2453 | option (googleapi.http) = { |
| 2454 | post: "/xosapi/v1/volt/uniports" |
| 2455 | body: "*" |
| 2456 | }; |
| 2457 | } |
| 2458 | rpc UpdateUNIPort(UNIPort) returns (UNIPort) { |
| 2459 | option (googleapi.http) = { |
| 2460 | put: "/xosapi/v1/volt/uniports/{id}" |
| 2461 | body: "*" |
| 2462 | }; |
| 2463 | } |
| 2464 | rpc DeleteUNIPort(ID) returns (google.protobuf.Empty) { |
| 2465 | option (googleapi.http) = { |
| 2466 | delete: "/xosapi/v1/volt/uniports/{id}" |
| 2467 | }; |
| 2468 | } |
| 2469 | |
| 2470 | rpc ListVOLTService(google.protobuf.Empty) returns (VOLTServices) { |
| 2471 | option (googleapi.http) = { |
| 2472 | get: "/xosapi/v1/volt/voltservices" |
| 2473 | }; |
| 2474 | } |
| 2475 | rpc FilterVOLTService(Query) returns (VOLTServices) { |
| 2476 | } |
| 2477 | rpc GetVOLTService(ID) returns (VOLTService) { |
| 2478 | option (googleapi.http) = { |
| 2479 | get: "/xosapi/v1/volt/voltservices/{id}" |
| 2480 | }; |
| 2481 | } |
| 2482 | rpc CreateVOLTService(VOLTService) returns (VOLTService) { |
| 2483 | option (googleapi.http) = { |
| 2484 | post: "/xosapi/v1/volt/voltservices" |
| 2485 | body: "*" |
| 2486 | }; |
| 2487 | } |
| 2488 | rpc UpdateVOLTService(VOLTService) returns (VOLTService) { |
| 2489 | option (googleapi.http) = { |
| 2490 | put: "/xosapi/v1/volt/voltservices/{id}" |
| 2491 | body: "*" |
| 2492 | }; |
| 2493 | } |
| 2494 | rpc DeleteVOLTService(ID) returns (google.protobuf.Empty) { |
| 2495 | option (googleapi.http) = { |
| 2496 | delete: "/xosapi/v1/volt/voltservices/{id}" |
| 2497 | }; |
| 2498 | } |
| 2499 | |
| 2500 | rpc ListVOLTServiceInstance(google.protobuf.Empty) returns (VOLTServiceInstances) { |
| 2501 | option (googleapi.http) = { |
| 2502 | get: "/xosapi/v1/volt/voltserviceinstances" |
| 2503 | }; |
| 2504 | } |
| 2505 | rpc FilterVOLTServiceInstance(Query) returns (VOLTServiceInstances) { |
| 2506 | } |
| 2507 | rpc GetVOLTServiceInstance(ID) returns (VOLTServiceInstance) { |
| 2508 | option (googleapi.http) = { |
| 2509 | get: "/xosapi/v1/volt/voltserviceinstances/{id}" |
| 2510 | }; |
| 2511 | } |
| 2512 | rpc CreateVOLTServiceInstance(VOLTServiceInstance) returns (VOLTServiceInstance) { |
| 2513 | option (googleapi.http) = { |
| 2514 | post: "/xosapi/v1/volt/voltserviceinstances" |
| 2515 | body: "*" |
| 2516 | }; |
| 2517 | } |
| 2518 | rpc UpdateVOLTServiceInstance(VOLTServiceInstance) returns (VOLTServiceInstance) { |
| 2519 | option (googleapi.http) = { |
| 2520 | put: "/xosapi/v1/volt/voltserviceinstances/{id}" |
| 2521 | body: "*" |
| 2522 | }; |
| 2523 | } |
| 2524 | rpc DeleteVOLTServiceInstance(ID) returns (google.protobuf.Empty) { |
| 2525 | option (googleapi.http) = { |
| 2526 | delete: "/xosapi/v1/volt/voltserviceinstances/{id}" |
| 2527 | }; |
| 2528 | } |
| 2529 | |
| 2530 | } |
| 2531 | |