slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:00002a45d713e141/2" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "name" : "sw1-1", |
| 7 | "ips" : [ "150.1.3.2/30" ], |
| 8 | "mac" : "e2:f5:32:16:9a:46" |
| 9 | } |
| 10 | ] |
| 11 | }, |
| 12 | "of:00002a45d713e141/3" : { |
| 13 | "interfaces" : [ |
| 14 | { |
| 15 | "name" : "sw1-1", |
| 16 | "ips" : [ "40.0.0.1/24" ], |
| 17 | "mac" : "e2:f5:32:16:9a:46" |
| 18 | } |
| 19 | ] |
| 20 | } |
| 21 | }, |
| 22 | "apps" : { |
| 23 | "org.onosproject.router" : { |
| 24 | "bgp" : { |
| 25 | "bgpSpeakers" : [ |
| 26 | { |
| 27 | "name" : "speaker1", |
| 28 | "connectPoint" : "of:00002a45d713e141/4", |
| 29 | "peers" : [ |
| 30 | "150.1.3.1" |
| 31 | ] |
| 32 | } |
| 33 | ] |
| 34 | } |
| 35 | }, |
| 36 | "org.onosproject.reactive.routing" : { |
| 37 | "reactiveRouting" : { |
| 38 | "ip4LocalPrefixes" : [ |
| 39 | { |
| 40 | "ipPrefix" : "40.0.0.0/24", |
| 41 | "type" : "PUBLIC", |
| 42 | "gatewayIp" : "40.0.0.1" |
| 43 | }, |
| 44 | { |
| 45 | "ipPrefix" : "150.1.3.0/30", |
| 46 | "type" : "PRIVATE", |
| 47 | "gatewayIp" : "150.1.3.2" |
| 48 | } |
| 49 | ], |
| 50 | "ip6LocalPrefixes" : [ |
| 51 | ], |
| 52 | "virtualGatewayMacAddress" : "e2:f5:32:16:9a:46" |
| 53 | } |
| 54 | }, |
| 55 | "org.onosproject.artemis" : { |
| 56 | "artemis" : { |
| 57 | "prefixes" : [ |
| 58 | { |
| 59 | "prefix" : "40.0.0.0/8", |
| 60 | "paths" : [ |
| 61 | { |
| 62 | "origin" : 65004, |
| 63 | "neighbor" : [ |
| 64 | { |
| 65 | "asn" : 65002, |
| 66 | "neighbor": [ |
| 67 | 65001 |
| 68 | ] |
| 69 | } |
| 70 | ] |
| 71 | } |
| 72 | ], |
| 73 | "moas" : [ ] |
| 74 | } |
| 75 | ], |
| 76 | "frequency" : 3000, |
| 77 | "monitors" : { |
| 78 | "ripe" : [ ], |
| 79 | "exabgp": [ "192.168.1.2:5000" ] |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | } |