diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2016-11-11 15:42:18 +0000 |
---|---|---|
committer | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2016-11-14 02:15:46 +0000 |
commit | c4ced97e76f12d5c37721c107e61147edb4254d7 (patch) | |
tree | 8178a6a4a7bfbdf98414dd0148796255e39a4cc0 /test/lib | |
parent | 3f2dd34d37b5ca4874399d7eaff9bbb8b7975cd4 (diff) |
cli: use client library
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/gobgp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py index 9d2b4237..8c0d9cdd 100644 --- a/test/lib/gobgp.py +++ b/test/lib/gobgp.py @@ -211,7 +211,7 @@ class GoBGPContainer(BGPContainer): return json.loads(self.local(cmd, capture=True)) def get_neighbor_state(self, peer): - return self.get_neighbor(peer)['info']['bgp_state'] + return self.get_neighbor(peer)['state']['session-state'] def clear_policy(self): self.policies = {} |