jaegonkim | 69b5607 | 2019-04-05 00:28:25 +0900 | [diff] [blame] | 1 | { |
| 2 | "apps": { |
| 3 | "org.onosproject.workflow": { |
| 4 | "workflow" : { |
| 5 | "rpc" : [ |
| 6 | { |
| 7 | "op" : "workflow.invoke", |
| 8 | "params" : { |
| 9 | "workplace" : "Nova-000", |
| 10 | "id" : "of-overlay.workflow-nova", |
| 11 | "data" : { |
| 12 | |
| 13 | "mgmtIp" : "192.168.10.8", |
| 14 | "ovsdbPort" : 6641, |
| 15 | |
| 16 | "sshAccessInfo" : { |
| 17 | "remoteIp" : "192.168.10.8", |
| 18 | "port" : 22, |
| 19 | "user" : "root", |
| 20 | "password" : "iloveyou", |
| 21 | "keyfile" : "~/.ssh/id_rsa" |
| 22 | }, |
| 23 | |
| 24 | "ovsDatapathType" : "system", |
| 25 | "physicalPorts" : [ "nova0_1" ], |
| 26 | "vtepIp" : "120.0.0.200/24", |
| 27 | |
| 28 | "annotations" : { |
| 29 | "rackId" : 1, |
| 30 | "rackPosition" : 3 |
| 31 | } |
| 32 | |
| 33 | } |
| 34 | }, |
| 35 | "id" : "00001@10.0.0.1" |
| 36 | }, |
| 37 | { |
| 38 | "op" : "workflow.invoke", |
| 39 | "params" : { |
| 40 | "workplace" : "Nova-001", |
| 41 | "id" : "of-overlay.workflow-nova", |
| 42 | "data" : { |
| 43 | |
| 44 | "mgmtIp" : "192.168.10.9", |
| 45 | "ovsdbPort" : 6641, |
| 46 | |
| 47 | "sshAccessInfo" : { |
| 48 | "remoteIp" : "192.168.10.9", |
| 49 | "port" : 22, |
| 50 | "user" : "root", |
| 51 | "password" : "iloveyou", |
| 52 | "keyfile" : "~/.ssh/id_rsa" |
| 53 | }, |
| 54 | |
| 55 | "ovsDatapathType" : "system", |
| 56 | "physicalPorts" : [ "nova1_1" ], |
| 57 | "vtepIp" : "120.0.0.201/24", |
| 58 | |
| 59 | "annotations" : { |
| 60 | "rackId" : 1, |
| 61 | "rackPosition" : 3 |
| 62 | } |
| 63 | |
| 64 | } |
| 65 | }, |
| 66 | "id" : "00001@10.0.0.1" |
| 67 | }, |
| 68 | { |
| 69 | "op" : "workflow.invoke", |
| 70 | "params" : { |
| 71 | "workplace" : "Nova-002", |
| 72 | "id" : "of-overlay.workflow-nova", |
| 73 | "data" : { |
| 74 | |
| 75 | "mgmtIp" : "192.168.10.10", |
| 76 | "ovsdbPort" : 6641, |
| 77 | |
| 78 | "sshAccessInfo" : { |
| 79 | "remoteIp" : "192.168.10.10", |
| 80 | "port" : 22, |
| 81 | "user" : "root", |
| 82 | "password" : "iloveyou", |
| 83 | "keyfile" : "~/.ssh/id_rsa" |
| 84 | }, |
| 85 | |
| 86 | "ovsDatapathType" : "system", |
| 87 | "physicalPorts" : [ "nova2_1" ], |
| 88 | "vtepIp" : "120.0.0.202/24", |
| 89 | |
| 90 | "annotations" : { |
| 91 | "rackId" : 1, |
| 92 | "rackPosition" : 3 |
| 93 | } |
| 94 | |
| 95 | } |
| 96 | }, |
| 97 | "id" : "00001@10.0.0.1" |
| 98 | }, |
| 99 | { |
| 100 | "op" : "workflow.invoke", |
| 101 | "params" : { |
| 102 | "workplace" : "Nova-003", |
| 103 | "id" : "of-overlay.workflow-nova", |
| 104 | "data" : { |
| 105 | |
| 106 | "mgmtIp" : "192.168.10.11", |
| 107 | "ovsdbPort" : 6641, |
| 108 | |
| 109 | "sshAccessInfo" : { |
| 110 | "remoteIp" : "192.168.10.11", |
| 111 | "port" : 22, |
| 112 | "user" : "root", |
| 113 | "password" : "iloveyou", |
| 114 | "keyfile" : "~/.ssh/id_rsa" |
| 115 | }, |
| 116 | |
| 117 | "ovsDatapathType" : "system", |
| 118 | "physicalPorts" : [ "nova3_1" ], |
| 119 | "vtepIp" : "120.0.0.203/24", |
| 120 | |
| 121 | "annotations" : { |
| 122 | "rackId" : 1, |
| 123 | "rackPosition" : 3 |
| 124 | } |
| 125 | |
| 126 | } |
| 127 | }, |
| 128 | "id" : "00001@10.0.0.1" |
| 129 | }, |
| 130 | |
| 131 | { |
| 132 | "op" : "workflow.invoke", |
| 133 | "params" : { |
| 134 | "workplace" : "Leaf-000", |
| 135 | "id" : "of-overlay.workflow-ovs-leaf", |
| 136 | "data" : { |
| 137 | |
| 138 | "mgmtIp" : "192.168.10.4", |
| 139 | "ovsdbPort" : 6641, |
| 140 | |
| 141 | "sshAccessInfo" : { |
| 142 | "remoteIp" : "192.168.10.4", |
| 143 | "port" : 22, |
| 144 | "user" : "root", |
| 145 | "password" : "iloveyou", |
| 146 | "keyfile" : "~/.ssh/id_rsa" |
| 147 | }, |
| 148 | |
| 149 | "ovsDatapathType" : "system", |
| 150 | "physicalPorts" : [ "leaf0_0", "leaf0_1", "leaf0_nova00" ], |
| 151 | |
| 152 | "annotations" : { |
| 153 | "rackId" : 1, |
| 154 | "rackPosition" : 3 |
| 155 | } |
| 156 | |
| 157 | } |
| 158 | }, |
| 159 | "id" : "00001@10.0.0.1" |
| 160 | }, |
| 161 | { |
| 162 | "op" : "workflow.invoke", |
| 163 | "params" : { |
| 164 | "workplace" : "Leaf-001", |
| 165 | "id" : "of-overlay.workflow-ovs-leaf", |
| 166 | "data" : { |
| 167 | |
| 168 | "mgmtIp" : "192.168.10.5", |
| 169 | "ovsdbPort" : 6641, |
| 170 | |
| 171 | "sshAccessInfo" : { |
| 172 | "remoteIp" : "192.168.10.5", |
| 173 | "port" : 22, |
| 174 | "user" : "root", |
| 175 | "password" : "iloveyou", |
| 176 | "keyfile" : "~/.ssh/id_rsa" |
| 177 | }, |
| 178 | |
| 179 | "ovsDatapathType" : "system", |
| 180 | "physicalPorts" : [ "leaf1_0", "leaf1_1", "leaf1_nova10" ], |
| 181 | |
| 182 | "annotations" : { |
| 183 | "rackId" : 1, |
| 184 | "rackPosition" : 3 |
| 185 | } |
| 186 | |
| 187 | } |
| 188 | }, |
| 189 | "id" : "00001@10.0.0.1" |
| 190 | }, |
| 191 | { |
| 192 | "op" : "workflow.invoke", |
| 193 | "params" : { |
| 194 | "workplace" : "Leaf-002", |
| 195 | "id" : "of-overlay.workflow-ovs-leaf", |
| 196 | "data" : { |
| 197 | |
| 198 | "mgmtIp" : "192.168.10.6", |
| 199 | "ovsdbPort" : 6641, |
| 200 | |
| 201 | "sshAccessInfo" : { |
| 202 | "remoteIp" : "192.168.10.6", |
| 203 | "port" : 22, |
| 204 | "user" : "root", |
| 205 | "password" : "iloveyou", |
| 206 | "keyfile" : "~/.ssh/id_rsa" |
| 207 | }, |
| 208 | |
| 209 | "ovsDatapathType" : "system", |
| 210 | "physicalPorts" : [ "leaf2_0", "leaf2_1", "leaf2_nova20" ], |
| 211 | |
| 212 | "annotations" : { |
| 213 | "rackId" : 1, |
| 214 | "rackPosition" : 3 |
| 215 | } |
| 216 | |
| 217 | } |
| 218 | }, |
| 219 | "id" : "00001@10.0.0.1" |
| 220 | }, |
| 221 | |
| 222 | { |
| 223 | "op" : "workflow.invoke", |
| 224 | "params" : { |
| 225 | "workplace" : "Leaf-003", |
| 226 | "id" : "of-overlay.workflow-ovs-leaf", |
| 227 | "data" : { |
| 228 | |
| 229 | "mgmtIp" : "192.168.10.7", |
| 230 | "ovsdbPort" : 6641, |
| 231 | |
| 232 | "sshAccessInfo" : { |
| 233 | "remoteIp" : "192.168.10.7", |
| 234 | "port" : 22, |
| 235 | "user" : "root", |
| 236 | "password" : "iloveyou", |
| 237 | "keyfile" : "~/.ssh/id_rsa" |
| 238 | }, |
| 239 | |
| 240 | "ovsDatapathType" : "system", |
| 241 | "physicalPorts" : [ "leaf3_0", "leaf3_1", "leaf3_nova30" ], |
| 242 | |
| 243 | "annotations" : { |
| 244 | "rackId" : 1, |
| 245 | "rackPosition" : 3 |
| 246 | } |
| 247 | |
| 248 | } |
| 249 | }, |
| 250 | "id" : "00001@10.0.0.1" |
| 251 | }, |
| 252 | { |
| 253 | "op" : "workflow.invoke", |
| 254 | "params" : { |
| 255 | "workplace" : "Spine-000", |
| 256 | "id" : "of-overlay.workflow-ovs-spine", |
| 257 | "data" : { |
| 258 | |
| 259 | "mgmtIp" : "192.168.10.2", |
| 260 | "ovsdbPort" : 6641, |
| 261 | |
| 262 | "sshAccessInfo" : { |
| 263 | "remoteIp" : "192.168.10.2", |
| 264 | "port" : 22, |
| 265 | "user" : "root", |
| 266 | "password" : "iloveyou", |
| 267 | "keyfile" : "~/.ssh/id_rsa" |
| 268 | }, |
| 269 | |
| 270 | "ovsDatapathType" : "system", |
| 271 | "physicalPorts" : [ "spine0_0", "spine0_1", "spine0_2", "spine0_3" ], |
| 272 | |
| 273 | "annotations" : { |
| 274 | "rackId" : 1, |
| 275 | "rackPosition" : 3 |
| 276 | } |
| 277 | |
| 278 | } |
| 279 | }, |
| 280 | "id" : "00001@10.0.0.1" |
| 281 | }, |
| 282 | { |
| 283 | "op" : "workflow.invoke", |
| 284 | "params" : { |
| 285 | "workplace" : "Spine-001", |
| 286 | "id" : "of-overlay.workflow-ovs-spine", |
| 287 | "data" : { |
| 288 | |
| 289 | "mgmtIp" : "192.168.10.3", |
| 290 | "ovsdbPort" : 6641, |
| 291 | |
| 292 | "sshAccessInfo" : { |
| 293 | "remoteIp" : "192.168.10.3", |
| 294 | "port" : 22, |
| 295 | "user" : "root", |
| 296 | "password" : "iloveyou", |
| 297 | "keyfile" : "~/.ssh/id_rsa" |
| 298 | }, |
| 299 | |
| 300 | "ovsDatapathType" : "system", |
| 301 | "physicalPorts" : [ "spine1_0", "spine1_1", "spine1_2", "spine1_3" ], |
| 302 | |
| 303 | "annotations" : { |
| 304 | "rackId" : 1, |
| 305 | "rackPosition" : 3 |
| 306 | } |
| 307 | |
| 308 | } |
| 309 | }, |
| 310 | "id" : "00001@10.0.0.1" |
| 311 | } |
| 312 | |
| 313 | ] |
| 314 | } |
| 315 | } |
| 316 | } |
| 317 | } |