Skip to content

Commit 0a5a557

Browse files
authored
Merge pull request #30 from netgroup/add-riolo-8r-1c-srv6-pm
Add riolo-8r-1c-srv6-pm project
2 parents 7eb3b58 + e21eaab commit 0a5a557

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+2403
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "nets-in-progress/riolo-8r-1c-srv6-pm/twampy"]
2+
path = nets-in-progress/riolo-8r-1c-srv6-pm/twampy
3+
url = https://github.com/nokia/twampy
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export WORKSPACE=/home/rose/workspace
2+
export ROSE_SRV6_TUTORIAL=${WORKSPACE}/rose-srv6-tutorial
3+
4+
# Configure SRV6_PFPML_PATH
5+
export SRV6_PFPML_PATH=/opt/srv6-pm-xdp-ebpf/srv6-pfplm
6+
7+
# Node manager params
8+
export NODE_MANAGER_PATH=${CONTROL_PLANE}/srv6_controller/node-manager/
9+
export NODE_MANAGER_GRPC_PORT=12345
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fcff:8::1
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# 8r-1c-srv6-pm Topology
2+
3+
A Mininet topology with 8 routers running IS-IS routing protocol, 12 hosts, 3 datacenters and a controller connected out-band to all the routers and hosts of the network.
4+
5+
This topology is the same as 8r-1c-out-band, but same nodes are configured to run Performance Measurement experiments.
6+
7+
## Topology overview
8+
9+
![Alt Topology](docs/images/topology.png)
10+
11+
## Start the topology
12+
13+
To start the topology:
14+
```
15+
python3 isis8d.py
16+
```
17+
18+
## Experiment description
19+
20+
```text
21+
The goal of the experiment is to measure TWAMP delay between sender and reflector by using SRv6 indication for routing.
22+
Example of usage: we want to use r1 as sender node and r8 as reflector node, we want to use the segment list <r3,r6>. It's possible to use any node as sender and reflector simply by starting the relavite scripts in the target nodes. For the set up of segment list is necessary to write the addresses of segments in the file 'SRv6-List', one per line. So in order to start this experiment:
23+
-add the addresses of r3 and r6 in RSv6-List,
24+
-wait 10s before to run the scripts in terminals to permit the correctly set up of network,
25+
-in r8 type: ./reflector,
26+
-in r1 type: ./sender
27+
28+
It's also possible to modify the number packet sent through the varible MAXPACKETSENT in twamp_dM.py.
29+
30+
The packet built with scapy have the follow schema in order to introduce the SRv6 header: IPv6\SRv6Header\IPv6_inner\UDP
31+
32+
```
33+
## Scapy problem
34+
35+
If you use the scapy version 2.4.5 you will notice some errors relative to interfaces list passed to sniff function, to solve the problem simply downgrade scapy to 2.4.4
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fcff:3::1
2+
fcff:6::1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#! /bin/bash
2+
3+
rm IPv6-Reflector
142 KB
Loading
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
127.0.0.1 localhost
2+
127.0.1.1 rose-srv6
3+
4+
# The following lines are desirable for IPv6 capable hosts
5+
::1 ip6-localhost ip6-loopback
6+
fe00::0 ip6-localnet
7+
ff00::0 ip6-mcastprefix
8+
ff02::1 ip6-allnodes
9+
ff02::2 ip6-allrouters
10+
11+
# Mininet hosts
12+
fcff:1::1 r1
13+
fcff:2::1 r2
14+
fcff:3::1 r3
15+
fcff:4::1 r4
16+
fcff:5::1 r5
17+
fcff:6::1 r6
18+
fcff:7::1 r7
19+
fcff:8::1 r8
20+
fd00:0:11::2 h11
21+
fd00:0:12::2 h12
22+
fd00:0:13::2 h13
23+
fd00:0:31::2 h31
24+
fd00:0:32::2 h32
25+
fd00:0:33::2 h33
26+
fd00:0:51::2 h51
27+
fd00:0:52::2 h52
28+
fd00:0:53::2 h53
29+
fd00:0:81::2 h81
30+
fd00:0:82::2 h82
31+
fd00:0:83::2 h83
32+
fcff:2:1::2 hdc1
33+
fcff:8:1::2 hdc2
34+
fcff:5:1::2 hdc3
35+
36+
fcfd:0:0:fd::1 controller.m
37+
fcfd:0:0:1::1 r1.m
38+
fcfd:0:0:2::1 r2.m
39+
fcfd:0:0:3::1 r3.m
40+
fcfd:0:0:4::1 r4.m
41+
fcfd:0:0:5::1 r5.m
42+
fcfd:0:0:6::1 r6.m
43+
fcfd:0:0:7::1 r7.m
44+
fcfd:0:0:8::1 r8.m

0 commit comments

Comments
 (0)