Benjamin Eggerstedt | 30 Oct 20:40 2014
Picon

Re: How to downgrade RYU with OF1.4 to OF1.3

Hi Ashok,

(Please keep the list)

simple_switch_13.py does include examples on how to establish flow entries. e.g. it creates the "send everything to controller" entry for you and will add any host specific information to make it work like a switch.

Please clarify what fails, try to start the simple_switch_13.py with --verbose to get more details on what happens.

Benny

On Thu, Oct 30, 2014 at 5:14 PM, Ashok Jude <ajude <at> juniper.net> wrote:
Thanks Benjamin,

I am testing the OF1.3 vendor switch to interop with RYU controller for customer requirement.  Yes, your are right.  As per the pcap, RYU settles down to OF1.3 during negotiation and still the controller connection not up.
Hence for troubleshooting sake wanted to have RYU only speak OF1.3.  As per your suggestion, I will also try simpleswitch13.py.

I am very new to OF and RYU.  Would you mind helping me with some pointers on how to add/delete/modify/action flows using RYU? 

Thanks so much!

-Ashok

From: Benjamin Eggerstedt <benjamin.eggerstedt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Thursday, October 30, 2014 at 3:57 AM
To: Ashok Jude <ajude-3r7Miqu9kMnR7s880joybQ@public.gmane.org>
Cc: "ryu-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" <ryu-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [Ryu-devel] How to downgrade RYU with OF1.4 to OF1.3

Hi Ashok,

​Ryu is negotiating various version parameters with the switch during the initial connection setup. I'd suggest to use the ryu/app/simple_switch_13.py example provided with the ​package on Github as a start.

If this fails it would be the best to include a packet capture of the whole process for analysis.

Benny


On Thu, Oct 30, 2014 at 8:17 AM, Ashok Jude <ajude-3r7Miqu9kMlNg+MwTxZMZA@public.gmane.orgt> wrote:


Hi All,

Need help here. 

Ofswitch (OF1.3) ——RYU Controller ( OF1.4)
                                      (Linux/vm)

I installed RYU controller and by default Openflow 1.4 is installed. My switch only understands OF1.3. How can I make RYU to speak only OF1.3.

Any help is much appreciated. 

------------------------------------------------------------------------------

_______________________________________________
Ryu-devel mailing list
Ryu-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/ryu-devel



------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@...
https://lists.sourceforge.net/lists/listinfo/ryu-devel
Pablo Pousada Rial | 30 Oct 15:37 2014

Send events to Ryu from a remote machine

Hello everyone

I am developing an application that needs to receive info from a remote 
computer connected to the OpenFlow network, and i was wondering if there 
is any way i could send a custom event to the Ryu controller.

As much as i search i can't find the way to do it, any help would be 
greatly appreciated.

Thanks
Pablo
---------------------

------------------------------------------------------------------------------
Mathew Millard | 30 Oct 15:42 2014
Picon

Your Website Reputation

Having negative reputation can kill a company's sales pipeline. By the same token, having little to no reviews can have a similarly devastating effect on a business's sales.

 

I would like to provide you with a complete reputation and review analysis. This is completely complimentary.

 

Our system will help you generate significantly more reviews, suppress negative ones and increase your website rankings and credibility at the same time.

 

Would this be the best email to send my report to?

 

Thank you,

Mathew Millard
Reputation Management Consultant
Get Clean, Stay Clean!

MathewMillards-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

*To stop receiving future emails from me regarding reputation management please reply with the word STOP in the subject line for immediate removal.

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@...
https://lists.sourceforge.net/lists/listinfo/ryu-devel
Ashok Jude | 30 Oct 08:17 2014
Picon

How to downgrade RYU with OF1.4 to OF1.3



Hi All,

Need help here. 

Ofswitch (OF1.3) ——RYU Controller ( OF1.4)
                                      (Linux/vm)

