<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/dhcp-server, branch 1.4.0-epa1</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=1.4.0-epa1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-epa1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-08-02T09:12:23+00:00</updated>
<entry>
<title>T5427: Fix migration script arguments len expects 2 args</title>
<updated>2023-08-02T09:12:23+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-08-02T09:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1923b7b58795f0d9635ae0e8df110f591881bdf'/>
<id>urn:sha1:d1923b7b58795f0d9635ae0e8df110f591881bdf</id>
<content type='text'>
The script's name is always provided as the first argument sys.argv[0]
Expected length for argv is 2 (script itself + config file)

Change: 'if (len(argv) &lt; 1)' to 'if len(argv) &lt; 2'
</content>
</entry>
<entry>
<title>dhcp-server: T3672: migrate failover name option</title>
<updated>2021-09-19T15:04:56+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-09-19T15:04:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e83a113360ba18043edcf7f70689c7042dee2b37'/>
<id>urn:sha1:e83a113360ba18043edcf7f70689c7042dee2b37</id>
<content type='text'>
Commit 2985035b (dhcp-server: T3672: re-add missing "name" CLI option)
unfortunately did not add the name option to the migration script.
</content>
</entry>
<entry>
<title>dhcp-server: T3672: only one failover peer is supported</title>
<updated>2021-09-19T08:51:15+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-09-19T08:51:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a8ccf72c222caad8cd7aaca9bca773be39e87f5c'/>
<id>urn:sha1:a8ccf72c222caad8cd7aaca9bca773be39e87f5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhcp-server: T3838: rename dns-server to name-server node</title>
<updated>2021-09-18T19:48:53+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-09-18T19:48:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e2f9f4f4e8b2e961a58d935d09798ddb4e1e0460'/>
<id>urn:sha1:e2f9f4f4e8b2e961a58d935d09798ddb4e1e0460</id>
<content type='text'>
IPv4 DHCP uses "dns-server" to specify one or more name-servers for a given
pool. In order to use the same CLI syntax this should be renamed to name-server,
which is already the case for DHCPv6.
</content>
</entry>
<entry>
<title>dhcp-server: T1968: allow multiple static-routes to be configured</title>
<updated>2021-09-18T19:27:47+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-09-18T19:27:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a4440bd589db645eb99f343a8163e188a700774c'/>
<id>urn:sha1:a4440bd589db645eb99f343a8163e188a700774c</id>
<content type='text'>
vyos@vyos# show service dhcp-server
 shared-network-name LAN {
     subnet 10.0.0.0/24 {
         default-router 10.0.0.1
         dns-server 194.145.150.1
         lease 88
         range 0 {
             start 10.0.0.100
             stop 10.0.0.200
         }
         static-route 192.168.10.0/24 {
             next-hop 10.0.0.2
         }
         static-route 192.168.20.0/24 {
             router 10.0.0.2
         }
     }
 }
</content>
</entry>
<entry>
<title>[dhcp-server]: bugfix on wrong exit code caused due to wrong indention</title>
<updated>2019-04-26T08:46:04+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2019-04-26T08:45:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d46523b92a2e5959da66973343092c819fea6285'/>
<id>urn:sha1:d46523b92a2e5959da66973343092c819fea6285</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[dhcp-server] T1335: bugfix when migrating authoritative section</title>
<updated>2019-04-20T14:26:52+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2019-04-20T14:25:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f8b7e3b2b20d143643bfac72db68943dfc9046f1'/>
<id>urn:sha1:f8b7e3b2b20d143643bfac72db68943dfc9046f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T778: T782: dhcp-server: XML and Python rewrite</title>
<updated>2018-08-27T21:11:42+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-08-16T19:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=77c1b3457439889846380c5fd5da30cd11e253d9'/>
<id>urn:sha1:77c1b3457439889846380c5fd5da30cd11e253d9</id>
<content type='text'>
This commit changes in addtion the DHCP server config syntax as defined
in "T782: Cleanup dhcp-server configuration".

Replace boolean parameter from the folowing nodes and make it valueless.
This requires a migration script which is tracked with this task

* set service dhcp-server shared-network-name &lt;xyz&gt; subnet 172.31.0.0/24
  ip-forwarding enable (true|false)
* set service dhcp-server shared-network-name &lt;xyz&gt; authoritative (true|false)
* set service dhcp-server disabled (true|false)
* set service dhcp-server dynamic-dns-update enable (true|fals)
* set service dhcp-server hostfile-update (enable|disable)

Replace the nested start/stop ip address from "subnet 172.31.0.0/24 start
172.31.0.101 stop 172.31.0.149" to "subnet 172.31.0.0/24 range &lt;foo&gt; start" and
"subnet 172.31.0.0/24 range &lt;foo&gt; stop" where foo can be any character or number.

In addition the vyatta-cfg-dhcp-server package used it's own init/config file
for service startup. This has been migrated to the vanilla Debian files.

Copy 'on-dhcp-event.sh' from vyatta-cfg-shcp-server package commit 4749e648bca6.
</content>
</entry>
</feed>
