I hereby claim:
- I am celebdor on github.
- I am celebdor (https://keybase.io/celebdor) on keybase.
- I have a public key whose fingerprint is 4422 A952 3F73 AB4D 2FEB 2BB0 2329 618D 2967 720A
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
# Copyright 2016 Antoni Segura Puimedon <celebdor@gmail.com> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
#!/usr/bin/env python2 | |
# Copyright 2016 Antoni Segura Puimedon <celebdor@gmail.com> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
I hereby claim:
To claim this, I am signing this object:
SHELL := /bin/bash | |
.PHONY: \ | |
deploy_ost_controller \ | |
deploy_nsdb \ | |
deploy_ost_compute \ | |
relate_amqp \ | |
relate_keystone \ | |
relate_midonet_agent \ | |
relate_midonet_api \ |
[[local|localrc]] | |
ENABLED_SERVICES="" | |
enable_plugin kuryr https://github.com/openstack/kuryr.git | |
enable_service kuryr | |
enable_service etcd-server | |
enable_service docker-engine | |
# Credentials | |
ADMIN_PASSWORD=pass |
[[local|localrc]] | |
OFFLINE=No | |
RECLONE=No | |
ENABLED_SERVICES="" | |
enable_plugin kuryr https://github.com/openstack/kuryr.git | |
enable_service kuryr | |
enable_service etcd-server | |
enable_service docker-engine |
##Cans and Some String | |
####Introduction | |
So we can all agree that Docker is cool. Containers are cool, repeatability is cool, portability is cool, we're all cool. Everything is unicorns and rainbows. But something is missing in this fairy tale land, and it's something we all like to forget about. With this wide world of other containers and services out there ("world wide web" anyone?), we want to make use of these things and connect ourselves in. | |
That's it! We forgot networking! | |
####Current State of Affairs | |
Well that's not **quite** fair, we didn't _forget_ it per se, we just all got caught up in building cool containers and plumb left it for later. |
FROM centos:centos6.6 | |
MAINTAINER Antoni Segura Puimedon <toni@midokura.com> | |
RUN yum install -y scl-utils | |
RUN yum localinstall -y https://www.softwarecollections.org/en/scls/rhscl/v8314/epel-6-x86_64/download/rhscl-v8314-epel-6-x86_64.noarch.rpm | |
RUN yum install -y v8314 | |
RUN yum localinstall -y https://www.softwarecollections.org/en/scls/rhscl/ruby193/epel-6-x86_64/download/rhscl-ruby193-epel-6-x86_64.noarch.rpm | |
RUN yum install -y ruby193 ruby193-ruby-devel | |
RUN yum update -y | |
RUN yum install -y gcc |
from vdsm import vdscli | |
connection = vdscli.connect() | |
connection.addNetwork('toni', '', '', ['p1p3'], {'qosInbound':{'average': '1024'}, 'qosOutbound':{'average': '2400'}}) |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer