Fix initializers

This commit is contained in:
Aleksandar Radunovic 2018-10-16 13:26:23 +02:00
parent 97477556e0
commit a120a95184
5 changed files with 24 additions and 6 deletions

View File

@ -7,6 +7,8 @@
# on_objects:
# - dcim.models.Device
# - dcim.models.Rack
# - dcim.models.Site
# - dcim.models.DeviceType
# - ipam.models.IPAddress
# - ipam.models.Prefix
# - tenancy.models.Tenant

View File

@ -2,14 +2,22 @@
# model: Model 1
# slug: model-1
# u_height: 2
# custom_fields:
# text_field: Description
# - manufacturer: Intel
# model: Model 2
# slug: model-2
# custom_fields:
# text_field: Description
# - manufacturer: Intel
# model: Model 3
# slug: model-3
# is_full_depth: false
# u_height: 0
# custom_fields:
# text_field: Description
# - manufacturer: NoName
# model: Other
# slug: other
# custom_fields:
# text_field: Description

View File

@ -1,6 +1,6 @@
# - name: server01
# device_role: server
# device_type: other
# device_type: Other
# site: AMS 1
# rack: rack-01
# face: Front
@ -9,7 +9,7 @@
# text_field: Description
# - name: server02
# device_role: server
# device_type: other
# device_type: Other
# site: AMS 2
# rack: rack-02
# face: Front
@ -18,7 +18,7 @@
# text_field: Description
# - name: server03
# device_role: server
# device_type: other
# device_type: Other
# site: SING 1
# rack: rack-03
# face: Front

View File

@ -1,6 +1,6 @@
# - site: AMS 1
# name: rack-01
# role: role-1
# role: Role 1
# type: 4-post cabinet
# width: 19 inches
# u_height: 47
@ -8,7 +8,7 @@
# text_field: Description
# - site: AMS 2
# name: rack-02
# role: role-2
# role: Role 2
# type: 4-post cabinet
# width: 19 inches
# u_height: 47
@ -16,7 +16,7 @@
# text_field: Description
# - site: SING 1
# name: rack-03
# role: role-3
# role: Role 3
# type: 4-post cabinet
# width: 19 inches
# u_height: 47

View File

@ -4,21 +4,29 @@
# status: 1
# facility: Amsterdam 1
# asn: 12345
# custom_fields:
# text_field: Description
# - name: AMS 2
# slug: ams2
# region: Downtown
# status: 1
# facility: Amsterdam 2
# asn: 54321
# custom_fields:
# text_field: Description
# - name: AMS 3
# slug: ams3
# region: Suburbs
# status: 1
# facility: Amsterdam 3
# asn: 67890
# custom_fields:
# text_field: Description
# - name: SING 1
# slug: sing1
# region: Singapore
# status: 1
# facility: Singapore 1
# asn: 09876
# custom_fields:
# text_field: Description