summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml84
1 files changed, 18 insertions, 66 deletions
diff --git a/kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml b/kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml
index ccde9a0fbc..c23e29a11d 100755
--- a/kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml
+++ b/kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml
@@ -1,66 +1,18 @@
-# text_field:
-# type: text
-# label: Custom Text
-# description: Enter text in a text field.
-# required: false
-# filterable: true
-# weight: 0
-# on_objects:
-# - dcim.models.Device
-# - dcim.models.Rack
-# - ipam.models.IPAddress
-# - ipam.models.Prefix
-# - tenancy.models.Tenant
-# - virtualization.models.VirtualMachine
-# integer_field:
-# type: integer
-# label: Custom Number
-# description: Enter numbers into an integer field.
-# required: true
-# filterable: true
-# weight: 10
-# on_objects:
-# - tenancy.models.Tenant
-# selection_field:
-# type: selection
-# label: Choose between items
-# required: false
-# filterable: true
-# weight: 30
-# on_objects:
-# - dcim.models.Device
-# choices:
-# - value: First Item
-# weight: 10
-# - value: Second Item
-# weight: 20
-# - value: Third Item
-# weight: 30
-# - value: Fifth Item
-# weight: 50
-# - value: Fourth Item
-# weight: 40
-# boolean_field:
-# type: boolean
-# label: Yes Or No?
-# required: true
-# filterable: true
-# default: "false" # important: but "false" in quotes!
-# weight: 90
-# on_objects:
-# - dcim.models.Device
-# url_field:
-# type: url
-# label: Hyperlink
-# description: Link to something nice.
-# required: true
-# filterable: false
-# on_objects:
-# - tenancy.models.Tenant
-# date_field:
-# type: date
-# label: Important Date
-# required: false
-# filterable: false
-# on_objects:
-# - dcim.models.Device
+external-key:
+ description: "The external-key uniquely identify the resources to a service within ONAP."
+ filterable: true
+ label: ONAP external key
+ on_objects:
+ - ipam.models.IPAddress
+ required: true
+ type: text
+ weight: 0
+resource-name:
+ description: "The resource-name of the element using this IP."
+ filterable: true
+ label: ONAP resource name
+ on_objects:
+ - ipam.models.IPAddress
+ required: true
+ type: text
+ weight: 0 \ No newline at end of file