-
Notifications
You must be signed in to change notification settings - Fork 217
Feature/management hdd #1602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alex001x
wants to merge
27
commits into
opendcim:master
Choose a base branch
from
alex001x:feature/management_hdd
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feature/management hdd #1602
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Author
|
To finalize, the Add Proof of Destruction button is missing. |
…openDCIM into feature/management_hdd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A comprehensive extension for OpenDCIM, named feature_HDD, which adds hard-drive (HDD) management with HDD reporting and rights management.
This PR introduces a new HDD-management module to openDCIM, enabling full lifecycle tracking for hard disks associated with devices. The key components are:
managementhdd.phpfor HDD operations per device — creation, update, status change, destruction.import_hdd_csv.php) audit — includes detection of already processed destroyed HDD IDs, optional shared proof document upload, automatic assignment of status + dates, and generation of a downloadable log.logging.inc.php→fac_GenericLog) for all critical actions: CSV batch import, manual “Destroy Selected”, audit certification, etc.hdd_log_view.phpto display HDD activity history in the web interface (viewable only if HDD management is enabled).Database / Data Model
(If applicable) this PR includes the necessary schema modifications to store HDD metadata (serial, status, destruction date, import audit fields, etc.). Please refer to the included SQL migration script.
Security and Permissions
HDD management and destruction features respect existing user rights / role definitions. Only users with appropriate permissions can view or manage HDDs.
Usage / Workflow
Motivation / Use Cases
Many datacenters require traceable HDD lifecycle management for compliance, data destruction policies, and asset tracking. This module fills a gap in openDCIM by adding disk-level traceability. It enables: maintenance planning, secure destruction workflows, audit trails, and compliance with data-security standards.
Backward-Compatibility & Impact
No changes to existing core functionality if module disabled. The new module is fully opt-in, with no effect on users who do not enable it.
Testing & Quality Assurance
Reviewers are welcomed for code layout, security review, potential performance issues on large inventories, and suggestions for improvements (bulk delete safety, pagination, UI refinements, etc.).