Browse Source

Remove obsolete initial_data fixtures (no longer maintained)

Jeremy Stretch 6 years ago
parent
commit
85563e21db

+ 0 - 12
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:

+ 0 - 26
netbox/circuits/fixtures/initial_data.json

@@ -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"
-    }
-}
-]

+ 0 - 195
netbox/dcim/fixtures/initial_data.json

@@ -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"
-    }
-}
-]

+ 0 - 131
netbox/ipam/fixtures/initial_data.json

@@ -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
-    }
-}
-]

+ 0 - 42
netbox/secrets/fixtures/initial_data.json

@@ -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": []
-    }
-}
-]

+ 0 - 91
netbox/virtualization/fixtures/initial_data.json

@@ -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"
-    }
-}
-]