Skip to content

Commit 69c578b

Browse files
committed
[airos] added encryption function to interface module
1 parent 0941608 commit 69c578b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

netjsonconfig/backends/airos/interface.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ def bssid(interface):
2525
return interface['wireless'].get('bssid', '')
2626

2727

28+
def encryption(interface):
29+
"""
30+
Return the encryption dict for a wireless interface
31+
"""
32+
return interface['wireless']['encryption']
33+
34+
2835
def flowcontrol(interface):
2936
"""
3037
Return the configuration for ``flowcontrol`` on interface

0 commit comments

Comments
 (0)