Re: [ovs-discuss] Bitmask

2019-01-09 Thread Ben Pfaff
On Mon, Jan 07, 2019 at 07:45:05PM +0200, George Papathanail wrote:
> I have instantiate a topology in Mininet with 2hosts and 3 switches.
> I have to encode the output ports of the switches on packet header in order
> to reduce the state of the switches.
> 
> For example if the output ports are 3 , 5 , 4 the mac is 03:05:04:00:00:00.
> (if i understand well).
> The second step is to create a pointer that show to the next hop output
> port.

OVS has an action to output to a port taken from some of the bits in a
field.  Search the ovs-ofctl(8) manpage for "output:src" for a
description.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Bitmask

2019-01-07 Thread George Papathanail
I have instantiate a topology in Mininet with 2hosts and 3 switches.
I have to encode the output ports of the switches on packet header in order
to reduce the state of the switches.

For example if the output ports are 3 , 5 , 4 the mac is 03:05:04:00:00:00.
(if i understand well).
The second step is to create a pointer that show to the next hop output
port.

I'm trying to implement this.
[image: bitmask.png]



P.S I' m new to the openflow and sdn

Thank you




Απαλλαγμένο
από ιούς. www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Στις Δευ, 7 Ιαν 2019 στις 7:23 μ.μ., ο/η Justin Pettit 
έγραψε:

>
> > On Jan 7, 2019, at 7:36 AM, George Papathanail 
> wrote:
> >
> > Is it possible to generate a pointer with ovs-ofctl command?
>
> What do you mean?
>
> --Justin
>
>
>
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Bitmask

2019-01-07 Thread Justin Pettit


> On Jan 7, 2019, at 7:36 AM, George Papathanail  
> wrote:
> 
> Is it possible to generate a pointer with ovs-ofctl command?

What do you mean?

--Justin



___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Bitmask

2019-01-07 Thread George Papathanail
Hello,

Is it possible to generate a pointer with ovs-ofctl command?

Thank you
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Bitmask

2019-01-07 Thread Justin Pettit
I'm not sure that I entirely understand what you're trying to accomplish, but 
you can match and modify both the MAC addresses and TTL fields using ovs-ofctl, 
 OVS doesn't support arbitrary math on fields (unless you count decrementing 
the TTL), however, if you have a limited range, you could just use a number of 
hard-coded flows that match on a particular value and then modify it 
appropriately.

I'm not sure if that's helpful or not...

--Justin


> On Jan 7, 2019, at 9:45 AM, George Papathanail  
> wrote:
> 
> I have instantiate a topology in Mininet with 2hosts and 3 switches.
> I have to encode the output ports of the switches on packet header in order 
> to reduce the state of the switches.
> 
> For example if the output ports are 3 , 5 , 4 the mac is 03:05:04:00:00:00. 
> (if i understand well).
> The second step is to create a pointer that show to the next hop output port.
> 
> I'm trying to implement this.
> 
> 
> 
> 
> P.S I' m new to the openflow and sdn
> 
> Thank you
> 
>  
> 
>   Απαλλαγμένο από ιούς. www.avast.com
> 
> Στις Δευ, 7 Ιαν 2019 στις 7:23 μ.μ., ο/η Justin Pettit  
> έγραψε:
> 
> > On Jan 7, 2019, at 7:36 AM, George Papathanail  
> > wrote:
> > 
> > Is it possible to generate a pointer with ovs-ofctl command?
> 
> What do you mean?
> 
> --Justin
> 
> 
> 

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss