L2switch rule for sending everything to the controller


sudhanshu naithani
 

Hello All,

I am trying to change a dropAll rule in l2switch and would like to change it so everything goes to the controller. For it I am trying to build EthernetMatchBuilder as following:-

EthernetMatchBuilder ethernetMatchBuilder = new EthernetMatchBuilder().setEthernetType(new EthernetTypeBuilder().setType(new EtherType(Long.valueOf(KnownEtherType.XXXXX.getIntValue()))).build());

Here I would like to know what should be in place of XXXXX for sending anything to the controller? Like for sending  ARP to the controller we replace XXXXX with Arp.

Could anyone please help me with this?

Thank you.

Warm Regards-
Sudhanshu Naithani
 


Luis Gomez
 

I am not sure you checked this already, but l2switch have config options to disable/enable all flow types in the application:


BR/Luis

On Jul 14, 2021, at 3:05 AM, sudhanshu naithani <sudhanshunaithani30@...> wrote:

Hello All,

I am trying to change a dropAll rule in l2switch and would like to change it so everything goes to the controller. For it I am trying to build EthernetMatchBuilder as following:-

EthernetMatchBuilder ethernetMatchBuilder = new EthernetMatchBuilder().setEthernetType(new EthernetTypeBuilder().setType(new EtherType(Long.valueOf(KnownEtherType.XXXXX.getIntValue()))).build());

Here I would like to know what should be in place of XXXXX for sending anything to the controller? Like for sending  ARP to the controller we replace XXXXX with Arp.

Could anyone please help me with this?

Thank you.

Warm Regards-
Sudhanshu Naithani