QA:Testcase create OpenStack nova network

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{QA/Test_Case |description=A brief description of the functionality being tested. |setup=Optionally include information on preparing the test environment |actions= Be as specifi...")
 
(Remove setup, openstack-demo-install does this)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=A brief description of the functionality being tested.
+
|description=Test creating an initial network.
|setup=Optionally include information on preparing the test environment
+
 
|actions=
 
|actions=
Be as specific as required for the target audience.
+
To create the network do:
# Start here ...
+
 
# Next do this ...
+
$> sudo nova-manage network create testnet 10.0.0.0/24 1 256 --bridge=testnetbr0
# Finally click that
+
 
 +
NB: if your local network uses the 10.0.0.0/24 range, pick another non-conflicting range for testing.  
 +
 
 
|results=
 
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.
+
* The commands complete without errors
# Step #1 completes without error
+
* No new errors in the logs:
# The system boots into runlevel 5
+
$> grep -i error /var/log/nova/*.log
# Program completes wth exit code 0
+
* The user, project and network have been created:
 +
$> 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