Re: [Ryu-devel] How does Ryu class OFPActionPushMpls communicate with OpenvSwitch flow_push_mpls class function

2016-01-06 Thread Minoru TAKAHASHI
Hi, > How does the Ryu class *OFPActionPushMpls(OFPAction)* communicate with > OpenvSwitch *flow_push_mpls* (in openvswitch/lib/flow.c) class function. > In other words how does ryu calls the *flow_push_mpls* function in > *openvswitch*?. It calls by OpenFlow message. (OpenFlow is an open stand

[Ryu-devel] How does Ryu class OFPActionPushMpls communicate with OpenvSwitch flow_push_mpls class function

2016-01-06 Thread Pynbiang Hadem
Dear all, How does the Ryu class *OFPActionPushMpls(OFPAction)* communicate with OpenvSwitch *flow_push_mpls* (in openvswitch/lib/flow.c) class function. In other words how does ryu calls the *flow_push_mpls* function in *openvswitch*?. How is the label value, TTL, mpls_tc and bos get inserted int

[Ryu-devel] periodic interaction with external data base

2016-01-06 Thread David Gabriel
Dears, It is my first time to Ryu. I want to run an application that depends on: 1- openflow events (like simple switch app you provide in the tutorial) and also 2- external events (provided by an external Data Base - DB). In fact, I have a python scirpt that periodacally check my data base to ge

[Ryu-devel] [PATCH] fixes for mutable default arguments

2016-01-06 Thread Minoru TAKAHASHI
modify the default argument from list to None, because default value {}/[] as argument is dangerous. Signed-off-by: Minoru TAKAHASHI --- ryu/lib/bfdlib.py | 6 ++-- ryu/lib/ovs/bridge.py | 3 +- ryu/lib/packet/bfd.py | 9 -