|
|
|
@ -168,7 +168,7 @@ def os6_parse(lines, indent=None, comment_tokens=None):
|
|
|
|
|
re.compile(r'support-assist.*$'),
|
|
|
|
|
re.compile(r'template.*$'),
|
|
|
|
|
re.compile(r'address-family.*$'),
|
|
|
|
|
re.compile(r'spanning-tree mst.*$'),
|
|
|
|
|
re.compile(r'spanning-tree mst configuration.*$'),
|
|
|
|
|
re.compile(r'logging.*$'),
|
|
|
|
|
re.compile(r'(radius-server|tacacs-server) host.*$')]
|
|
|
|
|
|
|
|
|
@ -240,9 +240,13 @@ class Dellos6NetworkConfig(NetworkConfig):
|
|
|
|
|
for item in self.items:
|
|
|
|
|
if str(item) == "exit":
|
|
|
|
|
for diff_item in diff:
|
|
|
|
|
if diff_item._parents:
|
|
|
|
|
if item._parents == diff_item._parents:
|
|
|
|
|
diff.append(item)
|
|
|
|
|
break
|
|
|
|
|
else:
|
|
|
|
|
diff.append(item)
|
|
|
|
|
break
|
|
|
|
|
elif item not in other:
|
|
|
|
|
diff.append(item)
|
|
|
|
|
return diff
|
|
|
|
|