Script to create Neutron tenant networks

Kashyap Chamarthy

In my two node OpenStack setup (RDO on Fedora 20), I often have to create multiple Neutron tenant networks (here you can read a more on what’s a tenant network) for various testing purposes.

To alleviate this manual process, a trivial script that’ll create a new Neutron tenant network after you provide a few positional parameters in an existing OpenStack setup. This assumes there’s a working OpenStack setup with Neutron configured. I tested this on Neutron + OVS + GRE. This should work with any other Neutron plugins, as tenant networks is a Neutron concept (and not specific to plugins).

Usage:

$ ./create-new-tenant-network.sh                \
                    TENANTNAME USERNAME         \
                    SUBNETSPACE ROUTERNAME      \ 
                    PRIVNETNAME PRIVSUBNETNAME  \

To create a new tenant network with 14.0.0.0/24 subnet:

$ ./create-new-tenant-network.sh \
  demoten1 tuser1                \
  14.0.0.0 trouter1              \
  priv-net1 priv-subnet1

The script does the below, in that order:

  1. Creates a Keystone tenant called demoten1.
  2. Then…

View original post 424 more words

Advertisements

Leave a comment

Filed under OpenStack

Presentation videos from OpenStack Hong Kong are live!

Sweet ! 

Link : http://cloudifysource.tumblr.com/post/69189807693/presentation-videos-from-openstack-hong-kong-are-live

Download and convert to webm format. Smaller size.

Leave a comment

Filed under OpenStack

Neutron as SDN controller

Very soon OpenDayLight project will have the first release of SDN controller to the world.

With Juniper Contrail , SDN and NFS are very hot topic for next coming year.

Here is another take on Neutron as SDN during OpenStack Summit in Hong Kong recently.

Link : http://techs.enovance.com/6413/summit-openstack-neutron-point-of-view

Leave a comment

Filed under OpenStack

Ceph and Swift

I love Ceph and hope to see Ceph as a truly Unified Storage for OpenStack.

But it is good to have other options and getting a truly ideal storage for cloud can be very challenging.

Love those guys at Enovance who did some write up about Ceph and Swift.

Link : http://techs.enovance.com/6427/ceph-and-swift-why-we-are-not-fighting

Leave a comment

Filed under OpenStack

Rally : OpenStack Benchmarking Tool

IBM and Mirantis have launched OpenStack Benchmarking tool called “Rally”.

This is another way forward to make OpenStack really awesome.

More info on Rally : https://wiki.openstack.org/wiki/Rally

Rally Architecture for developers : https://wiki.openstack.org/wiki/Rally/ArchitectureForDevelopers

Leave a comment

Filed under OpenStack

OpenStack Operation Guide

Another book about OpenStack. Actually it started by a 5 days “hacking on documentation” by OpenStack team to produce an operation guide for this open source awesome cloud software.

It is now available in PDF , epub and mobi format.

Link : http://docs.openstack.org/ops/

Leave a comment

Filed under OpenStack

Kinetic Open Storage Platform

I am pretty excited to see another Open Storage Platform and this time by Seagate.

Link : http://www.buildcloudstorage.com/2013/10/seagate-kinetic-game-changer-for-cloud.html

Leave a comment

Filed under OpenStack