Hi,

In short you would need to:
- define a new match structure, that contains all the protocols from the 
standard you need, plus your shim_header field
- extend the switch code - in particular the parse-tree - to be able to parse 
the datapath packets containing your shim_header
- optionally define new actions to pop / push / set the header.

At [1] you can find a bit more detailed description for how IPv6 could be added 
to the switch available from [2]. Adding the shim_header should be similar.

Regards,
Zoltan.

[1] https://openflow.stanford.edu/display/of11softswitch/Home
[2] https://github.com/TrafficLab/of11softswitch

________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Alex Chen
Sent: Monday, September 12, 2011 9:07 PM
To: [email protected]
Subject: [openflow-discuss] handling self-defined shim header in OF 1.1?

Hi all,

I am trying to use OpenFlow for processing IP Packet. In my scenario, I have to 
introduce a shim header between the IP header and the payload. This shim header 
includes a flow ID. I wish the OpenFlow router could decide the forwarding port 
according to this ID. However, it does not belong to any of the 14-tuple 
matching field. I am aware of a new 'metadata' filed in OF 1.1. Do you think 
it's possible to leverage this field for matching my self-defined shim header? 
Or is there any alternative ways for handling this? Thanks a lot!

Best regards,
Alex
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to