DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
This feature is independent of
•Hypervisor type / version
•Browser
So testing will mostly be perform on xen hyperviosr.
The feature need to be tested against different Vm state
•Running
•Stopped
The feature need to be tested against how Vm is created
•Vm created from Password enabled template
•Vm created with Non password enabled template
•Vm created with password enabled template and ssh key pair
•Vm created with non password enabled template and ssh key pair
The feature need to be tested against different account /domain types
•Root domain admin user
•Root domain normal user
•Non root domain admin user
•Non root domain normal user
Test cases
Name
Steps
Verification
Priority
Type
Status
Automatable
Reset SSH keys for VM already having SSH key
1.Create a VM having SSH keyPair
2. Stop the VM
3. Reset SSH key pair
Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair when VM is restarted
P1
Sanity
yes
Reset SSH keys for VM created from password enabled template and already having SSH key
1.Create a VM from password enabled template and having SSH keyPair
2. Stop the VM
3. Reset SSH key pair
Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair
User should be able to login into VM using new password returned by the API
P1
Sanity
yes
Reset SSH key for VM having no SSH key
1.Create a VM
2. Stop the VM
3. Reset SSH key pair
Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair when VM is restarted
P1
functional
yes
Reset SSH keys for VM created from password enabled template and have no previous SSH key
1.Create a VM from password enabled template
2. Stop the VM
3. Reset SSH key pair
Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair when VM is restarted
User should be able to login into VM using new password returned by the API
P1
functional
yes
Reset SSH keys for VM already having SSH key when VM is in running state
1.Create a VM having SSH keyPair
2. Reset SSH key pair
Api returns error message VM is running
P2
functional
yes
Reset SSH keys for VM created from password enabled template and already having SSH key and VM is in running state
APi returns error message Vm is running
P2
functional
yes
Verify API resetSSHKeyForVirtualMachine for non admin non root domain user
id : The ID of the virtual machine
name: name of the ssh keypair
account: Account name of owner
domainid: Domain ID of owner
1.Create a VM for non admin non root domain user
2. Stop the VM
3. Reset SSH key pair for non admin non root domain user
Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair when VM is restarted
P2
functional
yes
Verif API resetSSHKeyForVirtualMachine with incorrect parameters
P3
functional negative
yes
Verif API resetSSHKeyForVirtualMachine for domain admin non root domain user
id : The ID of the virtual machine
name: name of the ssh keypair
account: Account name of owner
domainid: Domain ID of owner
1.Create a VM for domain admin non root domain user
2. Stop the VM
3. Reset SSH key pair for domain admin non root domain user
Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair when VM is restarted
P2
functional
yes
Verif API resetSSHKeyForVirtualMachine for admin and root domain
id : The ID of the virtual machine
name: name of the ssh keypair
account: Account name of owner
domainid: Domain ID of owner
1.Create a VM for root domain admin
2. Stop the VM
3. Reset SSH key pair for root domain admin
Verify VM is not restarted automatically as a result of API execution
User should be able to ssh into the VM using new keypair when VM is restarted
P2
functional
yes