Family ovs_flow netlink specification¶
Summary¶
OVS flow configuration over generic netlink.
Operations¶
get¶
Get / dump OVS flow configuration and state
- value:
3
- attribute-set:
- do:
- request
- attributes:
[
key,ufid,ufid-flags]
- reply
- attributes:
[
key,ufid,mask,stats,actions]
- dump:
- request
- attributes:
[
key,ufid,ufid-flags]
- reply
- attributes:
[
key,ufid,mask,stats,actions]
new¶
Create OVS flow configuration in a data path
- value:
1
- attribute-set:
- do:
- request
- attributes:
[
key,ufid,mask,actions]
Multicast groups¶
ovs_flow
Definitions¶
ovs-header¶
- type:
struct
- doc:
Header for OVS Generic Netlink messages.
- members:
- dp-ifindex (
u32): ifindex of local port for datapath (0 to make a request not specific to a datapath).
- dp-ifindex (
ovs-flow-stats¶
- type:
struct
- members:
- n-packets (
u64): Number of matched packets.
- n-bytes (
u64): Number of matched bytes.
- n-packets (
ovs-key-ethernet¶
- type:
struct
- members:
- eth-src (
binary): - eth-dst (
binary):
- eth-src (
ovs-key-mpls¶
- type:
struct
- members:
- mpls-lse (
u32):
- mpls-lse (
ovs-key-ipv4¶
- type:
struct
- members:
- ipv4-src (
u32): - ipv4-dst (
u32): - ipv4-proto (
u8): - ipv4-tos (
u8): - ipv4-ttl (
u8): - ipv4-frag (
u8):
- ipv4-src (
ovs-key-ipv6¶
- type:
struct
- members:
- ipv6-src (
binary): - ipv6-dst (
binary): - ipv6-label (
u32): - ipv6-proto (
u8): - ipv6-tclass (
u8): - ipv6-hlimit (
u8): - ipv6-frag (
u8):
- ipv6-src (
ovs-key-ipv6-exthdrs¶
- type:
struct
- members:
- hdrs (
u16):
- hdrs (
ovs-frag-type¶
- name-prefix:
ovs-frag-type-
- enum-name:
ovs-frag-type
- type:
enum
- entries:
- none:
Packet is not a fragment.
- first:
Packet is a fragment with offset 0.
- later:
Packet is a fragment with nonzero offset.
- any:
ovs-key-tcp¶
- type:
struct
- members:
- tcp-src (
u16): - tcp-dst (
u16):
- tcp-src (
ovs-key-udp¶
- type:
struct
- members:
- udp-src (
u16): - udp-dst (
u16):
- udp-src (
ovs-key-sctp¶
- type:
struct
- members:
- sctp-src (
u16): - sctp-dst (
u16):
- sctp-src (
ovs-key-icmp¶
- type:
struct
- members:
- icmp-type (
u8): - icmp-code (
u8):
- icmp-type (
ovs-key-arp¶
- type:
struct
- members:
- arp-sip (
u32): - arp-tip (
u32): - arp-op (
u16): - arp-sha (
binary): - arp-tha (
binary):
- arp-sip (
ovs-key-nd¶
- type:
struct
- members:
- nd-target (
binary): - nd-sll (
binary): - nd-tll (
binary):
- nd-target (
ovs-key-ct-tuple-ipv4¶
- type:
struct
- members:
- ipv4-src (
u32): - ipv4-dst (
u32): - src-port (
u16): - dst-port (
u16): - ipv4-proto (
u8):
- ipv4-src (
ovs-action-push-vlan¶
- type:
struct
- members:
- vlan-tpid (
u16): Tag protocol identifier (TPID) to push.
- vlan-tci (
u16): Tag control identifier (TCI) to push.
- vlan-tpid (
ovs-ufid-flags¶
- name-prefix:
ovs-ufid-f-
- enum-name:
None
- type:
flags
- entries:
omit-keyomit-maskomit-actions
ovs-action-hash¶
- type:
struct
- members:
- hash-alg (
u32): Algorithm used to compute hash prior to recirculation.
- hash-basis (
u32): Basis used for computing hash.
- hash-alg (