schema: rename open-flow server-certificate property

When connecting to a controller, the certificate is actually used for
client authentication, so the server-certificate name is inaccurate.
Rename the property to ssl-certificate instead.

While at it, also improve the descriptions of the ca-certificate and
private-key properties.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel
2021-08-25 13:12:23 +03:00
committed by John Crispin
parent 8c8551fbcc
commit 8c3b156ed0
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ set openvswitch.ovs.disabled=0
set openvswitch.ovs.disabled="0"
set openvswitch.ovs.ca={{ s(files.add_anonymous(location, 'ca', b64dec(open_flow.ca_certificate))) }}
set openvswitch.ovs.cert={{ s(files.add_anonymous(location, 'cert', b64dec(open_flow.server_certificate))) }}
set openvswitch.ovs.cert={{ s(files.add_anonymous(location, 'cert', b64dec(open_flow.ssl_certificate))) }}
set openvswitch.ovs.key={{ s(files.add_anonymous(location, 'key', b64dec(open_flow.private_key))) }}
delete openvswitch.@ovs_bridge[0]

View File

@@ -10,13 +10,13 @@ properties:
example: 192.168.10.1
ca-certificate:
description:
The local servers CA bundle.
The CA certificate.
type: string
server-certificate:
ssl-certificate:
description:
The local servers certificate.
The SSL certificate.
type: string
private-key:
description:
The local servers private key/
The SSL private key.
type: string

View File

@@ -1729,7 +1729,7 @@
"ca-certificate": {
"type": "string"
},
"server-certificate": {
"ssl-certificate": {
"type": "string"
},
"private-key": {