summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-09-19 12:55:30 +0200
committerDaniil Baturin <daniil@baturin.org>2018-09-19 12:55:30 +0200
commit816f7c02e8a2d55ff6b6b138c71604c59f3304f1 (patch)
treea19510de7431d0d05353c526085a92ca9da06722 /src
parent13256810fec76f3be5590eb96a44eb40ce404082 (diff)
downloadvyos-1x-816f7c02e8a2d55ff6b6b138c71604c59f3304f1.tar.gz
vyos-1x-816f7c02e8a2d55ff6b6b138c71604c59f3304f1.zip
T849: remove stray debug prints.
Diffstat (limited to 'src')
-rw-r--r--src/migration-scripts/quagga/2-to-33
1 files changed, 0 insertions, 3 deletions
diff --git a/src/migration-scripts/quagga/2-to-3 b/src/migration-scripts/quagga/2-to-3
index 158b6eafd..99d96a0aa 100644
--- a/src/migration-scripts/quagga/2-to-3
+++ b/src/migration-scripts/quagga/2-to-3
@@ -153,7 +153,6 @@ else:
# Move aggregate-address statements
aggregate_path = ['protocols', 'bgp', asn, 'aggregate-address']
if config.exists(aggregate_path):
- print("Migrating aggregates")
config.set(bgp_path + af_path + ['aggregate-address'])
config.set_tag(bgp_path + af_path + ['aggregate-address'])
@@ -164,7 +163,6 @@ else:
config.set(bgp_path + af_path + ['aggregate-address', aggregate, 'as-set'])
if config.exists(aggregate_path + [aggregate, 'summary-only']):
config.set(bgp_path + af_path + ['aggregate-address', aggregate, 'summary-only'])
- print("Deleting {0}".format(aggregate_path))
config.delete(aggregate_path)
## Migrate neighbor options
@@ -183,7 +181,6 @@ else:
try:
with open(file_name, 'w') as f:
f.write(config.to_string())
- #print(config.to_string())
except OSError as e:
print("Failed to save the modified config: {}".format(e))
sys.exit(1)