Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
1-Check "data_center_details"
2-Check for  name and value pair in table

Test Case ID

Test Case Name

Steps

Expected Result

TypePriority
(FunctionalP1|SanityP2|UpdeateP3)

Automatable(Y/N)

Xen(Y/N)

KVM(Y/N)

VMware(Y/N)

Status
(Pass|Fail)

Comments

2nd cycle

 

All the testing is done on xen6.1 with default template ;for network throttling rate i used xen 6.0.2 because it was not working with xen 6.1

API check

 

 Zone level parameters

 

 

 

 

 

 

 

 

GP01 API check

updateConfiguration

update parameter
1-Check for API "UpdateZoneLevelParamters" 

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

Functional

Y

Y

 

 

GP02

Database check

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

 

 

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

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2767
https://issues.apache.org/jira/browse/CLOUDSTACK-2697

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GP02

listConfiguration

 

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

 

Pass

 

 

 

 

Zone level parameters

 

 

 

 

 

GP03

Database check

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

1-Check name and value for every  parameter and each zone

 

1-passed for "guest.domain.suffix"

 

 

GP04

Multiple zone

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

expected value is based on  parameter  and value of parameter

 

1-Passed "guest.domain.suffix"
2-Passed for
"pool.storage.allocated.capacity.disablethreshold"
3-Passed for "pool.storage.capacity.disablethreshold"

 

 

 

pool.storage.allocated.capacity.disablethreshold

 

 

 

 

 

 

GP05

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)

 

Fail

 

 

GP06

Default value

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

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

 

Pass

 

Pass

GP07

Threshold check

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

zone should be disabled if allocation goes beyond threshold value

 

Pass

 

Pass

GP08

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 dominate 

 

Pass

 

Pass

 

 pool.storage

 

pool.storage.allocated
.capacity.disablethreshold

 

 

Functional

 

 

 

 

GP03 GP09

UI validation Validation

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

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

  

Fail

 

  

GP10

GP04

Default value

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

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

 

Pass (need to test with two zones;will test in second cycle) Functional

  

Pass

 GP11

 

GP05

Threshold check

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

zone should be disabled if allocation goes beyond threshold value

values

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

  

Pass

  

Pass

GP06 GP12

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

 

 

 

 Pass

 

 pool.storage.capacity.disablethreshold

Pass

 

 VM Allocation Algorithm

 

 

 

 NOT IMPLEMENTED

 

 

GP07 GP13

UI Validation

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

should not be allowed Should not allow to except (0<x<1)

 

 

 

 

 

GP08 GP14

Default value

Default value of parameter "
pool.storage.capacity.disablethresholdparameter " vmallocationalgorithm"

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

 

 

 

  

GP15

GP09

Threshold Algorithm check

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

host should be  chosen based on the algorithm  pool.storage.capacity.disablethreshold to some values above threshold value  allocators should disable using the pool for low storage available

 

 

 

 

 

GP10 GP16

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 "vmallocationalgorithm" to some algorithm
set""vmallocationalgorithm"" to some algorithm globally

zone leve algorithm should be effective for that Zone level value should be dominating for particular zone

 

 

 

 

 

 

 VM Allocation Algorithm
 network.throttling.rate

 

 

 

 

 

 

 

GP11 GP17

UI Validation

try to set "vmallocationalgorithm" set  network.throttling.rate to some other value special character

should not be allowed

  

Fail

 

  

GP18

GP12

Default value

Default value of parameter " vmallocationalgorithmof  "network.throttling.rate"

should Should be equal to Glabale parameter "vmallocationalgorithmglobal parameter  "network.throttling.rate"

  

Pass

 

 

 

GP13

Algorithm check

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

host should be  chosen based on the algorithm 

 

 

 

 

 

GP19

Check data rate allowed in network

set  "networkthrottlingrate" to some value

default allowed  transfer rate should be equal to threshold value.

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2820

Pass with xen6.0.2

GP20 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

 

 

zone level parameter should be dominating

 

Fail 

 

 

 

 

 network
router.
throttling
template.
rate
id

 

 

 

 

 

  

GP21

GP15

UI Validation check

try to set  network.throttling.rate Try to set 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.

 

 

 

 

 

Should not be allowed

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2794

Fail
Pass

GP22

Default value

 

Should be taken from GP router.template.id

 

Pass

 

Pass

GP23

check router.template.id

for each hypervisor set  name of default routing template

It should be reflected in db

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2835
https://issues.apache.org/jira/browse/CLOUDSTACK-3531

Pass(need some UI changes)
Pass

GP24

GP18

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

  

Pass

  

Pass

 

 

router
guest.
template
domain.
id
suffix

 

 

 

 

 

 

 

GP19

 

 

 

 

GP25

UI validation

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

