Currently, in Python3, api.operator APIs, which are used by
BGPSpeaker.rib_get() for example, cannot be registered correctly,
and call('operator.show', **kwargs) fails in the registered
symbol not found exceptions.
These patches fix this problem and enhance APIs related to the
operator.show calls.


IWASE Yusuke (4):
  BGPSpeaker: Fix typos
  BGPSpeaker/api/operator: Simplify registration decorator
  BGPSpeaker: Enhance APIs for operator.show
  BGPSpeaker: Fix to enable to notify peer down

 ryu/services/protocols/bgp/api/base.py            | 38 --------------
 ryu/services/protocols/bgp/api/core.py            |  2 +-
 ryu/services/protocols/bgp/api/operator.py        | 62 +++++++++++------------
 ryu/services/protocols/bgp/base.py                |  2 +-
 ryu/services/protocols/bgp/bgpspeaker.py          | 57 ++++++++++++++++-----
 ryu/services/protocols/bgp/core.py                |  2 +-
 ryu/services/protocols/bgp/info_base/base.py      |  4 +-
 ryu/services/protocols/bgp/info_base/vrf.py       |  2 +-
 ryu/services/protocols/bgp/operator/command.py    |  4 +-
 ryu/services/protocols/bgp/operator/views/base.py |  2 +-
 ryu/services/protocols/bgp/peer.py                | 12 ++---
 ryu/services/protocols/bgp/processor.py           |  4 +-
 ryu/services/protocols/bgp/rtconf/neighbors.py    |  2 +-
 ryu/services/protocols/bgp/rtconf/vrfs.py         |  2 +-
 ryu/services/protocols/bgp/signals/base.py        |  2 +-
 ryu/services/protocols/bgp/speaker.py             |  4 +-
 ryu/services/protocols/bgp/utils/bgp.py           |  2 +-
 ryu/services/protocols/bgp/utils/rtfilter.py      |  4 +-
 18 files changed, 100 insertions(+), 107 deletions(-)

-- 
2.7.4


------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to