diff --git a/README.md b/README.md index 2612478..b01778c 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,14 @@ A [Netbox](https://github.com/netbox-community/netbox) plugin for storage relate - Storage Sessions: the "source" of a session is a Netbox Virtualization Cluster, the "destination" is the LUN Group - VMDK: can be assigned to a VM and a datastore +# Install +python3 setup.py build +python3 setup.py sdist + +Add dist/netbox-storage* to netbox/local_requirements.txt +Add netbox_storage to PLUGINS in configuration.py: +PLUGINS = ['netbox_storage',] + # Usage 1. Create regular Netbox objects: a storage Device, a virtualization Cluster, and a Virtual Machine diff --git a/netbox_storage/migrations/0003_lun_wwn.py b/netbox_storage/migrations/0003_lun_wwn.py new file mode 100644 index 0000000..b438514 --- /dev/null +++ b/netbox_storage/migrations/0003_lun_wwn.py @@ -0,0 +1,18 @@ +# Generated by Django 4.1.6 on 2023-02-10 19:34 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('netbox_storage', '0002_alter_lun_size_alter_storagepool_size_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='lun', + name='wwn', + field=models.CharField(blank=True, max_length=64), + ), + ]