Commit a357ade2 authored by Pietsch, Martin's avatar Pietsch, Martin

add variables kea_dhcp4_config, kea_dhcp6_config, kea_control_agent_config,...

add variables kea_dhcp4_config, kea_dhcp6_config, kea_control_agent_config, kea_socket_type and kea_outbound_interface
parent 12dc5c46
......@@ -9,6 +9,21 @@ Requirements
Variables
---------
* kea_dhcp4_config
* description:
* This option contains the configuration file for Kea's IPv4 dhcp server.
* default: "kea-dhcp4.conf.j2"
* kea_dhcp6_config
* description:
* This option contains the configuration file for Kea's IPv6 dhcp server.
* default: "kea-dhcp6.conf.j2"
* kea_control_agent_config
* description:
* This option contains the configuration file for Kea's control agent.
* default: "kea-control-agent.conf.j2"
* kea_ha_mode
* description:
* This option defines the high availabilty mode.
......@@ -23,6 +38,18 @@ Variables
* The related IP address is marked with the service ID *dhcp-ha* (see well-known services).
* default: 8080
* kea_socket_type
* description:
* This option specifies the type of socket that will be opened on all interfaces on which the server listens.
* choices: ["raw", "udp"]
* default: "raw"
* kea_outbound_interface
* description:
* The option *kea_outbound_interface* specifies the method to send back a response. The value *same-as-inbound* defines that kea send back a response to the same interface on which it is received. *use-routing* uses the kernel's routing table to determine most appropriate interface and only works when kea_socket_type is set to "udp".
* choices: ["same-as-inbound", "use-routing"]
* default: "same-as-inbound"
Processes
=========
......
......@@ -16,4 +16,7 @@ kea_dhcp6_config: "kea-dhcp6.conf.j2"
kea_control_agent_config: "kea-control-agent.conf.j2"
kea_ha_mode: "none"
kea_control_agent_port: 8080
kea_outbound_interface: "same-as-inbound"
kea_socket_type: "raw"
......@@ -3,7 +3,8 @@
{% if (dhcp_network_interfaces["default"] | default([])) != [] %}
"interfaces-config": {
"interfaces": {{ dhcp_network_interfaces["default"] | to_json() }},
"dhcp-socket-type": "udp"
"dhcp-socket-type": "{{ kea_socket_type }}",
"outbound-interface": "{{ kea_outbound_interface }}"
},
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment