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

#7853 - Initial work on Speed/Duplex.

TODO: Documentation, Tests, Form order
This commit is contained in:
Daniel Sheppard
2022-01-08 12:25:30 -06:00
parent 447a5f01a9
commit 0f58faaddb
12 changed files with 93 additions and 12 deletions

View File

@ -551,6 +551,18 @@ class Interface(ModularComponentModel, BaseInterface, LinkTermination, PathEndpo
verbose_name='Management only',
help_text='This interface is used only for out-of-band management'
)
speed = models.PositiveIntegerField(
verbose_name='Speed',
blank=True,
null=True
)
duplex = models.CharField(
verbose_name='Duplex',
max_length=50,
blank=True,
null=True,
choices=InterfaceDuplexChoices
)
wwn = WWNField(
null=True,
blank=True,