diff options
author | Jerome Doucerain <jerome.doucerain@bell.ca> | 2018-08-29 19:44:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-29 19:44:30 +0000 |
commit | 2eadea6daf3ec711a38e6c2bd72c6594c17da1af (patch) | |
tree | 6fb98215f4c9a48647b9a574140bb2078c9cea5d /kubernetes/contrib | |
parent | 15572275ba4a4ee3cac9440502249efbb5c0d843 (diff) | |
parent | 418aeea4f7d17708db2598463dffd5dd1548b8da (diff) |
Merge "Added external-key and resource-name custom fields"
Diffstat (limited to 'kubernetes/contrib')
-rwxr-xr-x | kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml | 84 |
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 |