Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Re2o
dhcp
Commits
9baece2c
Commit
9baece2c
authored
Jan 22, 2020
by
chirac
Browse files
Merge branch 'compa_2.8' into 'master'
Compatibilité 2.8 See merge request
!2
parents
0bf05dba
48feb825
Changes
1
Show whitespace changes
Inline
Side-by-side
main.py
View file @
9baece2c
...
...
@@ -29,6 +29,7 @@ def regen_dhcp(api_client):
host_mac_ip
=
{}
for
hmi
in
api_client
.
list
(
"dhcp/hostmacip/"
):
if
'ipv4'
in
hmi
:
if
hmi
[
'extension'
]
not
in
host_mac_ip
.
keys
():
host_mac_ip
[
hmi
[
'extension'
]]
=
[]
host_mac_ip
[
hmi
[
'extension'
]].
append
((
hmi
[
'hostname'
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment