Skip to content

Commit

Permalink
[openvpn] Improved patch #108
Browse files Browse the repository at this point in the history
- avoid duplication of description
- use `reneg-sec` instead of `reneg_sec` in label
  • Loading branch information
nemesifier committed Jul 9, 2018
1 parent 405f884 commit 5f2b5bb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions netjsonconfig/backends/openvpn/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
"propertyOrder": 38,
},
"reneg_sec": {
"title": "reneg_sec",
"title": "reneg-sec",
"description": "Renegotiate data channel key after n seconds",
"type": "integer",
"default": 3600,
Expand All @@ -350,6 +350,8 @@
},
"remote_cert_tls": {
"title": "Remote certificate TLS",
"description": "Require that peer certificate was signed with an explicit "
"key usage and extended key usage based on RFC3280 TLS rules",
"type": "string",
"default": "",
"propertyOrder": 42
Expand Down Expand Up @@ -521,8 +523,6 @@
"propertyOrder": 41,
},
"remote_cert_tls": {
"description": "Require that peer certificate was signed with an explicit "
"key usage and extended key usage based on RFC3280 TLS rules",
"enum": ["", "server"],
"options": {"enum_titles": ["disabled", "server"]}
}
Expand Down Expand Up @@ -622,8 +622,6 @@
"propertyOrder": 45,
},
"remote_cert_tls": {
"description": "Require that peer certificate was signed with an explicit "
"key usage and extended key usage based on RFC3280 TLS rules",
"enum": ["", "client"],
"options": {"enum_titles": ["disabled", "client"]}
}
Expand Down

0 comments on commit 5f2b5bb

Please sign in to comment.