Keybase proof
I hereby claim:
- I am John-Lin on github.
- I am johnlin_ (https://keybase.io/johnlin_) on keybase.
- I have a public key whose fingerprint is 0412 942F AFE5 6937 4EF2 F245 F729 570C C1A6 E7BE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty itself. | |
#env: | |
# TERM variable | |
# | |
# This value is used to set the `$TERM` environment variable for | |
# each instance of Alacritty. If it is not present, alacritty will |
Please see How to Minikube
$ minikube start --cpus 4 --memory 8192
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.24.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
from ryu.base import app_manager | |
from ryu.controller import ofp_event | |
from ryu.controller.handler import CONFIG_DISPATCHER | |
from ryu.controller.handler import set_ev_cls | |
from ryu.ofproto import ofproto_v1_3 | |
class Switch(app_manager.RyuApp): | |
OFP_VERSIONS = [ofproto_v1_3.OFP_VERSION] |
iperf
iperf -c 10.240.0.2 -p 12345 -i 1 -t 10 -w 20K
iperf -s -p 12345 -i 1 -M
+---------+ +-----------+ | |
|ovs-ofctl| |sFlow Trend| | |
+----^----+ +-----^-----+ | |
| | Remote | |
+-----------------------------------------------------------------------------------------------+ | |
| | | |
| sFlow | | |
| | +---------+ +----------+ +---------+ +------------+ | |
| | |ovs-dpctl| |ovs-appctl| |ovs-vsctl| |ovsdb-client| | |
| | +----+----+ +------^---+ +-----+---+ +-------^----+ |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.provider "virtualbox" do |vb| | |
vb.gui = true | |
vb.customize ['modifyvm', :id, '--nictype1', 'Am79C973'] | |
vb.customize ['modifyvm', :id, '--nicpromisc1', 'allow-all'] | |
end | |
config.vm.provision :shell, path: "bootstrap.sh" |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.provider "virtualbox" do |vb| | |
vb.customize ['modifyvm', :id, '--nictype1', 'Am79C973'] | |
vb.customize ['modifyvm', :id, '--nicpromisc1', 'allow-all'] | |
end | |
config.vm.provision :shell, path: "bootstrap.sh" | |
end |
namespace('iperf', function () { | |
desc('Iperf server receiving 64 byte'); | |
task('s64', { async: true }, function () { | |
var cmds = ['iperf -s -u -l 64 -i 1']; | |
jake.exec(cmds, { interactive: true }, function () { | |
complete(); | |
}); | |
}); | |
desc('Iperf server receiving 128 byte'); |