summaryrefslogtreecommitdiff
path: root/Documentation/netlink/specs/ovpn.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/netlink/specs/ovpn.yaml')
-rw-r--r--Documentation/netlink/specs/ovpn.yaml26
1 files changed, 13 insertions, 13 deletions
diff --git a/Documentation/netlink/specs/ovpn.yaml b/Documentation/netlink/specs/ovpn.yaml
index ba76426a542d..1b91045cee2e 100644
--- a/Documentation/netlink/specs/ovpn.yaml
+++ b/Documentation/netlink/specs/ovpn.yaml
@@ -4,7 +4,7 @@
#
# Copyright (c) 2024-2025, OpenVPN Inc.
#
-
+---
name: ovpn
protocol: genetlink
@@ -19,7 +19,7 @@ definitions:
-
type: enum
name: cipher-alg
- entries: [ none, aes-gcm, chacha20-poly1305 ]
+ entries: [none, aes-gcm, chacha20-poly1305]
-
type: enum
name: del-peer-reason
@@ -32,7 +32,7 @@ definitions:
-
type: enum
name: key-slot
- entries: [ primary, secondary ]
+ entries: [primary, secondary]
attribute-sets:
-
@@ -42,8 +42,8 @@ attribute-sets:
name: id
type: u32
doc: >-
- The unique ID of the peer in the device context. To be used to identify
- peers during operations for a specific device
+ The unique ID of the peer in the device context. To be used to
+ identify peers during operations for a specific device
checks:
max: 0xFFFFFF
-
@@ -382,7 +382,7 @@ operations:
-
name: peer-new
attribute-set: ovpn-peer-new-input
- flags: [ admin-perm ]
+ flags: [admin-perm]
doc: Add a remote peer
do:
pre: ovpn-nl-pre-doit
@@ -394,7 +394,7 @@ operations:
-
name: peer-set
attribute-set: ovpn-peer-set-input
- flags: [ admin-perm ]
+ flags: [admin-perm]
doc: modify a remote peer
do:
pre: ovpn-nl-pre-doit
@@ -406,7 +406,7 @@ operations:
-
name: peer-get
attribute-set: ovpn
- flags: [ admin-perm ]
+ flags: [admin-perm]
doc: Retrieve data about existing remote peers (or a specific one)
do:
pre: ovpn-nl-pre-doit
@@ -428,7 +428,7 @@ operations:
-
name: peer-del
attribute-set: ovpn-peer-del-input
- flags: [ admin-perm ]
+ flags: [admin-perm]
doc: Delete existing remote peer
do:
pre: ovpn-nl-pre-doit
@@ -446,7 +446,7 @@ operations:
-
name: key-new
attribute-set: ovpn
- flags: [ admin-perm ]
+ flags: [admin-perm]
doc: Add a cipher key for a specific peer
do:
pre: ovpn-nl-pre-doit
@@ -458,7 +458,7 @@ operations:
-
name: key-get
attribute-set: ovpn-keyconf-get
- flags: [ admin-perm ]
+ flags: [admin-perm]
doc: Retrieve non-sensitive data about peer key and cipher
do:
pre: ovpn-nl-pre-doit
@@ -473,7 +473,7 @@ operations:
-
name: key-swap
attribute-set: ovpn-keyconf-swap-input
- flags: [ admin-perm ]
+ flags: [admin-perm]
doc: Swap primary and secondary session keys for a specific peer
do:
pre: ovpn-nl-pre-doit
@@ -492,7 +492,7 @@ operations:
-
name: key-del
attribute-set: ovpn-keyconf-del-input
- flags: [ admin-perm ]
+ flags: [admin-perm]
doc: Delete cipher key for a specific peer
do:
pre: ovpn-nl-pre-doit