I hereby claim:
- I am joestringer on github.
- I am joestringer (https://keybase.io/joestringer) on keybase.
- I have a public key ASAN2WCYQl1cxTZELEMwmGfPyY_h5yuY-hOOF1uIGM3-kwo
To claim this, I am signing this object:
dnl Allow traffic from local stack to ns0. Only allow neighbour discovery, | |
dnl return traffic from ns0 back to the local stack. | |
AT_DATA([flows.txt], [dnl | |
dnl default | |
table=0,priority=1,action=drop | |
table=0,priority=10,arp,action=normal | |
dnl Load the output port to REG0 | |
table=0,priority=100,ip,in_port=LOCAL,action=load:1->NXM_NX_REG0[[0..15]],goto_table:1 | |
table=0,priority=100,ip,in_port=1,action=load:65534->NXM_NX_REG0[[0..15]],goto_table:1 |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import sys | |
from enum import Enum | |
class Key_attr(Enum): | |
# From Linux include/uapi/linux/openvswitch.h | |
OVS_KEY_ATTR_UNSPEC = 0 | |
OVS_KEY_ATTR_ENCAP = 1 | |
OVS_KEY_ATTR_PRIORITY = 2 |
#!/bin/bash | |
# gnco.sh: Get netconsole options to send logs to a given IP. | |
# Author: Joe Stringer | |
# | |
# v1.1: Minor script tidyups. | |
# v1.0: Initial post. | |
# $1: L3 destination | |
function get_l2() | |
{ |
#!/bin/sh | |
if [ $# -ne 1 ]; then | |
echo "Usage: $0 <kernel>" | |
echo; | |
echo "Available kernels:" | |
ls /boot/vmlinuz-* | cut -d'-' -f2- | sed 's/^/ /' | |
exit 0; | |
fi |
#!/bin/bash | |
crash=1 | |
setup() | |
{ | |
modprobe nf_conntrack_ftp | |
brctl addbr br0 | |
ip link set dev br0 up |
09:25 < lrichard> Enable gcov kernel profiling in kernel config (CONFIG_GCOV_KERNEL) | |
09:25 < lrichard> Add "GCOV_PROFILE := y" to net/openvswitch/Makefile | |
09:25 < lrichard> Build kernel, install, reboot | |
09:25 < lrichard> Execute some tests involving kernel ovs data-plane... | |
09:25 < lrichard> mkdir -p /tmp/lcov | |
09:25 < lrichard> lcov -b /path/to/kernel/build/ -q -c --rc lcov_branch_coverage=1 -o /tmp/lcov/coverage.info | |
09:25 < lrichard> genhtml -q --branch-coverage --num-spaces 4 -o /tmp/lcov /tmp/lcov/coverage.info | |
09:25 < lrichard> firefox /tmp/lcov/index.html |
[suppress_type] | |
source_location_not_regexp = openvswitch/.*\\.h | |
[suppress_type] | |
soname_not_regexp = libopenvswitch-2 | |
[suppress_function] | |
soname_not_regexp = libopenvswitch-2 | |
[suppress_variable] | |
soname_not_regexp = libopenvswitch-2 |
#! /bin/sh | |
## Check current git branch against original release abi | |
# Copyright (C) 2017, Red Hat, Inc | |
# Copyright (C) 2017, Nicira, Inc | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at: | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
#!/bin/bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "Run as root" 2>&1 | |
exit 1 | |
fi | |
if [ ! -e /etc/init/ttyS0.conf ]; then | |
cat << EOF > /etc/init/ttyS0.conf | |
# ttyS0 - getty |