diff options
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r-- | test/lib/gobgp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py index 459e2c5f..7faa2198 100644 --- a/test/lib/gobgp.py +++ b/test/lib/gobgp.py @@ -327,8 +327,8 @@ class GoBGPContainer(BGPContainer): config['policy-definitions'] = policy_list if self.zebra: - config['global']['zebra'] = {'enabled': True, - 'redistribute-route-type-list':['connect']} + config['zebra'] = {'config':{'enabled': True, + 'redistribute-route-type-list':['connect']}} with open('{0}/gobgpd.conf'.format(self.config_dir), 'w') as f: print colors.yellow('[{0}\'s new config]'.format(self.name)) |