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 poetry config pypi-token.pypi pypi-AgEIcHlwaS5vcmcCJGY5YjBhNGU5LWM5YjMtNDE1Ni05MmUzLTY3YzZkMDUzYWVlYgACFlsxLFsibmV0Ym94LXN0b3JhZ2UiXV0AAixbMixbIjkyYTM4ZjIzLWZmMjctNDk3YS05N2VmLTA4ZmY2OWFlZGE3NSJdXQAABiCUtKij1QP98YTbkZNeiHLvl06lU5CBJPS0NW4CctAhmA 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
Hashes for netbox_storage-0.0.0.0.0.208.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd7a3fcb6be5a49761f15842dad53355f03a2697f664d3cb89a701e3ef4de86 |
|
MD5 | 42208ec965c27204e7157441ea0f6f3f |
|
BLAKE2b-256 | 55bd20ab389fb8e3c42743dc7cea1f20b058cf2499336e22d8403a4c72ffd51b |
Hashes for netbox_storage-0.0.0.0.0.208-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c98569936ae9c59f717ed64280c6f76af957505135d57b56adcc21927fb99748 |
|
MD5 | ef7bce3949d5e48af045c50ee0014506 |
|
BLAKE2b-256 | 849f38f9d5624fa07dbe35bcb59d48dee3ddad876be5c6dcb1b165efd607f95f |