Esempio n. 1
0
    def on_add_fcoe_clicked(self, widget, *args):
        dialog = FCoEDialog(self.data, self.storage)

        with enlightbox(self.window, dialog.window):
            dialog.refresh()
            dialog.run()

        # We now need to refresh so any new disks picked up by adding advanced
        # storage are displayed in the UI.
        self.refresh()
Esempio n. 2
0
 def on_add_fcoe_clicked(self, widget, *args):
     dialog = FCoEDialog(self.data, self.storage)
     self._run_dialog_and_refresh(dialog)
Esempio n. 3
0
 def on_add_fcoe_clicked(self, widget, *args):
     log.debug("Add a new FCoE device.")
     dialog = FCoEDialog(self.data)
     self._run_dialog_and_refresh(dialog)