Skip to content

Commit 820011c

Browse files
committed
Add copyright boilerplate to source files
1 parent 817b9ec commit 820011c

22 files changed

+250
-41
lines changed

README.org

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
#+LaTeX_HEADER:\usepackage{tikz}
44
#+LATEX:\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
55
#+LATEX:\lstdefinelanguage{javascript}{basicstyle=\scriptsize\ttfamily,numbers=left,numberstyle=\scriptsize,stepnumber=1,showstringspaces=false,breaklines=true,frame=lines}
6-
#+OPTIONS: toc:nil author:t ^:nil num:nil
6+
#+OPTIONS: toc:nil ^:nil num:nil
77

88
#+TITLE: TIPSY: Telco pIPeline benchmarking SYstem
9-
#+AUTHOR: Tamás Lévai, Felicián Németh, Gábor Rétvári (BME)
109

1110
/Disclaimer: TIPSY is currently heavily work in progress!/
1211

bess/bess-runner.py

+18
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
#!/usr/bin/env python3
2+
3+
# TIPSY: Telco pIPeline benchmarking SYstem
4+
#
5+
# Copyright (C) 2018 by it's authors (See AUTHORS)
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful, but
13+
# WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
220
import argparse
321
import itertools
422
import json

bess/mgw.bess

+18
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
# -*- mode: python; -*-
2+
3+
# TIPSY: Telco pIPeline benchmarking SYstem
4+
#
5+
# Copyright (C) 2017-2018 by it's authors (See AUTHORS)
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful, but
13+
# WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
220
import re
321
import os
422
import socket

bess/portfwd.bess

+18
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
# -*- mode: python; -*-
2+
3+
# TIPSY: Telco pIPeline benchmarking SYstem
4+
#
5+
# Copyright (C) 2018 by it's authors (See AUTHORS)
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful, but
13+
# WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
220
import json
321

422
def mac_int_from_str(s):

doc/README.L2fwd.org

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
#+LaTeX_HEADER:\usepackage{tikz}
44
#+LATEX:\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
55
#+LATEX:\lstdefinelanguage{javascript}{basicstyle=\scriptsize\ttfamily,numbers=left,numberstyle=\scriptsize,stepnumber=1,showstringspaces=false,breaklines=true,frame=lines}
6-
#+OPTIONS: toc:nil author:t ^:nil num:nil
6+
#+OPTIONS: toc:nil ^:nil num:nil
77

88
#+TITLE: L2 Packet Forwarding (L2fwd)
9-
#+AUTHOR: Tamás Lévai, Felicián Németh, Gábor Rétvári (BME)
109

1110
The L2 Packet Forwarding pipeline (name: =L2fwd=) models a simple Ethernet
1211
switch using a static MAC lookup table. Note that this pipeline is rather

doc/README.L3fwd.org

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
#+LaTeX_HEADER:\usepackage{tikz}
44
#+LATEX:\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
55
#+LATEX:\lstdefinelanguage{javascript}{basicstyle=\scriptsize\ttfamily,numbers=left,numberstyle=\scriptsize,stepnumber=1,showstringspaces=false,breaklines=true,frame=lines}
6-
#+OPTIONS: toc:nil author:t ^:nil num:nil
6+
#+OPTIONS: toc:nil ^:nil num:nil
77

88
#+TITLE: L3 Packet Forwarding (L3fwd)
9-
#+AUTHOR: Tamás Lévai, Felicián Németh, Gábor Rétvári (BME)
109

1110
The L3 Packet Forwarding pipeline (name: =l3fwd=) models a basic L3 router,
1211
with MAC destination checking, =ether_type= lookup, L3 routing, and

doc/README.bng.org

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
#+LaTeX_HEADER:\usepackage{enumitem}
33
#+LaTeX_HEADER:\usepackage{tikz}
44
#+LATEX:\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
5-
#+OPTIONS: toc:nil author:t ^:nil num:nil
5+
#+OPTIONS: toc:nil ^:nil num:nil
66

77
#+TITLE: Broadband Nerwork Gateway (BNG)
8-
#+AUTHOR: Tamás Lévai, Felicián Németh, Gábor Rétvári (BME)
98

109
* Static pipeline
1110

doc/README.config.org

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
#+LaTeX_HEADER:\usepackage{tikz}
44
#+LATEX:\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
55
#+LATEX:\lstdefinelanguage{javascript}{basicstyle=\scriptsize\ttfamily,numbers=left,numberstyle=\scriptsize,stepnumber=1,showstringspaces=false,breaklines=true,frame=lines}
6-
#+OPTIONS: toc:nil author:t ^:nil num:nil
6+
#+OPTIONS: toc:nil ^:nil num:nil
77

88
#+TITLE: TIPSY configuration guide
9-
#+AUTHOR: Tamás Lévai, Felicián Németh, Gábor Rétvári (BME)
109

1110
TIPSY relies on a high-level main configuration file to perform reliable
1211
and reproducible benchmarks. The key to the flexibility of TIPSY is that

doc/README.mgw.org

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
#+LaTeX_HEADER:\usepackage{tikz}
44
#+LATEX:\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
55
#+LATEX:\lstdefinelanguage{javascript}{basicstyle=\scriptsize\ttfamily,numbers=left,numberstyle=\scriptsize,stepnumber=1,showstringspaces=false,breaklines=true,frame=lines}
6-
#+OPTIONS: toc:nil author:t ^:nil num:nil
6+
#+OPTIONS: toc:nil ^:nil num:nil
77

88
#+TITLE: Mobile Gateway (MGW)
9-
#+AUTHOR: Tamás Lévai, Felicián Németh, Gábor Rétvári (BME)
109

1110
The mobile gateway pipeline (name: =mgw=) represents a simplified 5G
1211
gateway that connects a set of mobile user equipments (UEs), located behind

