diff options
Diffstat (limited to 'doc/sphinx/grammar/grammar-d2-parser.rst')
-rw-r--r-- | doc/sphinx/grammar/grammar-d2-parser.rst | 90 |
1 files changed, 89 insertions, 1 deletions
diff --git a/doc/sphinx/grammar/grammar-d2-parser.rst b/doc/sphinx/grammar/grammar-d2-parser.rst index 920d973a59..6aed9925c5 100644 --- a/doc/sphinx/grammar/grammar-d2-parser.rst +++ b/doc/sphinx/grammar/grammar-d2-parser.rst @@ -81,6 +81,7 @@ This grammar is generated from ``d2_parser.yy``. See :ref:`dhcp-ddns-server` for | reverse_ddns | tsig_keys | control_socket + | control_sockets | hooks_libraries | loggers | user_context @@ -218,20 +219,107 @@ This grammar is generated from ``d2_parser.yy``. See :ref:`dhcp-ddns-server` for control_socket ::= "control-socket" ":" "{" control_socket_params "}" + control_sockets ::= "control-sockets" ":" "[" control_socket_list "]" + + control_socket_list ::= + | not_empty_control_socket_list + + not_empty_control_socket_list ::= control_socket_entry + | not_empty_control_socket_list "," control_socket_entry + | not_empty_control_socket_list "," + + control_socket_entry ::= "{" control_socket_params "}" + control_socket_params ::= control_socket_param | control_socket_params "," control_socket_param | control_socket_params "," control_socket_param ::= control_socket_type | control_socket_name + | control_socket_address + | control_socket_port + | authentication + | trust_anchor + | cert_file + | key_file + | cert_required | user_context | comment | unknown_map_entry - control_socket_type ::= "socket-type" ":" STRING + control_socket_type ::= "socket-type" ":" control_socket_type_value + + control_socket_type_value ::= "unix" + | "http" + | "https" control_socket_name ::= "socket-name" ":" STRING + control_socket_address ::= "socket-address" ":" STRING + + control_socket_port ::= "socket-port" ":" INTEGER + + trust_anchor ::= "trust-anchor" ":" STRING + + cert_file ::= "cert-file" ":" STRING + + key_file ::= "key-file" ":" STRING + + cert_required ::= "cert-required" ":" BOOLEAN + + authentication ::= "authentication" ":" "{" auth_params "}" + + auth_params ::= auth_param + | auth_params "," auth_param + | auth_params "," + + auth_param ::= auth_type + | realm + | directory + | clients + | comment + | user_context + | unknown_map_entry + + auth_type ::= "type" ":" auth_type_value + + auth_type_value ::= "basic" + + realm ::= "realm" ":" STRING + + directory ::= "directory" ":" STRING + + clients ::= "clients" ":" "[" clients_list "]" + + clients_list ::= + | not_empty_clients_list + + not_empty_clients_list ::= basic_auth + | not_empty_clients_list "," basic_auth + | not_empty_clients_list "," + + basic_auth ::= "{" clients_params "}" + + clients_params ::= clients_param + | clients_params "," clients_param + | clients_params "," + + clients_param ::= user + | user_file + | password + | password_file + | user_context + | comment + | unknown_map_entry + + user ::= "user" ":" STRING + + user_file ::= "user-file" ":" STRING + + password ::= "password" ":" STRING + + password_file ::= "password-file" ":" STRING + hooks_libraries ::= "hooks-libraries" ":" "[" hooks_libraries_list "]" hooks_libraries_list ::= |