diff --git a/docs/source/backends/openvpn.rst b/docs/source/backends/openvpn.rst index 367df0157..bdbd44817 100644 --- a/docs/source/backends/openvpn.rst +++ b/docs/source/backends/openvpn.rst @@ -163,14 +163,14 @@ Required properties: +--------------------------+---------+--------------+-------------------------------------------------------------+ | ``float`` | boolean | ``False`` | | +--------------------------+---------+--------------+-------------------------------------------------------------+ +| ``auth_nocache`` | boolean | ``False`` | | ++--------------------------+---------+--------------+-------------------------------------------------------------+ | ``fast_io`` | boolean | ``False`` | | +--------------------------+---------+--------------+-------------------------------------------------------------+ | ``log`` | string | | filesystem path | +--------------------------+---------+--------------+-------------------------------------------------------------+ | ``verb`` | integer | ``1`` | from ``0`` (disabled) to ``11`` (very verbose) | +--------------------------+---------+--------------+-------------------------------------------------------------+ -| ``auth_nocache`` | boolean | ``False`` | | -+--------------------------+---------+--------------+-------------------------------------------------------------+ Client specific settings ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/netjsonconfig/backends/openvpn/schema.py b/netjsonconfig/backends/openvpn/schema.py index 023d80dad..3dcee2153 100644 --- a/netjsonconfig/backends/openvpn/schema.py +++ b/netjsonconfig/backends/openvpn/schema.py @@ -404,6 +404,17 @@ "format": "checkbox", "propertyOrder": 43, }, + "auth_nocache": { + "title": "auth nocache", + "description": ( + "Immediately forget username/password" + "inputs after they are used" + ), + "type": "boolean", + "default": False, + "format": "checkbox", + "propertyOrder": 49, + }, "fast_io": { "title": "fast IO", "description": "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a " @@ -445,17 +456,6 @@ "description": "Set output verbosity for logging and debugging", "propertyOrder": 52, }, - "auth_nocache": { - "title": "auth nocache", - "description": ( - "Cause OpenVPN to immediately forget username/password" - "inputs after they are used" - ), - "type": "boolean", - "default": False, - "format": "checkbox", - "propertyOrder": 53, - }, }, }, "client": {