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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227edd5529ed909b03221c9bd7f4a6dea038d6da19be3d01af4708973d739a68 |
|
MD5 | 56f506261912abc45b982e9ad21779f7 |
|
BLAKE2b-256 | a9fae79f45509f836c3a4363767a88a07d6cad8b11d87cbfdcfa392626c925a3 |
Close
Hashes for netbox_storage-0.0.0.0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e14ff31a4464a1306b95e1b2cbeb59ae40c0760f6560c7f286a3fac2d43095e |
|
MD5 | 6cee5d63d60c65d5768cb1e8f5d77e68 |
|
BLAKE2b-256 | 73d176b99bf1435084dc90e5dc658cb2591c9085ff41e2da5602504505e45ee5 |