1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #3022: Add missing cable termination types to DCIM _choices endpoint

This commit is contained in:
Jeremy Stretch
2019-03-22 16:26:56 -04:00
parent fc76c8eb0f
commit 3acc8ca3ab
2 changed files with 2 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ from .exceptions import MissingFilterException
class DCIMFieldChoicesViewSet(FieldChoicesViewSet):
fields = (
(Cable, ['length_unit', 'status', 'type']),
(Cable, ['length_unit', 'status', 'termination_a_type', 'termination_b_type', 'type']),
(ConsolePort, ['connection_status']),
(Device, ['face', 'status']),
(DeviceType, ['subdevice_role']),