Jonathan Hart

Added example config files for SDN-IP

Change-Id: Ia40bea166c147e95c2d9f5dbe13c6ccbd622de3d
1 +ONOS looks for these config files by default in $KARAF_LOG/config/
...\ No newline at end of file ...\ No newline at end of file
1 +{
2 + "addresses" : [
3 + {
4 + "dpid" : "00:00:00:00:00:00:00:a3",
5 + "port" : "1",
6 + "ips" : ["192.168.10.101/24"],
7 + "mac" : "00:00:00:00:00:01"
8 + },
9 + {
10 + "dpid" : "00:00:00:00:00:00:00:a5",
11 + "port" : "1",
12 + "ips" : ["192.168.20.101/24"],
13 + "mac" : "00:00:00:00:00:01"
14 + },
15 + {
16 + "dpid" : "00:00:00:00:00:00:00:a2",
17 + "port" : "1",
18 + "ips" : ["192.168.30.101/24"],
19 + "mac" : "00:00:00:00:00:01"
20 + },
21 + {
22 + "dpid" : "00:00:00:00:00:00:00:a6",
23 + "port" : "1",
24 + "ips" : ["192.168.40.101/24"],
25 + "mac" : "00:00:00:00:00:01"
26 + },
27 + {
28 + "dpid" : "00:00:00:00:00:00:00:a4",
29 + "port" : "4",
30 + "ips" : ["192.168.60.101/24"],
31 + "mac" : "00:00:00:00:00:01"
32 + }
33 + ]
34 +}
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"
17 + }
18 + ],
19 + "bgpSpeakers" : [
20 + {
21 + "name" : "bgpSpeaker1",
22 + "attachmentDpid" : "00:00:00:00:00:00:00:a1",
23 + "attachmentPort" : "1",
24 + "macAddress" : "00:00:00:00:00:01",
25 + "interfaceAddresses" : [
26 + {
27 + "interfaceDpid" : "00:00:00:00:00:00:00:a3",
28 + "interfacePort" : "1",
29 + "ipAddress" : "192.168.10.101"
30 + },
31 + {
32 + "interfaceDpid" : "00:00:00:00:00:00:00:a5",
33 + "interfacePort" : "1",
34 + "ipAddress" : "192.168.20.101"
35 + },
36 + {
37 + "interfaceDpid" : "00:00:00:00:00:00:00:a2",
38 + "interfacePort" : "1",
39 + "ipAddress" : "192.168.30.101"
40 + },
41 + {
42 + "interfaceDpid" : "00:00:00:00:00:00:00:a6",
43 + "interfacePort" : "1",
44 + "ipAddress" : "192.168.40.101"
45 + },
46 + {
47 + "interfaceDpid" : "00:00:00:00:00:00:00:a4",
48 + "interfacePort" : "4",
49 + "ipAddress" : "192.168.60.101"
50 + }
51 +
52 + ]
53 +
54 + }
55 + ]
56 +}