Skip to content

Instantly share code, notes, and snippets.

View dfarrell07's full-sized avatar

Daniel Farrell dfarrell07

View GitHub Profile
@dfarrell07
dfarrell07 / .bash_aliases
Last active December 16, 2015 20:59
Bash configuration (depreciated for ZSH).
alias uu="sudo apt-get update; sudo apt-get upgrade"
alias o="gnome-open"
alias s="source `eval echo ~$USER`/.bashrc"
alias h="history"
alias ping="ping -i .2"
alias pingg="ping www.google.com"
alias cd1="cd .."
alias cd2="cd ../.."
alias cd3="cd ../../.."
alias cd4="cd ../../../.."
@dfarrell07
dfarrell07 / openstack_test_setup.sh
Last active December 20, 2015 09:19
Script for setting up OpenStack test environment.
#!/usr/bin/env bash
# Create a new user and setup their test environment
# Author: Daniel Farrell
EX_USAGE=64
EX_NOPERM=77
EX_CONFIG=78
EX_OK=0
usage()
@dfarrell07
dfarrell07 / run_openstack_tests.sh
Last active December 20, 2015 11:49
Script for loading OpenStack plugin code from SVN repo and executing tests.
#!/usr/bin/env bash
# Copy code to controllers and execute tests
# Author: Daniel Farrell
EX_USAGE=64
EX_CONFIG=78
EX_OK=0
buildmaster="10.66.9.5"
os1="10.66.66.9"
personal-digest-preferences SHA512
cert-digest-algo SHA512
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
keyid-format 0xlong
verify-options show-uid-validity
list-options show-uid-validity
@dfarrell07
dfarrell07 / docker_log
Created September 9, 2014 04:39
Log of Docker btrfs errors
sudo docker run fedora echo "hello world"
echo: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied
uname -a
Linux localhost.localdomain 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
sudo docker info
Containers: 4
Images: 3
Storage Driver: btrfs
Execution Driver: native-0.2
Kernel Version: 3.11.10-301.fc20.x86_64
@dfarrell07
dfarrell07 / html_bug.md
Last active August 29, 2015 14:06
Markdown to HTML (HTTP vs HTTPS links) bug

In the docs, I'm seeing valid Markdown HTTP links rendering to HTML that Chrome interprets as HTTPS links.

The "semantic versioning" link on [this page][1] is a broken HTTPS link. The HTTP version works as expected (manual s/s/).

Viewing the page's source gives this HTML:

<a href="//semver.org/">semantic versioning</a>.
@dfarrell07
dfarrell07 / Vagrantfile
Created September 28, 2014 11:49
CoreOS Vagrant bug info
# -*- mode: ruby -*-
# # vi: set ft=ruby :
require 'fileutils'
Vagrant.require_version ">= 1.6.0"
CLOUD_CONFIG_PATH = File.join(File.dirname(__FILE__), "user-data")
CONFIG = File.join(File.dirname(__FILE__), "config.rb")
root@3ae7bfccb8b4:/opt/opendaylight# ./bin/status
karaf: JAVA_HOME not set; results may vary
Not Running ...
root@3ae7bfccb8b4:/opt/opendaylight# pgrep java
root@3ae7bfccb8b4:/opt/opendaylight# ./bin/start
root@3ae7bfccb8b4:/opt/opendaylight# pgrep java
2276
root@3ae7bfccb8b4:/opt/opendaylight# ./bin/status
karaf: JAVA_HOME not set; results may vary
Running ...
TODO for community:
* Run through the very basics. Hack day? Stand up ODL, Mininet, see pings.
* +1 for lab, hands-on stuff
* Deployment options, what to do with ODL
* Build an app on ODL, compare to old-school solutions
* +1 to use cases, apps running on top of ODL (LBaas)
* Who's writing apps? What other communities want to build apps on ODL?
* NFV, SFC
* Session on NFV
* How does a vSwitch tie into all of this?
[Unit]
Description=OpenDaylight SDN Controller
Documentation=https://wiki.opendaylight.org/view/Main_Page http://www.opendaylight.org/
After=network.service
[Service]
Type=forking
ExecStart=/opt/opendaylight-0.2.1/bin/start
[Install]