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