Archives

All Posts Tagged Tag: ‘Python’

OpenFlow, OpenvSwitch and KVM SDN Lab Installation App

Bunker Lab

This OpenFlow, Open vSwitch and KVM SDN Lab Installation App is a python app that will install a few different options at an SDN lab. There are some really nice SDN applications that are coming along that have been open sourced from vendors or the community. Lots of people are really getting interested in understanding what SDN and getting to know …

Read More

Django Installation and First App Tutorial

Python Django Tutorial

Django Installation and First App Tutorial: Django is a powerful web framework written in Python used to create pluggable database driven websites that are complex, but simplified by the abstraction of the Django framework. I am using Ubuntu for this install but beyond it will work for most OS’s. I will configure Django to use sqlite as a database. It …

Read More

Python Tutorial: Classes, Objects, Methods, init and Simple Examples

Python1

Python Tutorial on Classes, Objects, Methods: In this post we will dive into Python classes, methods, objects and using the init constructer to initialize classes. Object oriented programming has gone well past being a fad (sorry punchcards) like it or not encapsulation and inheritance is winning out. The idea is to make modules and procedures abstracted, modifiable and reusable without needing …

Read More

Python Tutorial: Functions and Passing Lists and Dictionaries with Simple Examples

Python Tutorial

In Python the differences between functions, classes and methods is often best explained with examples of code. It is also the best way to learn syntax and languages for some of us. We will start off with Functions and work into Classes which is the Object Oriented Programming (OOP) in Python over the next few posts. These are merely blueprints …

Read More

OpenStack Essex Installer Script

OpenStack

Update: My latest installation document for Folsom can be found here. It’s too tough to try and keep up with debugging installers myself so I am just using DevStack in that tutorial. Thanks! Here is a Python Script I put together for installing OpenStack Essex on either your laptop in a Virtualbox VM running Qemu or on a standalone server/box for more …

Read More

OpenStack Essex Installation Walkthrough from Scratch (Part2)

Update: My latest installation document for Folsom can be found here. It’s too tough to try and keep up with debugging installers myself so I am just using DevStack in that tutorial. Thanks! Populate Glance Host VM OS Images /*Upload Images /* 11.10 image wget http://uec-images.ubuntu.com/releases/11.10/release/ubuntu-11.10-server-cloudimg-amd64-disk1.img /* 12.04 image wget https://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img $/etc/init.d/glance-api restart $/etc/init.d/glance-registry restart /*List Images $glance index (Should be empty) …

Read More

OpenStack Essex Installation and Configuration Screencast from Scratch (Part 1)

Many hours, days, nights and poor defenseless VMs were destroyed in preparing this how-to. There are some great scripts out there but for most engineers and architects we need to tear it apart look at the guts and put it back together. You are in luck. There are a lot of moving parts on the current OpenStack Essex release, so …

Read More