Commit cdf15817 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

variable renamed

parent 5610a024
......@@ -18,9 +18,9 @@ class Script(noc.sa.script.Script):
implements=[IGetDHCPBinding]
def execute(self):
self.cli("terminal length 0")
vlans=self.cli("show ip dhcp binding")
data=self.cli("show ip dhcp binding")
r=[]
for l in vlans.split("\n"):
for l in data.split("\n"):
match=rx_line.match(l.strip().lower())
if match:
d=match.group("expire")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment