On Fri, 16 Dec 2016 15:17:35 +0900
IWASE Yusuke <iwase.yusu...@gmail.com> wrote:

> The following patches enable 'ryu rpc-cli' command to execute a
> single command not interactively.
> 
> e.g.)
> $ ryu rpc-cli --peers=bgp=localhost:50002 \
>   --command='request bgp operator.show [{"params": ["rib", "ipv4"]}]'
> 
> This feature is convenient to controle BGPSpeaker states via shell
> commands, for example.
> 
> FYI: By using this feature, I'm planning to extend Ryu-BGP Docker
> image (used by BGP Scenario test) to be able to controle BGP states
> from outsied of containers.
> 
> IWASE Yusuke (8):
>   rpc_cli: Enable to execute a single command
>   rpc_cli: Close peer connections when exiting prompt
>   rpc_cli: Avoid to use eval()
>   BGPSpeaker/net_ctrl: Pylint and fixes of typos
>   BGPSpeaker/net_ctrl: Close RPC session when disconnected
>   BGPSpeaker/net_ctrl: Move _send_*_response() function
>   BGPSpeaker/base: Stop child activity by name
>   BGPSpeaker/net_ctrl: Support multiple RPC sessions
> 
>  ryu/cmd/rpc_cli.py                                |  53 +++++++--
>  ryu/services/protocols/bgp/api/rpc_log_handler.py |   4 +-
>  ryu/services/protocols/bgp/base.py                |   7 +-
>  ryu/services/protocols/bgp/net_ctrl.py            | 139 
> ++++++++++++----------
>  4 files changed, 123 insertions(+), 80 deletions(-)

Looks nice improvement. Pushed, thanks!

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to