netlink: specs: add ovs_vport new command
Add NEW to the spec, it was useful testing the fix for OvS input validation. Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://lore.kernel.org/r/20230814205627.2914583-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
956db0a13b
commit
ded67d9081
@ -81,6 +81,10 @@ attribute-sets:
|
||||
name-prefix: ovs-vport-attr-
|
||||
enum-name: ovs-vport-attr
|
||||
attributes:
|
||||
-
|
||||
name: unspec
|
||||
type: unused
|
||||
value: 0
|
||||
-
|
||||
name: port-no
|
||||
type: u32
|
||||
@ -120,6 +124,20 @@ attribute-sets:
|
||||
operations:
|
||||
name-prefix: ovs-vport-cmd-
|
||||
list:
|
||||
-
|
||||
name: new
|
||||
doc: Create a new OVS vport
|
||||
attribute-set: vport
|
||||
fixed-header: ovs-header
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
- name
|
||||
- type
|
||||
- upcall-pid
|
||||
- dp-ifindex
|
||||
- ifindex
|
||||
- options
|
||||
-
|
||||
name: get
|
||||
doc: Get / dump OVS vport configuration and state
|
||||
|
Loading…
Reference in New Issue
Block a user