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 standard network protocol that defined by Open Networking 
Foundation(https://www.opennetworking.org).)

Ryu generate and send the OpenFlow message by using 
OFPActionPushMpls(OFPAction) class and other classes.
Then, the OpenvSwitch receive the OpenFlow message, and the OpenvSwitch calls 
own flow_push_mpls function.

> How is the label value, TTL, mpls_tc and bos get inserted into the first mpls 
> label?.

If you want to know the details of flow_push_mpls function of OpenvSwitch, I 
recommend that you access OVS-dev.

thanks,

On 2016年01月06日 21:28, Pynbiang Hadem wrote:
> 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 
> into the first mpls label?.
> I could not find the appropriate coding in the source codes.
> 
> Pls help.
> 
> Regards
> Hadem.
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to