I installed RYU controller and by default Openflow 1.4 is installed. My switch only understands OF1.3. How can I make RYU to speak only OF1.3.

Any help is much appreciated. 
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@...
https://lists.sourceforge.net/lists/listinfo/ryu-devel
Benjamin Eggerstedt | 29 Oct 21:01 2014
Picon

[PATCH] simple_switch_13: Added a logging when running in --verbose for truncated packets

Hi,

Description:
Added a logging when running in --verbose as truncated packets in packet_in have caused some confusion and this would hopefully help others

pep8:
(ryu)Macbook:ryu Benny$ pep8 ryu/app/simple_switch_13.py
(ryu)Macbook:ryu Benny$

Has nothing to say ...

Signed-off-by: Benjamin Eggerstedt <benjamin.eggerstedt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 ryu/app/simple_switch_13.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py
index 14bf2a4..0e1574f 100644
--- a/ryu/app/simple_switch_13.py
+++ b/ryu/app/simple_switch_13.py
<at> <at> -60,6 +60,11 <at> <at> class SimpleSwitch13(app_manager.RyuApp):
 
     <at> set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_DISPATCHER)
     def _packet_in_handler(self, ev):
+        # If you hit this you might want to increase
+        # the "miss_send_length" of your switch
+        if ev.msg.msg_len < ev.msg.total_len:
+            self.logger.debug("packet truncated: only %s of %s bytes",
+                              ev.msg.msg_len, ev.msg.total_len)
         msg = ev.msg
         datapath = msg.datapath
         ofproto = datapath.ofproto
--
1.9.3 (Apple Git-50)

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@...
https://lists.sourceforge.net/lists/listinfo/ryu-devel
fkaup | 29 Oct 18:55 2014
Picon

fkaup@... has indicated you are a friend. Accept?

Click here to discover fkaup-3dNfVm1YEneuRZdhCRBl6YQuADTiUCJX@public.gmane.org's favorite websites!
fkaup-3dNfVm1YEneuRZdhCRBl6YQuADTiUCJX@public.gmane.org is now following you
I would like to add you as a friend
-fkaup-3dNfVm1YEneuRZdhCRBl6YQuADTiUCJX@public.gmane.org
Accept Decline
Following fkaup-3dNfVm1YEneuRZdhCRBl6YQuADTiUCJX@public.gmane.org helps you discover great websites they recommend :)
Click here to unsubscribe from such emails from fkaup-3dNfVm1YEneuRZdhCRBl6YQuADTiUCJX@public.gmane.org or all friends


P.O. BOX 70928, Sunnyvale, CA 94086
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@...
https://lists.sourceforge.net/lists/listinfo/ryu-devel
Yutaka Yasuda | 28 Oct 09:59 2014
Picon

Simple Switch 1.0 does not work with non-buffering switch

Hi guys,

I tried to test RYU + Simple Switch (1.0) app with my Arista 7050T switch but it did not work correctly. 
Today I am happy that I could figure out the reason why.

Just simple_switch.py does not consider about the non-buffering type switch such as Arista.
And simple_switch_13.py includes that treatment as follows;

https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L95-L97

;        data = None
;        if msg.buffer_id == ofproto.OFP_NO_BUFFER:
;            data = msg.data

(and variable 'data' will be used as the last argument of parser.OFPPacketOut() call. )

So, the lack of this handling, the first ARP request will not be flooded.
Then Simple Switch (1.0) did not work with Arista correctly (and some kind of hardware based switches, I
guess). 

In addition, simple_switch_12.py also has no code for non-buffering switch too, in here;
https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_12.py#L83

Please backport this feature to old brothers of Simple Switch. 
It will help all RYU newbies who has their buffer-less hardware switches. 

I am sure simple_switch.py (1.0) does work with this fix. 
I did not tested on simple_switch_12.py, but it seems ok, as your guys fixed it on 1.3 version. 

Thanks. 
----
Yutaka Yasuda, Kyoto Sangyo University, Japan.

