Jonathan Hart | d0caacd | 2014-10-20 17:56:35 -0700 | [diff] [blame] | 1 | { |
| 2 | "bgpPeers" : [ |
| 3 | { |
| 4 | "attachmentDpid" : "00:00:00:00:00:00:00:a3", |
| 5 | "attachmentPort" : "1", |
| 6 | "ipAddress" : "192.168.10.1" |
| 7 | }, |
| 8 | { |
| 9 | "attachmentDpid" : "00:00:00:00:00:00:00:a5", |
| 10 | "attachmentPort" : "1", |
| 11 | "ipAddress" : "192.168.20.1" |
| 12 | }, |
| 13 | { |
| 14 | "attachmentDpid" : "00:00:00:00:00:00:00:a2", |
| 15 | "attachmentPort" : "1", |
| 16 | "ipAddress" : "192.168.30.1" |
Jonathan Hart | b358c1e | 2014-10-23 11:05:17 -0700 | [diff] [blame] | 17 | }, |
| 18 | { |
| 19 | "attachmentDpid" : "00:00:00:00:00:00:00:a6", |
| 20 | "attachmentPort" : "1", |
| 21 | "ipAddress" : "192.168.40.1" |
| 22 | }, |
| 23 | { |
| 24 | "attachmentDpid" : "00:00:00:00:00:00:00:a4", |
| 25 | "attachmentPort" : "4", |
| 26 | "ipAddress" : "192.168.60.1" |
Jonathan Hart | d0caacd | 2014-10-20 17:56:35 -0700 | [diff] [blame] | 27 | } |
| 28 | ], |
| 29 | "bgpSpeakers" : [ |
| 30 | { |
| 31 | "name" : "bgpSpeaker1", |
| 32 | "attachmentDpid" : "00:00:00:00:00:00:00:a1", |
| 33 | "attachmentPort" : "1", |
| 34 | "macAddress" : "00:00:00:00:00:01", |
| 35 | "interfaceAddresses" : [ |
| 36 | { |
| 37 | "interfaceDpid" : "00:00:00:00:00:00:00:a3", |
| 38 | "interfacePort" : "1", |
| 39 | "ipAddress" : "192.168.10.101" |
| 40 | }, |
| 41 | { |
| 42 | "interfaceDpid" : "00:00:00:00:00:00:00:a5", |
| 43 | "interfacePort" : "1", |
| 44 | "ipAddress" : "192.168.20.101" |
| 45 | }, |
| 46 | { |
| 47 | "interfaceDpid" : "00:00:00:00:00:00:00:a2", |
| 48 | "interfacePort" : "1", |
| 49 | "ipAddress" : "192.168.30.101" |
| 50 | }, |
| 51 | { |
| 52 | "interfaceDpid" : "00:00:00:00:00:00:00:a6", |
| 53 | "interfacePort" : "1", |
| 54 | "ipAddress" : "192.168.40.101" |
| 55 | }, |
| 56 | { |
| 57 | "interfaceDpid" : "00:00:00:00:00:00:00:a4", |
| 58 | "interfacePort" : "4", |
| 59 | "ipAddress" : "192.168.60.101" |
| 60 | } |
| 61 | |
| 62 | ] |
| 63 | |
| 64 | } |
Pingping Lin | e28ae4c | 2015-03-13 11:37:03 -0700 | [diff] [blame] | 65 | ], |
| 66 | "ip4LocalPrefixes" : [ |
| 67 | { |
| 68 | "ipPrefix" : "100.0.0.0/24", |
| 69 | "type" : "PUBLIC" |
| 70 | }, |
| 71 | { |
| 72 | "ipPrefix" : "200.0.0.0/8", |
| 73 | "type" : "PUBLIC" |
| 74 | }, |
| 75 | { |
| 76 | "ipPrefix" : "192.0.0.0/24", |
| 77 | "type" : "PRIVATE" |
| 78 | } |
| 79 | ], |
| 80 | "ip6LocalPrefixes" : [ |
Jonathan Hart | d0caacd | 2014-10-20 17:56:35 -0700 | [diff] [blame] | 81 | ] |
| 82 | } |