From Fedora Project Wiki

Line 3: Line 3:
  
 
Deploy the Quantum virtual network service and configure Nova to use QuantumManager as its NetworkManager.  
 
Deploy the Quantum virtual network service and configure Nova to use QuantumManager as its NetworkManager.  
 
 
Quantum includes several plugins. The linuxbridge and openvswitch plugins are covered here.
 
Quantum includes several plugins. The linuxbridge and openvswitch plugins are covered here.
  
 
|setup=
 
|setup=
  
A prerequisite is Keystone. This is important as authentication is done via the Keystone service.
+
The installtion of the Quantum packages is done the openstack-demo-install utility. This will also configure
 
+
a Quantum user with Keystone
The Quantum client (python-quantumclient) will be used to configure and in part test the installation.
 
  
Install openstack-quantum:
+
OpenvSwitch
  
$> sudo yum install --enablerepo=updates-testing openstack-quantum
+
Enabel and start the openvswitch service
  
Install the relevant plugin:
+
$> sudo systemctl enable openvswitch.service
 +
$> sudo systemctl start openvswitch.service
  
OpenvSwicth:
+
Create the integration bridges (these are used for VM traffic management and layer 3 external networking)
$> sudo yum install --enablerepo=updates-testing openstack-quantum-openvswitch
 
  
Linux Bridge:
+
  $> sudo ovs-vsctl add-br br-int
  $> sudo yum install --enablerepo=updates-testing openstack-quantum-linuxbridge
+
$> sudo ovs-vsctl add-br br-ex
  
Configure quantum-server to use the selected plugin. Please note that this will create a database:
+
Configure quantum-server to use the openvswitch Please note that this will create a database:
  
  $> sudo quantum-server-setup
+
  $> sudo quantum-server-setup --plugin openvswitch
  
 
Enable and start the quantum-server:
 
Enable and start the quantum-server:
Line 32: Line 30:
 
  $> sudo systemctl enable quantum-server.service
 
  $> sudo systemctl enable quantum-server.service
 
  $> sudo systemctl start quantum-server.service
 
  $> sudo systemctl start quantum-server.service
 +
 +
Enable and start the layer 2 agent:
 +
 +
$> sudo systemctl enable quantum-openvswitch-agent.service
 +
$> sudo systemctl start quantum-openvswitch-agent.service
 +
 +
Configure the DHCP service:
 +
 +
$> sudo quantum-dhcp-setup --plugin openvswitch
 +
 +
Enable and start the DHCP agent:
 +
 +
$> sudo systemctl enable quantum-dhcp-agent.service
 +
$> sudo systemctl start quantum-dhcp-agent.service
 +
 +
Configure the L3 service:
 +
 +
$> sudo quantum-l3-setup --plugin openvswitch
 +
 +
Enable and start the L3 agent:
 +
 +
$> sudo systemctl enable quantum-l3-agent.service
 +
$> sudo systemctl start quantum-l3-agent.service
  
 
You are done setting up the Quantum service!
 
You are done setting up the Quantum service!
 +
 +
'''Validating that the services are up and running'''
 +
# Check that the services are up and running
 +
# Check the log files (/var/log/quantum)
  
 
}}
 
}}
  
 
[[Category:OpenStack Test Cases]]
 
[[Category:OpenStack Test Cases]]

Revision as of 12:49, 14 September 2012

Description

Deploy the Quantum virtual network service and configure Nova to use QuantumManager as its NetworkManager. Quantum includes several plugins. The linuxbridge and openvswitch plugins are covered here.

Setup

The installtion of the Quantum packages is done the openstack-demo-install utility. This will also configure a Quantum user with Keystone

OpenvSwitch

Enabel and start the openvswitch service

$> sudo systemctl enable openvswitch.service
$> sudo systemctl start openvswitch.service

Create the integration bridges (these are used for VM traffic management and layer 3 external networking)

$> sudo ovs-vsctl add-br br-int
$> sudo ovs-vsctl add-br br-ex

Configure quantum-server to use the openvswitch Please note that this will create a database:

$> sudo quantum-server-setup --plugin openvswitch

Enable and start the quantum-server:

$> sudo systemctl enable quantum-server.service
$> sudo systemctl start quantum-server.service

Enable and start the layer 2 agent:

$> sudo systemctl enable quantum-openvswitch-agent.service
$> sudo systemctl start quantum-openvswitch-agent.service

Configure the DHCP service:

$> sudo quantum-dhcp-setup --plugin openvswitch

Enable and start the DHCP agent:

$> sudo systemctl enable quantum-dhcp-agent.service
$> sudo systemctl start quantum-dhcp-agent.service

Configure the L3 service:

$> sudo quantum-l3-setup --plugin openvswitch

Enable and start the L3 agent:

$> sudo systemctl enable quantum-l3-agent.service
$> sudo systemctl start quantum-l3-agent.service

You are done setting up the Quantum service!

Validating that the services are up and running

  1. Check that the services are up and running
  2. Check the log files (/var/log/quantum)

How to test

  1. Start here ...
  2. Next do this ...
  3. Finally click that

Expected Results

  1. Step #1 completes without error
  2. The system boots into runlevel 5
  3. Program completes with exit code 0