for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
#! /usr/bin/python
from st2actions.runners.pythonrunner import Action
from lib.vadc import Vtm
class VtmAddVserver(Action):
def run(self, vtm, name, pool, tip, port, protocol):
vtm = Vtm(self.config, self.logger, vtm)
vtm.addVserver(name, pool, tip, port, protocol)