From Fedora Project Wiki

No edit summary
(Remove setup, openstack-demo-install does this)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Test creating an initial admin user, project and network.
|description=Test creating an initial network.
|setup=Follow [[QA:Testcase_start_OpenStack_Nova_services]].
|actions=
|actions=
To create the user, project and network do:
To create the network do:
$> sudo nova-manage user admin markmc
 
$> sudo nova-manage project create markmc markmc
  $> sudo nova-manage network create testnet 10.0.0.0/24 1 256 --bridge=testnetbr0
  $> sudo nova-manage network create markmc 10.0.0.0/24 1 256 --bridge=br0
 
Obviously, replace <code>markmc</code> with your username.
NB: if your local network uses the 10.0.0.0/24 range, pick another non-conflicting range for testing.  
 
|results=
|results=
* The commands complete without errors
* The commands complete without errors
Line 13: Line 13:
  $> grep -i error /var/log/nova/*.log
  $> grep -i error /var/log/nova/*.log
* The user, project and network have been created:
* The user, project and network have been created:
$> sudo nova-manage user list
$> sudo nova-manage project list
  $> sudo nova-manage network list
  $> sudo nova-manage network list
}}
}}


[[Category:OpenStack Test Cases]]
[[Category:OpenStack Test Cases]]
[[Category:Cloud SIG]]

Latest revision as of 19:58, 18 September 2012

Description

Test creating an initial network.


How to test

To create the network do:

$> sudo nova-manage network create testnet 10.0.0.0/24 1 256 --bridge=testnetbr0

NB: if your local network uses the 10.0.0.0/24 range, pick another non-conflicting range for testing.

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 network list