Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
Test execution results for PVALN test cases on Xenserver 6.1 is tracked in [^PVLAN-Test-Execution.xlsx]


Test execution results for PVLAN test cases on KVM  and  vmware  are tracked  in   [^PVLAN-Test-Execution-1.xls]





























| | | *Isolation Advance zone using PVLANs* | * * | * * | * * | * * | * * | * * | * * |
| * * | * * | *hardware requirement: Cisco  Catalyst 4500* *software requirement Hypervisor/software switch:                                                        * *Xen /openvswitch* *KVM/openvswitch* *vmware/NEXUS vswitch     * *vmware/DVS* | * * | * * | * * | * * | * * | * * | * * |
| * * | * * | *isolation within a shared network* *VMs deployed using multiple shared networks* | * * | * * | * * | * * | * * | * * | * * |
| * * | * * | *primary VLAN ( pVLAN) - promiscuous ports* *secondary VLAN  (sVLAN) - isolated ports* | * * | * * | * * | * * | * * | * * | * * |
| * * | * * | * * | * * | * * | * * | * * | * * | * * | * * |
| * * | * * | *isolated PVLAN* *promiscuous PVLAN* *community PVLAN - unsupported* | * * | * * | * * | * * | * * | * * | * * |
| * * | * * | *External Device unsupported* | * * | * * | * * | * * | * * | * * | * * |
| * * | * * | * * | * * | * * | * * | * * | * * | * * | * * |
| * * | * * | * * | * * | * * | * * | * * | * * | * * | * * |
| *Testcase ID* | *Test case name* | *Steps* | *Expected Results.* | *Priority* | *XEN* | *KVM CentOS 6.3* | *KVM& Ubuntu 13.04* | *VMWARE DVS* | *VMWARE Nexus vswitch 1000*  * | |
| | *Shared Network  1 PVLAN* | | | | | | | | |
| 1 | Shared Network scope All&nbsp; 1 PVLAN Deploy VM | 1. Advance zone cluster with 2 hosts,&nbsp; Domain D1&nbsp; domainadmin&nbsp; d1domain, user d1user. Domain D2&nbsp; user d2user. Create&nbsp; Shared NW1&nbsp; scope All <pVLAN1, sVLAN1>.&nbsp; 2. d1domain&nbsp; deploy VM1 on NW1 on host1 , VM4 on NW1 on host2. d1user deploy VM2 on NW1 on host1, VM5 on NW1 on host2. d2user&nbsp; deploy VM3 on NW1 on host1, VM6 on NW1 on host2. | 1. shared NW1 with pVLAN creation succeed. \\
2.&nbsp; All accounts able to&nbsp; create VMs on NW1. \\
3. &nbsp;All VMs&nbsp; in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway | P1 | Pass | +&nbsp;+Pass | Pass \\ | \\ | |
| 2 | Shared NW scope Domain&nbsp; 1 PVLAN Deploy VM | 1. Advance zone cluster with 2 hosts, Domain D1&nbsp; domainadmin&nbsp; d1domain,&nbsp; user d1user.&nbsp; Domain D2&nbsp; user d2user. Create&nbsp; Shared NW1&nbsp; scope Domain&nbsp; for D1 <pVLAN1, sVLAN1>.&nbsp; 2. d1domain deploy VM1 on NW1 on host1 , VM4 on NW1 on host2. d1user&nbsp; deploy VM2 on NW1 on host1, VM5 on NW1 on host2. d2user&nbsp; try deploy VM3 on NW1 on host1, VM6 on NW1 on host2. | 1. shared NW1 with pVLAN creation succeed. \\
2.&nbsp; All accounts able to&nbsp; create VMs on NW1.d1domain&nbsp; & d1user able to create VMs on NW1. d2user unable to create VMs on NW1. \\
3. All VMs&nbsp; in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway | P1 | | +&nbsp;+ | | | |
| 3 | Shared NW scope Domain subdomain access TRUE 1 PVLAN Deploy VM | 1. Advance zone cluster with 2 hosts, Domain D1&nbsp; domainadmin&nbsp; d1domain,&nbsp; user d1user. Domain D1/D11 domainadmin d11domain.&nbsp; Domain D2&nbsp; user d2user. \\
2. Create&nbsp; Shared NW1&nbsp; scope Domain&nbsp; for D1 subdomain access TRUE <pVLAN1, sVLAN1>.&nbsp; \\
&nbsp;3. As users from different domains , deploy Vms in this network, \\
d1domain deploy VM1 on NW1 on host1 , VM4 on NW1 on host2. d1user&nbsp; deploy VM2 on NW1 on host1, VM5 on NW1 on host2. d11domain&nbsp; deploy VM3 on NW1 on host1, VM6 on NW1 on host2. d2user&nbsp; try deploy VM7 on NW1 on host1, VM8 on NW1 on host2. | 1. shared NW1 with pVLAN creation succeed. \\
2. Only&nbsp; accounts from doamin d1 and subdomains under this domain are allowed to create VMs on NW1.d1domain, d1user, d11domain able to create VMs on NW1. d2user unable to create VMs on NW1. \\
3. All VMs&nbsp; in NW1 unable to access each other \\
All VMs in NW1 able to reach DHCP server, gateway | P1 | | | | | |
| 4 | Shared NW scope&nbsp; Account 1 PVLAN Deploy VM | 1. Advance zone cluster with 2 hosts, Domain D1&nbsp; domainadmin&nbsp; d1domain,&nbsp; user d1user.&nbsp; Domain D2&nbsp; user d2user. \\
2. Create&nbsp; Shared NW1&nbsp; scope Account&nbsp; for d1domainA <pVLAN1, sVLAN1>.&nbsp;&nbsp; \\
3. As users from different domains , deploy Vms in this network, d1domain deploy VM1 on NW1 on host1 , VM4 on NW1 on host2. d1user try deploy VM2 on NW1 on host1, VM5 on NW1 on host2. d2user&nbsp; try deploy VM3 on NW1 on host1, VM6 on NW1 on host2. | 1. shared NW1 with pVLAN creation succeed. \\
2. d1domainA able to create VMs on NW1. d1user d2user unable to create VMs on NW1. 3. All VMs&nbsp; in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway | P1 | | | | | |
| 5 | Shared NW scope&nbsp; Project 1 PVLAN Deploy VM | 1. Advance zone cluster with 2 hosts, Project P1 w/ account A1 A2&nbsp; Project P2&nbsp; w/account B1 B2 \\
2. Create&nbsp; Shared NW1&nbsp; scope Project for P1 <pVLAN1, sVLAN1>.&nbsp; \\
3. As users from different projects , deploy Vms in this network, \\
A1 user deploy VM1 on NW1 on host1 , VM5 on NW1 on host2. A2 user deploy VM2 on NW1 on host1, VM6 on NW1 on host2. B1 user&nbsp; try deploy VM3 on NW1 on host1, VM7 on NW1 on host2. B2 user try deploy VM4 on NW1 on host1, VM8 on NW1 on host2. | 1. shared NW1 with pVLAN creation succeed. \\
2. A1 user&nbsp;&nbsp; A2 user able to create VMs on NW1. B1 user B2 user unable to create VMs on NW1. \\
3. All VMs&nbsp; in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway | P1 | | | | | |
| 6 | Multiple&nbsp; shared NW&nbsp; scope zone using different PVLANs Deploy VM | 1. Advance zone cluster with 2 hosts, Domain D1&nbsp; domainadmin&nbsp; d1domain,&nbsp; user d1user.&nbsp; Domain D2&nbsp; user d2user. \\
2. Create multiple shared pvlan enabled networks. \\
Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. Create&nbsp; Shared NW2&nbsp; scope zone&nbsp; <pVLAN2, sVLAN2>. Create&nbsp; Shared NW3&nbsp; scope zone&nbsp; <pVLAN3, sVLAN3>. Create&nbsp; Shared NW4&nbsp; scope zone&nbsp; <pVLAN4, sVLAN4>. \\
&nbsp;3. Make sure we are able to deploy multiple vms successfully in both the networks. \\
d1domain deploy VM1 on NW1 on host1 , VM4 on NW2 on host2, VM8 on NW3 on host1, VM12 on NW4 on host2 d1user&nbsp; deploy VM2 on NW1 on host1, VM5 on NW2 on host2, VM9 on NW3 on host1, VM13 on NW4 on host2. d2user&nbsp; deploy VM3 on NW1 on host1, VM6 on NW2 on host2, VM10 on NW4 on host1, VM14 on NW4 on host2. | With 1 network, \\
All VMs&nbsp; in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway \\
Vm can access Vms from other shared networks. \\
\\
. shared NW1 NW2&nbsp; NW3&nbsp;&nbsp; NW4&nbsp; with different pVLANs creation succeed. 2. All users&nbsp;&nbsp; able to create VMs on shared NW1 NW2&nbsp; NW3&nbsp;&nbsp; NW4 All VMs&nbsp; in each shared NW unable to access each other All VMs&nbsp; among all shared NWs unable to access each other All VMs in in each shared NW able to reach DHCP server, gateway | P1 | Pass | | Pass | | |
| 7 | Shared NW using&nbsp; PVLAN associated with another shared NW | 1. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Create&nbsp; Shared NW2&nbsp; scope zone&nbsp; <pVLAN2, sVLAN1>. | shared NW2 creation FAIL | P1 | Fail&nbsp;&nbsp;&nbsp;&nbsp; CLOUDSTACK-2396 \\
\[http://10.223.195.117:8080/client/api?command=deployVirtualMachine&zoneId=9ff201c7-6eba-4b36-b8e2-360f822cb7de&templateId=9bc1dba0-df99-11e2-b716-06f804000713&hypervisor=KVM&serviceOfferingId=e74c32fa-145f-4e03-be83-96e026209189&networkIds=54717634-c1e1-4d89-a7fc-4a0ee4886421,c7be29c8-59ec-44a5-91fd-57e058ccdcc5&displayname=d1domain1612-150-152-isolateV31&name=d1domain1612-150-152-isolateV31&response=json&sessionkey=pP%2Bk%2BAVLQA%2B9%2FBmeLHRkM1Jvd2w%3D&_=1372378780580 \\
\]{ "deployvirtualmachineresponse" : {"id":"bc5067bf-0147-48ef-9146-6a1f11d90ee5","jobid":"0558d637-8c61-42bf-8a29-89c32b6f470b"} | PASS \\ |

| | | | | | | *KVM&nbsp;Ubuntu 13.04* | *VMWARE DVS* | |
| 87 | Shared NW using&nbsp; the same VLANPVLAN associated with another differentshared PVLANs.NW | 1. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Create&nbsp; Shared NW2&nbsp; scope zone&nbsp; <pVLAN1<pVLAN2, sVLAN2>sVLAN1>. | shared NW2 creation FAIL | P1 | Fail&nbsp;&nbsp;&nbsp;&nbsp; CLOUDSTACK-2396 | | | | |
| 9[https://issues.apache.org/jira/browse/CLOUDSTACK-2888]\\
PASS \\ | [https://issues.apache.org/jira/browse/CLOUDSTACK-2888]\\
PASS \\ | |
| 8 | Shared NW using&nbsp; the same PVLANVLAN associated with ZONE&nbsp; VLANdifferent PVLANs. | 1. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; using<pVLAN1, ZONE VLAN | shared NW1 creation FAIL | P1 | The VLAN tag 2030 is already being used for the guest network in zone zone1 | | The VLAN tag 2020 is already being used for the guest network in zone zone1 | | | | | | | | |

| 10 | Should not be allowed to pass isolatedpvlan parameter when creating a isolated network. | 1. Try to create a isolated network by passing isolatedpvlan parameter | Network creation should fail | P1 | { "createnetworkresponse" : {"errorcode":431,"cserrorcode":4350,"errortext":"Can only support create Private VLAN network with advance shared network\!"}\\sVLAN1>. \\
2. Create&nbsp; Shared NW2&nbsp; scope zone&nbsp; <pVLAN1, sVLAN2>. | shared NW2 creation FAIL | P1 | CLOUDSTACK-2396 | [https://issues.apache.org/jira/browse/CLOUDSTACK-2888]\\
PASS \\ | [https://issues.apache.org/jira/browse/CLOUDSTACK-2888]\\
PASS \\ | |
| 9 | Shared NW using&nbsp; PVLAN associated with ZONE&nbsp; VLAN | 1. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; using ZONE VLAN | shared NW1 creation FAIL | P1 | The VLAN tag 2030 is already being used for the guest network in zone zone1 | Pass \\
The VLAN tag 2020 is already being used for the guest network in zone zone1 | Pass \\
The VLAN tag 2041 is already being used for the guest network in zone  zone1 \\ | | | | | | | |

| |*Test | |
| 11case ID* \\ | Should*Test notcase bename* allowed\\ to| pass isolatedpvlan parameter when creating a ipv6 enabled network. | 1. Try to create a ipv6 enabled shared network by passing isolatedpvlan parameter | Network creation should fail | | Bug&nbsp; CLOUDSTACK-2392 | | Pass*Steps* \\ | *Expected Result* \\ | *Priority* \\ | *XEN* \\ | *KVM&nbsp;Ubuntu 13.04* | *VMWARE dvswitch* | \\ | | |
| 10 | |Should |not |be |allowed |
|to |pass *ListCommandisolatedpvlan changes*parameter |when |creating |a |isolated |network. | |1. |Try |
|to 12create |a listVirtualMachines()isolated shouldnetwork returnby PVLANpassing relatedisolatedpvlan parametersparameter | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy Vm in this network. \\
3. List Vm details using listVirtualMachines() | listVirtualMachines() should return PVLAN related parameters \\
&nbsp;"isolationuri":"vlan://1611,"broadcasturi":"pvlan://1611-i998" | P1 | Pass | | Pass | Network creation should fail | P1 | { "createnetworkresponse" : {"errorcode":431,"cserrorcode":4350,"errortext":"Can only support create Private VLAN network with advance shared network\!"}\\ | PASS | PASS \\ | | | |
| | *ListCommand changes* | | | | *XEN* | *KVM&nbsp;Ubuntu 13.04* | *VMWARE dvswitch* | *&nbsp;* | *&nbsp;* | |
| 1312 | listRouterslistVirtualMachines() should return PVLAN related parameters | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
&nbsp;2. Deploy Vm in this network. \\
&nbsp;3. List routerVm details using listRouterslistVirtualMachines() | listRouterslistVirtualMachines() should return PVLAN related parameters \\
&nbsp;"isolationuri":"vlan://1611,"broadcasturi":"pvlan://1611-i998" | P1 | Pass | [https://issues.apache.org/jira/browse/CLOUDSTACK-2885| Pass | | |
| 14 | listNetworks() should return PVLAN related parameters | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy Vm in this network. \\
&nbsp;3. List network details using listNetworks() | listNetworks() should return PVLAN&nbsp; related parameters \\
"broadcasturi":"pvlan://1611-i998" | P1 | Pass | | Pass | | |
| 15 | listVlanIpranges() should return PVLAN related parameters | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy Vm in this network. \\
3. List&nbsp; VLAN details using listVlanIpranges() | listVlanIpranges() should return PVLAN related parameters \\
only Vlan entry is returned | P1 | Pass | | Pass | | |
| | | | | | | | | | |
| | *Vm States* | | | | | | | | |
| 16 | Deploy Vm in a shared Network that is created by providing secondary Vlan. - User Vm checkhttps://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
fixed, PASS \\
{ "listvirtualmachinesresponse" : { "count":1 ,"virtualmachine" : \[&nbsp; {"id":"8b025c78-69d0-440b-8907-7ff55f33aa33","name":"z1adminpvlan1611IP","displayname":"z1adminpvlan1611IP","account":"admin","domainid":"9bb2859c-df99-11e2-b716-06f804000713","domain":"ROOT","created":"2013-06-28T14:29:29-0700","state":"Running","haenable":true,"zoneid":"9ff201c7-6eba-4b36-b8e2-360f822cb7de","zonename":"z1","hostid":"958327d1-dd3c-4c83-a41b-c3f3413d93f7","hostname":"ubuntu8162","templateid":"9bc1dba0-df99-11e2-b716-06f804000713","templatename":"CentOS 5.5(64-bit) no GUI (KVM)","templatedisplaytext":"CentOS 5.5(64-bit) no GUI (KVM)","passwordenabled":false,"serviceofferingid":"e74c32fa-145f-4e03-be83-96e026209189","serviceofferingname":"512","cpunumber":1,"cpuspeed":100,"memory":512,"cpuused":"5.03%","networkkbsread":2,"networkkbswrite":8,"diskkbsread":23206,"diskkbswrite":11580,"diskioread":1152,"diskiowrite":1187,"guestosid":"9becdf76-df99-11e2-b716-06f804000713","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":\[\],"nic":\[{"id":"359a08c5-fcb8-4ee6-8b0d-dacb7f60484b","networkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","networkname":"1611-110-112","netmask":"255.255.255.192","gateway":"10.223.161.65","ipaddress":"10.223.161.110","isolationuri":"vlan://1611","broadcasturi":"pvlan://1611-i998","traffictype":"Guest","type":"Shared","isdefault":true,"macaddress":"06:17:d6:00:00:0d"} | PASS \\ |

| | | | | | | *KVM&nbsp;Ubuntu 13.04* | *VMWARE DVS* \\ |
| 13 | listRouters() should return PVLAN related parameters | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
&nbsp;2. Deploy Vm in this network. \\
&nbsp;3. List router details using listRouters() | listRouters() should return PVLAN related parameters \\
"isolationuri":"vlan://1611,"broadcasturi":"pvlan://1611-i998" | P1 | Pass | Pass \\
{ "listroutersresponse" : { "count":1 ,"router" : \[&nbsp; {"id":"83592e44-e79c-40f1-a14d-7cfbc35fdf3d","zoneid":"9ff201c7-6eba-4b36-b8e2-360f822cb7de","zonename":"z1","dns1":"10.223.110.254","networkdomain":"cs1cloud.internal","name":"r-4-VM","podid":"b522d14e-7ecb-40b0-bcec-f16226381232","hostid":"bcf14c6e-c44b-424d-bddc-f386d22fe43d","hostname":"ubuntu8161","linklocalip":"169.254.0.127","linklocalmacaddress":"0e:00:a9:fe:00:7f","linklocalnetmask":"255.255.0.0","linklocalnetworkid":"0d836be6-2fe8-4ec3-a53a-6f1fea3da7a3","guestipaddress":"10.223.161.111","guestmacaddress":"06:76:aa:00:00:0e","guestnetmask":"255.255.255.192","guestnetworkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","templateid":"9bc175d4-df99-11e2-b716-06f804000713","created":"2013-06-28T13:29:53-0700","state":"Running","account":"system","domainid":"9bb2859c-df99-11e2-b716-06f804000713","domain":"ROOT","serviceofferingid":"c5ff5727-17d4-4400-b54a-a8413f095254","serviceofferingname":"System Offering For Software Router","isredundantrouter":false,"redundantstate":"UNKNOWN","role":"VIRTUAL_ROUTER","nic":\[{"id":"76becf22-5bcf-49aa-b8d8-9742ca0132d4","networkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","networkname":"1611-110-112","netmask":"255.255.255.192","gateway":"10.223.161.65","ipaddress":"10.223.161.111","isolationuri":"vlan://1611","broadcasturi":"pvlan://1611-i998","traffictype":"Guest","type":"Shared","isdefault":true,"macaddress":"06:76:aa:00:00:0e"},{"id":"8cb4338a-d5c6-4c97-b347-d4526abefb0b","networkid":"0d836be6-2fe8-4ec3-a53a-6f1fea3da7a3","netmask":"255.255.0.0","gateway":"169.254.0.1","ipaddress":"169.254.0.127","traffictype":"Control","isdefault":false,"macaddress":"0e:00:a9:fe:00:7f"} | PASS \\ |

| 14 | listNetworks() should return PVLAN related parameters | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy Vm in this network. \\
&nbsp;3. List network details using listNetworks() | listNetworks() should return PVLAN&nbsp; related parameters \\
"broadcasturi":"pvlan://1611-i998" | P1 | Pass | Pass \\
{ "listnetworksresponse" : { "count":1 ,"network" : \[&nbsp; {"id":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","name":"1611-110-112","displaytext":"1611-110-112","broadcastdomaintype":"Pvlan","traffictype":"Guest","gateway":"10.223.161.65","netmask":"255.255.255.192","cidr":"10.223.161.64/26","zoneid":"9ff201c7-6eba-4b36-b8e2-360f822cb7de","zonename":"z1","networkofferingid":"3bdcf813-3d52-435a-a256-e71632366d02","networkofferingname":"DefaultSharedNetworkOffering","networkofferingdisplaytext":"Offering for Shared networks","networkofferingavailability":"Optional","issystem":false,"state":"Setup","related":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","broadcasturi":"pvlan://1611-i998","dns1":"10.223.110.254","type":"Shared","vlan":"N/A","acltype":"Domain","subdomainaccess":true,"domainid":"9bb2859c-df99-11e2-b716-06f804000713","domain":"ROOT","service":\[{"name":"Dhcp"},{"name":"UserData"},{"name":"Dns","capability":\[{"name":"AllowDnsSuffixModification","value":"true","canchooseservicecapability":false} | PASS \\ |

\]}

\],"networkdomain":"cs1cloud.internal","physicalnetworkid":"f9513cf0-dc5e-433a-945a-97148a3ffab1","restartrequired":false,"specifyipranges":true,"canusefordeploy":true,"ispersistent":false,"tags":\[\],"displaynetwork":true} \] } }
\\
\| Pass \| \| \|
| 15 | listVlanIpranges() should return PVLAN related parameters | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy Vm in this network. \\
3. List&nbsp; VLAN details using listVlanIpranges() | listVlanIpranges() should return PVLAN related parameters \\
only Vlan entry is returned | P1 | Pass | Pass \\
{ "listvlaniprangesresponse" : { "count":1 ,"vlaniprange" : \[&nbsp; {"id":"1098f7e8-e10a-4289-8970-2e913a6659d0","forvirtualnetwork":true,"zoneid":"9ff201c7-6eba-4b36-b8e2-360f822cb7de","vlan":"1610","account":"system","domainid":"9bb2859c-df99-11e2-b716-06f804000713","domain":"ROOT","gateway":"10.223.161.1","netmask":"255.255.255.192","startip":"10.223.161.57","endip":"10.223.161.62","networkid":"45a7b17b-84e8-46d0-bc87-f1a272ab5c31","physicalnetworkid":"f9513cf0-dc5e-433a-945a-97148a3ffab1"} |


| | | | | | | | | | | |
| | *Vm States* | | | | *XEN* | *KVM&nbsp;Ubuntu 13.04* | | *VMWARE dvswitch&nbsp;* | *VMWARE Nexus vswitch 1000* | |
| 16 | Deploy Vm in a shared Network that is created by providing secondary Vlan. - User Vm check | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy multiple Vms in this network | Vm should be deployed successfully. For every Vm deployed following 2 entries should be created in the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 Vms should NOT be able to communicate with each other. | | . \\
Pass | Pass | | Pass | PASS | | | | | | | |
| 17 | Deploy Vm in a shared Network that is created by providing secondary Vlan. - Router Check | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy Vm in this network. | Vm should be deployed successfully. For every router created following 3 entries should be created in the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:18 2. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:18 3.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18 Vm should be able to go out successfully. Vm should be able to communicate with the router successfully. | | Pass | Pass | | Pass | PASS | | | | | | | |
| 18 | Stop Vm | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
&nbsp;2. Deploy Vm in this network. \\
3. Stop VM. | Vm should be stopped successfully. Following 2 entries of the Vm should get removed from the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Pass | [https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
[https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed PASS \\ | | | | |
| 19 | Start Vm that is in stopped state | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3. Stop VM. \\
4. Start VM. | Vm should be stopped and started successfully. For every Vm deployed following 2 entries should be removed when stopping the Vm and get added back when the Vm is started&nbsp; in the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 All VMs&nbsp; in NW1 unable to access each other. All VMs in NW1 able to reach DHCP server, gateway | | Pass | [https://issues.apache.org/jira/browse/CLOUDSTACK-2638|https://issues.apache.org/jira/browse/CLOUDSTACK-2638][https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
\\
[https://issues.apache.org/jira/browse/CLOUDSTACK-3311|https://issues.apache.org/jira/browse/CLOUDSTACK-2638] | | | | |
| 20 | reboot Vm | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network. 3. Reboot VM. | Vm should be stopped & destroyed successfully. Following 2 entries of the Vm should get removed from the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Pass | PASS | | [https://issues.apache.org/jira/browse/CLOUDSTACK-3311|https://issues.apache.org/jira/browse/CLOUDSTACK-2638] | | | | |
| 21 | Destroy Vm | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
&nbsp;3. Destroy VM. | Vm should be stopped & destroyed successfully. Following 2 entries of the Vm should get removed from the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Pass | [https://issues.apache.org/jira/browse/CLOUDSTACK-2887|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2887|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | | | |
| 21 | Restore Vm that is destroyed | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3. Destroy VM. \\
4. Even before the expunge interval is passed , restore the VM. \\
5. Once the Vm is in stopped state , Start this VM. | After Vm is restored, Vm should be in Running state. All VMs&nbsp; in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway Following 2 entries of the Vm should get created in the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Pass | [https://issues.apache.org/jira/browse/CLOUDSTACK-2887|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
[https://issues.apache.org/jira/browse/CLOUDSTACK-2887|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed PASS \\ | | | | |
| 22 | Expunge Vm that is&nbsp; destroyed | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
&nbsp;3. Destroy VM. \\
4. Wait for the Expunge interval to pass. | Vm should be Expunged successfully. \\
DNS entry of this Vm should be removed from the router. | P1 | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2887|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2887|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | |
| | | | | | | *KVM&nbsp;Ubuntu 13.04* | *VMWARE dvswitch* | | | |
| 23 | Expunge Vm that is&nbsp; destroyed and deploy a Vm using the same Ip address as the expunged Vm. | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network.&nbsp;3. Destroy VM. 4. Wait for the Expunge interval to pass.5. Deploy a Vm using the same Ip address as the expunged Vm | Vm deployment shoud succeed.As part of this VM deployment, router's /etc/dhcphost entry for the expunged Vm gets deleted and the entry pertaining to the new Vm is created.Following 2 entries of the Vm should get created in the host:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | P1 | Fail | [https://issues.apache.org/jira/browse/CLOUDSTACK-2887|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
blocked \\
\\
Fixed&nbsp;&nbsp;&nbsp;&nbsp; PASS \\  {color:#800000}{*}{color}{color:#800000}[http://10.223.195.117:8080/client/api?command=deployVirtualMachine&zoneId=\*|http://10.223.195.117:8080/client/api?command=deployVirtualMachine&zoneId=*]{color}9ff201c7-6eba-4b36-b8e2-360f822cb7de \\  {color:#800000}*&templateId=*{color}9bc1dba0-df99-11e2-b716-06f804000713 \\  {color:#800000}*&hypervisor=KVM&serviceOfferingId=*{color}e74c32fa-145f-4e03-be83-96e026209189{color:#800000}*&networkIds=*{color}fdc925e8-120c-47ca-b0f5-e3ca063e1734 \\  {color:#800000}*&ipaddress=10.223.161.110&displayname=z1adminpvlan1611IP&name=z1adminpvlan1611IP&*{color}response=json&sessionkey=PaLWh5YzWWDxdSaGS9XJmP7SVkc%3D \\
\\
{ "deployvirtualmachineresponse" : {"id":"8b025c78-69d0-440b-8907-7ff55f33aa33","jobid":"db7ab9fe-2acb-4a53-bda2-5fb63e15f268"} | PASS \\ |

| | | | | priority \\ | *XEN* \\ | | *KVM&nbsp;Ubuntu 13.04* | | | | *VMWARE dvswitch* | | | | | | | | |
| 24 | From user Vm , we should be able to fetch&nbsp; metadata of the VM. | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network.3.From with in the Vm , fetch&nbsp; metadata of the VM. | From user Vm , we should be able to fetch&nbsp; metadata of the VM. | P1 \\ | Pass | | Pass \\
wget \[http://10.223.161.110/latest/meta-data/service-offering \\
\] wget \[http://10.223.161.110/latest/meta-data/availability-zone \\
\] wget \[http://10.223.161.110/latest/meta-data/local-ipv4 \\
\] wget \[http://10.223.161.110/latest/meta-data/local-hostname \\
\] wget \[http://10.223.161.110/latest/meta-data/public-ipv4 \\
\] wget \[http://10.223.161.110/latest/meta-data/public-hostname \\
\] wget \[http://10.223.161.110/latest/meta-data/instance-id \\
\] | | | | PASS | | | | | | |
| 25 | From user Vm , we should be able to fetch userdata of the VM. | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy multiple Vms in this network |by Vm should be deployed successfully. For every Vm deployed following 2 entries should be created in the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 Vms should NOT passing userdata.3.From with in the Vm , fetch&nbsp; userdata of the VM. | From user Vm , we should be able to communicate with each other. | | . \\
Pass | | Pass | | | | | | | | |
| 17 | Deploy Vm in a shared Network that is created by providing secondary Vlan. - Router Check | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy Vm in this network. | Vm should be deployed successfully. For every router created following 3 entries should be created in the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:18 2. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:18 3.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18 Vm should be able to go out successfully. Vm should be able to communicate with the router successfully. | | Pass | | Pass |fetch&nbsp; userdata of the VM. | | CLOUDSTACK-2397 | | {color:#800000}{*}Pass{*}{color}{ "deployvirtualmachineresponse" : {"id":"fddd3184-c211-49ce-b51a-ec905671d2fa","jobid":"a0994c3a-e7fe-4c34-920e-8d7314e31535"} | Pass \\ | Pass \\ |

\\
\\
| | *Vms being part of same shared network and different isolated network* | | | | *XEN* | *KVM&nbsp;Ubuntu 13.04* | | *VMWARE dvswitch* | | | | |
| | | | | | | | | | | | | |
| 26 | Vm being part of isolated network and shared network | 1. Create a shared network with pvlan -- SN1.2. As account1 , create isolated network N1.3. As account2 , create isolated network N2.4. As account1 - Deploy vms - VM1, VM2&nbsp; in N1 (default) and SN1.5. As account2 - Deploy vms -- VM3, VM4&nbsp; in N2 (default) and SN1. | From VM1 , make sure you are not able to access VM2, VM3 and VM4 using the Ip-address that is assigned to it shared network SN1 | | Pass | PASS | | PASS | . | | | | | | | |
| 1827 | Stop Vmand start |Vms 1.that Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
&nbsp;2. Deploy Vm in this network. \\
3. Stop VM. | Vm should be stopped successfully. Following 2 entries of the Vm should get removed from the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Pass | | Pass | | | | |
| 19 | Start Vm that is in stopped state | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3. Stop VM. \\
4. Start VM. | Vm should be stopped and started successfully. For every Vm deployed following 2 entries should be removed when stopping the Vm and get added back when the Vm is started&nbsp; in the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 All VMs&nbsp; in NW1 unable to access each other. All VMs in NW1 able to reach DHCP server, gateway | | Pass | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2638|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]are part of isolated and shared network | Pre Req:1. Create a shared network with pvlan -- SN1.2. As account1 , create isolated network N1.3. As account2 , create isolated network N2.4. As account1 - Deploy vms - VM1, VM2&nbsp; in N1 (default) and SN1.5. As account2 - Deploy vms -- VM3, VM4&nbsp; in N2 (default) and SN1.Steps:Stop and start Vms | From VM1 , make sure you are not able to access VM2, VM3 and VM4 using the Ip-address that is assigned to it shared network SN1. | | Pass | [https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | | | | | | | |
| 28 | Reboot Vms that are part of isolated and shared network | Pre Req:1. Create a shared network with pvlan -- SN1.2. As account1 , create isolated network N1.3. As account2 , create isolated network N2.4. As account1 - Deploy vms - VM1, VM2&nbsp; in N1 (default) and SN1.5. As account2 - Deploy vms -- VM3, VM4&nbsp; in N2 (default) and SN1.Steps:Reboot Vms | From VM1 , make sure you are not able to access VM2, VM3 and VM4 using the Ip-address that is assigned to it shared network SN1. | | Pass | | | | | | | | | | | |
| 2029 | reboot Vm | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network. 3. Reboot VM. | Vm should be stopped & destroyed successfully. Following 2 entries of the Vm should get removed from the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Pass | | Pass | | | | |
| 21 | Destroy Vm | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
&nbsp;3. Destroy VM. | Vm should be stopped & destroyed successfully. Following 2 entries of the Vm should get removed from the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Pass | | Pass |  Vm being part of isolated network and shared network.Have another machine in the same shared network connected to promiscuous port. | Pre Req:1. Create a shared network with pvlan -- SN1.2. As account1 , create isolated network N1.3. As account2 , create isolated network N2.4. As account1 - Deploy vms - VM1, VM2&nbsp; in N1 (default) and SN1.5. As account2 - Deploy vms -- VM3, VM4&nbsp; in N2 (default) and SN1. Steps:Have another machine in the same shared network connected to promiscuous port. | From VM1 , make sure you are not able to access VM2, VM3 and VM4 using the Ip-address that is assigned to it shared network SN1.From the machine that was added in promiscuous mode , we should be able to reach all the Vms using their Shared network Ipaddress.From the Vms , we should be able to access this machine | | Pass | | | | | | | | | | | |
| | | | | | | | | | | |
| | *Network States* | | | | *XEN* | *KVM&nbsp;Ubuntu 13.04* | *VMWARE dvswitch* | | | |
| 2130 | RestoreExtend VmIprange thatof isthe destroyednetwork | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3. Destroy VM. Consume all ips in range \\
4. EvenExtend before the expunge interval is passed , restore the VMIp range. \\
&nbsp;5. Once theDeploy Vm is in stopped state , Start this VMnetwork. | AfterVm Vmdeployment isshould restored, succeed. \\
Vm should be in Running state. assigned address from the extended range. \\
&nbsp;All VMs&nbsp; in NW1 unable to access each other \\
All VMs in NW1 able to reach DHCP server, gateway Following 2 entries of the Vm should get created in the host: ovs-ofctl dump-flows xenbr0 1. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Pass | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2638] | | | | |
| 22 | Expunge Vm that is&nbsp; destroyed  | P2 | Pass | { "createvlaniprangeresponse" :&nbsp; { "vlan" : {"id":"371ec6a5-6384-4e61-a3a2-9936095501ae","forvirtualnetwork":false,"zoneid":"9ff201c7-6eba-4b36-b8e2-360f822cb7de","vlan":"1611","account":"system","domainid":"9bb2859c-df99-11e2-b716-06f804000713","domain":"ROOT","gateway":"10.223.161.65","netmask":"255.255.255.192","startip":"10.223.161.113","endip":"10.223.161.116","networkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","physicalnetworkid":"f9513cf0-dc5e-433a-945a-97148a3ffab1"} | PASS \\ |


| | | | | | | *KVM&nbsp;Ubuntu 13.04* | VMWARE DVS \\ |
| 31 | Restart network | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
&nbsp;3. Destroy VM3. Restart Network. | Network restart should succeed. \\
4. Wait for the Expunge interval to pass. | Vm should be Expunged successfully. \\
DNS entry of this Vm should be removed from the router. | P1 | | | Pass | | |
| 23 | Expunge Vm that is&nbsp; destroyed and deploy a Vm using the same Ip address as the expunged Vm. After network restart: \\
All VMs&nbsp; in NW1 unable to access each other \\
&nbsp;All VMs in NW1 able to reach DHCP server, gateway \\
We should be able to deploy new Vms in this network. | P2 | Pass | Pass \\
\[http://10.223.195.117:8080/client/api?command=restartNetwork&id=fdc925e8-120c-47ca-b0f5-e3ca063e1734&cleanup=false&response=json&sessionkey=b1NMj0nphTDtKYBTkR3GBopg0wY%3D&_=1372372351031 \\
\] \\
{ "restartnetworkresponse" : {"jobid":"974d4bbf-824f-4550-9194-aae78edeb0c7"} | PASS \\ |

\\
\\


| 32 | Restart network with cleanup option | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
&nbsp;34. Destroy VM. 4. Wait for the Expunge interval to pass.5. Deploy a Vm using the same Ip address as the expunged Vm | Vm deployment shoud succeedRestart Network with cleanup option. | Network restart should succeed. After network restart:&nbsp;All VMs&nbsp; in NW1 unable to access each other.&nbsp;All VMs in NW1 able to reach DHCP server, gateway&nbsp;We should be able to deploy new Vms in this network.As part of this VM deployment, router's /etc/dhcphost entrynetwork restart m Router is stopped and started.Following 3 entries for the expungedrouter Vmshould getsget deleted and there-created entryin pertaining to the new Vm is created.Following 2 entries of the Vm should get created in the host:ovs-ofctl dump-flows xenbr01host:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:182. cookie=0x0, duration=3063503.296s38s, table=0, n_packets=5120, n_bytes=75361148, priority=60200,arp,dl_vlan=998,dlnw_src=06:07:c2:00:00:26dst=10.223.161.110 actions=strip_vlan,output:1 2.&nbsp; 183.cookie=0x0, duration=3063503.3s376s, table=0, n_packets=5137, n_bytes=75363176, priority=50150,dl_vlan_tci=0x0000998,dl_srcdst=06:07e0:c2d8:00:00:261c actions=mod_vlan_vid:998,resubmit:1 | | Fail | | | | | | | | | |strip_vlan,output:18 | | |Pass | | | |
| 24 | From user Vm , we should be able to fetch&nbsp; metadata of the VM. | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network.3.From with in the Vm , fetch&nbsp; metadata of the VM. | From user Vm , we should be able to fetch&nbsp; metadata of the VM. | | Pass | | | | | | | | | | |
| 25 | From user Vm , we should be able to fetch userdata of the VM.Pass \\
\[http://10.223.195.117:8080/client/api?command=restartNetwork&cleanup=true&id=fdc925e8-120c-47ca-b0f5-e3ca063e1734&cleanup=true&response=json&sessionkey=b1NMj0nphTDtKYBTkR3GBopg0wY%3D&_=1372371346187 \\
\]{ "restartnetworkresponse" : {"jobid":"458445c2-53e6-47d3-9989-41cd235d2b9a"} |

}
\\
{ "queryasyncjobresultresponse" : {"accountid":"c84ae23e-df99-11e2-b716-06f804000713","userid":"c84b4292-df99-11e2-b716-06f804000713","cmd":"org.apache.cloudstack.api.command.user.network.RestartNetworkCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"success":true}

,"created":"2013-06-28T15:11:40-0700","jobid":"458445c2-53e6-47d3-9989-41cd235d2b9a"}

}
\\
\\
\| Pass \| \| \| \| \|
| 33 | Delete network with vms in "Running" state | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy Vms in this network by passing userdata.3.From with in the Vm , fetch&nbsp; userdata of the VM. | From user Vm , we should be able to fetch&nbsp; metadata of the VM. | | CLOUDSTACK-2397 | | | | | | | | | | |
| | *Vms being part of same shared network and different isolated network* | | | | Pass | | | | | | |
| 26 | Vm being part of isolated network and shared network | 1. Create a shared network with pvlan -- SN1.2. As account1 , create isolated network N1.3. As account2 , create isolated network N2.4. As account1 - Deploy vms - VM1, VM2&nbsp; in N1 (default) and SN1.5. As account2 - Deploy vms -- VM3, VM4&nbsp; in N2 (default) and SN1. | From VM1 , make sure you are not able to access VM2, VM3 and VM4 using the Ip-address that is assigned to it shared network SN1 | | Pass | | | . | | | | | | | |
| 27 | Stop and start Vms that are part of isolated and shared network | Pre Req:1. Create a shared network with pvlan -- SN1.2. As account1 , create isolated network N1.3. As account2 , create isolated network N2.4. As account1 - Deploy vms - VM1, VM2&nbsp; in N1 (default) and SN1.5. As account2 - Deploy vms -- VM3, VM4&nbsp; in N2 (default) and SN1.Steps:Stop and start Vms | From VM1 , make sure you are not able to access VM2, VM3 and VM4 using the Ip-address that is assigned to it shared network SN1. | | Pass | | | | | | | | zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network \\
3. Delete Network. | Network Deletion should fail. | P2 | Pass | Pass \\
\[http://10.223.195.117:8080/client/api?command=deleteNetwork&id=fdc925e8-120c-47ca-b0f5-e3ca063e1734&response=json&sessionkey=b1NMj0nphTDtKYBTkR3GBopg0wY%3D&_=1372372621828 \\
\] \\
{ "deletenetworkresponse" : {"jobid":"c0a85f28-2ccf-4eda-b558-a18918dbceab"} |

}
\\
\\
{ "queryasyncjobresultresponse" : {"accountid":"c84ae23e-df99-11e2-b716-06f804000713","userid":"c84b4292-df99-11e2-b716-06f804000713","cmd":"org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"Failed to delete network"}

,"created":"2013-06-28T15:32:56-0700","jobid":"c0a85f28-2ccf-4eda-b558-a18918dbceab"}

}
\\
\| Pass \| \| \|
| 34 | Delete network when there are no Vms associated with it. | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
&nbsp;3. Destroy all the Vms. \\
4. Delete Network after all the Vms are expunged. | Network Deletion should succeed. | P2 | Pass | Pass | Pass | | |
| 35 | Stop all Vms in network and wait for network shutdown | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network. 3. Stop all the Vms. 4. Wait for network scavenger thread to run. | Network should not be picked up for Shutting down. | | N/A Network scavenger thread does not destroy shared networks that have no Vms to service. | [https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
fixed \\
PASS \\ | [https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
fixed \\
PASS \\ | | |
| 35A | Add IP Range | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Delete IP range \\
or delete network \\
3. Add IP range or create network with IP range overlaping deleted IP range | Add IP range should succeed | | | Fail - shared network bug \\
[http://bugs-ccp.citrix.com/browse/CS-17941] | [https://issues.apache.org/jira/browse/CLOUDSTACK-2636|https://issues.apache.org/jira/browse/CLOUDSTACK-2636]\\ | | |
| | *Router States* | | | *&nbsp;* | *XEN* | *KVM&nbsp;Ubuntu 13.04* | *VMWARE dvswitch* | | |
| 2836 | Reboot Vms that are part of isolated and shared networkStop Router | Pre Req:1. Advance zone&nbsp; Create&nbsp; a shared network with pvlan -- SN1.2. As account1 , create isolated network N1.3. As account2 , create isolated network N2.4. As account1 - Deploy vms - VM1, VM2&nbsp; in N1 (default) and SN1.5. As account2 - Deploy vms -- VM3, VM4&nbsp; in N2 (default) and SN1.Steps:Reboot Vms | From VM1 , make sure you are not able to access VM2, VM3 and VM4 using the Ip-address that is assigned to it shared network SN1. | | Pass | | | | | | | | | | |
| 29 | Vm being part of isolated network and shared network.Have another machine in the same shared network connected to promiscuous port. | Pre Req:1. Create a shared network with pvlan -- SN1.2. As account1 , create isolated network N1.3. As account2 , create isolated network N2.4. As account1 - Deploy vms - VM1, VM2&nbsp; in N1 (default) and SN1.5. As account2 - Deploy vms -- VM3, VM4&nbsp; in N2 (default) and SN1. Steps:Have another machine in the same shared network connected to promiscuous port. | From VM1 , make sure you are not able to access VM2, VM3 and VM4 using the Ip-address that is assigned to it shared network SN1.From the machine that was added in promiscuous mode , we should be able to reach all the Vms using their Shared network Ipaddress.From the Vms , we should be able to access this machine | | Pass | | | | | | | | | | |
| | | | | | | | | | |
| | *Network States* | | | | | | | | |
| 30 | Extend Iprange of the network | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3. Consume all ips in range \\
4. Extend Ip range. \\
&nbsp;5. Deploy Vm in this network. | Vm deployment should succeed. \\
Vm should be assigned address from the extended range. \\
&nbsp;All VMs&nbsp; in NW1 unable to access each other \\
All VMs in NW1 able to reach DHCP server, gateway | P2 | Pass | | Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3.Stop Router | Router should get stopped successfully. All VMs&nbsp; in NW1 unable to access each other.All VMs in NW1 UNable to reach DHCP server. But should be able to reach gateway&nbsp; and reach out.Following 3 entries for the router should get deleted from the host:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:182. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:183.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18Deploying new Vm should result in the Router getting started.New VM&nbsp; in NW1 unable to access&nbsp; other All VMs in NW1 but able to reach DHCP server, gateway | | Pass | [https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
fixed \\
PASShttp://10.223.195.117:8080/client/api?command=stopRouter&id=332906f3-bc08-420c-927f-635bd27c1af8&forced=false&response=json&sessionkey=b1NMj0nphTDtKYBTkR3GBopg0wY%3D&_=1372372999783 \\
\\
\\
{ "queryasyncjobresultresponse" : {"accountid":"c84ae23e-df99-11e2-b716-06f804000713","userid":"c84b4292-df99-11e2-b716-06f804000713","cmd":"org.apache.cloudstack.api.command.admin.router.StopRouterCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"router":{"id":"332906f3-bc08-420c-927f-635bd27c1af8","zoneid":"9ff201c7-6eba-4b36-b8e2-360f822cb7de","zonename":"z1","dns1":"10.223.110.254","networkdomain":"cs1cloud.internal","name":"r-10-VM","podid":"b522d14e-7ecb-40b0-bcec-f16226381232","linklocalnetworkid":"0d836be6-2fe8-4ec3-a53a-6f1fea3da7a3","guestipaddress":"10.223.161.111","guestmacaddress":"06:0c:2c:00:00:0e","guestnetmask":"255.255.255.192","guestnetworkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","templateid":"9bc175d4-df99-11e2-b716-06f804000713","created":"2013-06-28T15:11:47-0700","state":"Stopped","account":"system","domainid":"9bb2859c-df99-11e2-b716-06f804000713","domain":"ROOT","serviceofferingid":"c5ff5727-17d4-4400-b54a-a8413f095254","serviceofferingname":"System Offering For Software Router","isredundantrouter":false,"redundantstate":"UNKNOWN","role":"VIRTUAL_ROUTER","nic":\[{"id":"73e3faa6-8fb6-4ef2-b506-eeb584529a36","networkid":"0d836be6-2fe8-4ec3-a53a-6f1fea3da7a3","traffictype":"Control","isdefault":false},{"id":"86fa94f1-6d8a-4a8f-8d05-eee7929ee290","networkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","networkname":"1611-110-112","netmask":"255.255.255.192","gateway":"10.223.161.65","ipaddress":"10.223.161.111","isolationuri":"vlan://1611","broadcasturi":"pvlan://1611-i998","traffictype":"Guest","type":"Shared","isdefault":true,"macaddress":"06:0c:2c:00:00:0e"}\],"jobid":"3f9e8660-f132-4d1f-8dc5-7374a93317c9","jobstatus":0}},"created":"2013-06-28T15:39:14-0700","jobid":"3f9e8660-f132-4d1f-8dc5-7374a93317c9"} } \\
\\ | [https://issues.apache.org/jira/browse/CLOUDSTACK-26362881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
Fixed \\
PASS \\ | | | | |
| 3137 | Restartstop-start networkRouter | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3.Stop Restart Network. | Network restart should succeed. \\
After network restart: \\
Router \\
4.Start Router | When Router is stopped: Router should get stopped successfully. All VMs&nbsp; in NW1 unable to access each other \\
&nbsp;All VMs in NW1 able to reach DHCP server,.But should be able to reach gateway \\
We should be able to deploy new Vms in this network. | P2 | Pass | | Pass | | |
| 32 | Restart network with cleanup option | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
&nbsp;4. Restart Network with cleanup option. | Network restart should succeed. After network restart:&nbsp;All VMs&nbsp; in NW1 unable to access each other.&nbsp;All VMs in NW1 able to reach DHCP server, gateway&nbsp;We should be able to deploy new Vms in this network.As part of network restart m Router is stopped and started.Following 3 entries for the router should get deleted and re-created in the host:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:182. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:183.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18 | | Pass | P2 | Pass | | | | |
| 33 | Delete network with vms in "Running" state | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network \\
3. Delete Network. | Network Deletion should fail. | P2 | Pass | | Pass | | |
| 34 | Delete network when there are no Vms associated with it. | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
&nbsp;3. Destroy all the Vms. \\
4. Delete Network after all the Vms are expunged. | Network Deletion should succeed. | P2 | Pass | | Pass | | |
| 35 | Stop all Vms in network and wait for network shutdown | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network. 3. Stop all the Vms. 4. Wait for network scavenger thread to run. | Network should not be picked up for Shutting down. | | N/A Network scavenger thread does not destroy shared networks that have no Vms to service. | | | | |
| 35 | Add IP Range | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Delete IP range \\
3. Add IP range | Add IP range should succeed | | | | &nbsp; and reach out.Following 3 entries for the router should get deleted and created in the host when router is stopped and started:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:182. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:183.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18After Router is started: &nbsp;Deploying new Vms should succeed | | Pass | [https://issues.apache.org/jira/browse/CLOUDSTACK-2881|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\
fixed \\
PASShttp://10.223.195.117:8080/client/api?command=startRouter&id=332906f3-bc08-420c-927f-635bd27c1af8&response=json&sessionkey=b1NMj0nphTDtKYBTkR3GBopg0wY%3D&_=1372373127619 \\
\\
{ "startrouterresponse" : {"jobid":"c9648369-14a3-4597-9ffb-bca23781dfe4"} |

}
\\
\\
{ "queryasyncjobresultresponse" : {"accountid":"c84ae23e-df99-11e2-b716-06f804000713","userid":"c84b4292-df99-11e2-b716-06f804000713","cmd":"org.apache.cloudstack.api.command.admin.router.StartRouterCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"router":{"id":"332906f3-bc08-420c-927f-635bd27c1af8","zoneid":"9ff201c7-6eba-4b36-b8e2-360f822cb7de","zonename":"z1","dns1":"10.223.110.254","networkdomain":"cs1cloud.internal","name":"r-10-VM","podid":"b522d14e-7ecb-40b0-bcec-f16226381232","hostid":"bcf14c6e-c44b-424d-bddc-f386d22fe43d","hostname":"ubuntu8161","linklocalip":"169.254.0.3","linklocalmacaddress":"0e:00:a9:fe:00:03","linklocalnetmask":"255.255.0.0","linklocalnetworkid":"0d836be6-2fe8-4ec3-a53a-6f1fea3da7a3","guestipaddress":"10.223.161.111","guestmacaddress":"06:0c:2c:00:00:0e","guestnetmask":"255.255.255.192","guestnetworkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","templateid":"9bc175d4-df99-11e2-b716-06f804000713","created":"2013-06-28T15:11:47-0700","state":"Running","account":"system","domainid":"9bb2859c-df99-11e2-b716-06f804000713","domain":"ROOT","serviceofferingid":"c5ff5727-17d4-4400-b54a-a8413f095254","serviceofferingname":"System Offering For Software Router","isredundantrouter":false,"redundantstate":"UNKNOWN","role":"VIRTUAL_ROUTER","nic":\[{"id":"73e3faa6-8fb6-4ef2-b506-eeb584529a36","networkid":"0d836be6-2fe8-4ec3-a53a-6f1fea3da7a3","netmask":"255.255.0.0","gateway":"169.254.0.1","ipaddress":"169.254.0.3","traffictype":"Control","isdefault":false,"macaddress":"0e:00:a9:fe:00:03"},{"id":"86fa94f1-6d8a-4a8f-8d05-eee7929ee290","networkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","networkname":"1611-110-112","netmask":"255.255.255.192","gateway":"10.223.161.65","ipaddress":"10.223.161.111","isolationuri":"vlan://1611","broadcasturi":"pvlan://1611-i998","traffictype":"Guest","type":"Shared","isdefault":true,"macaddress":"06:0c:2c:00:00:0e"}\],"jobid":"c9648369-14a3-4597-9ffb-bca23781dfe4","jobstatus":0}},"created":"2013-06-28T15:41:21-0700","jobid":"c9648369-14a3-4597-9ffb-bca23781dfe4"} }
\\
\\
\\
\| [https://issues.apache.org/jira/browse/CLOUDSTACK-26362881|https://issues.apache.org/jira/browse/CLOUDSTACK-26362638]\ \ | \| \|
| \| *Router States* | | | | | | | | |\|
| 3638 | StopReboot Router | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
Steps: 3.StopReboot Router | Router should get stopped successfully. All VMs and started successfully. After router is rebooted successfully , deploy a new Vm.New VM&nbsp; in NW1 unable to access&nbsp; eachother other.All VMs in NW1 UNablebut able to reach DHCP server, gateway. But shouldFor all existing Vms in NW1:Should not be able&nbsp; to reach gatewayaccess&nbsp; and other all VMs in NW1 but able to reach out.Following 3 entries for the router should get deleted from the host:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:182. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:183.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18Deploying new Vm should result in the Router getting started.New VM&nbsp; in NW1 unable to access&nbsp; other All VMs in NW1 but able to reach DHCP server, gateway | | Pass | | Pass | | | | |
| 37 | stop-start Router | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3.Stop Router \\
4.Start Router | When Router is stopped: Router should get stopped successfully. All VMs&nbsp; in NW1 unable to access each other&nbsp;All VMs in NW1 able to reach DHCP server.But should be able to reach gateway&nbsp; and reach out.Following 3 entries for the router should get deleted and created in the host when router is stopped and started:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:182. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:183.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18After Router is started: &nbsp;Deploying new Vms should succeed | | Pass | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2638|https://issues.apache.org/jira/browse/CLOUDSTACK-2638]\\ | | | | |
| 38 | Reboot Router | 1. Advance zone&nbsp; Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network. Steps: 3.Reboot Router | Router should get stopped and started successfully. After router is rebooted successfully , deploy a new Vm.New VM&nbsp; in NW1 unable to access&nbsp; other All VMs in NW1 but able to reach DHCP server, gateway.For all existing Vms in NW1:Should not be able&nbsp; to access&nbsp; other all VMs in NW1 but able to reach DHCP server, gateway. | | Pass | | [https://issues.apache.org/jira/browse/CLOUDSTACK-2638|https://issues.apache.org/jira/browse/CLOUDSTACK-2638] | | | |  DHCP server, gateway. | | Pass | Pass \\
\[http://10.223.195.117:8080/client/api?command=rebootRouter&id=332906f3-bc08-420c-927f-635bd27c1af8&response=json&sessionkey=b1NMj0nphTDtKYBTkR3GBopg0wY%3D&_=1372373289839 \\
\] \\
{ "rebootrouterresponse" : {"jobid":"c2ebd09a-873e-46e7-a05e-a0acb3961e2e"} |

}
\\
\\
{ "queryasyncjobresultresponse" : {"accountid":"c84ae23e-df99-11e2-b716-06f804000713","userid":"c84b4292-df99-11e2-b716-06f804000713","cmd":"org.apache.cloudstack.api.command.admin.router.RebootRouterCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"router":{"id":"332906f3-bc08-420c-927f-635bd27c1af8","zoneid":"9ff201c7-6eba-4b36-b8e2-360f822cb7de","zonename":"z1","dns1":"10.223.110.254","networkdomain":"cs1cloud.internal","name":"r-10-VM","podid":"b522d14e-7ecb-40b0-bcec-f16226381232","hostid":"bcf14c6e-c44b-424d-bddc-f386d22fe43d","hostname":"ubuntu8161","linklocalip":"169.254.3.125","linklocalmacaddress":"0e:00:a9:fe:03:7d","linklocalnetmask":"255.255.0.0","linklocalnetworkid":"0d836be6-2fe8-4ec3-a53a-6f1fea3da7a3","guestipaddress":"10.223.161.111","guestmacaddress":"06:0c:2c:00:00:0e","guestnetmask":"255.255.255.192","guestnetworkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","templateid":"9bc175d4-df99-11e2-b716-06f804000713","created":"2013-06-28T15:11:47-0700","state":"Running","account":"system","domainid":"9bb2859c-df99-11e2-b716-06f804000713","domain":"ROOT","serviceofferingid":"c5ff5727-17d4-4400-b54a-a8413f095254","serviceofferingname":"System Offering For Software Router","isredundantrouter":false,"redundantstate":"UNKNOWN","role":"VIRTUAL_ROUTER","nic":\[{"id":"73e3faa6-8fb6-4ef2-b506-eeb584529a36","networkid":"0d836be6-2fe8-4ec3-a53a-6f1fea3da7a3","netmask":"255.255.0.0","gateway":"169.254.0.1","ipaddress":"169.254.3.125","traffictype":"Control","isdefault":false,"macaddress":"0e:00:a9:fe:03:7d"},{"id":"86fa94f1-6d8a-4a8f-8d05-eee7929ee290","networkid":"fdc925e8-120c-47ca-b0f5-e3ca063e1734","networkname":"1611-110-112","netmask":"255.255.255.192","gateway":"10.223.161.65","ipaddress":"10.223.161.111","isolationuri":"vlan://1611","broadcasturi":"pvlan://1611-i998","traffictype":"Guest","type":"Shared","isdefault":true,"macaddress":"06:0c:2c:00:00:0e"}\],"jobid":"c2ebd09a-873e-46e7-a05e-a0acb3961e2e","jobstatus":0}},"created":"2013-06-28T15:44:04-0700","jobid":"c2ebd09a-873e-46e7-a05e-a0acb3961e2e"} }
\\
\\
\\
\| Pass
\\
\| \| \| \| \|
| | | | | | | | | | |
| | *VM live migration* | | | | XEN | *KVM&nbsp;Ubuntu 13.04* | *VMWARE dvswitch* | | |
| 39 | Host in maintenance mode | 1. Advance zone&nbsp; cluster with 2 hosts. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
2. Deploy few Vms in this network. \\
3. host1 Enable maintenance mode \\
4. host1 disable maintenance mode \\
5. host2 enable maintenance mode \\
6. host1 disable maintenance mode | 3. All VMs on Host1 migrate to Host2 All VMs&nbsp; in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway 5.&nbsp; All VMs on Host2 migrate to Host1 All VMs&nbsp; in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway | | BLOCKED \\
CLOUDSTACK-2401 | PASS | BLOCKED Fail \\
\[https://issues.apache.org/jira/browse/CLOUDSTACK-2427 \\
CLOUDSTACK-2401 | |\] \\ | | |
| 40 | VM live migration for user VM | 1. Advance zone&nbsp; cluster with 2 hosts. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. \\
&nbsp;2. Deploy few Vms in this network. \\
3. Perform VM Manual live migration | After live migration , Vm should still be reachable using its Ip address.It should not be able to reach any other Vms in the network.It should still be able to reach DHCP server, gateway.All other Vms in the network , should not be able to reach this VM.The following 2 rules should get cleaned up from the old host and be programmed in the new host.ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1 | | Fail \\
CLOUDSTACK-2401 | \[https://issues.apache.org/jira/browse/CLOUDSTACK-2901 \\
\] \\
PASS \\
\\ | Pass \\
\\
\\ | | | | |
| 41 | VM live migration for Router VM \\
SSVM&nbsp; CPVM \\ | 1. Advance zone&nbsp; cluster with 2 hosts. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network. 3. Perform VM Manual live migration for the router. | After live migration of router , Vm deployment should succeed.New VM&nbsp; in NW1 unable to access&nbsp; other All VMs in NW1 but able to reach DHCP server, gateway.For all existing Vms in NW1:Should not be able&nbsp; to access&nbsp; other all VMs in NW1 but able to reach DHCP server, gateway.Following 3 entries for the router should get deleted from the old host and re-created in the current host where the router is running:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:182. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:183.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=11483176, priority=200150,arp,dl_vlan=998,nwdl_dst=10.223.161.11006:e0:d8:00:00:1c actions=strip_vlan,output:183.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18 | | Blocked | |18 | | [http://bugs-ccp.citrix.com/browse/CS-17951] | \[https://issues.apache.org/jira/browse/CLOUDSTACK-2900 \\
\] \\
\[https://issues.apache.org/jira/browse/CLOUDSTACK-2903 \\
\] \\
\\
\[http://bugs-ccp.citrix.com/browse/CS-17951 \\
\] \\
\\ | \[https://issues.apache.org/jira/browse/CLOUDSTACK-2900 \\
\] \\  [https://issues.apache.org/jira/browse/CLOUDSTACK-2903] \\
[\\|https://issues.apache.org/jira/browse/CLOUDSTACK-2684] | | | | | | | | |
| 42 | HA | 1. Advance zone&nbsp; cluster with 2 hosts. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network. 3. Perform VM Manual live migration for the router. | After live migration of router , Vm deployment should succeed.New VM&nbsp; in NW1 unable to access&nbsp; other All VMs in NW1 but able to reach DHCP server, gateway.For all existing Vms in NW1:Should not be able&nbsp; to access&nbsp; other all VMs in NW1 but able to reach DHCP server, gateway.Following 3 entries for the router should get deleted from the old host and re-created in the current host where the router is running:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=3503.373s, table=0, n_packets=8, n_bytes=2748, priority=100,udp,dl_vlan=998,nw_dst=255.255.255.255,tp_dst=67 actions=strip_vlan,output:182. cookie=0x0, duration=3503.38s, table=0, n_packets=20, n_bytes=1148, priority=200,arp,dl_vlan=998,nw_dst=10.223.161.110 actions=strip_vlan,output:183.cookie=0x0, duration=3503.376s, table=0, n_packets=37, n_bytes=3176, priority=150,dl_vlan=998,dl_dst=06:e0:d8:00:00:1c actions=strip_vlan,output:18 | | CLOUDSTACK-2428 | | | | | | | | |
| | Upgrade | | | | | | | | |
| 43 | *&nbsp;*{*}On an Upgraded set up , make sure that we are able to create a network with secondary vlan and deploy Vms in this network.* | 1. Deploy an earlier version of cloudstack in advanced zone.Upgrade to this version.2. Create&nbsp; Shared NW1&nbsp; scope zone&nbsp; <pVLAN1, sVLAN1>. 3. Deploy multiple Vms in this network. | Vm should be deployed successfully.For every Vm deployed following 2 entries should be created in the host:ovs-ofctl dump-flows xenbr01. cookie=0x0, duration=306.296s, table=0, n_packets=51, n_bytes=7536, priority=60,dl_vlan=998,dl_src=06:07:c2:00:00:26 actions=output:1 2.&nbsp; cookie=0x0, duration=306.3s, table=0, n_packets=51, n_bytes=7536, priority=50,vlan_tci=0x0000,dl_src=06:07:c2:00:00:26 actions=mod_vlan_vid:998,resubmit:1Vms should NOT be able to communicate with each other. | | | | | | | | | | | | |
| | | | | | | | | | |
| | Upgrade ASF 4.0 \-> ASF 4.2 | | | | | | | | |
| | | | | | | | | | |
| | Upgrade ASF 4.1 \-> ASF 4.2 | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |