Closes #7606: Model transmit power for interfaces

This commit is contained in:
jeremystretch
2021-10-28 09:31:45 -04:00
parent 33c0c8cf6a
commit a173083e5b
15 changed files with 51 additions and 17 deletions

View File

@@ -1011,7 +1011,7 @@ class InterfaceFilterSet(PrimaryModelFilterSet, DeviceComponentFilterSet, CableT
model = Interface
fields = [
'id', 'name', 'label', 'type', 'enabled', 'mtu', 'mgmt_only', 'mode', 'rf_role', 'rf_channel',
'rf_channel_frequency', 'rf_channel_width', 'description',
'rf_channel_frequency', 'rf_channel_width', 'tx_power', 'description',
]
def filter_device(self, queryset, name, value):