should not allowed 

 

 

 

GP20

 

 

 

 

 

 

 

 

GP21

 

 

 

 

 

 

 

 

GP22

 

 

 

 

 

 

 

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2437

Pass(as par bug specification)

GP26

Default value

 

should be equal to GP guest.domain.suffix

 

Pass

 

Pass

GP27

Check vm name suffix

set guest.domain.suffix to a domain name

Network created after the change should have new domain name

 

Pass

 

Pass

GP28

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

 

Pass

 

Pass

 

Use.external.dns*

 

guest.domain.suffix

 

 

 

 

 

 

 

GP23 GP29

UI validation

Try to set  guestset use.domainexternal.suffix dns to some special character

should not be allowed

  

Fail

 

  

GP30

GP24

Default value

 

should Should be equal to GP guestuse.domainexternal.suffix dns

  

Pass

 

 

 

GP25

Check vm name suffix

set guest.domain.suffix to some value

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

 

 

 

 

 

Pass

GP31

check bypassing

set use.external.dns to  true

should bypass internal dns1 and 2

 

Pass

 

Pass

GP32 GP26

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

  

Pass

  

Pass

 

 

Use
storage.
external
cleanup.
dns
interval

 

 

 

 NOT IMPLEMENTED

 

 

 

GP33

UI validation

try to assign

GP27

UI validation

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

should not be allowed

 

 

 

  

GP34

GP28

Default default value

 

Should should be equal to GP usestorage.externalcleanup.dns interval

 

 

 

 

 

GP29 GP35

check bypassing interval

set usestorage.external.dns to  true
cleanup.interval to some value

check secondary storage should get clean up after the threshold value should bypass internal dns1 and 2

 

 

 

  

GP36

GP30

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating 

 

 

 

 

 

storage.
cleanup
overprovisioning.
interval
factor

 

 

 

 

 

  

GP37

GP31

UI validation check

try to assign some special character

should not be allowed

  

Fail

 

  

GP38

GP32

Default value

set storage.overprovisioning.factor to some default value

 

should be equal to GP storage.cleanupoverprovisioning.interval factor

  

Pass

 

 

 

GP33

check interval

set storage.cleanup.interval to some value

check secondary storage should get clean up after the threshold value

 

couldnt test because secondary storage issue

GP39

Parameter check

 

Should be able to use storage more than what physically available depend on value of parameter

 

Pass 

 

  

GP40

GP34

Conflict between zone level parameter and global parameter

 

zone Storage level parameter parameters should be dominating dominate

 

Pass

 

 

 

 

 

Cluster level parameters

 

 

 

 

 

 

 

GP35

API check

check for api  "updateClusterLevelParameters*"*

Cluster level parameters

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

 

 

 

 

 

GP36 GP41

DB check

check for  cluster_details table 

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

 

 

 

 

 

table 

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

 

Pass

https://issues.apache.org/jira/browse/CLOUDSTACK-2536

Fail
Pass

GP42

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

 

1-Passed for

 

cluster.cpu.allocated.capacity.disablethreshold

 

 

 

 

 

 

 

GP37

UI validation

set some special character to cluster.cpu 2-Passed for cluster.memory.allocated.capacity.disablethreshold

should not allow

 

 

 

 

 

GP38

Default value

 

should be equal to GP 3-Passed for "cluster.storage.capacity.notificationthreshold"
4-Passes for
"cluster.cpu.allocated.capacity.disablethreshould.

 

 

 

 

 

GP39

Threshold value

set cluster.cpunotificationthreshold"
5-passed for
"cluster.memory.allocated.capacity.notificatonthreshold"
6-passed for
"cluster.storage.allocated.capacity.disablethreshold to some value
cluster should be disabled after threshold value notificationthreshold"

 

 

 

 

 

GP40

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

 

 

 

 1-Pass
2-Pass
3-Pass
4-Pass
5-Pass
6-Pass

 

cluster.cpu.allocated.capacity.
notificationthreshold
disablethreshold

 

 

 

 

 

 

 

GP41 GP43

UI validation

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

should not allow

 

 

 

 

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2457

Pass

GP44 GP42

Default value

 

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

 

 

 

 

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-1704

Pass

GP45 GP43

Threshold value

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

cluster should be disabled after threshold value

  

Pass

  

Pass

 GP46

GP44

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

  

Pass

 

 

 Pass

 

cluster.
memory
cpu.allocated.capacity.
disablethreshold
notificationthreshold

 

 

 

 

 

 

 

GP45 GP47

UI validation

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

should not allow

 

 

 

 

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2916

Pass

GP48 GP46

Default value

 

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

 

 

 Pass

  

Pass

GP47 GP49

Threshold value

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

cluster should be disabled after threshold value msg " Low  unallocated cpu in cluster  " should be there in alert 

  

