03 2019 档案
摘要:1.安装依赖环境 yum install gcc make python-devel openssl-devel graphviz autoconf automake rpm-build redhat-rpm-config libtool 2.下载 kernel 源码: yum install "k
阅读全文
摘要:原文:https://www.cnblogs.com/fangying7/p/5679033.html 1:下载最新的QEMU源码 git clone https://github.com/qemu/qemu.git 2:对qemu进行编译 ./configure --prefix=/usr --l
阅读全文
摘要:执行这个命令: curl -SSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io 重启docker服务: systemctl restart docker
阅读全文
摘要:原文:https://www.cnblogs.com/scottieyuyang/p/5683656.html Increasing the flow-eviction threshold The threshold is a type of limit on the number of flows
阅读全文
摘要:datapath流表更新的入口函数都定义在dp_flow_genl_ops中,流表创建的入口函数是ovs_flow_cmd_new函数,通过该函数,我们可以一窥流表相关信息的建立。 1、ovs_flow_cmd_new函数 2、ovs_flow_tbl_insert函数 3、flow_mask_in
阅读全文
摘要:1.在ovs_dp_process_packet中查找kernel缓存流表,查到后执行ovs_execute_actions->do_execute_actions,其中有个actions是OVS_ACTION_ATTR_HASH 2.do_execute_actions中会调用execute_ha
阅读全文
摘要:现象: [root@ostack1 ~]# modprobe -r openvswitchmodprobe: FATAL: Module openvswitch is in use. 解决: [root@ostack1 ~]# ovs-dpctl showsystem@ovs-system: loo
阅读全文
摘要:原文链接:https://blog.csdn.net/qq_27517377/article/details/78794409 yum -y install httpd-tools ab -v 查看ab版本 ab –help ab -n1000 -c 10 http://www.91cnm.com/
阅读全文
摘要:1.安装依赖环境 yum install gcc make python-devel openssl-devel graphviz autoconf automake rpm-build redhat-rpm-config libtool 2.下载 kernel 源码: yum install "k
阅读全文
摘要:原文链接:https://blog.csdn.net/evenness/article/details/7655921?utm_source=blogxgwz5 modprobe: Load module(s):modprobe [-a -n -v ] [-C config ] [ -t type
阅读全文
摘要:1)/etc/sysconfig/network 打开/关闭网络配置 添加: NETWORKING_IPV6=yes 打开IPv6 IPV6_AUTOCONF=no 如果不喜欢自动获取地址,选择"no” 2) /etc/sysconfig/network-scripts/ifcfg-eth0 配置I
阅读全文
摘要:1 import json 2 3 result = response.read() 4 result.decode('utf-8') 5 jsonData = json.loads(result)
阅读全文
摘要:原文:https://www.cnblogs.com/hixiaowei/p/8954161.html 删除FORWARD 规则: iptables -nL FORWARD --line-numberiptables -D FORWARD 1 删除一条nat 规则 删除SNAT规则 iptables
阅读全文