gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame^] | 1 | { |
| 2 | "devices" : { |
| 3 | |
| 4 | "of:0000000000000021" : { |
| 5 | "segmentrouting" : { |
| 6 | "name" : "device-21", |
| 7 | "nodeSid" : 121, |
| 8 | "routerIp" : "10.6.0.7", |
| 9 | "routerMac" : "cc:37:ab:cc:ef:21", |
| 10 | "isEdgeRouter" : true, |
| 11 | "adjacencySids" : [] |
| 12 | } |
| 13 | }, |
| 14 | "of:0000000000000011" : { |
| 15 | "segmentrouting" : { |
| 16 | "name" : "device-11", |
| 17 | "nodeSid" : 111, |
| 18 | "routerIp" : "10.6.0.6", |
| 19 | "routerMac" : "cc:37:ab:cc:ef:11", |
| 20 | "isEdgeRouter" : true, |
| 21 | "adjacencySids" : [] |
| 22 | } |
| 23 | }, |
| 24 | "of:0000000000000022" : { |
| 25 | "segmentrouting" : { |
| 26 | "name" : "device-22", |
| 27 | "nodeSid" : 122, |
| 28 | "routerIp" : "10.6.0.10", |
| 29 | "routerMac" : "cc:37:ab:cc:ef:22", |
| 30 | "isEdgeRouter" : true, |
| 31 | "adjacencySids" : [] |
| 32 | } |
| 33 | }, |
| 34 | "of:0000000000000012" : { |
| 35 | "segmentrouting" : { |
| 36 | "name" : "device-12", |
| 37 | "nodeSid" : 112, |
| 38 | "routerIp" : "10.6.0.8", |
| 39 | "routerMac" : "cc:37:ab:cc:ef:12", |
| 40 | "isEdgeRouter" : true, |
| 41 | "adjacencySids" : [] |
| 42 | } |
| 43 | } |
| 44 | }, |
| 45 | |
| 46 | "links": { |
| 47 | |
| 48 | "of:0000000000000011/2-of:0000000000000022/31": { |
| 49 | "basic": {} |
| 50 | }, |
| 51 | "of:0000000000000022/31-of:0000000000000011/2": { |
| 52 | "basic": {} |
| 53 | }, |
| 54 | "of:0000000000000022/32-of:0000000000000012/2": { |
| 55 | "basic": {} |
| 56 | }, |
| 57 | "of:0000000000000021/31-of:0000000000000011/1": { |
| 58 | "basic": {} |
| 59 | }, |
| 60 | "of:0000000000000012/1-of:0000000000000021/32": { |
| 61 | "basic": {} |
| 62 | }, |
| 63 | "of:0000000000000012/2-of:0000000000000022/32": { |
| 64 | "basic": {} |
| 65 | }, |
| 66 | "of:0000000000000021/32-of:0000000000000012/1": { |
| 67 | "basic": {} |
| 68 | }, |
| 69 | "of:0000000000000011/1-of:0000000000000021/31": { |
| 70 | "basic": {} |
| 71 | } |
| 72 | }, |
| 73 | |
| 74 | "ports": { |
| 75 | |
| 76 | "of:0000000000000022/3" : { |
| 77 | "interfaces": [ |
| 78 | { |
| 79 | "ips" : [ "10.6.2.254/24" ] |
| 80 | } |
| 81 | ] |
| 82 | }, |
| 83 | "of:0000000000000022/4" : { |
| 84 | "interfaces": [ |
| 85 | { |
| 86 | "ips" : [ "10.6.2.254/24" ] |
| 87 | } |
| 88 | ] |
| 89 | }, |
| 90 | "of:0000000000000021/2" : { |
| 91 | "interfaces": [ |
| 92 | { |
| 93 | "ips" : [ "10.6.1.254/24" ] |
| 94 | } |
| 95 | ] |
| 96 | }, |
| 97 | "of:0000000000000021/1" : { |
| 98 | "interfaces": [ |
| 99 | { |
| 100 | "ips" : [ "10.6.1.254/24" ] |
| 101 | } |
| 102 | ] |
| 103 | } |
| 104 | }, |
| 105 | |
| 106 | "hosts" : { |
| 107 | |
| 108 | "3C:FD:FE:9E:95:99/-1" : { |
| 109 | "basic" : { |
| 110 | "ips" : ["10.6.2.3"], |
| 111 | "location" : "of:0000000000000022/3" |
| 112 | } |
| 113 | }, |
| 114 | "3C:FD:FE:9E:94:29/-1" : { |
| 115 | "basic" : { |
| 116 | "ips" : ["10.6.2.4"], |
| 117 | "location" : "of:0000000000000022/4" |
| 118 | } |
| 119 | }, |
| 120 | "3C:FD:FE:9E:98:68/-1" : { |
| 121 | "basic" : { |
| 122 | "ips" : ["10.6.1.2"], |
| 123 | "location" : "of:0000000000000021/2" |
| 124 | } |
| 125 | }, |
| 126 | "3C:FD:FE:9E:94:30/-1" : { |
| 127 | "basic" : { |
| 128 | "ips" : ["10.6.1.1"], |
| 129 | "location" : "of:0000000000000021/1" |
| 130 | } |
| 131 | } |
| 132 | }, |
| 133 | "apps" : { |
| 134 | "org.onosproject.core" : { |
| 135 | "core" : { |
| 136 | "linkDiscoveryMode" : "STRICT" |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | } |