diff --git a/docs/installation/2-netbox.md b/docs/installation/2-netbox.md index ac19e012e..053beb7ed 100644 --- a/docs/installation/2-netbox.md +++ b/docs/installation/2-netbox.md @@ -215,18 +215,6 @@ Superuser created successfully. 959 static files copied to '/opt/netbox/netbox/static'. ``` -# Load Initial Data (Optional) - -NetBox ships with some initial data to help you get started: RIR definitions, common devices roles, etc. You can delete any seed data that you don't want to keep. - -!!! note - This step is optional. It's perfectly fine to start using NetBox without using this initial data if you'd rather create everything from scratch. - -```no-highlight -# python3 manage.py loaddata initial_data -Installed 43 object(s) from 4 fixture(s) -``` - # Test the Application At this point, NetBox should be able to run. We can verify this by starting a development instance: diff --git a/netbox/circuits/fixtures/initial_data.json b/netbox/circuits/fixtures/initial_data.json deleted file mode 100644 index c918bbeea..000000000 --- a/netbox/circuits/fixtures/initial_data.json +++ /dev/null @@ -1,26 +0,0 @@ -[ -{ - "model": "circuits.circuittype", - "pk": 1, - "fields": { - "name": "Internet", - "slug": "internet" - } -}, -{ - "model": "circuits.circuittype", - "pk": 2, - "fields": { - "name": "Private WAN", - "slug": "private-wan" - } -}, -{ - "model": "circuits.circuittype", - "pk": 3, - "fields": { - "name": "Out-of-Band", - "slug": "out-of-band" - } -} -] diff --git a/netbox/dcim/fixtures/initial_data.json b/netbox/dcim/fixtures/initial_data.json deleted file mode 100644 index 83f79e3a3..000000000 --- a/netbox/dcim/fixtures/initial_data.json +++ /dev/null @@ -1,195 +0,0 @@ -[ -{ - "model": "dcim.devicerole", - "pk": 1, - "fields": { - "name": "Console Server", - "slug": "console-server", - "color": "009688" - } -}, -{ - "model": "dcim.devicerole", - "pk": 2, - "fields": { - "name": "Core Switch", - "slug": "core-switch", - "color": "2196f3" - } -}, -{ - "model": "dcim.devicerole", - "pk": 3, - "fields": { - "name": "Distribution Switch", - "slug": "distribution-switch", - "color": "2196f3" - } -}, -{ - "model": "dcim.devicerole", - "pk": 4, - "fields": { - "name": "Access Switch", - "slug": "access-switch", - "color": "2196f3" - } -}, -{ - "model": "dcim.devicerole", - "pk": 5, - "fields": { - "name": "Management Switch", - "slug": "management-switch", - "color": "ff9800" - } -}, -{ - "model": "dcim.devicerole", - "pk": 6, - "fields": { - "name": "Firewall", - "slug": "firewall", - "color": "f44336" - } -}, -{ - "model": "dcim.devicerole", - "pk": 7, - "fields": { - "name": "Router", - "slug": "router", - "color": "9c27b0" - } -}, -{ - "model": "dcim.devicerole", - "pk": 8, - "fields": { - "name": "Server", - "slug": "server", - "color": "9e9e9e" - } -}, -{ - "model": "dcim.devicerole", - "pk": 9, - "fields": { - "name": "PDU", - "slug": "pdu", - "color": "607d8b" - } -}, -{ - "model": "dcim.manufacturer", - "pk": 1, - "fields": { - "name": "APC", - "slug": "apc" - } -}, -{ - "model": "dcim.manufacturer", - "pk": 2, - "fields": { - "name": "Cisco", - "slug": "cisco" - } -}, -{ - "model": "dcim.manufacturer", - "pk": 3, - "fields": { - "name": "Dell", - "slug": "dell" - } -}, -{ - "model": "dcim.manufacturer", - "pk": 4, - "fields": { - "name": "HP", - "slug": "hp" - } -}, -{ - "model": "dcim.manufacturer", - "pk": 5, - "fields": { - "name": "Juniper", - "slug": "juniper" - } -}, -{ - "model": "dcim.manufacturer", - "pk": 6, - "fields": { - "name": "Arista", - "slug": "arista" - } -}, -{ - "model": "dcim.manufacturer", - "pk": 7, - "fields": { - "name": "Opengear", - "slug": "opengear" - } -}, -{ - "model": "dcim.manufacturer", - "pk": 8, - "fields": { - "name": "Super Micro", - "slug": "super-micro" - } -}, -{ - "model": "dcim.platform", - "pk": 1, - "fields": { - "name": "Cisco IOS", - "slug": "cisco-ios" - } -}, -{ - "model": "dcim.platform", - "pk": 2, - "fields": { - "name": "Cisco NX-OS", - "slug": "cisco-nx-os" - } -}, -{ - "model": "dcim.platform", - "pk": 3, - "fields": { - "name": "Juniper Junos", - "slug": "juniper-junos" - } -}, -{ - "model": "dcim.platform", - "pk": 4, - "fields": { - "name": "Arista EOS", - "slug": "arista-eos" - } -}, -{ - "model": "dcim.platform", - "pk": 5, - "fields": { - "name": "Linux", - "slug": "linux" - } -}, -{ - "model": "dcim.platform", - "pk": 6, - "fields": { - "name": "Opengear", - "slug": "opengear" - } -} -] diff --git a/netbox/ipam/fixtures/initial_data.json b/netbox/ipam/fixtures/initial_data.json deleted file mode 100644 index da6b4a9ca..000000000 --- a/netbox/ipam/fixtures/initial_data.json +++ /dev/null @@ -1,131 +0,0 @@ -[ -{ - "model": "ipam.aggregate", - "pk": 1, - "fields": { - "created": "2016-08-01", - "last_updated": "2016-08-01T15:22:20.938Z", - "family": 4, - "prefix": "10.0.0.0/8", - "rir": 6, - "date_added": null, - "description": "Private IPv4 space" - } -}, -{ - "model": "ipam.aggregate", - "pk": 2, - "fields": { - "created": "2016-08-01", - "last_updated": "2016-08-01T15:22:32.679Z", - "family": 4, - "prefix": "172.16.0.0/12", - "rir": 6, - "date_added": null, - "description": "Private IPv4 space" - } -}, -{ - "model": "ipam.aggregate", - "pk": 3, - "fields": { - "created": "2016-08-01", - "last_updated": "2016-08-01T15:22:42.289Z", - "family": 4, - "prefix": "192.168.0.0/16", - "rir": 6, - "date_added": null, - "description": "Private IPv4 space" - } -}, -{ - "model": "ipam.rir", - "pk": 1, - "fields": { - "name": "ARIN", - "slug": "arin", - "is_private": false - } -}, -{ - "model": "ipam.rir", - "pk": 2, - "fields": { - "name": "RIPE", - "slug": "ripe", - "is_private": false - } -}, -{ - "model": "ipam.rir", - "pk": 3, - "fields": { - "name": "APNIC", - "slug": "apnic", - "is_private": false - } -}, -{ - "model": "ipam.rir", - "pk": 4, - "fields": { - "name": "LACNIC", - "slug": "lacnic", - "is_private": false - } -}, -{ - "model": "ipam.rir", - "pk": 5, - "fields": { - "name": "AFRINIC", - "slug": "afrinic", - "is_private": false - } -}, -{ - "model": "ipam.rir", - "pk": 6, - "fields": { - "name": "RFC 1918", - "slug": "rfc-1918", - "is_private": true - } -}, -{ - "model": "ipam.role", - "pk": 1, - "fields": { - "name": "Production", - "slug": "production", - "weight": 1000 - } -}, -{ - "model": "ipam.role", - "pk": 2, - "fields": { - "name": "Development", - "slug": "development", - "weight": 1000 - } -}, -{ - "model": "ipam.role", - "pk": 3, - "fields": { - "name": "Management", - "slug": "management", - "weight": 1000 - } -}, -{ - "model": "ipam.role", - "pk": 4, - "fields": { - "name": "Backup", - "slug": "backup", - "weight": 1000 - } -} -] diff --git a/netbox/secrets/fixtures/initial_data.json b/netbox/secrets/fixtures/initial_data.json deleted file mode 100644 index 1fffbb9bf..000000000 --- a/netbox/secrets/fixtures/initial_data.json +++ /dev/null @@ -1,42 +0,0 @@ -[ -{ - "model": "secrets.secretrole", - "pk": 1, - "fields": { - "name": "Login Credentials", - "slug": "login-credentials", - "users": [], - "groups": [] - } -}, -{ - "model": "secrets.secretrole", - "pk": 2, - "fields": { - "name": "RADIUS Key", - "slug": "radius-key", - "users": [], - "groups": [] - } -}, -{ - "model": "secrets.secretrole", - "pk": 3, - "fields": { - "name": "SNMPv2 Community", - "slug": "snmpv2-community", - "users": [], - "groups": [] - } -}, -{ - "model": "secrets.secretrole", - "pk": 4, - "fields": { - "name": "SNMPv3 Credentials", - "slug": "snmpv3-credentials", - "users": [], - "groups": [] - } -} -] diff --git a/netbox/virtualization/fixtures/initial_data.json b/netbox/virtualization/fixtures/initial_data.json deleted file mode 100644 index 6f57baffa..000000000 --- a/netbox/virtualization/fixtures/initial_data.json +++ /dev/null @@ -1,91 +0,0 @@ -[ -{ - "model": "virtualization.clustertype", - "pk": 1, - "fields": { - "name": "Public Cloud", - "slug": "public-cloud" - } -}, -{ - "model": "virtualization.clustertype", - "pk": 2, - "fields": { - "name": "vSphere", - "slug": "vsphere" - } -}, -{ - "model": "virtualization.clustertype", - "pk": 3, - "fields": { - "name": "Hyper-V", - "slug": "hyper-v" - } -}, -{ - "model": "virtualization.clustertype", - "pk": 4, - "fields": { - "name": "libvirt", - "slug": "libvirt" - } -}, -{ - "model": "virtualization.clustertype", - "pk": 5, - "fields": { - "name": "LXD", - "slug": "lxd" - } -}, -{ - "model": "virtualization.clustertype", - "pk": 6, - "fields": { - "name": "Docker", - "slug": "docker" - } -}, -{ - "model": "virtualization.clustergroup", - "pk": 1, - "fields": { - "name": "VM Host", - "slug": "vm-host" - } -}, -{ - "model": "virtualization.cluster", - "pk": 1, - "fields": { - "name": "Digital Ocean", - "type": 1, - "group": 1, - "created": "2016-08-01", - "last_updated": "2016-08-01T15:22:42.289Z" - } -}, -{ - "model": "virtualization.cluster", - "pk": 2, - "fields": { - "name": "Amazon EC2", - "type": 1, - "group": 1, - "created": "2016-08-01", - "last_updated": "2016-08-01T15:22:42.289Z" - } -}, -{ - "model": "virtualization.cluster", - "pk": 3, - "fields": { - "name": "Microsoft Azure", - "type": 1, - "group": 1, - "created": "2016-08-01", - "last_updated": "2016-08-01T15:22:42.289Z" - } -} -]