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