Skip to content

Commit 49a48ab

Browse files
author
Ritwick DSouza
committed
[raspbian] Generate mac list config file
1 parent a3ad9b6 commit 49a48ab

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

netjsonconfig/backends/raspbian/raspbian.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from . import converters
44
from ..base.backend import BaseBackend
5-
from .renderer import (Hostapd, Hostname, Interfaces, Ntp, Resolv, Scripts,
6-
WpaSupplicant)
5+
from .renderer import (Hostapd, MacAddrList, Hostname, Interfaces, Ntp, Resolv,
6+
Scripts, WpaSupplicant)
77
from .schema import schema
88

99

@@ -23,6 +23,7 @@ class Raspbian(BaseBackend):
2323
renderers = [
2424
Hostname,
2525
Hostapd,
26+
MacAddrList,
2627
WpaSupplicant,
2728
Interfaces,
2829
Resolv,

netjsonconfig/backends/raspbian/renderer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ class Hostapd(RaspbianRenderer):
2424
pass
2525

2626

27+
class MacAddrList(RaspbianRenderer):
28+
pass
29+
30+
2731
class Interfaces(RaspbianRenderer):
2832
pass
2933

0 commit comments

Comments
 (0)