diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-03-09 15:56:50 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-03-16 16:14:20 +0900 |
commit | ecc9b5631eb68a5148affce56765fe661bf1f2f8 (patch) | |
tree | ecac4b8d561dde01b09eaef81fc0cc8b0f3dff51 /test/lib/gobgp.py | |
parent | afc1fcb1e37d34813dcaede88773956642bdd6c8 (diff) |
test/lib: Enable to disply name of config file
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r-- | test/lib/gobgp.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |