Ejemplo n.º 1
0
 def shutdown(self):
     _async = self.asyncCall("shutdown")
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.admin_done)
Ejemplo n.º 2
0
 def grace(self, ipaddr):
     _async = self.asyncCall("grace", ipaddr)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.admin_done)
Ejemplo n.º 3
0
 def reload(self):
     _async = self.asyncCall("reload")
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.admin_done)
Ejemplo n.º 4
0
 def Get(self, prop):
     _async = self.asyncCall("Get", LOGGER_PROPS, prop)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.Get_done)
Ejemplo n.º 5
0
 def Set(self, prop, setval):
     qval = QtDBus.QDBusVariant()
     qval.setVariant(str(str(setval)))
     _async = self.asyncCall("Set", LOGGER_PROPS, prop, qval)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.Set_done)
Ejemplo n.º 6
0
 def ShowExports(self):
     _async = self.asyncCall("ShowExports")
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.exportshow_done)
Ejemplo n.º 7
0
 def GetAll(self):
     _async = self.asyncCall("GetAll", LOGGER_PROPS)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.GetAll_done)
Ejemplo n.º 8
0
 def DisplayExport(self, exp_id):
     _async = self.asyncCall("DisplayExport", int(exp_id))
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.exportdisplay_done)
Ejemplo n.º 9
0
 def RemoveExport(self, exp_id):
     _async = self.asyncCall("RemoveExport", int(exp_id))
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.exportrm_done)
Ejemplo n.º 10
0
 def UpdateExport(self, conf_path, exp_expr):
     _async = self.asyncCall("UpdateExport", conf_path, exp_expr)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.exportadd_done)
Ejemplo n.º 11
0
 def GetNFSv41Layouts(self, exportid):
     _async = self.asyncCall("GetNFSv41Layouts", exportid)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.layout_done)
Ejemplo n.º 12
0
 def GetNFSv40IO(self, exportid):
     _async = self.asyncCall("GetNFSv40IO", exportid)
     status = QtDBus.QDBusPendingCallWatcher(_async, self)
     status.finished.connect(self.io_done)