<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/interface-definitions/include/interface/dhcp-options.xml.i, branch mergify/bp/circinus/pr-3989</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fcircinus%2Fpr-3989</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fcircinus%2Fpr-3989'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-11-19T20:47:31+00:00</updated>
<entry>
<title>dhcp-client: T5760: add CLI option to pass user-class parameter</title>
<updated>2023-11-19T20:47:31+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-11-19T20:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=260645d0c6ff078cc89601f3a586195902f9c18e'/>
<id>urn:sha1:260645d0c6ff078cc89601f3a586195902f9c18e</id>
<content type='text'>
Example:
set interfaces ethernet eth0 dhcp-options user-class VyOS
or
set interfaces ethernet eth0 dhcp-options user-class 56:79:4f:53
</content>
</entry>
<entry>
<title>dhcp-client: T5760: add constraints for dhclient string options</title>
<updated>2023-11-19T20:43:15+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-11-19T20:43:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=bed1cd01904ef89b5d31bd47de0f230214900f16'/>
<id>urn:sha1:bed1cd01904ef89b5d31bd47de0f230214900f16</id>
<content type='text'>
The string data type specifies either an NVT ASCII string enclosed in double
quotes, or a series of octets specified in hexadecimal, separated by colons.

For example:

set interfaces ethernet eth0 dhcp-options client-id CLIENT-FOO
or
set interfaces ethernet eth0 dhcp-options client-id 43:4c:49:45:54:2d:46:4f:4f

As of now there was no input validation performed.
</content>
</entry>
<entry>
<title>T5226: Make host-name constraints to consistent everywhere</title>
<updated>2023-05-17T04:18:25+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-05-17T01:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=97f8933e7bf8bbc14f3176e0b86adb3e1d7cc424'/>
<id>urn:sha1:97f8933e7bf8bbc14f3176e0b86adb3e1d7cc424</id>
<content type='text'>
Make host-name constraints consistent across all definitions
</content>
</entry>
<entry>
<title>mtu: T4572: Add DHCP-option MTU to get values from DHCP-server</title>
<updated>2022-08-01T14:22:42+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-08-01T13:19:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=29b0ee30bf2622a40ca3d17e3f6b9e94e5b62072'/>
<id>urn:sha1:29b0ee30bf2622a40ca3d17e3f6b9e94e5b62072</id>
<content type='text'>
Ability to get MTU from DHCP-server and don't touch it per
any interface change if interface 'dhcp-options mtu' is
configured
</content>
</entry>
<entry>
<title>xml: T4385: provide building blocks for default route configuration</title>
<updated>2022-04-21T19:30:43+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-04-21T19:30:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6ae413b2ca10413b393a1343cbfb23126fa99a50'/>
<id>urn:sha1:6ae413b2ca10413b393a1343cbfb23126fa99a50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts: T4269: node.def generator should automatically add default values</title>
<updated>2022-02-24T21:47:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-02-24T21:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a68c9238111c6caee78bb28f8054b8f0cfa0e374'/>
<id>urn:sha1:a68c9238111c6caee78bb28f8054b8f0cfa0e374</id>
<content type='text'>
Since introducing the XML &lt;defaultValue&gt; node it was common, but redundant,
practice to also add a help string indicating which value would be used as
default if the node is unset.

This makes no sense b/c it's duplicated code/value/characters and prone to
error. The node.def scripts should be extended to automatically render the
appropriate default value into the CLI help string.

For e.g. SSH the current PoC renders:

$ cat templates-cfg/service/ssh/port/node.def
  multi:
  type: txt
  help: Port for SSH service (default: 22)
  val_help: u32:1-65535; Numeric IP port
  ...

Not all subsystems are already migrated to get_config_dict() and make use of
the defaults() call - those subsystems need to be migrated, first before the new
default is added to the CLI help.
</content>
</entry>
<entry>
<title>static: T4203: obey interface dhcp default route distance</title>
<updated>2022-02-20T17:49:55+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-02-20T09:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b693f929b63c0c847d9a3c6ee9160845ef501be1'/>
<id>urn:sha1:b693f929b63c0c847d9a3c6ee9160845ef501be1</id>
<content type='text'>
Commit 05aa22dc ("protocols: static: T3680: do not delete DHCP received routes")
added a bug whenever a static route is modified - the DHCP interface will
always end up with metric 210 - if there was a default route over a DHCP
interface.
</content>
</entry>
<entry>
<title>interfaces: dhcp-client: T3454: add reject option</title>
<updated>2021-04-02T23:14:28+00:00</updated>
<author>
<name>Charles Surett</name>
<email>surettcharles@gmail.com</email>
</author>
<published>2021-04-02T21:40:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e8535616aae2bf0c20aacee6a4d0761183bae6d9'/>
<id>urn:sha1:e8535616aae2bf0c20aacee6a4d0761183bae6d9</id>
<content type='text'>
Sometimes a modem might give a local IP before it retrieves a WAN IP.
This can be an issue with failover routes,
since the default route will get overridden.
</content>
</entry>
<entry>
<title>xml: T1579: re-arrange xml interface include building blocks</title>
<updated>2021-03-14T15:56:11+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-03-14T14:53:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=adea0e05a56cb25a9e40b46e30a7648c99907031'/>
<id>urn:sha1:adea0e05a56cb25a9e40b46e30a7648c99907031</id>
<content type='text'>
As the amount of include files now has reached a certain amount, it is getting
more and more crowsded, thuse introducing "per topic" subdirectories on the
filesystem to keep a clean structure makes sense.
</content>
</entry>
</feed>
