X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestSliceSfa.py;h=7731f869637d4f3a23b1c843be3dd28f91b08916;hb=70d525866c311347e2ee193e5679cfcf6dc60607;hp=7de388dc3f7790ff21d7a2b277b203b495dd38d8;hpb=176b1869bc817d6528ab4a6a4364a8b97a76a417;p=tests.git diff --git a/system/TestSliceSfa.py b/system/TestSliceSfa.py index 7de388d..7731f86 100644 --- a/system/TestSliceSfa.py +++ b/system/TestSliceSfa.py @@ -32,7 +32,7 @@ class TestSliceSfa: def sfi_user(self,*args,**kwds): return self.test_auth_sfa.sfi_user(*args, **kwds) def discover_option(self): - if self.rspec_style()=='pg': return "-r protogeni" + if self.rspec_style()=='pg': return "-r GENI" else: return "-r sfa" # those are step names exposed as methods of TestPlc, hence the _sfa @@ -86,7 +86,8 @@ class TestSliceSfa: "sfiListNodes.py -i %s/%s -o %s/%s"%(self.sfi_path(),self.adfile(),self.sfi_path(),self.nodefile()), "sfiAddSliver.py -i %s/%s -n %s/%s -o %s/%s"%\ (self.sfi_path(),self.adfile(),self.sfi_path(),self.nodefile(),self.sfi_path(),self.reqfile()), - self.sfi_user("create %s %s"%(self.hrn(),self.reqfile())), + self.sfi_user("allocate %s %s"%(self.hrn(),self.reqfile())), + self.sfi_user("provision %s"%(self.hrn())), ] for command in commands: if self.test_plc.run_in_guest(command)!=0: return False