Skip to content
device 353 KiB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000
[2024-07-23 07:52:22,478] INFO:__main__:Starting...
[2024-07-23 07:52:22,513] INFO:device.service.DeviceService:Starting Service (tentative endpoint: 0.0.0.0:2020, max_workers: 200)...
[2024-07-23 07:52:22,628] INFO:device.service.DeviceService:Listening on 0.0.0.0:2020...
[2024-07-23 07:52:22,648] INFO:__main__:Pre-loading drivers...
[2024-07-23 07:53:39,977] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.41', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-07-23 07:53:39,977] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,980] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.41', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-07-23 07:53:39,980] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,982] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.41', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-07-23 07:53:39,982] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,985] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.42', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-07-23 07:53:39,985] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,993] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.22', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-roadm",\n"username": "admin"\n}'}
[2024-07-23 07:53:39,993] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,994] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.22', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-roadm",\n"username": "admin"\n}'}
[2024-07-23 07:53:39,995] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,997] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.42', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-07-23 07:53:39,997] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,999] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.42', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-07-23 07:53:39,999] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:41,991] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(cf618e18-c0a1-58c4-9827-943a2c0523d6) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:41,991] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(cf618e18-c0a1-58c4-9827-943a2c0523d6) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:42,112] INFO:root:setting ocdriver address 172.17.254.41 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:42,481] INFO:root:settings {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:42,482] INFO:ncclient.operations.rpc:[host 172.17.254.41 session-id 29] Requesting 'Get'
[2024-07-23 07:53:42,483] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(68741528-2e94-5274-ab3c-fddcd8dc05ef) with filter_fields({'device_type': 'optical-roadm', 'driver': [11]})...
[2024-07-23 07:53:42,483] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(68741528-2e94-5274-ab3c-fddcd8dc05ef) with filter_fields({'device_type': 'optical-roadm', 'driver': [11]})...
[2024-07-23 07:53:42,483] INFO:root:setting ocdriver address 172.17.254.22 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-roadm', 'username': 'admin'}
[2024-07-23 07:53:42,600] INFO:root:settings {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-roadm', 'username': 'admin'}
[2024-07-23 07:53:42,601] INFO:ncclient.operations.rpc:[host 172.17.254.22 session-id 85] Requesting 'Get'
[2024-07-23 07:53:42,601] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(4dbdc2d8-cbde-5e48-a3c0-5161387a58c7) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:42,601] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(4dbdc2d8-cbde-5e48-a3c0-5161387a58c7) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:42,602] INFO:root:setting ocdriver address 172.17.254.41 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:42,833] INFO:root:settings {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:42,834] INFO:ncclient.operations.rpc:[host 172.17.254.41 session-id 30] Requesting 'Get'
[2024-07-23 07:53:42,835] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(87d74166-65e3-595e-b643-122b4fd0303f) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:42,836] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(87d74166-65e3-595e-b643-122b4fd0303f) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:42,837] INFO:root:setting ocdriver address 172.17.254.42 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:42,862] INFO:root:type optical-transponder
[2024-07-23 07:53:42,866] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:42,868] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,870] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:42,870] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,871] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:42,872] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,915] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:42,916] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,918] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:42,920] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,921] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:42,921] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,922] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:42,923] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,924] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:42,924] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,925] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:42,927] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,928] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:42,929] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,930] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:42,930] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,976] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:42,978] INFO:root:resource_key line-port and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,982] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-3'}
[2024-07-23 07:53:42,984] INFO:root:resource_key frequency and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,986] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:42,987] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,988] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:42,989] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,990] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:42,990] INFO:root:resource_key line-port and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,991] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-4'}
[2024-07-23 07:53:42,993] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/cf618e18-c0a1-58c4-9827-943a2c0523d6', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "cf618e18-c0a1-58c4-9827-943a2c0523d6"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:42,994] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/cf618e18-c0a1-58c4-9827-943a2c0523d6', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "cf618e18-c0a1-58c4-9827-943a2c0523d6"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:42,994] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "cf618e18-c0a1-58c4-9827-943a2c0523d6"
  }
}
}}
[2024-07-23 07:53:43,052] INFO:root:settings {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:43,052] INFO:ncclient.operations.rpc:[host 172.17.254.42 session-id 29] Requesting 'Get'
[2024-07-23 07:53:43,053] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(27c2ed23-e74a-518f-820d-ae2c8ae23086) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:43,053] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(27c2ed23-e74a-518f-820d-ae2c8ae23086) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:43,054] INFO:root:setting ocdriver address 172.17.254.41 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:43,153] INFO:root:type optical-transponder
[2024-07-23 07:53:43,157] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:43,158] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,160] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,160] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,161] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,161] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,162] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,163] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,164] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:43,166] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,167] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,167] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,168] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,169] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,170] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,170] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,171] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:43,173] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,175] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,175] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,176] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,177] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,178] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,178] INFO:root:resource_key line-port and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,179] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-3'}
[2024-07-23 07:53:43,181] INFO:root:resource_key frequency and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,182] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,182] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,184] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,184] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,185] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,185] INFO:root:resource_key line-port and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,186] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-4'}
[2024-07-23 07:53:43,188] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/4dbdc2d8-cbde-5e48-a3c0-5161387a58c7', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,189] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/4dbdc2d8-cbde-5e48-a3c0-5161387a58c7', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,189] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"
  }
}
}}
[2024-07-23 07:53:43,201] INFO:root:settings {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:43,201] INFO:ncclient.operations.rpc:[host 172.17.254.41 session-id 31] Requesting 'Get'
[2024-07-23 07:53:43,201] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(c944aaeb-bbdf-5f2d-b31c-8cc8903045b6) with filter_fields({'device_type': 'optical-roadm', 'driver': [11]})...
[2024-07-23 07:53:43,202] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(c944aaeb-bbdf-5f2d-b31c-8cc8903045b6) with filter_fields({'device_type': 'optical-roadm', 'driver': [11]})...
[2024-07-23 07:53:43,202] INFO:root:setting ocdriver address 172.17.254.22 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-roadm', 'username': 'admin'}
[2024-07-23 07:53:43,313] INFO:root:settings {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-roadm', 'username': 'admin'}
[2024-07-23 07:53:43,313] INFO:ncclient.operations.rpc:[host 172.17.254.22 session-id 87] Requesting 'Get'
[2024-07-23 07:53:43,313] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(ce0cdfdd-2182-5027-8177-676ca3244f9d) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:43,314] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(ce0cdfdd-2182-5027-8177-676ca3244f9d) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:43,314] INFO:root:setting ocdriver address 172.17.254.42 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:43,510] INFO:root:type optical-transponder
[2024-07-23 07:53:43,518] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:43,522] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,524] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,525] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,528] INFO:root:type optical-transponder
[2024-07-23 07:53:43,540] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:43,544] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,545] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,547] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,551] INFO:root:settings {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:43,553] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,557] INFO:ncclient.operations.rpc:[host 172.17.254.42 session-id 30] Requesting 'Get'
[2024-07-23 07:53:43,558] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,562] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:43,563] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(012c4e67-0024-5f30-b527-55ec6daf2639) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:43,563] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(012c4e67-0024-5f30-b527-55ec6daf2639) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-07-23 07:53:43,564] INFO:root:setting ocdriver address 172.17.254.42 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:43,565] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,565] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,567] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,569] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,571] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,573] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,574] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,577] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,578] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,579] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,580] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,582] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,583] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,584] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:43,585] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:43,587] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,588] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,590] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,590] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,593] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,594] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,593] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,595] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,596] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,597] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,598] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,598] INFO:root:resource_key line-port and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,599] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,599] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,600] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-3'}
[2024-07-23 07:53:43,601] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:43,602] INFO:root:resource_key frequency and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,603] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,604] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,605] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,606] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,606] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,607] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,608] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,609] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,610] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,609] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,610] INFO:root:resource_key line-port and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,611] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,611] INFO:root:resource_key line-port and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,613] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-4'}
[2024-07-23 07:53:43,616] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/87d74166-65e3-595e-b643-122b4fd0303f', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "87d74166-65e3-595e-b643-122b4fd0303f"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,616] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/87d74166-65e3-595e-b643-122b4fd0303f', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "87d74166-65e3-595e-b643-122b4fd0303f"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,617] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "87d74166-65e3-595e-b643-122b4fd0303f"
  }
}
}}
[2024-07-23 07:53:43,617] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-3'}
[2024-07-23 07:53:43,619] INFO:root:resource_key frequency and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,620] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,621] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,623] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,623] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,624] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,629] INFO:root:resource_key line-port and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,698] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-4'}
[2024-07-23 07:53:43,702] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/27c2ed23-e74a-518f-820d-ae2c8ae23086', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "27c2ed23-e74a-518f-820d-ae2c8ae23086"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,702] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/27c2ed23-e74a-518f-820d-ae2c8ae23086', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "27c2ed23-e74a-518f-820d-ae2c8ae23086"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,702] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "27c2ed23-e74a-518f-820d-ae2c8ae23086"
  }
}
}}
[2024-07-23 07:53:43,870] INFO:root:type optical-transponder
[2024-07-23 07:53:43,891] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:43,896] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,900] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,901] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,906] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,907] INFO:root:settings {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-07-23 07:53:43,908] INFO:ncclient.operations.rpc:[host 172.17.254.42 session-id 31] Requesting 'Get'
[2024-07-23 07:53:43,908] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,913] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,915] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,921] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:43,923] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,924] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,924] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,925] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,926] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,927] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,927] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,928] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:43,930] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,934] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,934] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,936] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,936] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,937] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,937] INFO:root:resource_key line-port and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,939] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-3'}
[2024-07-23 07:53:43,940] INFO:root:resource_key frequency and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,943] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,943] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,945] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,945] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,949] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,949] INFO:root:resource_key line-port and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,950] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-4'}
[2024-07-23 07:53:43,952] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/ce0cdfdd-2182-5027-8177-676ca3244f9d', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "ce0cdfdd-2182-5027-8177-676ca3244f9d"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,953] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/ce0cdfdd-2182-5027-8177-676ca3244f9d', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "ce0cdfdd-2182-5027-8177-676ca3244f9d"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,953] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "ce0cdfdd-2182-5027-8177-676ca3244f9d"
  }
}
}}
[2024-07-23 07:53:44,207] INFO:root:type optical-transponder
[2024-07-23 07:53:44,211] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:44,213] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,224] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:44,224] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,225] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:44,226] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,227] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:44,227] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,229] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:44,230] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,232] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:44,232] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,239] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:44,239] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,240] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:44,241] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,242] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:44,244] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,245] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:44,246] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,249] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:44,250] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,251] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:44,251] INFO:root:resource_key line-port and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,256] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-3'}
[2024-07-23 07:53:44,259] INFO:root:resource_key frequency and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,261] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:44,261] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,263] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:44,264] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,266] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:44,266] INFO:root:resource_key line-port and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:44,273] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-4'}
[2024-07-23 07:53:44,277] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/012c4e67-0024-5f30-b527-55ec6daf2639', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "012c4e67-0024-5f30-b527-55ec6daf2639"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:44,278] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/012c4e67-0024-5f30-b527-55ec6daf2639', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "012c4e67-0024-5f30-b527-55ec6daf2639"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:44,278] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "012c4e67-0024-5f30-b527-55ec6daf2639"
  }
}
}}
[2024-07-23 07:53:47,397] INFO:root:type optical-roadm
[2024-07-23 07:53:47,485] INFO:root:optical_bands <Element {http://flex-scale-project.eu/yang/flex-scale-mg-on}optical-bands at 0x7fbd6c2535c0>
[2024-07-23 07:53:47,502] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/68741528-2e94-5274-ab3c-fddcd8dc05ef', {'opticalconfig': config: "{\"type\": \"optical-roadm\", \"optical_bands\": [{\"band_name\": \"C-BAND\", \"lower_frequency\": \"193000000\", \"upper_frequency\": \"194000000\", \"status\": \"ENABLED\", \"src_port\": \"ADD\", \"dest_port\": \"port-1-out\", \"channel_index\": \"1\"}], \"media_channels\": [{\"band_name\": \"TEST \", \"lower_frequency\": \"193210000\", \"upper_frequency\": \"193300000\", \"status\": \"ENABLED\", \"src_port\": \"port-36-in\", \"dest_port\": \"None\", \"optical_band_parent\": \"1\", \"channel_index\": \"3\"}]}"
device_id {
  device_uuid {
    uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
  }
}
}), ('/endpoints/endpoint[port-1-in]', {'uuid': 'port-1-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-1-out]', {'uuid': 'port-1-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-10-in]', {'uuid': 'port-10-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-10-out]', {'uuid': 'port-10-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-11-in]', {'uuid': 'port-11-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-11-out]', {'uuid': 'port-11-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-12-in]', {'uuid': 'port-12-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-12-out]', {'uuid': 'port-12-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-13-in]', {'uuid': 'port-13-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-13-out]', {'uuid': 'port-13-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-14-in]', {'uuid': 'port-14-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-14-out]', {'uuid': 'port-14-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-15-in]', {'uuid': 'port-15-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-15-out]', {'uuid': 'port-15-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-16-in]', {'uuid': 'port-16-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-16-out]', {'uuid': 'port-16-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-17-in]', {'uuid': 'port-17-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-17-out]', {'uuid': 'port-17-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-18-in]', {'uuid': 'port-18-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-18-out]', {'uuid': 'port-18-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-19-in]', {'uuid': 'port-19-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-19-out]', {'uuid': 'port-19-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-2-in]', {'uuid': 'port-2-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-2-out]', {'uuid': 'port-2-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-20-in]', {'uuid': 'port-20-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-20-out]', {'uuid': 'port-20-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-21-in]', {'uuid': 'port-21-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-21-out]', {'uuid': 'port-21-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-22-in]', {'uuid': 'port-22-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-22-out]', {'uuid': 'port-22-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-23-in]', {'uuid': 'port-23-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-23-out]', {'uuid': 'port-23-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-24-in]', {'uuid': 'port-24-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-24-out]', {'uuid': 'port-24-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-25-in]', {'uuid': 'port-25-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-25-out]', {'uuid': 'port-25-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-26-in]', {'uuid': 'port-26-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-26-out]', {'uuid': 'port-26-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-27-in]', {'uuid': 'port-27-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-27-out]', {'uuid': 'port-27-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-28-in]', {'uuid': 'port-28-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-28-out]', {'uuid': 'port-28-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-29-in]', {'uuid': 'port-29-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-29-out]', {'uuid': 'port-29-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-3-in]', {'uuid': 'port-3-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-3-out]', {'uuid': 'port-3-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-30-in]', {'uuid': 'port-30-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-30-out]', {'uuid': 'port-30-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-31-in]', {'uuid': 'port-31-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-31-out]', {'uuid': 'port-31-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-32-in]', {'uuid': 'port-32-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-32-out]', {'uuid': 'port-32-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-33-in]', {'uuid': 'port-33-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-33-out]', {'uuid': 'port-33-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-34-in]', {'uuid': 'port-34-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-34-out]', {'uuid': 'port-34-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-35-in]', {'uuid': 'port-35-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-35-out]', {'uuid': 'port-35-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-36-in]', {'uuid': 'port-36-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-36-out]', {'uuid': 'port-36-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-37-in]', {'uuid': 'port-37-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-37-out]', {'uuid': 'port-37-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-38-in]', {'uuid': 'port-38-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-38-out]', {'uuid': 'port-38-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-39-in]', {'uuid': 'port-39-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-39-out]', {'uuid': 'port-39-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-4-in]', {'uuid': 'port-4-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-4-out]', {'uuid': 'port-4-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-40-in]', {'uuid': 'port-40-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-40-out]', {'uuid': 'port-40-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-41-in]', {'uuid': 'port-41-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-41-out]', {'uuid': 'port-41-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-42-in]', {'uuid': 'port-42-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-42-out]', {'uuid': 'port-42-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-43-in]', {'uuid': 'port-43-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-43-out]', {'uuid': 'port-43-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-44-in]', {'uuid': 'port-44-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-44-out]', {'uuid': 'port-44-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-45-in]', {'uuid': 'port-45-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-45-out]', {'uuid': 'port-45-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-46-in]', {'uuid': 'port-46-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-46-out]', {'uuid': 'port-46-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-47-in]', {'uuid': 'port-47-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-47-out]', {'uuid': 'port-47-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-48-in]', {'uuid': 'port-48-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-48-out]', {'uuid': 'port-48-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-5-in]', {'uuid': 'port-5-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-5-out]', {'uuid': 'port-5-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-6-in]', {'uuid': 'port-6-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-6-out]', {'uuid': 'port-6-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-7-in]', {'uuid': 'port-7-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-7-out]', {'uuid': 'port-7-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-8-in]', {'uuid': 'port-8-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-8-out]', {'uuid': 'port-8-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-9-in]', {'uuid': 'port-9-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-9-out]', {'uuid': 'port-9-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'})]
[2024-07-23 07:53:47,504] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/68741528-2e94-5274-ab3c-fddcd8dc05ef', {'opticalconfig': config: "{\"type\": \"optical-roadm\", \"optical_bands\": [{\"band_name\": \"C-BAND\", \"lower_frequency\": \"193000000\", \"upper_frequency\": \"194000000\", \"status\": \"ENABLED\", \"src_port\": \"ADD\", \"dest_port\": \"port-1-out\", \"channel_index\": \"1\"}], \"media_channels\": [{\"band_name\": \"TEST \", \"lower_frequency\": \"193210000\", \"upper_frequency\": \"193300000\", \"status\": \"ENABLED\", \"src_port\": \"port-36-in\", \"dest_port\": \"None\", \"optical_band_parent\": \"1\", \"channel_index\": \"3\"}]}"
device_id {
  device_uuid {
    uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
  }
}
}), ('/endpoints/endpoint[port-1-in]', {'uuid': 'port-1-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-1-out]', {'uuid': 'port-1-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-10-in]', {'uuid': 'port-10-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-10-out]', {'uuid': 'port-10-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-11-in]', {'uuid': 'port-11-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-11-out]', {'uuid': 'port-11-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-12-in]', {'uuid': 'port-12-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-12-out]', {'uuid': 'port-12-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-13-in]', {'uuid': 'port-13-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-13-out]', {'uuid': 'port-13-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-14-in]', {'uuid': 'port-14-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-14-out]', {'uuid': 'port-14-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-15-in]', {'uuid': 'port-15-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-15-out]', {'uuid': 'port-15-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-16-in]', {'uuid': 'port-16-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-16-out]', {'uuid': 'port-16-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-17-in]', {'uuid': 'port-17-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-17-out]', {'uuid': 'port-17-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-18-in]', {'uuid': 'port-18-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-18-out]', {'uuid': 'port-18-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-19-in]', {'uuid': 'port-19-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-19-out]', {'uuid': 'port-19-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-2-in]', {'uuid': 'port-2-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-2-out]', {'uuid': 'port-2-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-20-in]', {'uuid': 'port-20-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-20-out]', {'uuid': 'port-20-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-21-in]', {'uuid': 'port-21-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-21-out]', {'uuid': 'port-21-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-22-in]', {'uuid': 'port-22-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-22-out]', {'uuid': 'port-22-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-23-in]', {'uuid': 'port-23-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-23-out]', {'uuid': 'port-23-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-24-in]', {'uuid': 'port-24-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-24-out]', {'uuid': 'port-24-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-25-in]', {'uuid': 'port-25-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-25-out]', {'uuid': 'port-25-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-26-in]', {'uuid': 'port-26-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-26-out]', {'uuid': 'port-26-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-27-in]', {'uuid': 'port-27-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-27-out]', {'uuid': 'port-27-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-28-in]', {'uuid': 'port-28-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-28-out]', {'uuid': 'port-28-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-29-in]', {'uuid': 'port-29-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-29-out]', {'uuid': 'port-29-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-3-in]', {'uuid': 'port-3-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-3-out]', {'uuid': 'port-3-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-30-in]', {'uuid': 'port-30-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-30-out]', {'uuid': 'port-30-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-31-in]', {'uuid': 'port-31-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-31-out]', {'uuid': 'port-31-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-32-in]', {'uuid': 'port-32-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-32-out]', {'uuid': 'port-32-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-33-in]', {'uuid': 'port-33-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-33-out]', {'uuid': 'port-33-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-34-in]', {'uuid': 'port-34-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-34-out]', {'uuid': 'port-34-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-35-in]', {'uuid': 'port-35-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-35-out]', {'uuid': 'port-35-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-36-in]', {'uuid': 'port-36-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-36-out]', {'uuid': 'port-36-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-37-in]', {'uuid': 'port-37-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-37-out]', {'uuid': 'port-37-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-38-in]', {'uuid': 'port-38-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-38-out]', {'uuid': 'port-38-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-39-in]', {'uuid': 'port-39-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-39-out]', {'uuid': 'port-39-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-4-in]', {'uuid': 'port-4-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-4-out]', {'uuid': 'port-4-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-40-in]', {'uuid': 'port-40-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-40-out]', {'uuid': 'port-40-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-41-in]', {'uuid': 'port-41-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-41-out]', {'uuid': 'port-41-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-42-in]', {'uuid': 'port-42-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-42-out]', {'uuid': 'port-42-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-43-in]', {'uuid': 'port-43-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-43-out]', {'uuid': 'port-43-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-44-in]', {'uuid': 'port-44-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-44-out]', {'uuid': 'port-44-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-45-in]', {'uuid': 'port-45-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-45-out]', {'uuid': 'port-45-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-46-in]', {'uuid': 'port-46-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-46-out]', {'uuid': 'port-46-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-47-in]', {'uuid': 'port-47-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-47-out]', {'uuid': 'port-47-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-48-in]', {'uuid': 'port-48-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-48-out]', {'uuid': 'port-48-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-5-in]', {'uuid': 'port-5-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-5-out]', {'uuid': 'port-5-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-6-in]', {'uuid': 'port-6-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-6-out]', {'uuid': 'port-6-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-7-in]', {'uuid': 'port-7-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-7-out]', {'uuid': 'port-7-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-8-in]', {'uuid': 'port-8-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-8-out]', {'uuid': 'port-8-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-9-in]', {'uuid': 'port-9-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-9-out]', {'uuid': 'port-9-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'})]
[2024-07-23 07:53:47,506] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-roadm\", \"optical_bands\": [{\"band_name\": \"C-BAND\", \"lower_frequency\": \"193000000\", \"upper_frequency\": \"194000000\", \"status\": \"ENABLED\", \"src_port\": \"ADD\", \"dest_port\": \"port-1-out\", \"channel_index\": \"1\"}], \"media_channels\": [{\"band_name\": \"TEST \", \"lower_frequency\": \"193210000\", \"upper_frequency\": \"193300000\", \"status\": \"ENABLED\", \"src_port\": \"port-36-in\", \"dest_port\": \"None\", \"optical_band_parent\": \"1\", \"channel_index\": \"3\"}]}"
device_id {
  device_uuid {
    uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
  }
}
}}
[2024-07-23 07:53:48,061] INFO:root:type optical-roadm
[2024-07-23 07:53:48,142] INFO:root:optical_bands <Element {http://flex-scale-project.eu/yang/flex-scale-mg-on}optical-bands at 0x7fbd6c19cc80>
[2024-07-23 07:53:48,156] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/c944aaeb-bbdf-5f2d-b31c-8cc8903045b6', {'opticalconfig': config: "{\"type\": \"optical-roadm\", \"optical_bands\": [{\"band_name\": \"C-BAND\", \"lower_frequency\": \"193000000\", \"upper_frequency\": \"194000000\", \"status\": \"ENABLED\", \"src_port\": \"ADD\", \"dest_port\": \"port-1-out\", \"channel_index\": \"1\"}], \"media_channels\": [{\"band_name\": \"TEST \", \"lower_frequency\": \"193210000\", \"upper_frequency\": \"193300000\", \"status\": \"ENABLED\", \"src_port\": \"port-36-in\", \"dest_port\": \"None\", \"optical_band_parent\": \"1\", \"channel_index\": \"3\"}]}"
device_id {
  device_uuid {
    uuid: "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
  }
}
}), ('/endpoints/endpoint[port-1-in]', {'uuid': 'port-1-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-1-out]', {'uuid': 'port-1-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-10-in]', {'uuid': 'port-10-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-10-out]', {'uuid': 'port-10-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-11-in]', {'uuid': 'port-11-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-11-out]', {'uuid': 'port-11-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-12-in]', {'uuid': 'port-12-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-12-out]', {'uuid': 'port-12-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-13-in]', {'uuid': 'port-13-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-13-out]', {'uuid': 'port-13-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-14-in]', {'uuid': 'port-14-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-14-out]', {'uuid': 'port-14-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-15-in]', {'uuid': 'port-15-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-15-out]', {'uuid': 'port-15-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-16-in]', {'uuid': 'port-16-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-16-out]', {'uuid': 'port-16-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-17-in]', {'uuid': 'port-17-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-17-out]', {'uuid': 'port-17-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-18-in]', {'uuid': 'port-18-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-18-out]', {'uuid': 'port-18-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-19-in]', {'uuid': 'port-19-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-19-out]', {'uuid': 'port-19-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-2-in]', {'uuid': 'port-2-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-2-out]', {'uuid': 'port-2-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-20-in]', {'uuid': 'port-20-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-20-out]', {'uuid': 'port-20-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-21-in]', {'uuid': 'port-21-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-21-out]', {'uuid': 'port-21-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-22-in]', {'uuid': 'port-22-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-22-out]', {'uuid': 'port-22-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-23-in]', {'uuid': 'port-23-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-23-out]', {'uuid': 'port-23-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-24-in]', {'uuid': 'port-24-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-24-out]', {'uuid': 'port-24-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-25-in]', {'uuid': 'port-25-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-25-out]', {'uuid': 'port-25-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-26-in]', {'uuid': 'port-26-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-26-out]', {'uuid': 'port-26-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-27-in]', {'uuid': 'port-27-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-27-out]', {'uuid': 'port-27-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-28-in]', {'uuid': 'port-28-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-28-out]', {'uuid': 'port-28-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-29-in]', {'uuid': 'port-29-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-29-out]', {'uuid': 'port-29-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-3-in]', {'uuid': 'port-3-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-3-out]', {'uuid': 'port-3-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-30-in]', {'uuid': 'port-30-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-30-out]', {'uuid': 'port-30-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-31-in]', {'uuid': 'port-31-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-31-out]', {'uuid': 'port-31-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-32-in]', {'uuid': 'port-32-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-32-out]', {'uuid': 'port-32-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-33-in]', {'uuid': 'port-33-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-33-out]', {'uuid': 'port-33-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-34-in]', {'uuid': 'port-34-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-34-out]', {'uuid': 'port-34-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-35-in]', {'uuid': 'port-35-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-35-out]', {'uuid': 'port-35-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-36-in]', {'uuid': 'port-36-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-36-out]', {'uuid': 'port-36-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-37-in]', {'uuid': 'port-37-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-37-out]', {'uuid': 'port-37-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-38-in]', {'uuid': 'port-38-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-38-out]', {'uuid': 'port-38-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-39-in]', {'uuid': 'port-39-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-39-out]', {'uuid': 'port-39-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-4-in]', {'uuid': 'port-4-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-4-out]', {'uuid': 'port-4-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-40-in]', {'uuid': 'port-40-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-40-out]', {'uuid': 'port-40-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-41-in]', {'uuid': 'port-41-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-41-out]', {'uuid': 'port-41-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-42-in]', {'uuid': 'port-42-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-42-out]', {'uuid': 'port-42-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-43-in]', {'uuid': 'port-43-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-43-out]', {'uuid': 'port-43-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-44-in]', {'uuid': 'port-44-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-44-out]', {'uuid': 'port-44-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-45-in]', {'uuid': 'port-45-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-45-out]', {'uuid': 'port-45-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-46-in]', {'uuid': 'port-46-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-46-out]', {'uuid': 'port-46-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-47-in]', {'uuid': 'port-47-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-47-out]', {'uuid': 'port-47-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-48-in]', {'uuid': 'port-48-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-48-out]', {'uuid': 'port-48-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-5-in]', {'uuid': 'port-5-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-5-out]', {'uuid': 'port-5-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-6-in]', {'uuid': 'port-6-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-6-out]', {'uuid': 'port-6-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-7-in]', {'uuid': 'port-7-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-7-out]', {'uuid': 'port-7-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-8-in]', {'uuid': 'port-8-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-8-out]', {'uuid': 'port-8-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-9-in]', {'uuid': 'port-9-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-9-out]', {'uuid': 'port-9-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'})]
[2024-07-23 07:53:48,156] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/c944aaeb-bbdf-5f2d-b31c-8cc8903045b6', {'opticalconfig': config: "{\"type\": \"optical-roadm\", \"optical_bands\": [{\"band_name\": \"C-BAND\", \"lower_frequency\": \"193000000\", \"upper_frequency\": \"194000000\", \"status\": \"ENABLED\", \"src_port\": \"ADD\", \"dest_port\": \"port-1-out\", \"channel_index\": \"1\"}], \"media_channels\": [{\"band_name\": \"TEST \", \"lower_frequency\": \"193210000\", \"upper_frequency\": \"193300000\", \"status\": \"ENABLED\", \"src_port\": \"port-36-in\", \"dest_port\": \"None\", \"optical_band_parent\": \"1\", \"channel_index\": \"3\"}]}"
device_id {
  device_uuid {
    uuid: "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
  }
}
}), ('/endpoints/endpoint[port-1-in]', {'uuid': 'port-1-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-1-out]', {'uuid': 'port-1-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-10-in]', {'uuid': 'port-10-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-10-out]', {'uuid': 'port-10-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-11-in]', {'uuid': 'port-11-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-11-out]', {'uuid': 'port-11-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-12-in]', {'uuid': 'port-12-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-12-out]', {'uuid': 'port-12-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-13-in]', {'uuid': 'port-13-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-13-out]', {'uuid': 'port-13-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-14-in]', {'uuid': 'port-14-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-14-out]', {'uuid': 'port-14-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-15-in]', {'uuid': 'port-15-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-15-out]', {'uuid': 'port-15-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-16-in]', {'uuid': 'port-16-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-16-out]', {'uuid': 'port-16-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-17-in]', {'uuid': 'port-17-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-17-out]', {'uuid': 'port-17-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-18-in]', {'uuid': 'port-18-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-18-out]', {'uuid': 'port-18-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-19-in]', {'uuid': 'port-19-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-19-out]', {'uuid': 'port-19-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-2-in]', {'uuid': 'port-2-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-2-out]', {'uuid': 'port-2-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-20-in]', {'uuid': 'port-20-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-20-out]', {'uuid': 'port-20-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-21-in]', {'uuid': 'port-21-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-21-out]', {'uuid': 'port-21-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-22-in]', {'uuid': 'port-22-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-22-out]', {'uuid': 'port-22-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-23-in]', {'uuid': 'port-23-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-23-out]', {'uuid': 'port-23-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-24-in]', {'uuid': 'port-24-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-24-out]', {'uuid': 'port-24-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-25-in]', {'uuid': 'port-25-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-25-out]', {'uuid': 'port-25-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-26-in]', {'uuid': 'port-26-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-26-out]', {'uuid': 'port-26-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-27-in]', {'uuid': 'port-27-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-27-out]', {'uuid': 'port-27-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-28-in]', {'uuid': 'port-28-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-28-out]', {'uuid': 'port-28-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-29-in]', {'uuid': 'port-29-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-29-out]', {'uuid': 'port-29-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-3-in]', {'uuid': 'port-3-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-3-out]', {'uuid': 'port-3-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-30-in]', {'uuid': 'port-30-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-30-out]', {'uuid': 'port-30-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-31-in]', {'uuid': 'port-31-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-31-out]', {'uuid': 'port-31-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-32-in]', {'uuid': 'port-32-in', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-32-out]', {'uuid': 'port-32-out', 'type': 'MG_ON_OPTICAL_PORT_FIBER'}), ('/endpoints/endpoint[port-33-in]', {'uuid': 'port-33-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-33-out]', {'uuid': 'port-33-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-34-in]', {'uuid': 'port-34-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-34-out]', {'uuid': 'port-34-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-35-in]', {'uuid': 'port-35-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-35-out]', {'uuid': 'port-35-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-36-in]', {'uuid': 'port-36-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-36-out]', {'uuid': 'port-36-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-37-in]', {'uuid': 'port-37-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-37-out]', {'uuid': 'port-37-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-38-in]', {'uuid': 'port-38-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-38-out]', {'uuid': 'port-38-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-39-in]', {'uuid': 'port-39-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-39-out]', {'uuid': 'port-39-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-4-in]', {'uuid': 'port-4-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-4-out]', {'uuid': 'port-4-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-40-in]', {'uuid': 'port-40-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-40-out]', {'uuid': 'port-40-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-41-in]', {'uuid': 'port-41-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-41-out]', {'uuid': 'port-41-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-42-in]', {'uuid': 'port-42-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-42-out]', {'uuid': 'port-42-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-43-in]', {'uuid': 'port-43-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-43-out]', {'uuid': 'port-43-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-44-in]', {'uuid': 'port-44-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-44-out]', {'uuid': 'port-44-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-45-in]', {'uuid': 'port-45-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-45-out]', {'uuid': 'port-45-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-46-in]', {'uuid': 'port-46-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-46-out]', {'uuid': 'port-46-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-47-in]', {'uuid': 'port-47-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-47-out]', {'uuid': 'port-47-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-48-in]', {'uuid': 'port-48-in', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-48-out]', {'uuid': 'port-48-out', 'type': 'MG_ON_OPTICAL_PORT_MEDIACHANNEL'}), ('/endpoints/endpoint[port-5-in]', {'uuid': 'port-5-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-5-out]', {'uuid': 'port-5-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-6-in]', {'uuid': 'port-6-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-6-out]', {'uuid': 'port-6-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-7-in]', {'uuid': 'port-7-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-7-out]', {'uuid': 'port-7-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-8-in]', {'uuid': 'port-8-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-8-out]', {'uuid': 'port-8-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-9-in]', {'uuid': 'port-9-in', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'}), ('/endpoints/endpoint[port-9-out]', {'uuid': 'port-9-out', 'type': 'MG_ON_OPTICAL_PORT_WAVEBAND'})]
[2024-07-23 07:53:48,157] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-roadm\", \"optical_bands\": [{\"band_name\": \"C-BAND\", \"lower_frequency\": \"193000000\", \"upper_frequency\": \"194000000\", \"status\": \"ENABLED\", \"src_port\": \"ADD\", \"dest_port\": \"port-1-out\", \"channel_index\": \"1\"}], \"media_channels\": [{\"band_name\": \"TEST \", \"lower_frequency\": \"193210000\", \"upper_frequency\": \"193300000\", \"status\": \"ENABLED\", \"src_port\": \"port-36-in\", \"dest_port\": \"None\", \"optical_band_parent\": \"1\", \"channel_index\": \"3\"}]}"
device_id {
  device_uuid {
    uuid: "c944aaeb-bbdf-5f2d-b31c-8cc8903045b6"
  }
}
}}
[2024-07-23 08:12:48,572] INFO:device.service.OpenConfigServicer: config from openconfigservicer  {'channel_namespace': None, 'endpoints': [], 'device_name': 'R1', 'type': 'optical-roadm', 'channels': [{'band_name': 'TEST ', 'lower_frequency': 193210000, 'upper_frequency': 193300000, 'type': 'media_channel', 'src_port': 'port-36-in', 'dest_port': 'None', 'status': 'ENABLED', 'optical_band_parent': '1', 'channel_index': '3'}, {'band_name': 'C-BAND', 'lower_frequency': 193000000, 'upper_frequency': 194000000, 'type': 'optical_band', 'src_port': 'ADD', 'dest_port': 'port-1-out', 'status': 'ENABLED', 'optical_band_parent': None, 'channel_index': '1'}], 'roadm_uuid': {'roadm_uuid': '3d63c018-2661-5872-8bdd-f1e6a6e3313b'}, 'new_config': {'band_type': 'C_BAND', 'low-freq': 192006250, 'up-freq': 192381250, 'frequency': 192193750, 'band': 375000, 'ob_id': 1}, 'is_opticalband': True, 'flow': [['0', '77df46fd-6d6e-5726-9960-ca439c925dea']]}
[2024-07-23 08:12:48,626] INFO:device.service.OpenConfigServicer:device is device_id {
  device_uuid {
    uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
  }
}
name: "R1"
device_type: "optical-roadm"
device_operational_status: DEVICEOPERATIONALSTATUS_ENABLED
device_drivers: DEVICEDRIVER_OC
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "02c19f3c-73ac-55b9-b4c2-7def7e7df9fe"
    }
  }
  name: "port-48-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "0332be2a-9b4e-52d7-ac7b-3ea58bf00375"
    }
  }
  name: "port-12-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_WAVEBAND"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "08da1aa7-9253-5e92-bf2c-6e66ffe7a4ff"
    }
  }
  name: "port-38-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "0b1c4d0e-5140-5085-ab66-2def390b650f"
    }
  }
  name: "port-33-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "12b4419f-9ae9-5839-ad52-9684b1f30878"
    }
  }
  name: "port-34-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "1485c127-2228-52b1-87e6-48c6b1366c46"
    }
  }
  name: "port-20-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_FIBER"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "15c058d8-c5ed-5878-81cb-f76630ea6bfb"
    }
  }
  name: "port-18-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_FIBER"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "188af412-9ac2-588f-8f00-a956aa6b2ae5"
    }
  }
  name: "port-43-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "18a51dcf-905d-5104-9ef1-f24740fd6d78"
    }
  }
  name: "port-12-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_WAVEBAND"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "1e02e33d-4b14-502d-9806-988f64cccb5d"
    }
  }
  name: "port-43-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "21b8ccaa-9f7b-5bc5-9fc0-6f32025eb8a6"
    }
  }
  name: "port-41-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "22d287ab-7935-55cb-b681-944a064726a9"
    }
  }
  name: "port-11-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_WAVEBAND"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "266777cb-fa7b-50d7-aed7-333854581a55"
    }
  }
  name: "port-31-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_FIBER"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "28666b3c-4b96-5cb6-8006-eba13ca8ab6e"
    }
  }
  name: "port-9-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_WAVEBAND"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "29e8b36f-6989-5651-99fe-b3cb2ee5b4b8"
    }
  }
  name: "port-40-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "2b646bf7-3120-5254-a4fb-748294c61a71"
    }
  }
  name: "port-2-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_WAVEBAND"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "35aaee89-81a3-56b1-b1ba-33f972d0af49"
    }
  }
  name: "port-36-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "385bc8da-171b-574c-9d4f-d9b08f29c469"
    }
  }
  name: "port-40-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "38f57fc2-4b25-5b8e-8ab0-e2676594b652"
    }
  }
  name: "port-39-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "3972ab17-4386-5a0c-92db-fc8096433068"
    }
  }
  name: "port-38-out"
  endpoint_type: "MG_ON_OPTICAL_PORT_MEDIACHANNEL"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }
      topology_uuid {
        uuid: "c76135e3-24a8-5e92-9bed-c3c9139359c8"
      }
    }
    device_id {
      device_uuid {
        uuid: "68741528-2e94-5274-ab3c-fddcd8dc05ef"
      }
    }
    endpoint_uuid {
      uuid: "3a49ceb2-fd5b-59e2-975a-b065c4e127a4"
    }
  }
  name: "port-7-in"
  endpoint_type: "MG_ON_OPTICAL_PORT_WAVEBAND"
  endpoint_location {
  }
}
device_endpoints {
  endpoint_id {
    topology_id {
      context_id {
        context_uuid {
          uuid: "43813baf-195e-5da6-af20-b3d0922e71a7"
        }
      }