Re: [Ryu-devel] Stp on Openvswitch

2015-04-14 Thread FIXED-TERM Vardhan Harsha (CR/AEH4)
Hi Iwase, I sorted out the problem now only three switches join the Ryu stp, for which I have specified the dpid's. But they are still being disabled. I can't figure out why. Any insight or solution? Mit freundlichen Grüßen / Best regards Harsha Vardhan Communication Technology (CR/AEH4)

Re: [Ryu-devel] The question

2015-04-14 Thread Yusuke Iwase
Hi, On 2015年04月13日 20:58, Николай Жупиков wrote: > Could you write a sample code which uses OF1.5 tcp_flags ryu in any > application? Please refer to the following. This example is for OpenFlow1.4, but similar to OpenFlow1.5. (http://ryu.readthedocs.org/en/latest/ofproto_v1_4_ref.html#ryu.ofprot

[Ryu-devel] [PATCH] add hard timeout while installing flowentry

2015-04-14 Thread Yi Tseng
Hi Simple switch can't handle link failure, to handle that, we can add hard timeout to every flow entry. Signed-off-by: Takeshi --- ryu/app/simple_switch.py| 8 ryu/app/simple_switch_12.py | 6 +++--- ryu/app/simple_switch_13.py | 10 +- ryu/app/simple_switch_14.py | 7 +

Re: [Ryu-devel] Stp on Openvswitch

2015-04-14 Thread Yusuke Iwase
Hi Vardhan, > I think this switch is the reason why there are two extra dpid's being > produced . > But this shouldn’t interfere with the stp, right?. I can not say "Yes" with confidence. I think it's depending on your topology including the two extra switches, because they are connecting to th

Re: [Ryu-devel] Error in api.py under ryu/ryu/topology/api.py

2015-04-14 Thread Minoru TAKAHASHI
Hi, On 2015年04月14日 17:10, Ruchika Luthra wrote: > Hello, > > For the python code api.py present under ryu/ryu/topology api.py, when I > tried to do > > python api.py > > it gives the following error > Inline image 1 > > I have not done any changes in the code so far. Can anyone help me find o

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-14 Thread Vishlesh Patel
Hello, I am making a ryu app which has actions such as push pbb and pop pbb. I am continuously getting the following errors: OFPET_BAD_ACTION = type 2, /* Error in action description. */ OFPBAC_BAD_TYPE = code 0, /* Unknown or unsupported action type. I tried very hard to get rid of that. Howeve

Re: [Ryu-devel] OFPErrorMsg code=9, type=4

2015-04-14 Thread Vishlesh Patel
Hello, I am making a ryu app which has actions such as push pbb and pop pbb. I am continuously getting the following errors: OFPET_BAD_ACTION = type 2, /* Error in action description. */ OFPBAC_BAD_TYPE = code 0, /* Unknown or unsupported action type. I tried very hard to get rid of that. Howeve

Re: [Ryu-devel] push Mpls bug : OpenFlow 1.4

2015-04-14 Thread Vishlesh Patel
In the previous mail, I wrote regarding mpls packet forwarding problem in ovs. My ovs switch version is 2.3.1. I don't what is linux kernel version of my ovs and don't know how to check it. Is that problem needs my linux kernel version to upgrade. If yes, can you provide me document or something t

Re: [Ryu-devel] How to monitor packets being dropped? Sent back a packet back to the port where it came from?

2015-04-14 Thread Clément Rault
Thanks for your answer. I am using OVS yes. I tried to debug it using ovs-appctl: ubuntu@sdnhubvm:~[08:13]$ sudo ovs-appctl bridge/dump-flows s1 duration=58s, n_packets=5, n_bytes=490, priority=3,ip,nw_dst=11.0.0.1,actions=output:1 duration=58s, n_packets=14, n_bytes=1372, priority=1,ip,nw_dst=1

Re: [Ryu-devel] Stp on Openvswitch

2015-04-14 Thread FIXED-TERM Vardhan Harsha (CR/AEH4)
Hi Iwase , Thank you for your prompt reply. Yes I'm talking about those dpid's. As I said before I have 3 OVS switches running on three separate machines and all of them are connected to the controller running on a different machine through a normal switch. I think this switch is the reason wh

[Ryu-devel] Writing New OpenFlow Message at the controller side

2015-04-14 Thread Ruchika Luthra
Hello, I am working with Ryu controller in integration with ofsoftswitch13 as the soft switch. I want to write a new OpenFlow Message which needs to be implemented both at the switch side and the controller side. I am aware of implementing it at the switch side, but I am not sure what all changes

Re: [Ryu-devel] Finance Your Project

2015-04-14 Thread Nancy Polar
Att: Sir/Madam, We are private investors specializing in Joint Venture Partnership/Equity contributions/loans for project of various types to help individuals and organization reach their financial objectives. We customize structured financial solutions for a select group of clientele and inve

[Ryu-devel] Switch ports information dump

2015-04-14 Thread Ruchika Luthra
Hello, Is it possible to dump information to find out which of the ports of the switches are connected to the host and which are connected to other switch? I dont want manual interpretation. But some direct information stating, say port 3 of switch 1 is connected to port 3 of switch 2. port 1 and

Re: [Ryu-devel] Dump switch and links status

2015-04-14 Thread Ruchika Luthra
I figured out that in order to print the links information, I should use --observe-links when executing this script. Now the information about the links is printed. But I still need a way to print out which interfaces of the switches are connected to the host and which to the other switch. Thank

[Ryu-devel] push Mpls bug : OpenFlow 1.4

2015-04-14 Thread Vishlesh Patel
Hi, I am creating the ryu app to push and pop mpls labels. Here is the flow entries at ovs (version 2.3.1) switch s1: root@ubuntu:~# sudo ovs-ofctl -O OpenFlow14 dump-flows s1 OFPST_FLOW reply (OF1.4) (xid=0x2): cookie=0x0, duration=190.991s, table=0, n_packets=123, n_bytes=21852, priority=0 ac

[Ryu-devel] Error in api.py under ryu/ryu/topology/api.py

2015-04-14 Thread Ruchika Luthra
Hello, For the python code api.py present under ryu/ryu/topology api.py, when I tried to do python api.py it gives the following error [image: Inline image 1] I have not done any changes in the code so far. Can anyone help me find out why has this happened? Thank you Ruchika Luthra -

Re: [Ryu-devel] Dump switch and links status

2015-04-14 Thread Ruchika Luthra
Thank you Tseng. It helped me to extract information about the topology, though in my case information about the links is not printed. Also, Is there any way to find out which interfaces/ports of the switches are connected to the hosts and which to other switches? On Mon, Apr 13, 2015 at 2:06 PM,

Re: [Ryu-devel] Increasing timeouts

2015-04-14 Thread Govind Prasad
Hi Yusuke, Many thanks, will try this and update you. Also, have you tried it working? If yes could you please share the ".py" file you modified Regards, Govind Prasad Sent from my iPhone > On Apr 14, 2015, at 1:46 AM, Yusuke Iwase wrote: > > Hi Govind, > > > I think your app needs some