QA:Testcase create OpenStack nova network
From FedoraProject
(Difference between revisions)
(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...") |
|||
| Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
| − | |description= | + | |description=Test creating an initial admin user, project and network. |
| − | |setup= | + | |setup=Follow [[QA:Testcase_start_OpenStack_Nova_services]]. |
|actions= | |actions= | ||
| − | + | To create the user, project and network do: | |
| − | + | $> sudo nova-manage user admin markmc | |
| − | + | $> sudo nova-manage project create markmc markmc | |
| − | + | $> sudo nova-manage network create markmc 10.0.0.0/24 1 256 --bridge=br0 | |
| + | Obviously, replace <code>markmc</code> with your username. | ||
|results= | |results= | ||
| − | The | + | * 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 | ||
}} | }} | ||
[[Category:OpenStack Test Cases]] | [[Category:OpenStack Test Cases]] | ||
[[Category:Cloud SIG]] | [[Category:Cloud SIG]] | ||
Revision as of 14:39, 17 October 2011
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:
$> sudo nova-manage user admin markmc $> sudo nova-manage project create markmc markmc $> sudo nova-manage network create markmc 10.0.0.0/24 1 256 --bridge=br0
Obviously, replace markmc with your username.
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