Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

•Root domain admin user
•Root domain normal user
•Non root domain admin user
•Non root domain normal user

Test cases

SNO Name

Steps

Verification

Priority

Type

Status

Automatable

1 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 erify 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

2 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

3 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 Funcational
4

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 Funcational
5

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 Funcational

functional

yes

6 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 having SSH keyPair2for 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
" APi returns error message Vm is running P2 Funcational
7 "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 domain admin non root domain user
2. Stop the VM
3. Reset SSH key pair for non 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 Funcational

P2

functional

yes