Ejemplo n.º 1
0
 def installNginx(self, hostKey):
     broker = Broker.getBroker(hostKey)
     broker.installNginx()
Ejemplo n.º 2
0
 def installMysql(self, hostKey):
     broker = Broker.getBroker(hostKey)
     broker.installMysql()
Ejemplo n.º 3
0
 def iptables(self, hostKey, port):
     broker = Broker.getBroker(hostKey)
     broker.closePort(port)
Ejemplo n.º 4
0
 def installMysql(self, hostKey):
     broker = Broker.getBroker(hostKey)
     broker.installMysql()
Ejemplo n.º 5
0
 def portClose(self, hostKey, port):
     broker = Broker.getBroker(hostKey)
     broker.closePort(port)
Ejemplo n.º 6
0
 def portOpen(self, hostKey, port):
     broker = Broker.getBroker(hostKey)
     broker.openPort(port)
Ejemplo n.º 7
0
 def ipClose(self, hostKey, ip):
     broker = Broker.getBroker(hostKey)
     broker.Limit(ip)
Ejemplo n.º 8
0
 def ipOpen(self, hostKey, ip):
     broker = Broker.getBroker(hostKey)
     broker.unLimit(ip)
Ejemplo n.º 9
0
 def antivirus(self, hostKey, path):
     broker = Broker.getBroker(hostKey)
     return broker.antivirus(path)