[prev in list] [next in list] [prev in thread] [next in thread]
List: openvswitch-discuss
Subject: No subject
From: bogus () does ! not ! exist ! com ()
Date: 2011-05-26 4:05:51
Message-ID: mailman.4.1312063922.18461.discuss () openvswitch ! org
[Download RAW message or body]
parent; ">
<br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; \
padding-left: 0px; border-top-width: 0px; border-right-width: 0px; \
border-bottom-width: 0px; border-left-width: 0px; border-style: initial; \
border-color: initial; outline-width: 0px; outline-style: initial; outline-color: \
initial; font-size: 13px; vertical-align: baseline; background-image: initial; \
background-attachment: initial; background-origin: initial; background-clip: initial; \
background-color: transparent; "> I was thinking that since open Vswitch uses \
'flow_mode' struct, the controller applications should also play around with \
this struct. The controller applications sholuld put some values in "flow_mod \
*fm" and send it back to the switch. The switch then receive this struct as \
argument of add_flow() and add the flow in his flow table. </div> <div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; \
border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; \
border-left-width: 0px; border-style: initial; border-color: initial; outline-width: \
0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: \
baseline; background-image: initial; background-attachment: initial; \
background-origin: initial; background-clip: initial; background-color: transparent; \
"> Now problem is that most of the controller applications, which I have seen, play \
around with struct "struct ofp_flow_mod *ofm" instead of "struct \
flow_mod". Is the open vSwitch code, internally convert the "ofp_flow_mod \
*ofm" to "flow_mod *fm"? And then call add_flow function with \
'flow_mod' struct. Is it safe to use ofp_flow_mod in controller applications \
and then use flow_mod at switch side for adding flows.</div> <div style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; \
padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; \
border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; \
border-style: initial; border-color: initial; outline-width: 0px; outline-style: \
initial; outline-color: initial; font-size: 13px; vertical-align: baseline; \
background-image: initial; background-attachment: initial; background-origin: \
initial; background-clip: initial; background-color: transparent; "> <br></div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; \
border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; \
border-left-width: 0px; border-style: initial; border-color: initial; outline-width: \
0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: \
baseline; background-image: initial; background-attachment: initial; \
background-origin: initial; background-clip: initial; background-color: transparent; \
"> Thanks</div></div></span>
--bcaec52157a342fc7604a94db416--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic