Skip to main content

General

Build Project

To build the project go to log in the pypi web ui and get your token. Add your token to the local pypi config.

poetry config pypi-token.pypi pypi-XXXXX

After you made changes, change the version in the files pyproject.toml and netbox_storage/init.py

Now you can build and publish the project.

poetry publish --build

Use Project

Link: https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins

docker-compose build --no-cache && docker-compose build --no-cache && docker-compose up -d

Directory structure

+- api - The API Classes, consitsts of Serializer, URL Mapper and Views
+- filters - Filters of the models, the implementation of the method search, for searching
+- forms - The ModelForm, ModelFilterForm, ModelImportForm, ModelBulkEditForm, the forms which will be displayed
+- migrations - DB Django Migration steps
+- tables - The ModelTable, which has the configuration on how the table looks like
+- templates
  +- netbox_storage - The detail view of each model
    +- drive - The template content of drive, with base and partition model
    +- inc - The template content box in the Virtual Machine Model
    +- partition - The template content of partition, with base and physicalvolume model
    +- physicalvolume - The template content of physicalvolume with base and linuxvolume model
    +- volumegroup - The template content of volumegroup with base, logicalvolume and physicalvolume
+- views - PhysicalvolumeListView, PhysicalvolumeView, PhysicalvolumeEditView, PhysicalvolumeDeleteView, 
           PhysicalvolumeBulkImportView, PhysicalvolumeBulkEditView, PhysicalvolumeBulkDeleteView

Models

ERM

The ERM of the Project

Drive

The drive has 4 parameter:

Name Example Value
Virtualmachine test-vm (Link zu virtual machine)
Identifier Festplatte 1
Cluster STOR2000000 (Link zu cluster)
Size 50GB
System No

Filesystem

The filesystem has 1 parameter:

Name Example Value
fs EXT4

git add . && git commit -m "0.0.0.0.272" && git push

Metadata

Release files for netbox-storage 0.0.0.0.946

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netbox-storage 0.0.0.0.946
File Size Uploaded Provenance
netbox_storage-0.0.0.0.946.tar.gz 30.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for netbox-storage 0.0.0.0.946
File Interpreter ABI Platform
netbox_storage-0.0.0.0.946-py3-none-any.whl Python 3 none any Details

Total release size: 95.3 kB

Release files / netbox_storage-0.0.0.0.946.tar.gz

Download URL netbox_storage-0.0.0.0.946.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
822d0ab71eef6ba0864a71be5cc92e0017a104fc50c46ca53bbd1d6b5ac4a78a
BLAKE2b-256 checksum
How to use checksums
65e3fd330e9e45b382dc0f6da9b4ee02718fcb93888896f989c0d8fd0830f052
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.9.6 Darwin/22.3.0

Release files / netbox_storage-0.0.0.0.946-py3-none-any.whl

Download URL netbox_storage-0.0.0.0.946-py3-none-any.whl
Size 64.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
feaf2014e496bfe4e9af1b9f3b2d05c06ebb6594a0f9f70c5b7423dd4f5072a9
BLAKE2b-256 checksum
How to use checksums
ff5e0fe3e4a22900f67d3a623cb1c06eadd81213076c1770adfbc9cb5ff1f51d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.9.6 Darwin/22.3.0

Security for netbox-storage 0.0.0.0.946

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.0.0.946 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page