My Wiki!

Developing OpenStack & ODL: 1. Development Computer

Host configuration: Fedora + 16GB RAM + ~200GB HDD LVM2 logical volume
On development computer 3 Virtual machines are needed to setup OpenStack & ODL infrastructure: 1 Controller + Network Node, 1 Compute Node, 1 ODL Node. The VMs are connected as following:

TODO: diagram of VM topology

Example:

  create_bridge "$SWITCH_0" "10.10.11.1" "255.255.255.0"
  create_bridge "$SWITCH_1" "10.20.21.1" "255.255.255.0"
  create_bridge "$SWITCH_2" "192.168.201.1" "255.255.255.0"

Setup Dev Computer

Create a lv_nfv and mount as /vms

TODO: how?

Creating VMs

cd /mnt/nfv
git clone https://github.com/thuydang/kvm_scripts.git mystack
cd mystack

wget -P isos http://ftp-stud.hs-esslingen.de/pub/fedora/linux/releases/21/Server/x86_64/iso/Fedora-Server-netinst-x86_64-21.iso

Edit update createimage.sh:
vim create
image.sh

  ISO=Fedora-Server-netinst-x86_64-21.iso
  IMAGE=Fedora-x86_64-21-20141008-sda.qcow2
  SIZE=300G

Complete the installation of Fedora

Clone the installed VM to 3 Node:

 cp Fedora-x86_64-21-20141008-sda.qcow2 Fedora-x86_64-21-20141008-sda-controller.qcow2
 cp Fedora-x86_64-21-20141008-sda.qcow2 Fedora-x86_64-21-20141008-sda-compute.qcow2
 cp Fedora-x86_64-21-20141008-sda.qcow2 Fedora-x86_64-21-20141008-sda-odl.qcow2

Boot the VMs and Configuration

Here we use kvm scripts to setup networks bridges and boot VMs. Optionally, Virtualbox can be used.

 ./mystack.sh

Configure the VMs

Option 1


Navigation