summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-11-22 13:37:39 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-11-24 13:33:45 -0600
commit97022cea7fe4bb56919bcaa85568afac2420aba7 (patch)
treedc2f4e697bb4cdd6cf16ba4f391bf5a5419a84a4 /src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl
parent715b3c05b6f6bed436c7651d8a7897e8c120329b (diff)
downloadvyos-1x-97022cea7fe4bb56919bcaa85568afac2420aba7.tar.gz
vyos-1x-97022cea7fe4bb56919bcaa85568afac2420aba7.zip
graphql: T3993: normalize naming conventions
(cherry picked from commit fb2dc58d91bd93ba3aaa63d46e49e6609c18d46f)
Diffstat (limited to 'src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl')
-rw-r--r--src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl b/src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl
new file mode 100644
index 000000000..70de43183
--- /dev/null
+++ b/src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl
@@ -0,0 +1,9 @@
+set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} default-router {{ default_router }}
+set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} name-server {{ name_server }}
+set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} domain-name {{ domain_name }}
+set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} lease {{ lease }}
+set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} range {{ range }} start {{ start }}
+set service dhcp-server shared-network-name {{ shared_network_name }} subnet {{ subnet }} range {{ range }} stop {{ stop }}
+set service dns forwarding allow-from {{ dns_forwarding_allow_from }}
+set service dns forwarding cache-size {{ dns_forwarding_cache_size }}
+set service dns forwarding listen-address {{ dns_forwarding_listen_address }}