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
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.369.tar.gz
(20.0 kB
view hashes)
Built Distribution
Close
Hashes for netbox_storage-0.0.0.0.369.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea87a05b6550780ee23a3880edc4bec330874c6fb1f6197211cf9c204957ad9 |
|
MD5 | d9cbed93665994643d553ae35adc2b55 |
|
BLAKE2b-256 | 2eaba5962aa75224a1b028b4d0d25b3bc3a27c9033a4b6387e85fb99544a5d22 |
Close
Hashes for netbox_storage-0.0.0.0.369-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce98bf5243b16cb3a798148acf4c3f9e4f87be7da888c8c14d2a0bb5f3c0782d |
|
MD5 | d42fb4ab91d943b0cf7e75854595d525 |
|
BLAKE2b-256 | 9199900ff16a7bffebe8479d80b1a5e69505bbf43b3ad754c00aef6b90c2b120 |