puppet-ironic/releasenotes/notes/inspector-dnsmasq-classless-static-route-support-71d8b7705b2683d4.yaml
Harald Jensås c192ee40ac Add support for classless-static-routes in inspector dnsmasq
Advanced users may need to push advanced routing to the client.
Add the possbility to configure the classless-static-route
(dhcp option: 121) in ironic inspectors dnsmasq.

Change-Id: I2229d386bff8ae63e4efe8406770b2b378a1991f
Related-Bug: #1819464
2019-03-12 18:27:39 +01:00

19 lines
808 B
YAML

---
features:
- |
*Classless static routes* can now be configured for ironic inspector
subnets. The ``dnsmasq_ip_subnets`` has been extended to support the
``classless_static_routes`` key in a subnet defention. This allow advanced
routing options to be pushed to the inspection ramdisk. For example::
dnsmasq_ip_subnets = [
{ 'tag' => 'subnet2',
'ip_range' => '192.168.2.100,192.168.2.200',
'netmask' => '255.255.255.0',
'gateway' => '192.168.2.254',
'classless_static_routes' => [
{'destination' => '1.2.3.0/24', 'nexthop' => '192.168.2.1'},
{'destination' => '4.5.6.0/24', 'nexthop' => '192.168.2.1'}],
},
]