ofproto: Add NXM_NX_TUN_GBP_ID and NXM_NX_TUN_GBP_FLAGS
authorMadhu Challa <challa@noironetworks.com>
Sat, 14 Feb 2015 14:13:17 +0000 (15:13 +0100)
committerThomas Graf <tgraf@noironetworks.com>
Sat, 14 Feb 2015 14:31:04 +0000 (15:31 +0100)
commitac6073e3cda5764664f1a32b827c9721c8e10bbd
tree220aab1944007675457ce2435c3458d68e9e02f4
parentc7ecbf1e9c5d0cd849455f273f922c4cfb0c100f
ofproto: Add NXM_NX_TUN_GBP_ID and NXM_NX_TUN_GBP_FLAGS

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@noironetworks.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
19 files changed:
NEWS
lib/flow.c
lib/flow.h
lib/match.c
lib/match.h
lib/meta-flow.c
lib/meta-flow.h
lib/nx-match.c
lib/odp-util.c
lib/odp-util.h
lib/ofp-print.c
lib/ofp-util.c
lib/packets.h
ofproto/ofproto-dpif-xlate.c
tests/odp.at
tests/ofproto.at
tests/ovs-ofctl.at
tests/tunnel.at
utilities/ovs-ofctl.8.in