Hi Vidhu,

Unfortunately, the Zebra integration feature is not documented yet.
Please refer to the following sample application for the basic usage:
https://github.com/osrg/ryu/blob/master/ryu/services/protocols/zebra/client/sample_dumper.py

e.g.) Please note it might be required the "root" (or "quagga") user privilege
# ryu-manager --zapi-server-version 3 ryu/services/protocols/zebra/client/sample_dumper.py

"--zapi-server-version 3" specifies to use the Zebra protocol version 3 which
used on Quagga version 1.x or later, if your Quagga is version 0.99.x or so,
please specify "--zapi-server-version 2".


Thanks,
Iwase


On 2018年06月13日 21:04, Vidhu Baggan wrote:
Dear Sir
 Appreciating your concern as I have already implemented BGP in Quagga but could not find the way out to connect BGP (Ryu) and Quagga .
Kindly guide.
Great Regards

On Wed, Jun 13, 2018, 1:15 PM Iwase Yusuke <iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>> wrote:

    Hi Vidhu,

    Ryu BGP Speaker does not have data-plane to forward packets. To implement
    forwarding rules, Ryu supposes to connect to some OpenFlow switches or 
Linux IP
    routing stack (like Zebra). So the approach to assign IP address to 
interface is
    depending on how to realize data-plane with Ryu, I guess.

    Thanks,
    Iwase

    On 2018年06月12日 19:14, Vidhu Baggan wrote:
     > Dear Sir
     >
     > Kindly guide that in which file, we  can assign IP addresses to
    interfaces in a
     > RYU-BGP router.
     >
     > Thanking you in anticipation.
     >
     >
     >
     > /Vidhu Baggan/
     > Associate Professor | School of Computer Sciences
     > Chitkara Institute of Engineering & Technology
     >
     > .
     > Mail
     >
     > CAMPUS
     > Chandigarh - Patiala National Highway,
     > Distt. Patiala - 140401.
     > (Around 35 kms from Chandigarh)
     >
     >
     >
     >
     >
     >
     > On Mon, Dec 25, 2017 at 6:38 AM, Iwase Yusuke <iwase.yusu...@gmail.com
    <mailto:iwase.yusu...@gmail.com>
     > <mailto:iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>>> wrote:
     >
     >     Hi,
     >
     >     You mean modifying the rules of the BGP state transition (BGP FSM)?
     >     You need to original rules?
     >
     >     Ryu maintains the FSM state at "ryu/services/protocols/bgp/peer.py",
     >     so you can modify the rules if writing your code on it.
     >
     >     For example, Ryu will move on to ESTABLISHED state when received a
    KEEPALIVE
     >     message if its states is OPEN_CONFIRM.
     >
    
https://github.com/osrg/ryu/blob/master/ryu/services/protocols/bgp/peer.py#L1987-L1992
>  <https://github.com/osrg/ryu/blob/master/ryu/services/protocols/bgp/peer.py#L1987-L1992>
     >
     >     Thanks,
     >     Iwase
     >
     >
     >     On 2017年12月25日 09:52, Vidhu Baggan wrote:
     >
     >         Dear Sir
     >         Can we modify the connection states cycle of BGP.
     >         Thanking you in anticipation.
     >         Regards
     >
     >         On Dec 25, 2017 6:06 AM, "Iwase Yusuke" <iwase.yusu...@gmail.com
    <mailto:iwase.yusu...@gmail.com>
     >         <mailto:iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>>
    <mailto:iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>
     >         <mailto:iwase.yusu...@gmail.com
    <mailto:iwase.yusu...@gmail.com>>>> wrote:
     >
     >              Hi,
     >
     >              Could you be more specific?
     >              What does "modify" exactly mean?
     >
     >              Thanks,
     >              Iwase
     >
     >              On 2017年12月23日 09:43, Vidhu Baggan wrote:
     >
     >                  Dear Sir
     >                  Kindly guide that can we modify bgp through Ryu.
     >                  Thanking you in anticipation.
     >                  Regards
     >
     >
     >
>  ------------------------------------------------------------------------------
     >                  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 <mailto:Ryu-devel@lists.sourceforge.net>
    <mailto:Ryu-devel@lists.sourceforge.net
    <mailto:Ryu-devel@lists.sourceforge.net>>
     >         <mailto:Ryu-devel@lists.sourceforge.net
    <mailto:Ryu-devel@lists.sourceforge.net>
     >         <mailto:Ryu-devel@lists.sourceforge.net
    <mailto:Ryu-devel@lists.sourceforge.net>>>
     > https://lists.sourceforge.net/lists/listinfo/ryu-devel
     >         <https://lists.sourceforge.net/lists/listinfo/ryu-devel>
     >                  <https://lists.sourceforge.net/lists/listinfo/ryu-devel
     >         <https://lists.sourceforge.net/lists/listinfo/ryu-devel>>
     >
     >
     >
>  ------------------------------------------------------------------------------
     >         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 <mailto:Ryu-devel@lists.sourceforge.net>
    <mailto:Ryu-devel@lists.sourceforge.net
    <mailto:Ryu-devel@lists.sourceforge.net>>
     > https://lists.sourceforge.net/lists/listinfo/ryu-devel
     >         <https://lists.sourceforge.net/lists/listinfo/ryu-devel>
     >
     >
     >
     >
     >
    
------------------------------------------------------------------------------
     > 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 <mailto:Ryu-devel@lists.sourceforge.net>
     > https://lists.sourceforge.net/lists/listinfo/ryu-devel
     >



------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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