Skip to content

Instantly share code, notes, and snippets.

@viglesiasce
Created May 29, 2013 22:44
Show Gist options
  • Save viglesiasce/5674429 to your computer and use it in GitHub Desktop.
Save viglesiasce/5674429 to your computer and use it in GitHub Desktop.
if re.search("^3.2", self.old_version):
if hasattr(self.args, 'ebs_storage_manager'):
if re.search("SANManager" ,self.args.ebs_storage_manager):
if re.search("clc", " ".join(machine.components)):
if hasattr(self.args, 'san_provider'):
if re.search("NetappProvider", self.args.san_provider):
for zone in self.tester.get_zones():
machine.sys("source " + self.tester.credpath + "/eucarc && " +
self.tester.eucapath + "/usr/sbin/euca-modify-property -p " +
zone + ".storage.chapuser=" + self.tester.id_generator())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment