Exemple #1
0
 def addHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     resp = hostDialog.add()
     if resp["code"]:
         self.setHostList()
     hostName = resp.get("name")
     if hostName:
         hostItem = self.findHostItemByName(hostName)
         self.slotConnectHost(hostItem)
 def duplicateHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     resp = hostDialog.duplicate(self.getCurrentHostListItemName())
     self._processHostSubmit(resp)
 def addHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     self._processHostSubmit(hostDialog.add())
Exemple #4
0
 def duplicateHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     resp = hostDialog.duplicate(self.getCurrentHostListItemName())
     self._processHostSubmit(resp)
Exemple #5
0
 def addHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     self._processHostSubmit(hostDialog.add())
Exemple #6
0
 def editHost(self):
     hostDialog = HostConfigDialog(self.hosts)
     resp = hostDialog.edit(self.getCurrentHostListItemName())
     if resp["code"]:
         self.setHostList()