No subject


Thu May 26 04:05:51 UTC 2011


parent; ">
<br></div><div style=3D"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; b=
order-bottom-width: 0px; border-left-width: 0px; border-style: initial; bor=
der-color: initial; outline-width: 0px; outline-style: initial; outline-col=
or: initial; font-size: 13px; vertical-align: baseline; background-image: i=
nitial; background-attachment: initial; background-origin: initial; backgro=
und-clip: initial; background-color: transparent; ">
I was thinking that since open Vswitch uses &#39;flow_mode&#39; struct, the=
 controller applications should also play around with this struct. The cont=
roller applications sholuld put some values in &quot;flow_mod *fm&quot; and=
 send it back to the switch. The switch then receive this struct as argumen=
t of add_flow() and add the flow in his flow table.=A0</div>
<div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margi=
n-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; pad=
ding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bott=
om-width: 0px; border-left-width: 0px; border-style: initial; border-color:=
 initial; outline-width: 0px; outline-style: initial; outline-color: initia=
l; font-size: 13px; vertical-align: baseline; background-image: initial; ba=
ckground-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=A0struct &quot;struct ofp_flow_mod *ofm&quot; instead of =
&quot;struct flow_mod&quot;. Is the open vSwitch code, internally convert t=
he &quot;ofp_flow_mod *ofm&quot; to &quot;flow_mod *fm&quot;? And then call=
 add_flow function with &#39;flow_mod&#39; struct. Is it safe to use ofp_fl=
ow_mod in controller applications and then use flow_mod at switch side for =
adding flows.</div>
<div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margi=
n-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; pad=
ding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bott=
om-width: 0px; border-left-width: 0px; border-style: initial; border-color:=
 initial; outline-width: 0px; outline-style: initial; outline-color: initia=
l; font-size: 13px; vertical-align: baseline; background-image: initial; ba=
ckground-attachment: initial; background-origin: initial; background-clip: =
initial; background-color: transparent; ">
<br></div><div style=3D"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; b=
order-bottom-width: 0px; border-left-width: 0px; border-style: initial; bor=
der-color: initial; outline-width: 0px; outline-style: initial; outline-col=
or: initial; font-size: 13px; vertical-align: baseline; background-image: i=
nitial; background-attachment: initial; background-origin: initial; backgro=
und-clip: initial; background-color: transparent; ">
Thanks</div></div></span>

--bcaec52157a342fc7604a94db416--


More information about the discuss mailing list