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
netbox_storage-0.0.0.0.229.tar.gz
(16.6 kB
view hashes)
Built Distribution
Close
Hashes for netbox_storage-0.0.0.0.229.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a31b9b17e5229055207f8bd90ba471ee6fabda2aae91b67e82f5a49ab3d33d1f |
|
MD5 | ee9d1153b8d14ef417cde2bab979d762 |
|
BLAKE2b-256 | 7a0197f24f4801daffeaf561e535dbc23fa3132cba6926e7ad04cf2b5bad1e3c |
Close
Hashes for netbox_storage-0.0.0.0.229-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c3b985db5bfe0ab8beaa376afd8463f2109ffda9aa673a1fa42be5140a1e88 |
|
MD5 | 9a4b2523081b0f05f92c3a9d3b7477f4 |
|
BLAKE2b-256 | 401657f08a5d06a40e9229ef9e8cc7ab5a6ac26acd9a5d5c4860d14757adfce5 |