Netbox Storage Plugin
Project description
Directory structure
+- api - The API type
+- filters - Filters of the models
+- forms - The ModelForm, ModelFilterForm, ModelImportForm, ModelBulkEditForm
+- migrations - DB Django Migration
+- tables - The ModelBaseTable, ModelTable, RelatedModelTable
+- templates
+- netbox_disk - The detail view of each model
+- disk - The template content box in the Virtual Machine Model
+- views - PhysicalvolumeListView, PhysicalvolumeView, PhysicalvolumeEditView, PhysicalvolumeDeleteView,
PhysicalvolumeBulkImportView, PhysicalvolumeBulkEditView, PhysicalvolumeBulkDeleteView
Models
ERM
Drive
The drive has 4 parameter:
Name | Example Value |
---|---|
Virtualmachine | test-vm (Link zu virtual machine) |
Identifer | Festplatte 1 |
Cluster | STOR2000000 (Link zu cluster) |
Size | 50GB |
System | No |
Filesystem
The filesystem has 1 parameter:
Name | Example Value |
---|---|
fs | EXT4 |
Linux Volume
The linux volume has 1 parameter:
Name | Example Value |
---|---|
vg_name | docker |
lv_name | docker |
Path | /var/lib/docker |
Filesystem | NTFS (Link zu Filesystem) |
Windows Volume
The linux volume has 1 parameter:
Name | Example Value |
---|---|
drive_name | (D, E, F) |
Filesystem | NTFS (Link zu Filesystem) |
Basis:
- pv:
- size
- Storage Cluster
- virtual_machine
Windows Form:
- drive_name (D, E, F)
- filesystem (ntfs)
Linux Form:
- vg name
- lv name
- path
- filesystem
Extra Filesystem Model & als ChoiceField ausgeben
Build
poetry publish --build docker-compose build --no-cache && docker-compose build --no-cache && docker-compose up -d
Add Physical Volumegit add . && git commit -m "0.0.0.0.272" && git push
[ [ Drive, Partition[] ], [ Drive, Partition[] ] ]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
netbox_storage-0.0.0.0.402.tar.gz
(20.4 kB
view hashes)
Built Distribution
Close
Hashes for netbox_storage-0.0.0.0.402.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6879eb7c575cdc0cc09c8e321f878d61cd0f5772b9d1da830b89ce05637629df |
|
MD5 | 0a534734befb4580d0dc542706ed218b |
|
BLAKE2b-256 | b71600544c422a554c84496c477eb0364a61cdbd6d5bc639ec48028248b53df5 |
Close
Hashes for netbox_storage-0.0.0.0.402-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f8b62b2bf80b6c9378ae17ce3e502f2a708c493a073a866c72fac4346740829 |
|
MD5 | 9c99e345579908e69be1beb6d7b216a4 |
|
BLAKE2b-256 | d3ed8f1df7826a54a95826d0d87ecbeef506a4b6310d7505397121188adfa9e0 |