This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Source -> NIC -> Sink | |
-- Execute in "chur": | |
-- sudo ./snabb snsh source_nic_sink.lua | |
-- | |
-- link report: | |
-- 2 sent on nic1.tx -> sink.in1 (loss rate: 0%) | |
-- 12,600,876 sent on source.out -> nic1.rx (loss rate: 0%) | |
local basic_apps = require("apps.basic.basic_apps") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -x | |
if [[ $EUID -ne 0 ]]; then | |
echo "You must run this script as root." | |
exit 1 | |
fi | |
VETH1_IPV6=fd00::1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Possible solution to http://stackoverflow.com/questions/36834786/how-to-save-a-table-to-a-file-from-lua/36836187#36836187 | |
function print_r (t, fd) | |
fd = fd or io.stdout | |
local function print(str) | |
str = str or "" | |
fd:write(str.."\n") | |
end | |
local print_r_cache={} | |
local function sub_print_r(t,indent) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# set -x | |
# Snabb Switch CI for GitHub Pull Requests. Depends on `jq' | |
# (http://stedolan.github.io/jq/). | |
export SNABBBOTDIR=${SNABBBOTDIR:-"/tmp/snabb_bot"} | |
export REPO=${REPO:-"igalia/snabbswitch"} | |
export CURRENT=${CURRENT:-"lwaftr"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz | |
Image: lwaftr/snabb-test | |
Pull Request: #95 | |
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed | |
Pull Request Head: dd69563c76159fb02fded679c36bc36a20083996 | |
ERROR: Failed to build 95 | |
From https://github.com/igalia/snabbswitch | |
* [new ref] refs/pull/95/head -> pr95 | |
Switched to branch 'pr95' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz | |
Image: lwaftr/snabb-test | |
Pull Request: #176 | |
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed | |
Pull Request Head: 2fc51b6dc6620c0ebae168b2e4eceb6c9d475999 | |
ERROR: Failed to build 176 | |
From https://github.com/igalia/snabbswitch | |
* [new ref] refs/pull/176/head -> pr176 | |
Switched to branch 'pr176' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz | |
Image: lwaftr/snabb-test | |
Pull Request: #227 | |
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed | |
Pull Request Head: f0044002f8967b9bc778f16e94d569b05b42f02b | |
ERROR: Failed to build 227 | |
From https://github.com/igalia/snabbswitch | |
* [new ref] refs/pull/227/head -> pr227 | |
Switched to branch 'pr227' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz | |
Image: lwaftr/snabb-test | |
Pull Request: #236 | |
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed | |
Pull Request Head: 9f4b1b50473f018d5525dea86a99d959b276ad3c | |
ERROR: Failed to build 236 | |
From https://github.com/igalia/snabbswitch | |
* [new ref] refs/pull/236/head -> pr236 | |
Switched to branch 'pr236' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz | |
Image: lwaftr/snabb-test | |
Pull Request: #244 | |
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed | |
Pull Request Head: ddde62e821603cee40047aec637b96b6eb486771 | |
ERROR: Failed to build 244 | |
From https://github.com/igalia/snabbswitch | |
* [new ref] refs/pull/244/head -> pr244 | |
Switched to branch 'pr244' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz | |
Image: lwaftr/snabb-test | |
Pull Request: #246 | |
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed | |
Pull Request Head: 1add3a6870ae02cfddfb9ec640ad4b72d4a5aa7d | |
ERROR: Failed to build 246 | |
From https://github.com/igalia/snabbswitch | |
* [new ref] refs/pull/246/head -> pr246 | |
Switched to branch 'pr246' |