QA:Testcase create OpenStack nova network

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(If you set --bridge_interface it will add a route from that through the bridge thus breaking your connectivity.)
Line 5: Line 5:
 
To create the user, project and network do:
 
To create the user, project and network do:
 
  $> name='admin'
 
  $> name='admin'
$> phys_interface='em1' # set as appropriate. Interface must be up
 
 
  $> sudo nova-manage user admin $name
 
  $> sudo nova-manage user admin $name
 
  $> sudo nova-manage project create $name $name
 
  $> sudo nova-manage project create $name $name
  $> sudo nova-manage network create $name 10.0.0.0/24 1 256 --bridge=br0 --bridge_interface=$phys_interface
+
  $> sudo nova-manage network create $name 10.0.0.0/24 1 256 --bridge=br0
  
 
|results=
 
|results=

Revision as of 12:25, 6 March 2012

Contents

Description

Test creating an initial admin user, project and network.

Setup

Follow QA:Testcase_start_OpenStack_Nova_services.

How to test

To create the user, project and network do:

$> name='admin'
$> sudo nova-manage user admin $name
$> sudo nova-manage project create $name $name
$> sudo nova-manage network create $name 10.0.0.0/24 1 256 --bridge=br0

Expected Results

  • The commands complete without errors
  • No new errors in the logs:
$> grep -i error /var/log/nova/*.log
  • The user, project and network have been created:
$> sudo nova-manage user list
$> sudo nova-manage project list
$> sudo nova-manage network list