cloud-based virtualization for test automation

9
Cisco Confidential © 2010 Cisco and/or its affiliates. All rights reserved. 1 Cloud-based Virtualization for Test Automation Vikram Hosakote, Sr. Software Developer Cisco Systems NOSTG Boxborough MA February 24, 2012

Upload: vikram-g-hosakote

Post on 08-Jan-2017

212 views

Category:

Engineering


3 download

TRANSCRIPT

Page 1: Cloud-based Virtualization for Test Automation

Cisco Confidential© 2010 Cisco and/or its affiliates. All rights reserved. 1

Cloud-based Virtualization for Test AutomationVikram Hosakote, Sr. Software Developer

Cisco Systems

NOSTG Boxborough MA

February 24, 2012

Page 2: Cloud-based Virtualization for Test Automation

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2

• Data compression• Virtualization• Data storage• Data caching• Continuous Integration and Deployment

Optimization techniques for test automation

Page 3: Cloud-based Virtualization for Test Automation

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3

Data compression

• Lossless data compression mechanisms to copy images faster to /auto/bxb-golden/earms/wait_dir.

• Images become smaller.

• Copying becomes two times (or even three times) faster.

• More jobs per testbed per day.

Page 4: Cloud-based Virtualization for Test Automation

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4

Virtualization

• VMs on UCS, VMVare, Aurora, CLS thin clients, Amazon Web Services

• eARMS logs older than six months are lost. Store them on the cloud.

• Each job has [clean logs + ATS logs + script logs]. Use classification algorithms to separate the useful logs from the useless.

Data storage

Page 5: Cloud-based Virtualization for Test Automation

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5

Data caching• vhosakot-sb150:882> traceroute earms-app-test.cisco.com

bxb23-wan-gw1-ten3-2.cisco.com (161.44.85.133) 12 ms 1 ms 1 ms

nycidc-wan-gw2-pos2-2-0.cisco.com (161.44.85.217) 7 ms 7 ms 6 ms

chiidc-rbb-gw1-ten2-3.cisco.com (10.112.3.190) 26 ms 26 ms 26 ms

denidc-rbb-gw2-ten2-2.cisco.com (10.112.3.161) 46 ms 46 ms 46 ms

sjc5-j09-dci05n-gw1-por2.cisco.com (171.71.243.86) 78 ms 80 ms 77 ms

earms-app-test.cisco.com (171.70.78.41) 78 ms 78 ms 78 ms Invisible

• Implement local caching on the browser using cookies and temp files.

• Don’t ask the server something you already know.

Page 6: Cloud-based Virtualization for Test Automation

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6

Disadvantages• Money – External cloud providers like Microsoft Azure, Amazon Web Services,

Google Cloud App charge for every byte.

• Cisco corporate data policies for external clouds.

• Data redundancy.

• Data Security. No insurance.

• Complex architecture.

• Clouds do fail. Example – MegaUploads.

• Java and Python expertise.

Page 7: Cloud-based Virtualization for Test Automation

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7

Protocols used to network clouds

• BFD – subsecond IGP reconvergence

• IP-FRR

• MPLS-TE-FRR

• RSTP

• WAN protocols

Page 8: Cloud-based Virtualization for Test Automation

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8

Page 9: Cloud-based Virtualization for Test Automation

Thank you.