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
git add . && git commit -m "0.0.0.0.0.1" && git push
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
Built Distribution
Close
Hashes for netbox_storage-0.0.0.0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4370f780344cae7fd611a43aeb5b5884896b2e76c27766616708bd8e5bd30882 |
|
MD5 | d3f08494cae40a829c1ef7bd707efb21 |
|
BLAKE2b-256 | 887ebdc2b000a3d5e2fd4a8999f1cf12dd6ac470e707461f56a40656150129e1 |
Close
Hashes for netbox_storage-0.0.0.0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a42387ee5fa7583aa1484256314e1c23328a836dee0af5dd8d73fdc873c5100 |
|
MD5 | 86d77be4205cdff2b325633b27434d2b |
|
BLAKE2b-256 | d9c9e23dc806de07fd7b9fecbd6d198376a3865db62b0866c80a02c6756a9f2b |