aruba: add support for speed + duplex
parent
c7e6a7bd50
commit
b55d81d6cc
@ -0,0 +1,11 @@
|
|||||||
|
class FilterModule:
|
||||||
|
def filters(self):
|
||||||
|
return {
|
||||||
|
"choices": choices,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def choices(value, choices):
|
||||||
|
if value not in choices:
|
||||||
|
raise ValueError(f"{value} not in {choices}")
|
||||||
|
return value
|
Loading…
Reference in New Issue