Versions Compared

Key

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

Test Case ID

Test Case Name

Steps

Expected Result

Type(Functional|Sanity|Updeate)

Automatable(Y/N)

Xen(Y/N)

KVM(Y/N)

VMware(Y/N)

 

 

API check

 

 

 

 

 

 

 

updateConfiguration

update parameter
1-id is not mention
2-set id=zoneid and update
3-set id= clusterid and  update
4-set id=pool id and update
5-set id= account id and update

1-Parameter should get updated at specific level depend on id value
2-response API -updateconfigurationresponse

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

listConfiguration

 

1-should list the parameter with corresponding scope
2-response API -listconfigurationresponse

 

 

 

 

 

 

 

Zone level parameters

 

 

 

 

 

 

GP01

API check

1-Check for API "UpdateZoneLevelParamters" 

1-For every change in zone level parameter API "UpdateZoneLevelParamters"

Functional

Y

Y

 

 

GP02

Database check

1-Check "data_center_details"
2-Check for  name and value pair in table

1-Check for value and name for each parameter
2-For each parameter there should be an entry in table "data_center_details"

Functional

Y

Y

 

 

 

Multiple zone

1-have two or more zone
2-make sure zones are having different value for same parametparameter
3-repeate step 1,2 for every zone level parameter

expected value is based on  parameter  and value of parameter Zone should be

 

 

 

 

 

 

pool.storage.allocated.capacity.disablethreshold

 

 

Functional

 

 

 

 

GP03

UI validation

set "pool.storage.allocated.capacity.disablethreshold"" to some special character, integer(>1) and some alphabet

Should not allow to except (0<x<1)

 

 

 

 

 

GP04

Default value

Default value of parameter "
pool.storage.allocated.capacity.disablethreshold"

should be equal to Glabale parameter "pool.storage.allocated.capacity.disablethreshold"

Functional

 

 

 

 

GP05

Threshold check

set pool.storage.allocated.capacity.disablethreshold to some valuse

zone should be disabled if allocation goes beyond threshold value

Functional

 

 

 

 

GP06

Conflict between zone level parameter and global parameter

set pool.storage.allocated.capacity.disablethreshold" to some value on zone level

and set pool.storage.allocated.capacity.disablethreshold" to some value on global level

Zone level value should be dominating for particular zone

Functional

 

 

 

 

 

 pool.storage.capacity.disablethreshold

 

 

 

 

 

 

 

GP07

UI Validation

try to set pool.storage.capacity.disablethreshold" to some special character, integer(>1) and some alphabet

Should not allow to except (0<x<1)

 

 

 

 

 

GP08

Default value

Default value of parameter "
pool.storage.capacity.disablethreshold"

should be equal to Glabale parameter "pool.storage.capacity.disablethreshold"

 

 

 

 

 

GP09

Threshold check

set pool.storage.capacity.disablethreshold to some values

above threshold value  allocators should disable using the pool for low storage available

 

 

 

 

 

GP10

Conflict between zone level parameter and global parameter

set pool.storage.capacity.disablethreshold to some value on zone level

and set pool.storage.capacity.disablethreshold
to some value on global level

Zone level value should be dominating for particular zone

 

 

 

 

 

 

 VM Allocation Algorithm

 

 

 

 

 

 

 

GP11

UI Validation

try to set "vmallocationalgorithm" to some other value

should not be allowed

 

 

 

 

 

GP12

Default value

Default value of parameter " vmallocationalgorithm"

should be equal to Glabale parameter "vmallocationalgorithm"

 

 

 

 

 

GP13

Algorithm check

set "vmallocationalgorithm" to one of these "random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'"

host should be  chosen based on the algorithm 

 

 

 

 

 

GP14

Conflict between zone level parameter and global parameter

set "vmallocationalgorithm" to some algorithm
set""vmallocationalgorithm"" to some algorithm globally

zone leve algorithm should be effective for that particular zone

 

 

 

 

 

 

 network.throttling.rate

 

 

 

 

 

 

 

GP15

UI Validation