------------------------------------------------------------------------------
Zoominfo Customer Service | 28 Oct 04:24 2014

A notice from Zoominfo

Hello Ryu,

ZoomInfo is the world's most comprehensive directory of business information on people and companies. As part of our commitment to your privacy and your ability to control online information about yourself, we wanted to let you know (or remind you) that your business profile has been included in the ZoomInfo Directory.

Profiles in the ZoomInfo Directory are created in an automated process using publicly available information on web sources and contributions from the ZoomInfo community. As a member of our directory, we would like to share valuable and relevant industry news with you from time to time. In addition, we often have the opportunity to offer information about interesting products and services from business partners, and we will occasionally share your email address with them if we think the information will be relevant to you.

As always, Zoominfo respects your privacy and email communication preferences. All Zoominfo email communications contain easy opt-out links so you may quickly and securely unsubscribe from receiving these emails at any time. If you would like to opt out your email address from the ZoomInfo business directory, please click to communicate your preferences to ZoomInfo.

If you would like to know more about ZoomInfo's privacy practices, you can view our privacy policy at http://www.zoominfo.com/privacy

Thank you for your time,
ZoomInfo


Copyright © 2012 ZoomInfo
307 Waverley Oaks Road | Waltham, MA | 02452
This message was sent to ryu-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
To opt out of future emails, please visit www.zoominfo.com/unsubscribe
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@...
https://lists.sourceforge.net/lists/listinfo/ryu-devel
FUJITA Tomonori | 28 Oct 02:52 2014
Picon

Re: What does dumper.py file do ?

Please keep the mailing list

On Mon, 27 Oct 2014 18:38:03 -0700
Ashwin Prabhu <ashwin12prabhu@...> wrote:

> When we run dumper.py file, it doesnot guve any output. Can you please give
> one example of how we can use dumper.py for debugging?

That's for debugging files at the following directory:

https://github.com/osrg/ryu/tree/master/ryu/topology

> Also, i am currently planning to get the topology from mininet and use it
> to find a shortest path from point A to point B in that topology.
> How can i extract the topology details and use it for finding shortest
> path. Can we use networkx library for that?

The answer for the first your question depends on how you want to
do. How you want to get network topology?

For the second your question, you could use such.

------------------------------------------------------------------------------
Ashwin Prabhu | 27 Oct 22:43 2014
Picon

What does dumper.py file do ?

Hi Team,

I have created a mininter topology with the command
sudo mn --topo linear,4 --controller remote

I need to start the controller so that hosts will be able to ping each other. It is done by
PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch.py

Now the controller starts and the hosts in the topology are able to ping each other and everything works fine.

Now i open a new command prompt and run the dumper file from where the file is located. It executes without giving any output. 

I want to know how the dumper file will capture the network topology and where the topology details are stored. 

Awaiting to hear from you


Kind Regards,
Ashwin Prabhu
Graduate Student
San Jose State University
Contact: 408 859 2573

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@...
https://lists.sourceforge.net/lists/listinfo/ryu-devel
germanus | 27 Oct 18:53 2014
Picon

germanus@... has indicated you are a friend. Accept?

Click here to discover germanus-UK+NJqpvEemuRZdhCRBl6YQuADTiUCJX@public.gmane.org's favorite websites!
germanus-UK+NJqpvEemuRZdhCRBl6YQuADTiUCJX@public.gmane.org is now following you
I would like to add you as a friend
-germanus-UK+NJqpvEemuRZdhCRBl6YQuADTiUCJX@public.gmane.org
Accept Decline
Following germanus-UK+NJqpvEemuRZdhCRBl6YQuADTiUCJX@public.gmane.org helps you discover great websites they recommend :)
Click here to unsubscribe from such emails from germanus-UK+NJqpvEemuRZdhCRBl6YQuADTiUCJX@public.gmane.org or all friends


P.O. BOX 70928, Sunnyvale, CA 94086
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@...
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Gmane