Skip to content

Instantly share code, notes, and snippets.

View higebu's full-sized avatar
🏠
Working from home

Yuya Kusakabe higebu

🏠
Working from home
View GitHub Profile
@higebu
higebu / ietf116_hackathon_gobgp_configuration.md
Last active April 10, 2023 06:49
IETF116 Hackathon GoBGP Configuration

OS

Ubuntu 22.04

cloud-init

#cloud-config
hostname: gobgp
manage_etc_hosts: True
@higebu
higebu / cml2_gobgp_cloud_config.yaml
Last active March 25, 2023 01:19
gobgp cloud config for CML2
#cloud-config
hostname: gobgp1
manage_etc_hosts: True
timezone: Asia/Tokyo
system_info:
default_user:
name: cisco
password: cisco
chpasswd: { expire: False }
ssh_pwauth: True
@higebu
higebu / gobgp_mup.md
Last active October 12, 2022 14:14
Usage of gobgp BGP-MUP Support
@higebu
higebu / vpp_srv6_mup_plugin_errors.md
Last active September 13, 2022 02:25
VPP SRv6 MUP Plugin Errors

Install VPP

https://packagecloud.io/fdio/release

curl -s https://packagecloud.io/install/repositories/fdio/release/script.deb.sh | sudo bash
sudo apt-get update
sudo apt-get install vpp vpp-plugin-core vpp-plugin-dpdk
sudo usermod -aG vpp $USER
sudo systemctl start vpp
@higebu
higebu / gcp_workload_identity_test_on_gke_autopilot.md
Created April 25, 2022 23:54
[GCP] Workload Identity Test on GKE Autopilot
@higebu
higebu / docker_on_vyos_12.md
Last active March 30, 2022 21:12
Docker on VyOS 1.2
* Vagrantfile
```
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure('2') do |config|
config.vm.box = 'vyos/current'
config.vm.provider :libvirt do |libvirt|
libvirt.storage :file, size: '20G'
@higebu
higebu / wait.go
Created December 11, 2015 11:23
Example Golang script for WaitForUpdateEx
package main
import (
"fmt"
"net/url"
"os"
"github.com/vmware/govmomi"
"github.com/vmware/govmomi/property"
"github.com/vmware/govmomi/vim25/types"
@higebu
higebu / main.go
Created October 11, 2021 02:18
Generate GTPv1-U packet in Go
package main
import (
"fmt"
"net"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
)
@higebu
higebu / config
Created October 11, 2021 01:38
kernel config for xdp testing
# Enable BPF related things
CONFIG_BPF_STREAM_PARSER=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF=y
CONFIG_BPFILTER=y
CONFIG_CGROUP_BPF=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_DEBUG_INFO=y
CONFIG_EPOLL=y
CONFIG_EVENTFD=y