pingping-lin | 117a43b | 2015-09-08 17:40:53 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:00000000000000a8/5" : { |
pingping-lin | 2bdfe2d | 2015-09-23 16:09:41 -0700 | [diff] [blame] | 4 | "interfaces" : [ |
| 5 | { |
alison | e4121a9 | 2016-11-22 16:31:36 -0800 | [diff] [blame] | 6 | "name": "sw8-5", |
pingping-lin | 2bdfe2d | 2015-09-23 16:09:41 -0700 | [diff] [blame] | 7 | "ips" : [ "10.0.5.101/24" ], |
| 8 | "mac" : "00:00:00:00:00:01" |
| 9 | } |
| 10 | ] |
pingping-lin | 117a43b | 2015-09-08 17:40:53 -0700 | [diff] [blame] | 11 | }, |
| 12 | "of:0000000000000a32/4" : { |
pingping-lin | 2bdfe2d | 2015-09-23 16:09:41 -0700 | [diff] [blame] | 13 | "interfaces" : [ |
| 14 | { |
alison | e4121a9 | 2016-11-22 16:31:36 -0800 | [diff] [blame] | 15 | "name" : "sw32-4", |
pingping-lin | 2bdfe2d | 2015-09-23 16:09:41 -0700 | [diff] [blame] | 16 | "ips" : [ "10.0.4.101/24" ], |
| 17 | "mac" : "00:00:00:00:00:01" |
| 18 | } |
| 19 | ] |
pingping-lin | 117a43b | 2015-09-08 17:40:53 -0700 | [diff] [blame] | 20 | }, |
| 21 | "of:0000000000000a28/3" : { |
pingping-lin | 2bdfe2d | 2015-09-23 16:09:41 -0700 | [diff] [blame] | 22 | "interfaces" : [ |
| 23 | { |
alison | e4121a9 | 2016-11-22 16:31:36 -0800 | [diff] [blame] | 24 | "name" : "sw28-3", |
pingping-lin | 2bdfe2d | 2015-09-23 16:09:41 -0700 | [diff] [blame] | 25 | "ips" : [ "10.0.6.101/24" ], |
| 26 | "mac" : "00:00:00:00:00:01" |
| 27 | } |
| 28 | ] |
alison | e4121a9 | 2016-11-22 16:31:36 -0800 | [diff] [blame] | 29 | }, |
| 30 | "of:00000000000000a5/5" : { |
| 31 | "interfaces" : [ |
| 32 | { |
| 33 | "name" : "sw5-5", |
| 34 | "ips" : [ "10.0.20.101/24" ], |
| 35 | "mac" : "00:00:00:00:00:03", |
| 36 | "vlan" : "10" |
| 37 | } |
| 38 | ] |
| 39 | }, |
| 40 | "of:00000000000000a5/4" : { |
| 41 | "interfaces" : [ |
| 42 | { |
| 43 | "name" : "sw5-4", |
| 44 | "ips" : [ "10.0.9.101/24" ], |
| 45 | "mac" : "00:00:00:00:00:03", |
| 46 | "vlan" : "10" |
| 47 | } |
| 48 | ] |
| 49 | }, |
| 50 | "of:00000000000000a7/3" : { |
| 51 | "interfaces" : [ |
| 52 | { |
| 53 | "name" : "sw7-3", |
| 54 | "ips" : [ "10.0.7.101/24" ], |
| 55 | "mac" : "00:00:00:00:00:02", |
| 56 | "vlan" : "20" |
| 57 | } |
| 58 | ] |
| 59 | }, |
| 60 | "of:00000000000000a9/3" : { |
| 61 | "interfaces" : [ |
| 62 | { |
| 63 | "name" : "sw9-3", |
| 64 | "ips" : [ "10.0.8.101/24" ], |
| 65 | "mac" : "00:00:00:00:00:02", |
| 66 | "vlan" : "20" |
| 67 | } |
| 68 | ] |
pingping-lin | 117a43b | 2015-09-08 17:40:53 -0700 | [diff] [blame] | 69 | } |
| 70 | }, |
| 71 | "apps" : { |
| 72 | "org.onosproject.router" : { |
| 73 | "bgp" : { |
| 74 | "bgpSpeakers" : [ |
| 75 | { |
alison | e4121a9 | 2016-11-22 16:31:36 -0800 | [diff] [blame] | 76 | "name": "bgpSpeaker1", |
pingping-lin | 117a43b | 2015-09-08 17:40:53 -0700 | [diff] [blame] | 77 | "connectPoint" : "of:0000000000000a24/1", |
| 78 | "peers" : [ |
| 79 | "10.0.4.1", |
| 80 | "10.0.5.1", |
| 81 | "10.0.6.1" |
| 82 | ] |
alison | e4121a9 | 2016-11-22 16:31:36 -0800 | [diff] [blame] | 83 | }, |
| 84 | { |
| 85 | "name": "bgpSpeaker2", |
| 86 | "vlan": "20", |
| 87 | "connectPoint" : "of:0000000000000a24/2", |
| 88 | "peers" : [ |
| 89 | "10.0.7.1", |
| 90 | "10.0.8.1" |
| 91 | ] |
| 92 | }, |
| 93 | { |
| 94 | "name": "bgpSpeaker3", |
| 95 | "vlan": "10", |
| 96 | "connectPoint" : "of:0000000000000a24/3", |
| 97 | "peers" : [ |
| 98 | "10.0.9.1", |
| 99 | "10.0.20.1" |
| 100 | ] |
pingping-lin | 117a43b | 2015-09-08 17:40:53 -0700 | [diff] [blame] | 101 | } |
alison | e4121a9 | 2016-11-22 16:31:36 -0800 | [diff] [blame] | 102 | |
pingping-lin | 117a43b | 2015-09-08 17:40:53 -0700 | [diff] [blame] | 103 | ] |
| 104 | } |
| 105 | } |
| 106 | } |
| 107 | } |