summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDonald Hunter <donald.hunter@gmail.com>2023-08-24 15:22:21 +0100
committerJakub Kicinski <kuba@kernel.org>2023-08-25 18:58:34 -0700
commit52d08fda3516145f26d71af3c19f709e62f928d2 (patch)
treed78af62ac946dad4e975fbcc60b1771699ea0607 /Documentation
parenta02430c06f56931675f19a914b11a960607b2505 (diff)
doc/netlink: Add delete operation to ovs_vport spec
Add del operation to the spec to help with testing. Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Link: https://lore.kernel.org/r/20230824142221.71339-1-donald.hunter@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/netlink/specs/ovs_vport.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/netlink/specs/ovs_vport.yaml b/Documentation/netlink/specs/ovs_vport.yaml
index ef298b001445..f65ce62cd60d 100644
--- a/Documentation/netlink/specs/ovs_vport.yaml
+++ b/Documentation/netlink/specs/ovs_vport.yaml
@@ -139,9 +139,20 @@ operations:
- ifindex
- options
-
+ name: del
+ doc: Delete existing OVS vport from a data path
+ attribute-set: vport
+ fixed-header: ovs-header
+ do:
+ request:
+ attributes:
+ - dp-ifindex
+ - port-no
+ - type
+ - name
+ -
name: get
doc: Get / dump OVS vport configuration and state
- value: 3
attribute-set: vport
fixed-header: ovs-header
do: &vport-get-op