openstack nova + quantum demo

11
OpenStack Nova + Quantum Demo Dan Wendlandt [email protected]

Upload: dan-wendlandt

Post on 12-May-2015

7.381 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: OpenStack Nova + Quantum Demo

OpenStack Nova + Quantum Demo

Dan [email protected]

Page 2: OpenStack Nova + Quantum Demo

What is Quantum?Quantum is a “virtual network service”, similar to how Nova is a “virtual machine service”.

Nova

Quantum

Page 3: OpenStack Nova + Quantum Demo

What is Quantum?Quantum is a “virtual network service”, similar to how Nova is a “virtual machine service”.

Create VMs Nova

Quantum

VM1 VM2 VM3

Page 4: OpenStack Nova + Quantum Demo

What is Quantum?Quantum is a “virtual network service”, similar to how Nova is a “virtual machine service”.

Create VMs

Create Networks

Nova

Quantum

VM1 VM2 VM3

Net1 Net2

Page 5: OpenStack Nova + Quantum Demo

What is Quantum?Quantum is a “virtual network service”, similar to how Nova is a “virtual machine service”.

Create VMs

Create Networks

AttachInterfaces

Nova

Quantum

VM1 VM2 VM3

Net1 Net2

Page 6: OpenStack Nova + Quantum Demo

Why Quantum?

• Tenant-facing API to support the creation of rich multi-tier network topologies connecting other OpenStack services (Nova VMs now, load-balancers, firewalls, etc. in the future)

• Plugin mechanism enables new technologies that solve key networking challenges (e.g., VLAN limitations)

• API extensibility to expose advanced network capabilities (e.g., ACLs, QoS, Netflow)

Page 7: OpenStack Nova + Quantum Demo

Example Quantum Architecture

Nova API, Scheduler, Network Quantum

Service

Cloud Controller Host

ComputeService

Compute Host 1

OpenvSwitch

OpenvSwitchPlugin

ComputeService

Compute Host n

OpenvSwitch

AdminAPI

Page 8: OpenStack Nova + Quantum Demo

About the Demo

• Quantum running Open vSwitch Plugin• Nova uses QEMU w/libvirt for compute• Experimental Nova Quantum NetManager• Single-node setup, with automated script,

derived from Vish’s nova.sh script. • Uses “simple quantum orchestrator”

script(sqo.py) that speaks to Quantum/Nova APIs

Page 9: OpenStack Nova + Quantum Demo

Demo Scenario

Example Ochestrator (sqo.py) Commands: • create-network public-net• create-network private-net• create-server web1=public-net,private-net• create-server web2=public-net,private-net• create-server db1=private-net

web1

web2

db1public-net Private-net

Other tips: • To view allocated IPs run

“show” cmd.• VMs can be reached directly

using SSH or VNC (root password is “password”)

• To clear all existing setup, run “delete” cmd.

Page 10: OpenStack Nova + Quantum Demo

Running the Demo

• To run the demo yourself, see: – http://wiki.openstack.org/QuantumOVSDemo

• Requires a 64-bit Ubuntu Natty VM. • Installation + setup is completely automated.

Page 11: OpenStack Nova + Quantum Demo

Thanks!

Questions / [email protected]