Skip to content

Instantly share code, notes, and snippets.

View xiangpengzhao's full-sized avatar
🤖
no enough time on github recently :(

Peter (XiangPeng) Zhao xiangpengzhao

🤖
no enough time on github recently :(
View GitHub Profile
@xiangpengzhao
xiangpengzhao / ovs-example.md
Last active April 11, 2018 06:26 — forked from zarzen/ovs-example.md
ovs example

install openvswitch 2.4

uninstall ovs-2.5

sudo apt autoremove  openvswitch-common openvswitch-switch-dpdk openvswitch-dbg openvswitch-pki openvswitch-ipsec openvswitch-switch openvswitch-switch-dpdk openvswitch-ipsec openvswitch-test openvswitch-testcontroller openvswitch-vtep

download source code

wget http://openvswitch.org/releases/openvswitch-2.4.0.tar.gz

unpack and compile

@xiangpengzhao
xiangpengzhao / update-md-toc.sh
Last active October 21, 2017 10:05
This script updates the TOC of a markdown file. Derived from https://github.com/kubernetes/release/blob/master/lib/common.sh
#!/bin/bash
#
# Copyright 2017 The Kubernetes Authors All rights reserved.
#
# 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
#