helper methods for creating/destroying vservers
[tests.git] / qaapi / qa / tests / vserver_delete.py
1 #!/usr/bin/python
2 import os,sys
3 from Test import Test
4 from qa import utils
5
6 class vserver_delete(Test):
7     """
8     Delete the specified vserver
9     """
10
11     def call(self, name):
12         (status, output) = utils.commands("vserver %(name)s stop" % locals(), False)
13         (status, output) = utils.commands("vserver %(name)s delete" % locals())
14
15         return 1
16