mirror of
				https://github.com/openvswitch/ovs
				synced 2025-10-29 15:28:56 +00:00 
			
		
		
		
	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>
This commit is contained in:
		
				
					committed by
					
						 Thomas Graf
						Thomas Graf
					
				
			
			
				
	
			
			
			
						parent
						
							c7ecbf1e9c
						
					
				
				
					commit
					ac6073e3cd
				
			| @@ -415,6 +415,34 @@ enum OVS_PACKED_ENUM mf_field_id { | ||||
|      */ | ||||
|     MFF_TUN_TOS, | ||||
|  | ||||
|     /* "tun_gbp_id". | ||||
|      * | ||||
|      * VXLAN Group Policy ID | ||||
|      * | ||||
|      * Type: be16. | ||||
|      * Maskable: bitwise. | ||||
|      * Formatting: decimal. | ||||
|      * Prerequisites: none. | ||||
|      * Access: read/write. | ||||
|      * NXM: NXM_NX_TUN_GBP_ID(38) since v2.4. | ||||
|      * OXM: none. | ||||
|      */ | ||||
|     MFF_TUN_GBP_ID, | ||||
|  | ||||
|     /* "tun_gbp_flags". | ||||
|      * | ||||
|      * VXLAN Group Policy flags | ||||
|      * | ||||
|      * Type: u8. | ||||
|      * Maskable: bitwise. | ||||
|      * Formatting: hexadecimal. | ||||
|      * Prerequisites: none. | ||||
|      * Access: read/write. | ||||
|      * NXM: NXM_NX_TUN_GBP_FLAGS(39) since v2.4. | ||||
|      * OXM: none. | ||||
|      */ | ||||
|     MFF_TUN_GBP_FLAGS, | ||||
|  | ||||
|     /* "metadata". | ||||
|      * | ||||
|      * A scratch pad value standardized in OpenFlow 1.1+.  Initially zero, at | ||||
|   | ||||
		Reference in New Issue
	
	Block a user