Sean Condon | b77768e | 2019-05-04 20:23:42 +0100 | [diff] [blame] | 1 | { |
| 2 | "event": "topo2CurrentRegion", |
| 3 | "payload": { |
| 4 | "id": "(root)", |
| 5 | "subregions": [], |
| 6 | "links": [ |
| 7 | { |
| 8 | "id": "netconf:127.0.0.1:11002/201~netconf:127.0.0.1:11003/201", |
| 9 | "epA": "netconf:127.0.0.1:11002/201", |
| 10 | "epB": "netconf:127.0.0.1:11003/201", |
| 11 | "type": "UiDeviceLink", |
| 12 | "portA": "201", |
| 13 | "portB": "201", |
| 14 | "rollup": [ |
| 15 | { |
| 16 | "id": "netconf:127.0.0.1:11002/201~netconf:127.0.0.1:11003/201", |
| 17 | "epA": "netconf:127.0.0.1:11002/201", |
| 18 | "epB": "netconf:127.0.0.1:11003/201", |
| 19 | "type": "UiDeviceLink", |
| 20 | "portA": "201", |
| 21 | "portB": "201" |
| 22 | } |
| 23 | ] |
| 24 | }, |
| 25 | { |
| 26 | "id": "netconf:127.0.0.1:11002/202~netconf:127.0.0.1:11003/202", |
| 27 | "epA": "netconf:127.0.0.1:11002/202", |
| 28 | "epB": "netconf:127.0.0.1:11003/202", |
| 29 | "type": "UiDeviceLink", |
| 30 | "portA": "202", |
| 31 | "portB": "202", |
| 32 | "rollup": [ |
| 33 | { |
| 34 | "id": "netconf:127.0.0.1:11002/202~netconf:127.0.0.1:11003/202", |
| 35 | "epA": "netconf:127.0.0.1:11002/202", |
| 36 | "epB": "netconf:127.0.0.1:11003/202", |
| 37 | "type": "UiDeviceLink", |
| 38 | "portA": "202", |
| 39 | "portB": "202" |
| 40 | } |
| 41 | ] |
| 42 | }, |
| 43 | { |
| 44 | "id": "netconf:127.0.0.1:11002/203~netconf:127.0.0.1:11003/203", |
| 45 | "epA": "netconf:127.0.0.1:11002/203", |
| 46 | "epB": "netconf:127.0.0.1:11003/203", |
| 47 | "type": "UiDeviceLink", |
| 48 | "portA": "203", |
| 49 | "portB": "203", |
| 50 | "rollup": [ |
| 51 | { |
| 52 | "id": "netconf:127.0.0.1:11002/203~netconf:127.0.0.1:11003/203", |
| 53 | "epA": "netconf:127.0.0.1:11002/203", |
| 54 | "epB": "netconf:127.0.0.1:11003/203", |
| 55 | "type": "UiDeviceLink", |
| 56 | "portA": "203", |
| 57 | "portB": "203" |
| 58 | } |
| 59 | ] |
| 60 | }, |
| 61 | { |
| 62 | "id": "netconf:127.0.0.1:11002/204~netconf:127.0.0.1:11003/204", |
| 63 | "epA": "netconf:127.0.0.1:11002/204", |
| 64 | "epB": "netconf:127.0.0.1:11003/204", |
| 65 | "type": "UiDeviceLink", |
| 66 | "portA": "204", |
| 67 | "portB": "204", |
| 68 | "rollup": [ |
| 69 | { |
| 70 | "id": "netconf:127.0.0.1:11002/204~netconf:127.0.0.1:11003/204", |
| 71 | "epA": "netconf:127.0.0.1:11002/204", |
| 72 | "epB": "netconf:127.0.0.1:11003/204", |
| 73 | "type": "UiDeviceLink", |
| 74 | "portA": "204", |
| 75 | "portB": "204" |
| 76 | } |
| 77 | ] |
| 78 | }, |
| 79 | { |
| 80 | "id": "netconf:127.0.0.1:11002/205~netconf:127.0.0.1:11003/205", |
| 81 | "epA": "netconf:127.0.0.1:11002/205", |
| 82 | "epB": "netconf:127.0.0.1:11003/205", |
| 83 | "type": "UiDeviceLink", |
| 84 | "portA": "205", |
| 85 | "portB": "205", |
| 86 | "rollup": [ |
| 87 | { |
| 88 | "id": "netconf:127.0.0.1:11002/205~netconf:127.0.0.1:11003/205", |
| 89 | "epA": "netconf:127.0.0.1:11002/205", |
| 90 | "epB": "netconf:127.0.0.1:11003/205", |
| 91 | "type": "UiDeviceLink", |
| 92 | "portA": "205", |
| 93 | "portB": "205" |
| 94 | } |
| 95 | ] |
| 96 | }, |
| 97 | { |
| 98 | "id": "netconf:127.0.0.1:11002/206~netconf:127.0.0.1:11003/206", |
| 99 | "epA": "netconf:127.0.0.1:11002/206", |
| 100 | "epB": "netconf:127.0.0.1:11003/206", |
| 101 | "type": "UiDeviceLink", |
| 102 | "portA": "206", |
| 103 | "portB": "206", |
| 104 | "rollup": [ |
| 105 | { |
| 106 | "id": "netconf:127.0.0.1:11002/206~netconf:127.0.0.1:11003/206", |
| 107 | "epA": "netconf:127.0.0.1:11002/206", |
| 108 | "epB": "netconf:127.0.0.1:11003/206", |
| 109 | "type": "UiDeviceLink", |
| 110 | "portA": "206", |
| 111 | "portB": "206" |
| 112 | } |
| 113 | ] |
| 114 | } |
| 115 | ], |
| 116 | "devices": [ |
| 117 | [], |
| 118 | [], |
| 119 | [ |
| 120 | { |
| 121 | "id": "netconf:127.0.0.1:11002", |
| 122 | "nodeType": "device", |
| 123 | "type": "terminal_device", |
| 124 | "online": true, |
| 125 | "master": "127.0.0.1", |
| 126 | "layer": "def", |
| 127 | "props": { |
| 128 | "ipaddress": "127.0.0.1", |
| 129 | "protocol": "NETCONF", |
| 130 | "driver": "cassini-ocnos", |
| 131 | "port": "11002", |
| 132 | "name": "cassini2", |
| 133 | "locType": "none" |
| 134 | } |
| 135 | }, |
| 136 | { |
| 137 | "id": "netconf:127.0.0.1:11003", |
| 138 | "nodeType": "device", |
| 139 | "type": "terminal_device", |
| 140 | "online": true, |
| 141 | "master": "127.0.0.1", |
| 142 | "layer": "def", |
| 143 | "props": { |
| 144 | "ipaddress": "127.0.0.1", |
| 145 | "protocol": "NETCONF", |
| 146 | "driver": "cassini-ocnos", |
| 147 | "port": "11003", |
| 148 | "name": "cassini1", |
| 149 | "locType": "none" |
| 150 | } |
| 151 | } |
| 152 | ] |
| 153 | ], |
| 154 | "hosts": [ |
| 155 | [], |
| 156 | [], |
| 157 | [] |
| 158 | ], |
| 159 | "layerOrder": [ |
| 160 | "opt", |
| 161 | "pkt", |
| 162 | "def" |
| 163 | ] |
| 164 | } |
| 165 | } |