This document is work in progress...
For the automation of all test procedures we envision the following infrastructure:
Name |
Type |
IP |
---|---|---|
adm1 |
Jenkins / Chef Server |
|
xen1 |
Xen Server |
|
xen2 |
Xen Server |
|
kvm1 |
KVM Server |
|
kvm2 |
KVM Server |
|
vmw1 |
VMware Server |
|
vmw2 |
VMware Server |
|
Jenkins should deploy the following components
Name |
Type |
IP |
---|---|---|
nvpc |
NVP Controller |
|
nvpm |
NVP Manager |
|
nvpsn |
NVP Service Node |
|
cs |
Cloudstack Manager Server |
|
db |
MySQL Database Server |
|
After deployment of this framework we can start testing the NVP components.
For the automation of all test procedures we envision the following steps:
Test Case ID |
Test Description |
Steps |
Expected Results |
Priority(P0/P1) |
Type (Sanity/Functional/Upgrade/Performance) |
Automatable(Y/N) |
VMWARE(Y/N) |
KVM(Y/N) |
XEN(Y/N) |
OVM(Y/N) |
BAREMETAL(Y/N) |
|
Infrastructure |
|
|
|
|
|
|
|
|
|
|
NVP-001 |
Create NVP Element |
|
|
|
|
|
|
|
|
|
|
NVP-002 |
Disable NVP Element |
|
|
|
|
|
|
|
|
|
|
NVP-003 |
Enable NVP Element |
|
|
|
|
|
|
|
|
|
|
NVP-004 |
Delete NVP Element |
|
|
|
|
|
|
|
|
|
|
NVP-005 |
Create NVP Device |
|
|
|
|
|
|
|
|
|
|
NVP-006 |
Delete NVP Device |
|
|
|
|
|
|
|
|
|
|
|
L2 Functions |
|
|
|
|
|
|
|
|
|
|
NVP-101 |
Create Logical Switch |
|
|
|
|
|
|
|
|
|
|
NVP-102 |
Create Logical Port |
|
|
|
|
|
|
|
|
|
|
NVP-103 |
Check Connection |
|
|
|
|
|
|
Y |
|
|
|
NVP-104 |
Check Connection |
|
|
|
|
|
|
|
Y |
|
|
NVP-105 |
Delete Logical Switch |
|
|
|
|
|
|
|
|
|
|
NVP-106 |
Delete Logical Port |
|
|
|
|
|
|
|
|
|
|
|
L3 Functions |
|
|
|
|
|
|
|
|
|
|
NVP-201 |
Create Logical Router |
|
|
|
|
|
|
|
|
|
|
NVP-202 |
Create Source Nat rule |
|
|
|
|
|
|
|
|
|
|
NVP-203 |
Create Static Nat rule |
|
|
|
|
|
|
|
|
|
|
NVP-204 |
Create Port FW rule |
|
|
|
|
|
|
|
|
|
|
NVP-205 |
Check Source Nat rule |
|
|
|
|
|
|
|
|
|
|
NVP-206 |
Check Static Nat rule |
|
|
|
|
|
|
|
|
|
|
NVP-207 |
Check Port FW rule |
|
|
|
|
|
|
|
|
|
|
NVP-208 |
Delete Source Nat rule |
|
|
|
|
|
|
|
|
|
|
NVP-209 |
Delete Static Nat rule |
|
|
|
|
|
|
|
|
|
|
NVP-210 |
Delete Port FW rule |
|
|
|
|
|
|
|
|
|
|
NVP-211 |
Delete Logical Router |
|
|
|
|
|
|
|
|
|
|