Andreas Papazois | a9964ea | 2016-01-08 15:58:22 +0200 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:00000000000000a1/1" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "name" : "AS1-conn1", |
| 7 | "ips" : [ "10.0.1.101/24" ], |
| 8 | "mac" : "00:00:00:00:00:01" |
Andreas Papazois | c2c4501 | 2016-01-20 14:26:11 +0200 | [diff] [blame] | 9 | }, |
Andreas Papazois | a9964ea | 2016-01-08 15:58:22 +0200 | [diff] [blame] | 10 | { |
| 11 | "name" : "AS1-conn2", |
| 12 | "ips" : [ "10.0.1.101/24" ], |
Andreas Papazois | c2c4501 | 2016-01-20 14:26:11 +0200 | [diff] [blame] | 13 | "mac" : "00:00:00:00:00:01", |
| 14 | "vlan" : "100" |
| 15 | } |
| 16 | ] |
| 17 | }, |
| 18 | "of:00000000000000a3/1" : { |
| 19 | "interfaces" : [ |
| 20 | { |
| 21 | "name" : "AS1-conn3", |
| 22 | "ips" : [ "10.0.1.101/24" ], |
| 23 | "mac" : "00:00:00:00:00:01" |
| 24 | }, |
| 25 | { |
| 26 | "name" : "AS2-conn1", |
| 27 | "ips" : [ "10.0.2.101/24" ], |
Andreas Papazois | a9964ea | 2016-01-08 15:58:22 +0200 | [diff] [blame] | 28 | "mac" : "00:00:00:00:00:01" |
| 29 | } |
| 30 | ] |
| 31 | }, |
| 32 | "of:00000000000000a5/1" : { |
| 33 | "interfaces" : [ |
| 34 | { |
| 35 | "name" : "AS3-conn1", |
| 36 | "ips" : [ "10.0.3.101/24" ], |
| 37 | "mac" : "00:00:00:00:00:01" |
| 38 | } |
| 39 | ] |
| 40 | }, |
| 41 | "of:00000000000000a6/1" : { |
| 42 | "interfaces" : [ |
| 43 | { |
| 44 | "name" : "AS4-conn1", |
| 45 | "ips" : [ "10.0.4.101/24" ], |
| 46 | "mac" : "00:00:00:00:00:01" |
| 47 | } |
| 48 | ] |
| 49 | } |
| 50 | }, |
| 51 | "apps" : { |
Andreas Papazois | c2c4501 | 2016-01-20 14:26:11 +0200 | [diff] [blame] | 52 | "org.onosproject.sdxl3": { |
Andreas Papazois | e6aebaa | 2016-05-26 15:25:51 +0300 | [diff] [blame] | 53 | "participants": { |
Andreas Papazois | c2c4501 | 2016-01-20 14:26:11 +0200 | [diff] [blame] | 54 | "bgpPeers": [ |
| 55 | { |
| 56 | "name": "AS1-Router1", |
| 57 | "ip": "10.0.1.1", |
| 58 | "connectPoint": "of:00000000000000a1/1", |
| 59 | "intfName": "AS1-conn1" |
| 60 | }, |
| 61 | { |
| 62 | "name": "AS1-Router2", |
| 63 | "ip": "10.0.1.2", |
| 64 | "connectPoint": "of:00000000000000a1/1", |
| 65 | "intfName": "AS1-conn2" |
| 66 | }, |
| 67 | { |
| 68 | "name": "AS1-Router3", |
| 69 | "ip": "10.0.1.129", |
| 70 | "connectPoint": "of:00000000000000a3/1", |
| 71 | "intfName": "AS1-conn3" |
| 72 | }, |
| 73 | { |
| 74 | "ip": "10.0.1.2", |
| 75 | "connectPoint": "of:00000000000000a1/1", |
| 76 | "intfName": "AS1-conn2" |
| 77 | } |
| 78 | ] |
| 79 | } |
Andreas Papazois | a9964ea | 2016-01-08 15:58:22 +0200 | [diff] [blame] | 80 | }, |
| 81 | "org.onosproject.router" : { |
| 82 | "bgp" : { |
| 83 | "bgpSpeakers" : [ |
| 84 | { |
| 85 | "name" : "bgp", |
| 86 | "connectPoint" : "of:00000000000000a3/1", |
| 87 | "peers" : [ |
| 88 | "10.0.1.1", |
Andreas Papazois | c2c4501 | 2016-01-20 14:26:11 +0200 | [diff] [blame] | 89 | "10.0.1.2", |
Andreas Papazois | a9964ea | 2016-01-08 15:58:22 +0200 | [diff] [blame] | 90 | "10.0.1.129", |
Andreas Papazois | c2c4501 | 2016-01-20 14:26:11 +0200 | [diff] [blame] | 91 | "10.0.2.1", |
| 92 | "10.0.3.1" |
| 93 | ] |
| 94 | }, |
| 95 | { |
| 96 | "connectPoint" : "of:00000000000000a3/1", |
| 97 | "peers" : [ |
Andreas Papazois | a9964ea | 2016-01-08 15:58:22 +0200 | [diff] [blame] | 98 | "10.0.4.1" |
| 99 | ] |
| 100 | } |
| 101 | ] |
| 102 | } |
| 103 | } |
| 104 | } |
Andreas Papazois | c2c4501 | 2016-01-20 14:26:11 +0200 | [diff] [blame] | 105 | } |