This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/time.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <net/if.h> | |
#include <net/if_arp.h> | |
#include <linux/rtnetlink.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# openvswitch sflow settings | |
[ovs] | |
sflow_port = 6343 | |
sflow_rate = 2048 | |
sflow_dstip = 10.0.0.10 | |
local_ip = 10.0.2.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.o | |
*.out | |
flowgen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** linux-source-3.13.0-original/net/ipv4/Kconfig Mon Jan 20 11:40:07 2014 | |
--- linux-source-3.13.0/net/ipv4/Kconfig Wed Jan 21 01:05:44 2015 | |
*************** config IP_ROUTE_MULTIPATH | |
*** 90,95 **** | |
--- 90,106 ---- | |
equal "cost" and chooses one of them in a non-deterministic fashion | |
if a matching packet arrives. | |
+ config IP_ROUTE_MULTIPATH_HASHONLY | |
+ bool "IP: equal cost multipath without load balancing for flows" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/helper/quagga-helper.cc Mon Sep 15 00:35:15 2014 +0900 | |
+++ b/helper/quagga-helper.cc Fri Jan 23 05:01:04 2015 +0900 | |
@@ -102,6 +102,7 @@ | |
class OspfConfig : public Object | |
{ | |
private: | |
+ std::string router_id; | |
std::map<std::string, uint32_t> *networks; | |
public: | |
OspfConfig () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* multiple source address traffic generator using netmap | |
*/ | |
#include <stdio.h> | |
#define NETMAP_WITH_LIBS | |
#include <net/netmap_user.h> | |
#include <unistd.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Water Fall NFV | |
""" | |
import types | |
import logging | |
import struct | |
from ryu.base import app_manager | |
from ryu.controller import mac_to_port |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# cgrep, dce cmdline grep | |
import re | |
import os | |
import sys | |
e_flag = False | |
s_flag = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
OpenFlow Patcher | |
""" | |
import json | |
import types | |
import logging | |
import struct | |
from ryu.base import app_manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Send Trac ticket updates to Slack | |
# | |
# Written by Gregor Dorfbauer / [email protected] | |
# http://usersnap.com - Show, don't tell. | |
# | |
# | |
# Setup Steps: | |
# update your trac.ini |