Family ovs_vport
netlink specification¶
Contents
Operations¶
new¶
Create a new OVS vport
- attribute-set
- do
- request
- attributes
[
name
,type
,upcall-pid
,ifindex
,options
]
del¶
Delete existing OVS vport from a data path
- attribute-set
- do
- request
- attributes
[
port-no
,type
,name
]
get¶
Get / dump OVS vport configuration and state
- attribute-set
- do
- request
- attributes
[
name
]
- reply
- attributes
[
port-no
,type
,name
,upcall-pid
,stats
,ifindex
,netnsid
,upcall-stats
]
- dump
- request
- attributes
[
name
]
- reply
- attributes
[
port-no
,type
,name
,upcall-pid
,stats
,ifindex
,netnsid
,upcall-stats
]
Multicast groups¶
ovs_vport
Definitions¶
ovs-header¶
- type
struct
- members
- dp-ifindex (
u32
)
- dp-ifindex (
vport-type¶
- type
enum
- enum-name
ovs-vport-type
- name-prefix
ovs-vport-type-
- entries
unspec
netdev
internal
gre
vxlan
geneve
vport-stats¶
- type
struct
- enum-name
ovs-vport-stats
- members
- rx-packets (
u64
) - tx-packets (
u64
) - rx-bytes (
u64
) - tx-bytes (
u64
) - rx-errors (
u64
) - tx-errors (
u64
) - rx-dropped (
u64
) - tx-dropped (
u64
)
- rx-packets (