Skip to content

Device Management and Deletion in DREM #105

Open
@mtbevins

Description

@mtbevins

Feature Request: Device Management and Deletion in DREM
Summary
We propose adding a device management feature to the DeepRacer Event Management (DREM) tool, allowing operators to delete obsolete devices (DeepRacer cars) from their fleet and account. This enhancement will prevent issues related to device limits and improve the overall management of registered devices.
Current Situation
DREM currently lacks the functionality to remove or delete older devices. This limitation has led to the following issues:
Accumulation of obsolete devices in user accounts and fleets
Errors suggesting a limit on the number of registered devices
Inability to see cars as "On-Line" when they are powered on and registered with DREM, potentially due to exceeding device limits
Proposed Enhancement
Implement a device management feature in DREM with the following capabilities:
Allow operators to view a list of all devices associated with their account
Enable the deletion of individual devices from both fleets and user accounts
Restrict deletion permissions to the original device creator, based on the creation ID
Provide a confirmation prompt before device deletion to prevent accidental removals
Benefits
Improved system performance by reducing the number of obsolete devices
Enhanced user experience for operators managing multiple DeepRacer cars
Mitigation of issues related to device limits, ensuring cars can be properly recognized as "On-Line"
Increased control and flexibility for users to manage their device inventory
Implementation Considerations
Add a new "Device Management" section to the DREM user interface
Implement backend logic to verify the user's permission to delete a device based on the creation ID
Create an API endpoint for device deletion with appropriate authentication and authorization checks
Update the database schema to include a "deleted" flag or implement a soft delete mechanism
Add logging functionality to track device deletion actions for auditing purposes
Success Criteria
Operators can successfully delete obsolete devices from their accounts and fleets
The number of reported issues related to device limits decreases
DeepRacer cars consistently show as "On-Line" when powered on and registered with DREM
User feedback indicates improved satisfaction with device management in DREM
By implementing this feature, we will address a significant pain point for DREM users and improve the overall functionality of the tool. This enhancement aligns with our commitment to providing a seamless and efficient experience for DeepRacer event organizers and participants.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions