Lines Matching refs:DBUS_NAME

18 DBUS_NAME = "org.openbmc.control.BmcFlash"  variable
60 self.Set(DBUS_NAME, "status", "Idle")
61 self.Set(DBUS_NAME, "filename", "")
62 self.Set(DBUS_NAME, "preserve_network_settings", True)
63 self.Set(DBUS_NAME, "restore_application_defaults", False)
64 self.Set(DBUS_NAME, "update_kernel_and_apps", False)
65 self.Set(DBUS_NAME, "clear_persistent_files", False)
66 self.Set(DBUS_NAME, "auto_apply", False)
78 @dbus.service.method(DBUS_NAME, in_signature="ss", out_signature="")
80 self.Set(DBUS_NAME, "status", "Downloading")
83 @dbus.service.method(DBUS_NAME, in_signature="s", out_signature="")
85 self.Set(DBUS_NAME, "filename", filename)
90 self.Set(DBUS_NAME, "filename", filename)
95 if filename == self.Get(DBUS_NAME, "filename"):
96 self.Set(DBUS_NAME, "status", "Download Error")
100 if filename != self.Get(DBUS_NAME, "filename"):
105 self.Set(DBUS_NAME, "status", "Download Complete")
109 if not self.Get(DBUS_NAME, "update_kernel_and_apps"):
115 if self.Get(DBUS_NAME, "restore_application_defaults"):
133 self.Set(DBUS_NAME, "status", "Unpack Error")
141 if self.Get(DBUS_NAME, "clear_persistent_files"):
164 if self.Get(DBUS_NAME, "preserve_network_settings"):
170 self.Set(DBUS_NAME, "status", "Unpack Error")
175 self.Set(DBUS_NAME, "status", "Checking Image")
187 self.Set(DBUS_NAME, "status", "Image ready to apply.")
188 if self.Get(DBUS_NAME, "auto_apply"):
191 self.Set(DBUS_NAME, "auto_apply", False)
205 DBUS_NAME,
210 self.Set(DBUS_NAME, "status", "Verify error: %s" % e.output)
213 DBUS_NAME,
228 self.Set(DBUS_NAME, "status", "Idle")
230 @dbus.service.method(DBUS_NAME, in_signature="", out_signature="")
243 @dbus.service.method(DBUS_NAME, in_signature="", out_signature="s")
253 self.Set(DBUS_NAME, "status", "Apply failed")
265 self.Set(DBUS_NAME, "status", msg)
267 msg = self.Get(DBUS_NAME, "status") + "\n"
283 @dbus.service.method(DBUS_NAME, in_signature="", out_signature="")
286 self.Set(DBUS_NAME, "status", "Writing images to flash")
311 @dbus.service.method(DBUS_NAME, in_signature="", out_signature="")
330 self.Set(DBUS_NAME, "status", "Switch to update mode in progress")
348 name = dbus.service.BusName(DBUS_NAME, bus)