[ovs-dev] [PATCH 6/6] ofproto: Add NXM_NX_TUN_GBP_ID and NXM_NX_TUN_GBP_FLAGS
Ben Pfaff
blp at nicira.com
Fri Feb 13 21:30:53 UTC 2015
On Wed, Feb 04, 2015 at 04:45:11PM +0100, Thomas Graf wrote:
> From: Madhu Challa <challa at noironetworks.com>
>
> Introduces two new NXMs to represent VXLAN-GBP [0] fields.
>
> actions=load:0x10->NXM_NX_TUN_GBP_ID[],NORMAL
> tun_gbp_id=0x10,actions=drop
>
> This enables existing VXLAN tunnels to carry security label
> information such as a SELinux context to other network peers.
>
> The values are carried to/from the datapath using the attribute
> OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS.
>
> [0] https://tools.ietf.org/html/draft-smith-vxlan-group-policy-00
>
> Signed-off-by: Madhu Challa <challa at noironetworks.com>
Thanks for being patient with me on this.
meta-flow.h says that gbp_id is formatted in decimal and gbp_flags in
hex but ofp_print_packet_in() in ofp-print.c uses the opposite
convention.
I'm sure you can work that out so:
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev
mailing list