Skip to content

Commit 01113e9

Browse files
committed
[airos] begun testing ebtables converter
ebtables is configured with respect to mode and protocol of the wireless interface
1 parent d44cbb2 commit 01113e9

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

tests/airos/test_ebtables.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,21 @@
44
class EbtablesConverter(ConverterTest):
55
backend = EbtablesAirOs
66

7-
def test_ebtables(self):
8-
o = self.backend({})
7+
def test_station_none(self):
8+
o = self.backend({
9+
'interfaces': [
10+
{
11+
'type': 'wireless',
12+
'name': 'wlan0',
13+
'wireless': {
14+
'mode': 'station',
15+
'radio': 'ath0',
16+
'ssid': 'ubnt',
17+
'bssid': '00:11:22:33:44:55',
18+
}
19+
}
20+
]
21+
})
922
o.to_intermediate()
1023
expected = [
1124
{

0 commit comments

Comments
 (0)