doc/README.portfwd.org

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
#+LaTeX_HEADER:\usepackage{tikz}
44
#+LATEX:\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
55
#+LATEX:\lstdefinelanguage{javascript}{basicstyle=\scriptsize\ttfamily,numbers=left,numberstyle=\scriptsize,stepnumber=1,showstringspaces=false,breaklines=true,frame=lines}
6-
#+OPTIONS: toc:nil author:t ^:nil num:nil
6+
#+OPTIONS: toc:nil ^:nil num:nil
77

88
#+TITLE: L2 Port Forwarding (PORTfwd)
9-
#+AUTHOR: Tamás Lévai, Felicián Németh, Gábor Rétvári (BME)
109

1110
The port-forwarder pipeline (name: =portfwd=) is a basic L2 setup that
1211
allows to exercise the raw speed of the underlying data plane

doc/README.vision.org

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
#+LaTeX_HEADER:\usepackage{enumitem}
33
#+LaTeX_HEADER:\usepackage{tikz}
44
#+LATEX:\setitemize{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
5-
#+OPTIONS: toc:nil author:t ^:nil num:nil
5+
#+OPTIONS: toc:nil ^:nil num:nil
66

77
#+TITLE: Vision: The TIPSY Workflow
8-
#+AUTHOR: Tamás Lévai, Felicián Németh, Gábor Rétvári (BME)
98

109
Unfortunately, TIPSY is still unfinished. The current vision for how a
1110
full-fledged TIPSY would work is as follows. Take this as a pretty much

doc/workflow.graph-easy.txt

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Tipsy workflow / dataflow
22
#
3+
# TIPSY: Telco pIPeline benchmarking SYstem
4+
#
5+
# Copyright (C) 2018 by it's authors (See AUTHORS)
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful, but
13+
# WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
#
320
# Box with dotted border: commands
421
# Box with solid border: data files
522
# line label: additonal data required as input

lib/gen_conf.py

+18
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
#!/usr/bin/env python3
2+
3+
# TIPSY: Telco pIPeline benchmarking SYstem
4+
#
5+
# Copyright (C) 2018 by it's authors (See AUTHORS)
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful, but
13+
# WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
220
import argparse
321
import json
422
import os

lib/gen_pcap.py

+18
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
#!/usr/bin/env python
2+
3+
# TIPSY: Telco pIPeline benchmarking SYstem
4+
#
5+
# Copyright (C) 2018 by it's authors (See AUTHORS)
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful, but
13+
# WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
220
import argparse
321
import itertools
422
import json

lib/validate.py

+21-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
#!/usr/bin/env python3
2+
3+
# TIPSY: Telco pIPeline benchmarking SYstem
4+
#
5+
# Copyright (C) 2018 by it's authors (See AUTHORS)
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful, but
13+
# WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
#
20+
# This file incorporates work covered by the following copyright and
21+
# permission notice:
22+
#
223
# Copyright (c) 2013 Julian Berman
3-
# Copyright (c) 2018 Felician Nemeth
424
#
525
# Permission is hereby granted, free of charge, to any person obtaining a copy
626
# of this software and associated documentation files (the "Software"), to deal

ryu/color_log.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# TIPSY: Telco pIPeline benchmarking SYstem
2+
#
3+
# Copyright (C) 2018 by it's authors (See AUTHORS)
4+
#
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
10+
# This program is distributed in the hope that it will be useful, but
11+
# WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
# General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
118
import logging
219

320
# INSTALLATION

ryu/sw_conf_vsctl.py

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
# Copyright (C) 2017 Felician Nemeth, [email protected]
1+
# TIPSY: Telco pIPeline benchmarking SYstem
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
3+
# Copyright (C) 2017-2018 by it's authors (See AUTHORS)
64
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
89
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
# implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
10+
# This program is distributed in the hope that it will be useful, but
11+
# WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
# General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1517

1618
import logging
1719
import os

ryu/tipsy.py

+14-13
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
# Copyright (C) 2017 Felician Nemeth, [email protected]
1+
# TIPSY: Telco pIPeline benchmarking SYstem
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
3+
# Copyright (C) 2017-2018 by it's authors (See AUTHORS)
64
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
89
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
# implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
10+
# This program is distributed in the hope that it will be useful, but
11+
# WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
# General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1617
"""
17-
TIPSY: Simplified mobile gateway
18+
TIPSY: Telco pIPeline benchmarking SYstem
1819
1920
Run as:
2021
$ ryu-manager --log-config-file path/to/log.cfg path/to/tipsy.py

tipsy.py

+18
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
#!/usr/bin/env python3
2+
3+
# TIPSY: Telco pIPeline benchmarking SYstem
4+
#
5+
# Copyright (C) 2018 by it's authors (See AUTHORS)
6+
#
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# This program is distributed in the hope that it will be useful, but
13+
# WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
220
import argparse
321
import glob
422
import itertools

utils/mg-pcap.lua

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
--- Replay a pcap file and measure latencies.
22

3+
-- TIPSY: Telco pIPeline benchmarking SYstem
4+
--
5+
-- Copyright (C) 2018 by it's authors (See AUTHORS)
6+
--
7+
-- This program is free software: you can redistribute it and/or
8+
-- modify it under the terms of the GNU General Public License as
9+
-- published by the Free Software Foundation, either version 3 of the
10+
-- License, or (at your option) any later version.
11+
--
12+
-- This program is distributed in the hope that it will be useful, but
13+
-- WITHOUT ANY WARRANTY; without even the implied warranty of
14+
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
-- General Public License for more details.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
320
local ffi = require "ffi"
421

522
local mg = require "moongen"

0 commit comments

Comments
 (0)