summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/lib/bird.py4
-rw-r--r--test/lib/exabgp.py4
-rw-r--r--test/lib/gobgp.py6
-rw-r--r--test/lib/quagga.py6
4 files changed, 10 insertions, 10 deletions
diff --git a/test/lib/bird.py b/test/lib/bird.py
index c728d986..8077760f 100644
--- a/test/lib/bird.py
+++ b/test/lib/bird.py
@@ -65,7 +65,7 @@ class BirdContainer(BGPContainer):
c << '}'
with open('{0}/bird.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new bird.conf]'.format(self.name))
print colors.yellow(indent(str(c)))
f.writelines(str(c))
@@ -111,6 +111,6 @@ class RawBirdContainer(BirdContainer):
def create_config(self):
with open('{0}/bird.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new bird.conf]'.format(self.name))
print colors.yellow(indent(self.config))
f.writelines(self.config)
diff --git a/test/lib/exabgp.py b/test/lib/exabgp.py
index 511a7890..dbf8f023 100644
--- a/test/lib/exabgp.py
+++ b/test/lib/exabgp.py
@@ -151,7 +151,7 @@ class ExaBGPContainer(BGPContainer):
cmd << '}'
with open('{0}/exabgpd.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new exabgpd.conf]'.format(self.name))
print colors.yellow(str(cmd))
f.write(str(cmd))
@@ -199,6 +199,6 @@ class RawExaBGPContainer(ExaBGPContainer):
def create_config(self):
with open('{0}/exabgpd.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new exabgpd.conf]'.format(self.name))
print colors.yellow(self.config)
f.write(self.config)
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py
index 468bd0ae..1a54237a 100644
--- a/test/lib/gobgp.py
+++ b/test/lib/gobgp.py
@@ -407,7 +407,7 @@ class GoBGPContainer(BGPContainer):
'version': self.zapi_version}}
with open('{0}/gobgpd.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new gobgpd.conf]'.format(self.name))
if self.config_format is 'toml':
raw = toml.dumps(config)
elif self.config_format is 'yaml':
@@ -430,7 +430,7 @@ class GoBGPContainer(BGPContainer):
c << ''
with open('{0}/zebra.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new zebra.conf]'.format(self.name))
print colors.yellow(indent(str(c)))
f.writelines(str(c))
@@ -481,6 +481,6 @@ class RawGoBGPContainer(GoBGPContainer):
def create_config(self):
with open('{0}/gobgpd.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new gobgpd.conf]'.format(self.name))
print colors.yellow(indent(self.config))
f.write(self.config)
diff --git a/test/lib/quagga.py b/test/lib/quagga.py
index ce3f9e84..f0034459 100644
--- a/test/lib/quagga.py
+++ b/test/lib/quagga.py
@@ -222,7 +222,7 @@ class QuaggaBGPContainer(BGPContainer):
c << 'log file {0}/bgpd.log'.format(self.SHARED_VOLUME)
with open('{0}/bgpd.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new bgpd.conf]'.format(self.name))
print colors.yellow(indent(str(c)))
f.writelines(str(c))
@@ -237,7 +237,7 @@ class QuaggaBGPContainer(BGPContainer):
c << ''
with open('{0}/zebra.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new zebra.conf]'.format(self.name))
print colors.yellow(indent(str(c)))
f.writelines(str(c))
@@ -279,6 +279,6 @@ class RawQuaggaBGPContainer(QuaggaBGPContainer):
def create_config(self):
with open('{0}/bgpd.conf'.format(self.config_dir), 'w') as f:
- print colors.yellow('[{0}\'s new config]'.format(self.name))
+ print colors.yellow('[{0}\'s new bgpd.conf]'.format(self.name))
print colors.yellow(indent(self.config))
f.writelines(self.config)