summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-22 15:14:30 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-22 19:38:29 +0100
commit5053f326a9a6534f232463ab55937983fde1901d (patch)
treeb01010763de14d8b8a0ba464fa40c6dee997c3fb /src
parentd4d223ff86e05e2b768a4eac1babffc0e43fa147 (diff)
downloadvyos-1x-5053f326a9a6534f232463ab55937983fde1901d.tar.gz
vyos-1x-5053f326a9a6534f232463ab55937983fde1901d.zip
isis: T1316: remove debug print
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/protocols_isis.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/conf_mode/protocols_isis.py b/src/conf_mode/protocols_isis.py
index d5e5b64fb..03e11c6c4 100755
--- a/src/conf_mode/protocols_isis.py
+++ b/src/conf_mode/protocols_isis.py
@@ -106,9 +106,6 @@ def generate(isis):
process = list(isis.keys())[0]
isis[process]['process'] = process
- import pprint
- pprint.pprint(isis[process])
-
# render(config) not needed, its only for debug
render(config_file, 'frr/isis.frr.tmpl', isis[process], trim_blocks=True)
@@ -118,8 +115,7 @@ def generate(isis):
return None
def apply(isis):
-
- # Save original configration prior to starting any commit actions
+ # Save original configuration prior to starting any commit actions
frr_cfg = {}
frr_cfg['original_config'] = frr.get_configuration(daemon='isisd')
frr_cfg['modified_config'] = frr.replace_section(frr_cfg['original_config'], isis['new_frr_config'], from_re='router isis .*')