summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/tutorials/sdnip/configs
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/tools/tutorials/sdnip/configs')
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/addresses.json28
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/gui.json9
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/quagga-sdn.conf35
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/quagga1.conf15
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/quagga2.conf15
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/quagga3.conf15
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/quagga4.conf15
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/sdnip.json54
-rw-r--r--framework/src/onos/tools/tutorials/sdnip/configs/zebra.conf5
9 files changed, 191 insertions, 0 deletions
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/addresses.json b/framework/src/onos/tools/tutorials/sdnip/configs/addresses.json
new file mode 100644
index 00000000..5b733212
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/addresses.json
@@ -0,0 +1,28 @@
+{
+ "addresses" : [
+ {
+ "dpid" : "00:00:00:00:00:00:00:a1",
+ "port" : "1",
+ "ips" : ["10.0.1.101/24"],
+ "mac" : "00:00:00:00:00:01"
+ },
+ {
+ "dpid" : "00:00:00:00:00:00:00:a2",
+ "port" : "1",
+ "ips" : ["10.0.2.101/24"],
+ "mac" : "00:00:00:00:00:01"
+ },
+ {
+ "dpid" : "00:00:00:00:00:00:00:a5",
+ "port" : "1",
+ "ips" : ["10.0.3.101/24"],
+ "mac" : "00:00:00:00:00:01"
+ },
+ {
+ "dpid" : "00:00:00:00:00:00:00:a6",
+ "port" : "1",
+ "ips" : ["10.0.4.101/24"],
+ "mac" : "00:00:00:00:00:01"
+ }
+ ]
+}
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/gui.json b/framework/src/onos/tools/tutorials/sdnip/configs/gui.json
new file mode 100644
index 00000000..fdc97575
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/gui.json
@@ -0,0 +1,9 @@
+{
+ "hosts" : [
+ { "mac": "00:00:00:00:00:01", "vlan": -1, "location": "of:00000000000000a3/1", "ip": "10.0.1.101, 10.0.2.101, 10.0.3.101, 10.0.4.101", "annotations": { "type": "bgpSpeaker" } },
+ { "mac": "00:00:00:00:01:01", "vlan": -1, "location": "of:00000000000000a1/1", "ip": "10.0.1.1", "annotations": { "type": "router" } },
+ { "mac": "00:00:00:00:02:01", "vlan": -1, "location": "of:00000000000000a2/1", "ip": "10.0.2.1", "annotations": { "type": "router" } },
+ { "mac": "00:00:00:00:03:01", "vlan": -1, "location": "of:00000000000000a5/1", "ip": "10.0.3.1", "annotations": { "type": "router" } },
+ { "mac": "00:00:00:00:04:01", "vlan": -1, "location": "of:00000000000000a6/1", "ip": "10.0.4.1", "annotations": { "type": "router" } }
+ ]
+}
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/quagga-sdn.conf b/framework/src/onos/tools/tutorials/sdnip/configs/quagga-sdn.conf
new file mode 100644
index 00000000..983c96e6
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/quagga-sdn.conf
@@ -0,0 +1,35 @@
+!
+hostname bgp
+password sdnip
+!
+!
+router bgp 65000
+ bgp router-id 10.10.10.1
+ timers bgp 3 9
+ !
+ neighbor 10.0.1.1 remote-as 65001
+ neighbor 10.0.1.1 ebgp-multihop
+ neighbor 10.0.1.1 timers connect 5
+ neighbor 10.0.1.1 advertisement-interval 5
+ !
+ neighbor 10.0.2.1 remote-as 65002
+ neighbor 10.0.2.1 ebgp-multihop
+ neighbor 10.0.2.1 timers connect 5
+ neighbor 10.0.2.1 advertisement-interval 5
+ !
+ neighbor 10.0.3.1 remote-as 65003
+ neighbor 10.0.3.1 ebgp-multihop
+ neighbor 10.0.3.1 timers connect 5
+ neighbor 10.0.3.1 advertisement-interval 5
+ !
+ neighbor 10.0.4.1 remote-as 65004
+ neighbor 10.0.4.1 ebgp-multihop
+ neighbor 10.0.4.1 timers connect 5
+ neighbor 10.0.4.1 advertisement-interval 5
+ !
+ ! ONOS
+ neighbor 10.10.10.2 remote-as 65000
+ neighbor 10.10.10.2 port 2000
+ neighbor 10.10.10.2 timers connect 5
+!
+log stdout
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/quagga1.conf b/framework/src/onos/tools/tutorials/sdnip/configs/quagga1.conf
new file mode 100644
index 00000000..6e65c96d
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/quagga1.conf
@@ -0,0 +1,15 @@
+! BGP configuration for r1
+!
+hostname r1
+password sdnip
+!
+router bgp 65001
+ bgp router-id 10.0.1.1
+ timers bgp 3 9
+ neighbor 10.0.1.101 remote-as 65000
+ neighbor 10.0.1.101 ebgp-multihop
+ neighbor 10.0.1.101 timers connect 5
+ neighbor 10.0.1.101 advertisement-interval 5
+ network 192.168.1.0/24
+!
+log stdout
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/quagga2.conf b/framework/src/onos/tools/tutorials/sdnip/configs/quagga2.conf
new file mode 100644
index 00000000..8ab7205d
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/quagga2.conf
@@ -0,0 +1,15 @@
+! BGP configuration for r2
+!
+hostname r2
+password sdnip
+!
+router bgp 65002
+ bgp router-id 10.0.2.1
+ timers bgp 3 9
+ neighbor 10.0.2.101 remote-as 65000
+ neighbor 10.0.2.101 ebgp-multihop
+ neighbor 10.0.2.101 timers connect 5
+ neighbor 10.0.2.101 advertisement-interval 5
+ network 192.168.2.0/24
+!
+log stdout
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/quagga3.conf b/framework/src/onos/tools/tutorials/sdnip/configs/quagga3.conf
new file mode 100644
index 00000000..53d9c8a1
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/quagga3.conf
@@ -0,0 +1,15 @@
+! BGP configuration for r3
+!
+hostname r3
+password sdnip
+!
+router bgp 65003
+ bgp router-id 10.0.3.1
+ timers bgp 3 9
+ neighbor 10.0.3.101 remote-as 65000
+ neighbor 10.0.3.101 ebgp-multihop
+ neighbor 10.0.3.101 timers connect 5
+ neighbor 10.0.3.101 advertisement-interval 5
+ network 192.168.3.0/24
+!
+log stdout
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/quagga4.conf b/framework/src/onos/tools/tutorials/sdnip/configs/quagga4.conf
new file mode 100644
index 00000000..809d5005
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/quagga4.conf
@@ -0,0 +1,15 @@
+! BGP configuration for r4
+!
+hostname r4
+password sdnip
+!
+router bgp 65004
+ bgp router-id 10.0.4.1
+ timers bgp 3 9
+ neighbor 10.0.4.101 remote-as 65000
+ neighbor 10.0.4.101 ebgp-multihop
+ neighbor 10.0.4.101 timers connect 5
+ neighbor 10.0.4.101 advertisement-interval 5
+ !network 192.168.4.0/24
+!
+log stdout
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/sdnip.json b/framework/src/onos/tools/tutorials/sdnip/configs/sdnip.json
new file mode 100644
index 00000000..dde8ea77
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/sdnip.json
@@ -0,0 +1,54 @@
+{
+ "bgpPeers" : [
+ {
+ "attachmentDpid" : "00:00:00:00:00:00:00:a1",
+ "attachmentPort" : "1",
+ "ipAddress" : "10.0.1.1"
+ },
+ {
+ "attachmentDpid" : "00:00:00:00:00:00:00:a2",
+ "attachmentPort" : "1",
+ "ipAddress" : "10.0.2.1"
+ },
+ {
+ "attachmentDpid" : "00:00:00:00:00:00:00:a5",
+ "attachmentPort" : "1",
+ "ipAddress" : "10.0.3.1"
+ },
+ {
+ "attachmentDpid" : "00:00:00:00:00:00:00:a6",
+ "attachmentPort" : "1",
+ "ipAddress" : "10.0.4.1"
+ }
+ ],
+ "bgpSpeakers" : [
+ {
+ "name" : "bgp",
+ "attachmentDpid" : "00:00:00:00:00:00:00:a3",
+ "attachmentPort" : "1",
+ "macAddress" : "00:00:00:00:00:01",
+ "interfaceAddresses" : [
+ {
+ "interfaceDpid" : "00:00:00:00:00:00:00:a1",
+ "interfacePort" : "1",
+ "ipAddress" : "10.0.1.101"
+ },
+ {
+ "interfaceDpid" : "00:00:00:00:00:00:00:a2",
+ "interfacePort" : "1",
+ "ipAddress" : "10.0.2.101"
+ },
+ {
+ "interfaceDpid" : "00:00:00:00:00:00:00:a5",
+ "interfacePort" : "1",
+ "ipAddress" : "10.0.3.101"
+ },
+ {
+ "interfaceDpid" : "00:00:00:00:00:00:00:a6",
+ "interfacePort" : "1",
+ "ipAddress" : "10.0.4.101"
+ }
+ ]
+ }
+ ]
+}
diff --git a/framework/src/onos/tools/tutorials/sdnip/configs/zebra.conf b/framework/src/onos/tools/tutorials/sdnip/configs/zebra.conf
new file mode 100644
index 00000000..6a4ae953
--- /dev/null
+++ b/framework/src/onos/tools/tutorials/sdnip/configs/zebra.conf
@@ -0,0 +1,5 @@
+! Configuration for zebra (NB: it is the same for all routers)
+!
+hostname zebra
+password sdnip
+log stdout