Closes #5439: Add CS and SN fiber port types

This commit is contained in:
Jeremy Stretch 2020-12-11 08:56:02 -05:00
parent 5df01ed3e6
commit 5c8ed73608
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@
### Enhancements ### Enhancements
* [#5424](https://github.com/netbox-community/netbox/issues/5424) - Allow passing Python code to `nbshell` using `--command` * [#5424](https://github.com/netbox-community/netbox/issues/5424) - Allow passing Python code to `nbshell` using `--command`
* [#5439](https://github.com/netbox-community/netbox/issues/5439) - Add CS and SN fiber port types
### Bug Fixes ### Bug Fixes

View File

@ -861,6 +861,8 @@ class PortTypeChoices(ChoiceSet):
TYPE_LSH = 'lsh' TYPE_LSH = 'lsh'
TYPE_LSH_APC = 'lsh-apc' TYPE_LSH_APC = 'lsh-apc'
TYPE_SPLICE = 'splice' TYPE_SPLICE = 'splice'
TYPE_CS = 'cs'
TYPE_SN = 'sn'
CHOICES = ( CHOICES = (
( (
@ -888,6 +890,8 @@ class PortTypeChoices(ChoiceSet):
(TYPE_SC, 'SC'), (TYPE_SC, 'SC'),
(TYPE_SC_APC, 'SC/APC'), (TYPE_SC_APC, 'SC/APC'),
(TYPE_ST, 'ST'), (TYPE_ST, 'ST'),
(TYPE_CS, 'CS'),
(TYPE_SN, 'SN'),
(TYPE_SPLICE, 'Splice'), (TYPE_SPLICE, 'Splice'),
) )
) )