Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
http://www.juniper.net/documentation/en_US/learn-about/LA_VXLANinDCs.pdf | |
vxlan encapsulation sets the udp src port | |
== | |
§ | |
Source UDP port – The VXLAN protocol repurposes this standard field in a UDP | |
packet header. Instead of using this field for the source UDP port, the protocol uses | |
it as a numeric identifier for the particular flow between VTEPs. The VXLAN |
This file contains hidden or 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 <assert.h> | |
#include <stdio.h> | |
typedef enum Input_type_t { | |
inputTypeInt, | |
inputTypeChar, | |
inputTypeMax // last | |
} InputType; | |
typedef struct Input_t { |
This file contains hidden or 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 python3 | |
# Joshua challenge program | |
# | |
# Write a cache api that: | |
# | |
# - Is in memory storage; | |
# - Holds up to n bytes, based on strings for key and data; | |
# - Uses lru to evict entries to make up space for new entries; | |
# - Assume key and data are strings of variable lengths. |
This file contains hidden or 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
#!/bin/env python | |
# Playing with ovsdb json rpc | |
# https://tools.ietf.org/html/rfc7047#section-4.1.11 | |
# https://keepingitclassless.net/2013/10/introduction-to-open-vswitch/ | |
# https://keepingitclassless.net/2013/10/ovsdb-echo-in-python/ | |
import socket | |
import json | |
import time |
This file contains hidden or 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
http://www.izakayatoribar.com/ | |
2021-Oct-16-Sat@17:25:59 -- Steve ^^ | |
McNally Jackson Store | |
bookstore -- lots of art supplies, etc | |
http://mcnallyjacksonstore.com/ | |
234 Mulberry St | |
New York, NY 10012 |
This file contains hidden or 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
# Helper for determining if this is MacOS | |
_is_osx() { | |
uname | grep --quiet -i Darwin && echo 1 || echo 0 | |
} | |
function rhpaste() { | |
# -c will take link generated by rhpaste and put it in clipboard | |
# -d will dump contents of response as a browser would receive | |
# usage rhpaste <filename> or via pipe e.g.: git show|rhpaste | |
# rhpaste file1 file2 |
This file contains hidden or 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 | |
# usage: filesInPatch.py foo.patch | |
import sys | |
import re | |
# Initialize defaults | |
debug = 0 | |
fileNames = {} |
This file contains hidden or 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
#!/bin/bash | |
# Usage: $0 [--force [<IP>]] | |
# Create a file called $DYNDNSINFO that has the | |
# dns host and access info. Example: | |
# | |
# # https://domains.google.com/m/registrar/flaviof.dev/dns | |
# USERNAME='flaviof' | |
# PASSWORD='superSecret' |
This file contains hidden or 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
$ ./boot.sh && ./configure --with-ovs-source=${PWD}/../ovs && time make distcheck | |
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. | |
libtoolize: copying file 'build-aux/ltmain.sh' | |
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. | |
libtoolize: copying file 'm4/libtool.m4' | |
libtoolize: copying file 'm4/ltoptions.m4' | |
libtoolize: copying file 'm4/ltsugar.m4' | |
libtoolize: copying file 'm4/ltversion.m4' | |
libtoolize: copying file 'm4/lt~obsolete.m4' | |
configure.ac:25: installing 'build-aux/compile' |