File: inspector-dnsmasq-classless-static-route-support-71d8b7705b2683d4.yaml

package info (click to toggle)
puppet-module-ironic 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,664 kB
  • sloc: ruby: 5,888; python: 38; sh: 10; makefile: 10
file content (18 lines) | stat: -rw-r--r-- 808 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
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'}],
          },
      ]