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:
| #!/bin/bash | |
| CILIUM_PATH="$HOME/git/cilium" | |
| VM="runtime1" | |
| IP="192.168.34.11" | |
| USER="vagrant" | |
| CONFIG_GIT="https://github.com/joestringer/config" | |
| BASHRC_PATCH="bashrc_nobold.patch" | |
| set -e |
| #!/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 |
| #! /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 |
| [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 |
| 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 |
| #!/bin/bash | |
| crash=1 | |
| setup() | |
| { | |
| modprobe nf_conntrack_ftp | |
| brctl addbr br0 | |
| ip link set dev br0 up |
| #!/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 | |
| # 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() | |
| { |
| #!/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 |
I hereby claim:
To claim this, I am signing this object: