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 Ubuntu 13.04 |
VMWARE DVS |
|
|
|
Shared Network 1 PVLAN |
|
|
|
|
|
|
|
|
1 |
Shared Network scope All 1 PVLAN Deploy VM |
1. Advance zone cluster with 2 hosts, Domain D1 domainadmin d1domain, user d1user. Domain D2 user d2user. Create Shared NW1 scope All <pVLAN1, sVLAN1>. 2. d1domain deploy VM1 on NW1 on host1 , VM4 on NW1 on host2. d1user deploy VM2 on NW1 on host1, VM5 on NW1 on host2. d2user deploy VM3 on NW1 on host1, VM6 on NW1 on host2. |
1. shared NW1 with pVLAN creation succeed. |
P1 |
Pass |
Pass |
Pass |
|
|
2 |
Shared NW scope Domain 1 PVLAN Deploy VM |
1. Advance zone cluster with 2 hosts, Domain D1 domainadmin d1domain, user d1user. Domain D2 user d2user. Create Shared NW1 scope Domain for D1 <pVLAN1, sVLAN1>. 2. d1domain deploy VM1 on NW1 on host1 , VM4 on NW1 on host2. d1user deploy VM2 on NW1 on host1, VM5 on NW1 on host2. d2user try deploy VM3 on NW1 on host1, VM6 on NW1 on host2. |
1. shared NW1 with pVLAN creation succeed. |
P1 |
|
|
|
|
|
3 |
Shared NW scope Domain subdomain access TRUE 1 PVLAN Deploy VM |
1. Advance zone cluster with 2 hosts, Domain D1 domainadmin d1domain, user d1user. Domain D1/D11 domainadmin d11domain. Domain D2 user d2user. |
1. shared NW1 with pVLAN creation succeed. |
P1 |
|
|
|
|
|
4 |
Shared NW scope Account 1 PVLAN Deploy VM |
1. Advance zone cluster with 2 hosts, Domain D1 domainadmin d1domain, user d1user. Domain D2 user d2user. |
1. shared NW1 with pVLAN creation succeed. |
P1 |
|
|
|
|
|
5 |
Shared NW scope Project 1 PVLAN Deploy VM |
1. Advance zone cluster with 2 hosts, Project P1 w/ account A1 A2 Project P2 w/account B1 B2 |
1. shared NW1 with pVLAN creation succeed. |
P1 |
|
|
|
|
|
6 |
Multiple shared NW scope zone using different PVLANs Deploy VM |
1. Advance zone cluster with 2 hosts, Domain D1 domainadmin d1domain, user d1user. Domain D2 user d2user. |
With 1 network, |
P1 |
Pass |
Pass Unknown macro: {"id"}
|
PASS |
|
|
|
|
|
|
KVM Ubuntu 13.04 |
VMWARE DVS |
|
||||||
7 |
Shared NW using PVLAN associated with another shared NW |
1. Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
shared NW2 creation FAIL |
P1 |
Fail CLOUDSTACK-2396 |
|
||||||||
8 |
Shared NW using the same VLAN associated with different PVLANs. |
1. Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
shared NW2 creation FAIL |
P1 |
CLOUDSTACK-2396 |
|
||||||||
9 |
Shared NW using PVLAN associated with ZONE VLAN |
1. Create Shared NW1 scope zone using ZONE VLAN |
shared NW1 creation FAIL |
P1 |
The VLAN tag 2030 is already being used for the guest network in zone zone1 |
Pass |
Pass |
|
|
|
|
|
|
|
Test case ID |
Test case name |
Steps |
Expected Result |
Priority |
XEN |
KVM Ubuntu 13.04 |
VMWARE dvswitch |
|
|
|
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" : Unknown macro: {"errorcode"}
|
PASS |
PASS |
|
|
|
|
ListCommand changes |
|
|
|
XEN |
KVM Ubuntu 13.04 |
VMWARE dvswitch |
|
|
|
12 |
listVirtualMachines() should return PVLAN related parameters |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
listVirtualMachines() should return PVLAN related parameters |
P1 |
Pass |
https://issues.apache.org/jira/browse/CLOUDSTACK-2885 Unknown macro: {"id"}
|
PASS |
|
|
|
|
|
|
KVM Ubuntu 13.04 |
VMWARE DVS |
13 |
listRouters() should return PVLAN related parameters |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
listRouters() should return PVLAN related parameters |
P1 |
Pass |
Pass Unknown macro: {"id"}
, Unknown macro: {"id"}
|
PASS |
14 |
listNetworks() should return PVLAN related parameters |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
listNetworks() should return PVLAN related parameters |
P1 |
Pass |
Pass Unknown macro: {"name"}
, Unknown macro: {"name"}
,{"name":"Dns","capability":[ Unknown macro: {"name"}
|
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 Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
listVlanIpranges() should return PVLAN related parameters |
P1 |
Pass |
Pass Unknown macro: {"id"}
|
|
|
|
|
|
|
|
|
|
|
|
||||||
|
Vm States |
|
|
|
XEN |
KVM Ubuntu 13.04 |
|
VMWARE dvswitch |
VMWARE Nexus vswitch 1000 |
|
||||||
16 |
Deploy Vm in a shared Network that is created by providing secondary Vlan. - User Vm check |
1. Advance zone Create Shared NW1 scope zone <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. 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 |
|
|
|
|
|
|
|
17 |
Deploy Vm in a shared Network that is created by providing secondary Vlan. - Router Check |
1. Advance zone Create Shared NW1 scope zone <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 Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
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. 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 |
|
|
|
|
||||
19 |
Start Vm that is in stopped state |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
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 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. 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 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-2638https://issues.apache.org/jira/browse/CLOUDSTACK-2881 |
|
https://issues.apache.org/jira/browse/CLOUDSTACK-2881 |
|
|
|
|
||||
20 |
reboot Vm |
1. Advance zone Create Shared NW1 scope zone <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. 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 Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
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. 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-2887 |
|
|
|
|
||||
21 |
Restore Vm that is destroyed |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
After Vm is restored, Vm should be in Running state. All VMs 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. 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 |
|
|
|
|
||||
22 |
Expunge Vm that is destroyed |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
Vm should be Expunged successfully. |
P1 |
|
https://issues.apache.org/jira/browse/CLOUDSTACK-2887 |
|
https://issues.apache.org/jira/browse/CLOUDSTACK-2887 |
|
|
||||||
|
|
|
|
|
|
KVM Ubuntu 13.04 |
VMWARE dvswitch |
|
|
|
||||||
23 |
Expunge Vm that is destroyed and deploy a Vm using the same Ip address as the expunged Vm. |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network. 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. 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 Unknown macro: {"id"}
|
PASS |
|
|
|
|
priority |
XEN |
|
KVM Ubuntu 13.04 |
|
|
|
VMWARE dvswitch |
|
|
|
|
|
|
|
|
24 |
From user Vm , we should be able to fetch metadata of the VM. |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. 2. Deploy few Vms in this network.3.From with in the Vm , fetch metadata of the VM. |
From user Vm , we should be able to fetch metadata of the VM. |
P1 |
Pass |
|
Pass |
|
|
|
PASS |
|
|
|
|
|
|
||
25 |
From user Vm , we should be able to fetch userdata of the VM. |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. 2. Deploy Vms in this network by passing userdata.3.From with in the Vm , fetch userdata of the VM. |
From user Vm , we should be able to fetch userdata of the VM. |
|
CLOUDSTACK-2397 |
|
Pass{ "deployvirtualmachineresponse" : Unknown macro: {"id"}
|
Pass |
Pass |
|
Vms being part of same shared network and different isolated network |
|
|
|
XEN |
KVM 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 in N1 (default) and SN1.5. As account2 - Deploy vms – VM3, VM4 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 |
. |
|
|
|
|
|
|
|
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 in N1 (default) and SN1.5. As account2 - Deploy vms – VM3, VM4 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-2881 |
|
|
|
|
|
|
|
|
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 in N1 (default) and SN1.5. As account2 - Deploy vms – VM3, VM4 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 in N1 (default) and SN1.5. As account2 - Deploy vms – VM3, VM4 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 Ubuntu 13.04 |
VMWARE dvswitch |
|
|
|
||||||
30 |
Extend Iprange of the network |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
Vm deployment should succeed. |
P2 |
Pass |
{ "createvlaniprangeresponse" : { "vlan" : Unknown macro: {"id"}
|
PASS |
|
|
|
|
|
|
KVM Ubuntu 13.04 |
VMWARE DVS |
31 |
Restart network |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
Network restart should succeed. |
P2 |
Pass |
Pass Unknown macro: {"jobid"}
|
PASS |
32 |
Restart network with cleanup option |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
Network restart should succeed. After network restart: All VMs in NW1 unable to access each other. All VMs in NW1 able to reach DHCP server, gateway 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 |
Pass Unknown macro: {"jobid"}
|
}
{ "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":
,"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 Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
Network Deletion should fail. |
P2 |
Pass |
Pass Unknown macro: {"jobid"}
|
}
{ "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":
,"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 Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
Network Deletion should succeed. |
P2 |
Pass |
Pass |
Pass |
|
|
||
35 |
Stop all Vms in network and wait for network shutdown |
1. Advance zone Create Shared NW1 scope zone <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-2881 |
|
|
||
35A |
Add IP Range |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
Add IP range should succeed |
|
|
Fail - shared network bug |
|
|
|||
|
Router States |
|
|
|
XEN |
KVM Ubuntu 13.04 |
VMWARE dvswitch |
|
|
||
36 |
Stop Router |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
Router should get stopped successfully. All VMs in NW1 unable to access each other.All VMs in NW1 UNable to reach DHCP server. But should be able to reach gateway 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 in NW1 unable to access other All VMs in NW1 but able to reach DHCP server, gateway |
|
Pass |
https://issues.apache.org/jira/browse/CLOUDSTACK-2881 Unknown macro: {"id"}
, Unknown macro: {"id"}
],"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-2881 |
|
|
|
|
37 |
stop-start Router |
1. Advance zone Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
When Router is stopped: Router should get stopped successfully. All VMs in NW1 unable to access each other All VMs in NW1 able to reach DHCP server.But should be able to reach gateway 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: Deploying new Vms should succeed |
|
Pass |
https://issues.apache.org/jira/browse/CLOUDSTACK-2881 Unknown macro: {"jobid"}
|
}
{ "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":[
,
],"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-2881 | | | | |
38 |
Reboot Router |
1. Advance zone Create Shared NW1 scope zone <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 in NW1 unable to access other All VMs in NW1 but able to reach DHCP server, gateway.For all existing Vms in NW1:Should not be able to access other all VMs in NW1 but able to reach DHCP server, gateway. |
|
Pass |
Pass Unknown macro: {"jobid"}
|
}
{ "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":[
,
],"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 Ubuntu 13.04 |
VMWARE dvswitch |
|
|
||||||
39 |
Host in maintenance mode |
1. Advance zone cluster with 2 hosts. Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
3. All VMs on Host1 migrate to Host2 All VMs in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway 5. All VMs on Host2 migrate to Host1 All VMs in NW1 unable to access each other All VMs in NW1 able to reach DHCP server, gateway |
|
BLOCKED |
PASS |
Fail |
|
|
||||||
40 |
VM live migration for user VM |
1. Advance zone cluster with 2 hosts. Create Shared NW1 scope zone <pVLAN1, sVLAN1>. |
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. 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 |
[https://issues.apache.org/jira/browse/CLOUDSTACK-2901 |
Pass |
|
|
|
|
||||
41 |
VM live migration for Router VM |
1. Advance zone cluster with 2 hosts. Create Shared NW1 scope zone <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 in NW1 unable to access other All VMs in NW1 but able to reach DHCP server, gateway.For all existing Vms in NW1:Should not be able to access 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 |
|
[https://issues.apache.org/jira/browse/CLOUDSTACK-2900 |
[https://issues.apache.org/jira/browse/CLOUDSTACK-2900 |
|
|
|
|
|
|
|
|
|
42 |
HA |
1. Advance zone cluster with 2 hosts. Create Shared NW1 scope zone <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 in NW1 unable to access other All VMs in NW1 but able to reach DHCP server, gateway.For all existing Vms in NW1:Should not be able to access 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 |
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 Shared NW1 scope zone <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. 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 |
|
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|