Pass

  

Pass

 GP50

GP48

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

  

Pass

 

 

 Pass

 

cluster.memory.allocated.capacity.
notificationthreshold
disablethreshold

 

 

 

 

 

 

 

GP49 GP51

UI validation

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

should not allow

 

 

 

 

 

allow

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2457

Pass

GP52 GP50

Default value

 

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

 

 

 

 

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-1622

Pass

GP53

GP51

Threshold value

set cluster.memorycpu.allocated.capacity.notificationthreshold disablethreshold to some value

notification cluster should be issued disabled after threshold value

 

 

 Pass

  

Pass

GP52 GP54

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

Pass

 

Pass

 

cluster.memory.allocated.capacity.notificationthreshold

 

 

 

 

 

 

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

 

 

 

 

 

GP55

UI validation

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

should not allow

 

Fail

 

Pass

GP56

Default value

 

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

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2696

Pass

GP57

Threhold value

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

notification should be issued after threshold value

 

Pass

 

Pass

GP58

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

Pass

 

Pass

 

cluster.storage.allocated.capacity.notificationthreshold

 

allow.public.user.templates

 

 

 

 

 

 

 

GP55 GP59

UI check

Try 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="58b9073b-64c6-4d33-bced-a11680f4386a"><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.

 

 

 

 

 

,-ive value

should not be allowed

 

Fail

 

Pass

PGP60

Default value

 

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

 

Pass

 

Pass

GP61

parameter check

set  parameter to some value b/w 0-1

after threshold notification should be sent

 

Pass

 

Pass

GP62

Conflict between cluster

GP58

Conflict between account level parameter and global parameter

 

account level  value cluster level parameter should be efective effective

  

Pass

  

Pass

 

 

remote
cluster.
access
storage.
vpn
capacity.
client.iprange
notificationthreshold

 

 

 

 

 

  

GP63

GP59

UI check

try to set some special character ,-ive value

should not be allowed

  

Fail

  

Pass

GP60 GP64

default Default value

 

should be equal to value of GP "remote.access.vpn.client.iprange taken from GP cluster.storage.capacity.notificationthreshold

 

 

 

 

 

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

 

 

 

 

 

Pass

https://issues.apache.org/jira/browse/CLOUDSTACK-2765

Pass

GP65

parameter check

set parameter to some  value b/w 0-1

after threshold notification should be sent

 

Pass

 

Pass

GP66

Conflict between cluster

GP62

Conflict between account level parameter and global parameter

 

account cluster level value parameter should be effective

  

Pass

  

Pass

 

 

 

 

 

 

 

 

 

 

 

 Storage level parameters

 

 

 

 

 

 

 

 

storage.overprovisioning.factore

 

 

 

Account level parameters

 

 

 

 

 

GP67

UI DB check

try to set some special character

check for account_details in DB

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

 

Pass

 

 

GP68

 

 

 

Default value

 

 

 

 

 

 

 

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 parameter

 

Pass

 

1-paas for
"allow.public.user.templates"
2-pass for
"remote.access.vpn.client.iprange"

 

allow.public.user.templates

 

 

 

 

 

 

 

 

  

GP69

 

 

UI check

Try to set some special character

should not be allowed 

 

 

 

 

 

 

Other Global parameters

 

 

 

 

 

 

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2714

Pass
https://issues.apache.org/jira/browse/CLOUDSTACK-3897

GP70

Default value

 

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

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2717

 

GP71

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

set a

 

allow.public.user.templates

 

 

to
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. 

  

Pass

  

Pass

 

UI check

try to set some values other than true and false

should be allolwed

 

 

 

 

 

GP72

Conflict between account level parameter and global parameter

 

account level  value should be efective

 

Pass

 

Pass

 

remote.access.vpn.client.iprange

 

 

DB check

check the table  account_details in db

for each account entry should be there

 

 

 

 

 

 

Conflict between account level parameter and global parameter

 

account level parameter should be effective

 

 

 

 

 

GP73

UI check

try to set some special character

should not be allowed

 

Fail

 

Fail

GP74

default

 

Default value

 

Should be taken from GP allow.public.user templateshould be equal to value of GP "remote.access.vpn.client.iprange

  

Pass

  

Pass

 GP75

 

Checking parameter effect

Set value to false

user shouldn't be allowed to create public template

 

 

 

 

 

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

 

Pass

 

Pass

GP76

Conflict between account level parameter and global parameter

 

account level value should be effective

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2731

Pass

 

Checking parameter effect

Set value to true

user should be allowed to create public template

 

 

 

 

 

 

 

 

 

 

 

 

  

https://cwiki.apache.org/confluence/display/CLOUDSTACK/QA+-+4.2+Test+Execution+Results