Development
This commit is contained in:
parent
f04b2b36cc
commit
5a3a18d5b0
7 changed files with 123 additions and 33 deletions
|
|
@ -735,6 +735,7 @@ def config_datasource(name):
|
|||
for res in cfg.get('dhcp_reservations', []):
|
||||
row = dict(res)
|
||||
row['vlan_name'] = res.get('vlan', '-')
|
||||
row['ip'] = res.get('ip') or 'dynamic'
|
||||
rows.append(row)
|
||||
return rows
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue