Skip to content

Commit

Permalink
Merge pull request #194 from canonical/remove-device-name
Browse files Browse the repository at this point in the history
device-name in connector modules is no longer needed
  • Loading branch information
plars authored Feb 5, 2024
2 parents b2ab57d + 7daf1ef commit 508c02f
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
)
from testflinger_device_connectors.devices.cm3.cm3 import CM3

device_name = "cm3"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning baremetal with a given image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
)
from .dell_oemscript import DellOemScript

device_name = "dell_oemscript"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning Dell OEM devices with an oem image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
Dragonboard,
)

device_name = "dragonboard"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning baremetal with a given image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
)
from .hp_oemscript import HPOemScript

device_name = "hp_oemscript"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning HP OEM devices with an oem image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

from testflinger_device_connectors.devices import DefaultDevice

device_name = "iotscript"


class DeviceConnector(DefaultDevice):
def provision(self, args):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
)
from .lenovo_oemscript import LenovoOemScript

device_name = "lenovo_oemscript"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning Lenovo OEM devices with an oem image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
)
from testflinger_device_connectors.devices.maas2.maas2 import Maas2

device_name = "maas2"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning baremetal with a given image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
from testflinger_device_connectors.devices.multi.multi import Multi
from testflinger_device_connectors.devices.multi.tfclient import TFClient

device_name = "multi"


class DeviceConnector(DefaultDevice):
"""Device Connector for provisioning multiple devices at the same time"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
)
from testflinger_device_connectors.devices.muxpi.muxpi import MuxPi

device_name = "muxpi"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning baremetal with a given image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
from testflinger_device_connectors import logmsg
from testflinger_device_connectors.devices.netboot.netboot import Netboot

device_name = "netboot"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning baremetal with a given image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
Noprovision,
)

device_name = "noprovision"


class DeviceConnector(DefaultDevice):
@catch(RecoveryError, 46)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
OemRecovery,
)

device_name = "oemrecovery"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning baremetal with a given image."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
)
from testflinger_device_connectors.devices.oemscript.oemscript import OemScript

device_name = "oemscript"


class DeviceConnector(DefaultDevice):
"""Tool for provisioning baremetal with a given image."""
Expand Down

0 comments on commit 508c02f

Please sign in to comment.