Re: [ovs-discuss] Append output port to an existing flow

2016-08-08 Thread Ben Pfaff
No, there's nothing special about VXLAN.

There should no measurable overhead.

On Mon, Aug 08, 2016 at 11:08:53PM +0530, Kapil Adhikesavalu wrote:
> Hi Ben,
> 
> I did a brief trial with 'groups' before mailing the list. Wanted to check
> if there are other alternatives specific to vxlan.
> 
> Thanks for confirming. Will there be any overhead in using 1 group for each
> tunnel in a scaled environment.
> 
> Regards
> Kapil
> 
> Thanks
> Kapil
> 
> On 08-Aug-2016 9:54 PM, "Ben Pfaff"  wrote:
> 
> On Mon, Aug 08, 2016 at 04:49:49PM +0530, Kapil Adhikesavalu wrote:
> > Want to check if there is an alternate way to append a output port to the
> > existing flow.
> >
> >
> >
> > For example,
> >
> >
> >
> > Existing flow:
> >
> > cookie=0x0, duration=14279.412s, table=0, n_packets=0, n_bytes=0,
> > idle_age=14316, dl_vlan=5 actions=output:2
> >
> >
> >
> > If I want to add output:4 to the above flow, the only way I know is using
> > mod-flow
> >
> >
> >
> > ovs-ofctl mod-flow bridge "dl_vlan=5, actions=output:2,4"
> >
> >
> >
> > But is there any other way that I can use to just append 4? i might have
> > about 20 ports which have to be dynamically appended.
> 
> You could use the OF1.1+ "groups" feature.
___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss


Re: [ovs-discuss] Append output port to an existing flow

2016-08-08 Thread Kapil Adhikesavalu
Hi Ben,

I did a brief trial with 'groups' before mailing the list. Wanted to check
if there are other alternatives specific to vxlan.

Thanks for confirming. Will there be any overhead in using 1 group for each
tunnel in a scaled environment.

Regards
Kapil

Thanks
Kapil

On 08-Aug-2016 9:54 PM, "Ben Pfaff"  wrote:

On Mon, Aug 08, 2016 at 04:49:49PM +0530, Kapil Adhikesavalu wrote:
> Want to check if there is an alternate way to append a output port to the
> existing flow.
>
>
>
> For example,
>
>
>
> Existing flow:
>
> cookie=0x0, duration=14279.412s, table=0, n_packets=0, n_bytes=0,
> idle_age=14316, dl_vlan=5 actions=output:2
>
>
>
> If I want to add output:4 to the above flow, the only way I know is using
> mod-flow
>
>
>
> ovs-ofctl mod-flow bridge "dl_vlan=5, actions=output:2,4"
>
>
>
> But is there any other way that I can use to just append 4? i might have
> about 20 ports which have to be dynamically appended.

You could use the OF1.1+ "groups" feature.
___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss


Re: [ovs-discuss] Append output port to an existing flow

2016-08-08 Thread Ben Pfaff
On Mon, Aug 08, 2016 at 04:49:49PM +0530, Kapil Adhikesavalu wrote:
> Want to check if there is an alternate way to append a output port to the
> existing flow.
> 
> 
> 
> For example,
> 
> 
> 
> Existing flow:
> 
> cookie=0x0, duration=14279.412s, table=0, n_packets=0, n_bytes=0,
> idle_age=14316, dl_vlan=5 actions=output:2
> 
> 
> 
> If I want to add output:4 to the above flow, the only way I know is using
> mod-flow
> 
> 
> 
> ovs-ofctl mod-flow bridge "dl_vlan=5, actions=output:2,4"
> 
> 
> 
> But is there any other way that I can use to just append 4? i might have
> about 20 ports which have to be dynamically appended.

You could use the OF1.1+ "groups" feature.
___
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss