Page MenuHomePhabricator

vyatta-cfg-dhcp-serverProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

Vyatta DHCP server configuration mechanism

Recent Activity

Dec 21 2019

jjakob changed the status of T1806: Add missing documentation on how to use quote characters inside dhcp-server raw parameters from Open to In progress.

Added explanation on how to use quotes inside raw parameters to the docs.
https://github.com/vyos/vyos-documentation/pull/163

Dec 21 2019, 11:54 AM · Restricted Project

Dec 20 2019

c-po assigned T1806: Add missing documentation on how to use quote characters inside dhcp-server raw parameters to jjakob.
Dec 20 2019, 9:54 AM · Restricted Project

Dec 15 2019

jjakob added a comment to T1806: Add missing documentation on how to use quote characters inside dhcp-server raw parameters.

This was discussed previously: https://phabricator.vyos.net/T1129
Use """ which will be replaced with quotes when generating the isc dhcpd config.
https://github.com/vyos/vyos-1x/blob/current/src/conf_mode/dhcp_server.py#L813-L815

Dec 15 2019, 3:45 PM · Restricted Project

Dec 13 2019

elbandi added a comment to T1806: Add missing documentation on how to use quote characters inside dhcp-server raw parameters.

Yepp, the issue is the quotes in dhcp server config (like the sample line i wrote).
i think, duplicates functionality doesnt matter, there are already such duplications: global-parameters, subnet-parameters, etc. That are for raw settings, if someone want a magic things in dhcp. But adding normal options to static-mapping-parameters are just a workaround.

Dec 13 2019, 11:32 AM · Restricted Project
jjakob added a comment to T1806: Add missing documentation on how to use quote characters inside dhcp-server raw parameters.

Sorry, I misunderstood your issue, indeed adding quotes inside the parameters is not possible now. A reimplementation would be needed.

Dec 13 2019, 8:17 AM · Restricted Project

Dec 12 2019

jjakob added a comment to T1806: Add missing documentation on how to use quote characters inside dhcp-server raw parameters.

The current static-mapping-parameters can be used to add a quoted value, e.g.

static-mapping test {
                    ip-address x.x.x.x
                    mac-address yy:yy:yy:yy:yy:yy
                    static-mapping-parameters "option domain-name-servers 1.1.1.1, 9.9.9.9;"
                }

command

set service dhcp-server shared-network-name dhcpexample subnet 192.0.2.0/24 static-mapping example static-mapping-parameters "option domain-name-servers 192.0.2.11, 192.0.2.12;"
Dec 12 2019, 9:15 PM · Restricted Project

Nov 14 2019

elbandi created T1806: Add missing documentation on how to use quote characters inside dhcp-server raw parameters.
Nov 14 2019, 2:48 PM · Restricted Project

Feb 27 2019

varesa added a comment to T1270: DHCP Server on VIF interfaces.

e.g. could indeed be tested to make sure that it works

Feb 27 2019, 9:59 AM · Rejected
varesa added a comment to T1270: DHCP Server on VIF interfaces.

I think the issue you found might still be a valid one, even though it was not the same one that was originally talked about on IRC.

Feb 27 2019, 9:58 AM · Rejected
tmartinson closed T1270: DHCP Server on VIF interfaces as Resolved.

Needs more testing. I might have been testing the wrong thing. :(

Feb 27 2019, 9:49 AM · Rejected
tmartinson created T1270: DHCP Server on VIF interfaces.
Feb 27 2019, 9:31 AM · Rejected

Jul 24 2017

syncer created vyatta-cfg-dhcp-server.
Jul 24 2017, 8:57 PM