Luca Prete
Committed by Jonathan Hart

Updating SDN-IP tutorial config files

Change-Id: I98a2dcd0ed6a4a97ca2ac29a9b592e2f0c714ba8
(cherry picked from commit 97a08bbc)
1 -{
2 - "addresses" : [
3 - {
4 - "dpid" : "00:00:00:00:00:00:00:a1",
5 - "port" : "1",
6 - "ips" : ["2001:1::101/48"],
7 - "mac" : "00:00:00:00:00:01"
8 - },
9 - {
10 - "dpid" : "00:00:00:00:00:00:00:a2",
11 - "port" : "1",
12 - "ips" : ["2001:2::101/48"],
13 - "mac" : "00:00:00:00:00:01"
14 - },
15 - {
16 - "dpid" : "00:00:00:00:00:00:00:a5",
17 - "port" : "1",
18 - "ips" : ["2001:3::101/48"],
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" : ["2001:4::101/48"],
25 - "mac" : "00:00:00:00:00:01"
26 - }
27 - ]
28 -}
1 +{
2 + "ports" : {
3 + "of:00000000000000a1/1" : {
4 + "interfaces" : [
5 + {
6 + "name" : "sw1-1",
7 + "ips" : [ "2001:1::101/48" ],
8 + "mac" : "00:00:00:00:00:01"
9 + }
10 + ]
11 + },
12 + "of:00000000000000a2/1" : {
13 + "interfaces" : [
14 + {
15 + "name" : "sw2-1",
16 + "ips" : [ "2001:2::101/48" ],
17 + "mac" : "00:00:00:00:00:01"
18 + }
19 + ]
20 + },
21 + "of:00000000000000a5/1" : {
22 + "interfaces" : [
23 + {
24 + "name" : "sw5-1",
25 + "ips" : [ "2001:3::101/48" ],
26 + "mac" : "00:00:00:00:00:01"
27 + }
28 + ]
29 + },
30 + "of:00000000000000a6/1" : {
31 + "interfaces" : [
32 + {
33 + "name" : "sw6-1",
34 + "ips" : [ "2001:4::101/48" ],
35 + "mac" : "00:00:00:00:00:01"
36 + }
37 + ]
38 + }
39 + },
40 + "apps" : {
41 + "org.onosproject.router" : {
42 + "bgp" : {
43 + "bgpSpeakers" : [
44 + {
45 + "name" : "speaker1",
46 + "connectPoint" : "of:00000000000000a3/1",
47 + "peers" : [
48 + "2001:1::1",
49 + "2001:2::1",
50 + "2001:3::1",
51 + "2001:4::1"
52 + ]
53 + }
54 + ]
55 + }
56 + }
57 + }
58 +}
...\ No newline at end of file ...\ No newline at end of file
1 -{
2 - "bgpPeers" : [
3 - {
4 - "attachmentDpid" : "00:00:00:00:00:00:00:a1",
5 - "attachmentPort" : "1",
6 - "ipAddress" : "2001:1::1"
7 - },
8 - {
9 - "attachmentDpid" : "00:00:00:00:00:00:00:a2",
10 - "attachmentPort" : "1",
11 - "ipAddress" : "2001:2::1"
12 - },
13 - {
14 - "attachmentDpid" : "00:00:00:00:00:00:00:a5",
15 - "attachmentPort" : "1",
16 - "ipAddress" : "2001:3::1"
17 - },
18 - {
19 - "attachmentDpid" : "00:00:00:00:00:00:00:a6",
20 - "attachmentPort" : "1",
21 - "ipAddress" : "2001:4::1"
22 - }
23 - ],
24 - "bgpSpeakers" : [
25 - {
26 - "name" : "bgp",
27 - "attachmentDpid" : "00:00:00:00:00:00:00:a3",
28 - "attachmentPort" : "1",
29 - "macAddress" : "00:00:00:00:00:01",
30 - "interfaceAddresses" : [
31 - {
32 - "interfaceDpid" : "00:00:00:00:00:00:00:a1",
33 - "interfacePort" : "1",
34 - "ipAddress" : "2001:1::101"
35 - },
36 - {
37 - "interfaceDpid" : "00:00:00:00:00:00:00:a2",
38 - "interfacePort" : "1",
39 - "ipAddress" : "2001:2::101"
40 - },
41 - {
42 - "interfaceDpid" : "00:00:00:00:00:00:00:a5",
43 - "interfacePort" : "1",
44 - "ipAddress" : "2001:3::101"
45 - },
46 - {
47 - "interfaceDpid" : "00:00:00:00:00:00:00:a6",
48 - "interfacePort" : "1",
49 - "ipAddress" : "2001:4::101"
50 - }
51 - ]
52 - }
53 - ]
54 -}
1 -{
2 - "addresses" : [
3 - {
4 - "dpid" : "00:00:00:00:00:00:00:a1",
5 - "port" : "1",
6 - "ips" : ["10.0.1.101/24"],
7 - "mac" : "00:00:00:00:00:01"
8 - },
9 - {
10 - "dpid" : "00:00:00:00:00:00:00:a2",
11 - "port" : "1",
12 - "ips" : ["10.0.2.101/24"],
13 - "mac" : "00:00:00:00:00:01"
14 - },
15 - {
16 - "dpid" : "00:00:00:00:00:00:00:a5",
17 - "port" : "1",
18 - "ips" : ["10.0.3.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" : ["10.0.4.101/24"],
25 - "mac" : "00:00:00:00:00:01"
26 - }
27 - ]
28 -}
1 +{
2 + "ports" : {
3 + "of:00000000000000a1/1" : {
4 + "interfaces" : [
5 + {
6 + "name" : "sw1-1",
7 + "ips" : [ "10.0.1.101/24" ],
8 + "mac" : "00:00:00:00:00:01"
9 + }
10 + ]
11 + },
12 + "of:00000000000000a2/1" : {
13 + "interfaces" : [
14 + {
15 + "name" : "sw2-1",
16 + "ips" : [ "10.0.2.101/24" ],
17 + "mac" : "00:00:00:00:00:01"
18 + }
19 + ]
20 + },
21 + "of:00000000000000a5/1" : {
22 + "interfaces" : [
23 + {
24 + "name" : "sw5-1",
25 + "ips" : [ "10.0.3.101/24" ],
26 + "mac" : "00:00:00:00:00:01"
27 + }
28 + ]
29 + },
30 + "of:00000000000000a6/1" : {
31 + "interfaces" : [
32 + {
33 + "name" : "sw6-1",
34 + "ips" : [ "10.0.4.101/24" ],
35 + "mac" : "00:00:00:00:00:01"
36 + }
37 + ]
38 + }
39 + },
40 + "apps" : {
41 + "org.onosproject.router" : {
42 + "bgp" : {
43 + "bgpSpeakers" : [
44 + {
45 + "name" : "speaker1",
46 + "connectPoint" : "of:00000000000000a3/1",
47 + "peers" : [
48 + "10.0.1.1",
49 + "10.0.2.1",
50 + "10.0.3.1",
51 + "10.0.4.1"
52 + ]
53 + }
54 + ]
55 + }
56 + }
57 + }
58 +}
...\ No newline at end of file ...\ No newline at end of file
1 -{
2 - "bgpPeers" : [
3 - {
4 - "attachmentDpid" : "00:00:00:00:00:00:00:a1",
5 - "attachmentPort" : "1",
6 - "ipAddress" : "10.0.1.1"
7 - },
8 - {
9 - "attachmentDpid" : "00:00:00:00:00:00:00:a2",
10 - "attachmentPort" : "1",
11 - "ipAddress" : "10.0.2.1"
12 - },
13 - {
14 - "attachmentDpid" : "00:00:00:00:00:00:00:a5",
15 - "attachmentPort" : "1",
16 - "ipAddress" : "10.0.3.1"
17 - },
18 - {
19 - "attachmentDpid" : "00:00:00:00:00:00:00:a6",
20 - "attachmentPort" : "1",
21 - "ipAddress" : "10.0.4.1"
22 - }
23 - ],
24 - "bgpSpeakers" : [
25 - {
26 - "name" : "bgp",
27 - "attachmentDpid" : "00:00:00:00:00:00:00:a3",
28 - "attachmentPort" : "1",
29 - "macAddress" : "00:00:00:00:00:01",
30 - "interfaceAddresses" : [
31 - {
32 - "interfaceDpid" : "00:00:00:00:00:00:00:a1",
33 - "interfacePort" : "1",
34 - "ipAddress" : "10.0.1.101"
35 - },
36 - {
37 - "interfaceDpid" : "00:00:00:00:00:00:00:a2",
38 - "interfacePort" : "1",
39 - "ipAddress" : "10.0.2.101"
40 - },
41 - {
42 - "interfaceDpid" : "00:00:00:00:00:00:00:a5",
43 - "interfacePort" : "1",
44 - "ipAddress" : "10.0.3.101"
45 - },
46 - {
47 - "interfaceDpid" : "00:00:00:00:00:00:00:a6",
48 - "interfacePort" : "1",
49 - "ipAddress" : "10.0.4.101"
50 - }
51 - ]
52 - }
53 - ]
54 -}