aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/apps/sdnip/src/main/resources/config-examples/sdnip.json
blob: c51de68ae0603ebcefdac0cd0520473a94cd892c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
    "bgpPeers" : [
        {
            "attachmentDpid" : "00:00:00:00:00:00:00:a3",
	    "attachmentPort" : "1",
            "ipAddress" : "192.168.10.1"
        },
	{
            "attachmentDpid" : "00:00:00:00:00:00:00:a5",
	    "attachmentPort" : "1",
            "ipAddress" : "192.168.20.1"
        },
	{
            "attachmentDpid" : "00:00:00:00:00:00:00:a2",
	    "attachmentPort" : "1",
            "ipAddress" : "192.168.30.1"
        },
	{
            "attachmentDpid" : "00:00:00:00:00:00:00:a6",
	    "attachmentPort" : "1",
            "ipAddress" : "192.168.40.1"
        },
	{
            "attachmentDpid" : "00:00:00:00:00:00:00:a4",
	    "attachmentPort" : "4",
            "ipAddress" : "192.168.60.1"
        }
    ],
    "bgpSpeakers" : [
        {
            "name" : "bgpSpeaker1",
            "attachmentDpid" : "00:00:00:00:00:00:00:a1",
            "attachmentPort" : "1",
            "macAddress" : "00:00:00:00:00:01",
            "interfaceAddresses" : [
                {
		    "interfaceDpid" : "00:00:00:00:00:00:00:a3",
		    "interfacePort" : "1",
                    "ipAddress" : "192.168.10.101"
                },
                {
		    "interfaceDpid" : "00:00:00:00:00:00:00:a5",
		    "interfacePort" : "1",
                    "ipAddress" : "192.168.20.101"
                },
                {
		    "interfaceDpid" : "00:00:00:00:00:00:00:a2",
		    "interfacePort" : "1",
                    "ipAddress" : "192.168.30.101"
                },
                {
		    "interfaceDpid" : "00:00:00:00:00:00:00:a6",
		    "interfacePort" : "1",
                    "ipAddress" : "192.168.40.101"
                },
                {
		    "interfaceDpid" : "00:00:00:00:00:00:00:a4",
		    "interfacePort" : "4",
                    "ipAddress" : "192.168.60.101"
                }
                
            ]
            
        }
    ],
    "ip4LocalPrefixes" : [
        {
                "ipPrefix" : "100.0.0.0/24",
                "type" : "PUBLIC",
                "gatewayIp" : "100.0.0.1"
        },
        {
                "ipPrefix" : "200.0.0.0/8",
                "type" : "PUBLIC",
                "gatewayIp" : "200.0.0.3"
        },
        {
                "ipPrefix" : "192.0.0.0/24",
                "type" : "PRIVATE",
                "gatewayIp" : "192.0.0.254"
        }
    ],
    "ip6LocalPrefixes" : [
    ],
    "virtualGatewayMacAddress" : "00:00:00:00:00:01"
}