try to set  network.throttling.rate to some special character

should not be allowed

 

 

 

 

 

GP16

Default value

Default value of  "network.throttling.rate"

Should be equal to global parameter  "network.throttling.rate"

 

 

 

 

 

GP17

Check data rate allowed in network

set  "networkthrottlingrate" to some value

default allowed  transfer rate should be equal to threshold value.

 

 

 

 

 

GP18

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

 

 

 

 

 

 

router.template.id

 

 

 

 

 

 

 

GP19

UI check

Try to set to some special character

Should not be allowed

 

 

 

 

 

GP20

Default value

 

Should be taken from GP router.template.id

 

 

 

 

 

GP21

check router.template.id

for each hypervisor set  name of default routing template

It should be reflected in db

 

 

 

 

 

GP22

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

 

 

 

 

 

 

guest.domain.suffix

 

 

 

 

 

 

 

GP23

UI validation

Try to set  guest.domain.suffix to some special character

should not allowed

 

 

 

 

 

GP24

Default value

 

should be equal to GP guest.domain.suffix

 

 

 

 

 

GP25

Check vm name suffix

set guest.domain.suffix to some value

vm should get  suffix name based on guest.domain.suffix

 

 

 

 

 

GP26

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

 

 

 

 

 

 

Use.external.dns

 

 

 

 

 

 

 

GP27

UI validation

Try to set use.external.dns to some special character

should not be allowed

 

 

 

 

 

GP28

Default value

 

Should be equal to GP use.external.dns

 

 

 

 

 

GP29

check bypassing

set use.external.dns to  true

should bypass internal dns1 and 2

 

 

 

 

 

GP30

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

 

 

 

 

 

 

storage.cleanup.interval

 

 

 

 

 

 

 

GP31

UI validation

try to assign some special character

should not be allowed

 

 

 

 

 

GP32

default value

 

should be equal to GP storage.cleanup.interval

 

 

 

 

 

GP33

check interval

set storage.cleanup.interval to some value

check secondary storage should get clean up after the threshold value

 

 

 

 

 

GP34

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

 

 

 

 

 

 

Cluster level parameters

 

 

 

 

 

 

GP35

API check

check for api  "updateClusterLevelParameters*"*

for every update in cluster level parameter api "updateClusterLevelParameter " should get called

 

 

 

 

 

GP36

DB check

check for  cluster_details table 

for each parameter  there should be an entry in cluster_details table.

 

 

 

 

 

 

multiple cluster

1-have multiple cluster in same zone
2-have multiple cluster in different zone
3-make sure clusters are having different value for same  parameter
4-repeat step 1,2,3 for every parameters

depend on parameter

 

 

 

 

 

 

cluster.cpu.allocated.capacity.disablethreshold

 

 

 

 

cluster.cpu.allocated.capacity.disablethreshold

 

 

 

 

 

 

 

 

GP37

UI validation

set some special character to cluster.cpu.allocated.capacity.disablethreshold

should not allow

 

 

 

 

 

GP38

Default value

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould.

 

 

 

 

 

GP39

Threshold value

set cluster.cpu.allocated.capacity.disablethreshold to some value

cluster should be disabled after threshold value

 

 

 

 

 

GP40

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

 

 

 

 

 

cluster.cpu.allocated.capacity.notificationthreshold

 

 

 

 

 

 

 

GP41

UI validation

set some special character to cluster.cpu.allocated.capacity.disablethreshold

should not allow

 

 

 

 

 

GP42

Default value

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould.

 

 

 

 

 

GP43

Threshold value

set cluster.cpu.allocated.capacity.disablethreshold to some value

cluster should be disabled after threshold value

 

 

 

 

 

GP44

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

 

 

 

 

 

cluster.memory.allocated.capacity.disablethreshold

 

 

 

 

 

 

 

GP45

UI validation

set some special character to cluster.memory.allocated.capacity.disablethreshold

should not allow

 

 

 

 

 

GP46

Default value

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould

 

 

 

 

 

GP47

Threshold value

