Skip to content

Instantly share code, notes, and snippets.

Diego Pino dpino

Block or report user

Report or block dpino

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View PR 521 - selftest
commit db2e4369522aee5ec2ee2ec8391ac1d0bd7be7d8
Author: Diego Pino Garcia <dpino@igalia.com>
Date: Thu Oct 27 16:15:30 2016 +0200
Rename snabb-lwaftr to snabbvmx in Makefile
DIR obj/testlog
TEST lib.pmu
SKIPPED testlog/lib.pmu
TEST lib.numa
View PR 515 - selftest
$ git log -1
commit faa32bfcacda682f19bdfabc5721fef3e3972a97
Author: Diego Pino Garcia <dpino@igalia.com>
Date: Thu Oct 27 13:32:26 2016 +0200
Add image
TEST core.timer
TEST core.counter
TEST core.lib
@dpino
dpino / ns-ipv6-no-nat.sh
Created Apr 29, 2016
Create Network Namespace with IPv6 connectivity via Hurricane Electric tunnel (no NAT66 needed)
View ns-ipv6-no-nat.sh
#!/usr/bin/env bash
set -x
if [[ $EUID -ne 0 ]]; then
echo "You must run this script as root."
exit 1
fi
# Fill up IPv6 addresses for the veth pair. Addresses must belong to the
@dpino
dpino / ns-ipv6.sh
Created Apr 29, 2016
Create Network Namespace with IPv6 connectivity via Hurricane Electric tunnel
View ns-ipv6.sh
#!/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
View sof-36834786.lua
-- 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)
@dpino
dpino / ns-inet.sh
Created Apr 11, 2016
Setup a network namespace with Internet access
View ns-inet.sh
#!/usr/bin/env bash
set -x
NS="ns1"
VETH="veth1"
VPEER="vpeer1"
VETH_ADDR="10.200.1.1"
VPEER_ADDR="10.200.1.2"
View snabb_bot.sh
#!/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"}
View log
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'
View log
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'
View log
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'
You can’t perform that action at this time.