Commit ded67d90 authored by Jakub Kicinski's avatar Jakub Kicinski

netlink: specs: add ovs_vport new command

Add NEW to the spec, it was useful testing the fix for OvS
input validation.
Reviewed-by: default avatarDonald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20230814205627.2914583-3-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 956db0a1
...@@ -81,6 +81,10 @@ attribute-sets: ...@@ -81,6 +81,10 @@ attribute-sets:
name-prefix: ovs-vport-attr- name-prefix: ovs-vport-attr-
enum-name: ovs-vport-attr enum-name: ovs-vport-attr
attributes: attributes:
-
name: unspec
type: unused
value: 0
- -
name: port-no name: port-no
type: u32 type: u32
...@@ -120,6 +124,20 @@ attribute-sets: ...@@ -120,6 +124,20 @@ attribute-sets:
operations: operations:
name-prefix: ovs-vport-cmd- name-prefix: ovs-vport-cmd-
list: 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 name: get
doc: Get / dump OVS vport configuration and state doc: Get / dump OVS vport configuration and state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment