gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 1 | { |
| 2 | "devices" : { |
| 3 | |
| 4 | "of:0000000000000021" : { |
| 5 | "segmentrouting" : { |
| 6 | "name" : "device-21", |
gunjan5 | d6ca177 | 2016-07-20 18:11:04 -0700 | [diff] [blame] | 7 | "nodeSid" : 100, |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 8 | "routerIp" : "10.6.0.7", |
gunjan5 | d6ca177 | 2016-07-20 18:11:04 -0700 | [diff] [blame] | 9 | "routerMac" : "cc:37:ab:00:00:00", |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 10 | "isEdgeRouter" : true, |
| 11 | "adjacencySids" : [] |
| 12 | } |
| 13 | }, |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 14 | "of:0000000000000022" : { |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 15 | "segmentrouting" : { |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 16 | "name" : "device-22", |
gunjan5 | d6ca177 | 2016-07-20 18:11:04 -0700 | [diff] [blame] | 17 | "nodeSid" : 101, |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 18 | "routerIp" : "10.6.0.10", |
gunjan5 | d6ca177 | 2016-07-20 18:11:04 -0700 | [diff] [blame] | 19 | "routerMac" : "cc:37:ab:00:00:01", |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 20 | "isEdgeRouter" : true, |
| 21 | "adjacencySids" : [] |
| 22 | } |
| 23 | }, |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 24 | "of:0000000000000011" : { |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 25 | "segmentrouting" : { |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 26 | "name" : "device-11", |
gunjan5 | d6ca177 | 2016-07-20 18:11:04 -0700 | [diff] [blame] | 27 | "nodeSid" : 102, |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 28 | "routerIp" : "10.6.0.6", |
gunjan5 | d6ca177 | 2016-07-20 18:11:04 -0700 | [diff] [blame] | 29 | "routerMac" : "cc:37:ab:00:00:02", |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 30 | "isEdgeRouter" : true, |
| 31 | "adjacencySids" : [] |
| 32 | } |
| 33 | }, |
| 34 | "of:0000000000000012" : { |
| 35 | "segmentrouting" : { |
| 36 | "name" : "device-12", |
gunjan5 | d6ca177 | 2016-07-20 18:11:04 -0700 | [diff] [blame] | 37 | "nodeSid" : 103, |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 38 | "routerIp" : "10.6.0.8", |
gunjan5 | d6ca177 | 2016-07-20 18:11:04 -0700 | [diff] [blame] | 39 | "routerMac" : "cc:37:ab:00:00:03", |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 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 | }, |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 54 | "of:0000000000000021/31-of:0000000000000011/1": { |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 55 | "basic": {} |
| 56 | }, |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 57 | "of:0000000000000022/32-of:0000000000000012/2": { |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 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 | |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 76 | "of:0000000000000021/4" : { |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 77 | "interfaces": [ |
| 78 | { |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 79 | "ips" : [ "10.6.1.254/24" ] |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 80 | } |
| 81 | ] |
| 82 | }, |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 83 | "of:0000000000000021/3" : { |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 84 | "interfaces": [ |
| 85 | { |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 86 | "ips" : [ "10.6.1.254/24" ] |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 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 | |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 108 | "3C:FD:FE:9E:94:28/-1" : { |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 109 | "basic" : { |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 110 | "ips" : ["10.6.1.4"], |
| 111 | "location" : "of:0000000000000021/4" |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 112 | } |
| 113 | }, |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 114 | "3C:FD:FE:9E:95:98/-1" : { |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 115 | "basic" : { |
gunjan5 | 16a9b44 | 2016-08-11 13:51:19 -0700 | [diff] [blame] | 116 | "ips" : ["10.6.1.2"], |
| 117 | "location" : "of:0000000000000021/3" |
gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 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 | } |