コード例 #1
0
ファイル: Zorpctl.py プロジェクト: kmarcell/zorp
    def start(listofinstances):
        """
        Starts Zorp instance(s) by instance name
        expects sequence of name(s)
        """
        UInterface.informUser("Starting Zorp Firewall Suite:")

        if not listofinstances:
            UInterface.informUser(ZorpHandler.start())
        else:
            algorithm = StartAlgorithm()
            Zorpctl.runAlgorithmOnList(listofinstances, algorithm)