set cluster.cpu.allocated.capacity.disablethreshold to some value

cluster should be disabled after threshold value

 

 

 

 

 

GP48

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

 

 

 

 

 

cluster.memory.allocated.capacity.notificationthreshold

 

 

 

 

 

 

 

GP49

UI validation

set some special character to cluster.cpu.allocated.capacity.disablethreshold

should not allow

 

 

 

 

 

GP50

Default value

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould

 

 

 

 

 

GP51

Threshold value

set cluster.memory.allocated.capacity.notificationthreshold to some value

notification should be issued after threshold value

 

 

 

 

 

GP52

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

 

 

 

 

 

cluster.storage.allocated.capacity.notificationthreshold

 

 

 

 

 

 

 

 

UI check

try to set some special character ,-ive value

should not be allowed

 

 

 

 

 

 

Default value

 

should be taken from GP cluster.storage.allocated.capacity.notificationthreshold

 

 

 

 

 

 

parameter check

set  parameter to some value b/w 0-1

after threshold notification should be sent

 

 

 

 

 

 

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be effective

 

 

 

 

 

 

cluster.storage.capacity.notificationthreshold

 

 

 

 

 

 

 

 

UI check

try to set some special character ,-ive value

should not be allowed

 

 

 

 

 

 

Default value

 

should be taken from GP cluster.storage.capacity.notificationthreshold

 

 

 

 

 

 

parameter check

set parameter to some  value b/w 0-1

after threshold notification should be sent

 

 

 

 

 

 

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be effective

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Account level parameters

 

 

 

 

 

 

GP53

API check

check for updateAccountLevelParameters

For each update in account level parameter  api
updateAccountLevelParameters should be called.

 

 

 

 

 

GP54

DB check

check for account_details in DB

there should be an entry for every parameter at account level ion account_details table

 

 

 

 

 

 

multiple account

1-create multiple account
2-make sure accounts have different value for same parameter
3-repeate step 1,2 for every parameters

Depends on parameter

 

 

 

 

 

 

allow.public.user.templates

 

 

 

 

 

 

 

GP55

UI check

Try to set some special character

should not be allowed

 

 

 

 

 

GP56

Default value

 

should be equal to GP allow.public.user.templated

 

 

 

 

 

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="60644a3e7b625195-866c43ea-41704d58-ae4b8b45-a6055517bd28074fb1afe942"><ac:plain-text-body><![CDATA[

GP57

set allow.public.user.template to [false/true]

set a allow.public.user.templates to
]]></ac:plain-text-body></ac:structured-macro>
1-True
2-False

in 1st case user should be able to create public template
in 2nd case user should not be able to create private template.

 

 

 

 

 

GP58

Conflict between account level parameter and global parameter

 

account level  value should be efective

 

 

 

 

 

 

remote.access.vpn.client.iprange

 

 

 

 

 

 

 

GP59

UI check

try to set some special character

should not be allowed


 

 

 

 

GP60

default value

 

should be equal to value of GP "remote.access.vpn.client.iprange

 

 

 

 

 

GP61

check range

set remote.access.vpn.client.iprange to some value range

every client in range should be allowed and first ip should be assigned to vpn server

 

 

 

 

 

GP62

Conflict between account level parameter and global parameter

 

account level value should be effective

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 Storage level parameters

 

 

 

 

 

 

 

API check

 

 

 

 

 

 

 

 

DB check

check for table storage_pool_details

search for key value pair for storage level parameters

 

 

 

 

 

 

storage.overprovisioning.factor

 

 

 

 

 

 

 

 

UI check

Try to set some special character

should not be allowed

 

 

 

 

 

 

DB check

check  storage_pool_table

check for key ,value pair

 

 

 

 

 

 

Default value

 

Should be taken from current GP  storage.overprovisioning.factor

 

 

 

 

 

 

parameter check

set storage.overprovisioning.factor to some value

1-should be able to use storage more than what physically available

 

 

 

 

 

 

Conflict between storage level parameter and global parameter

 

Storage level parameters should be dominating