Page MenuHomeDevCentral

Don't provide IPv6 route when not defined in config
ClosedPublic

Authored by dereckson on Sep 24 2020, 19:57.
Tags
None
Referenced Files
F2830679: D2333.id5873.diff
Fri, Apr 19, 13:17
F2830201: D2333.id5875.diff
Fri, Apr 19, 11:30
Unknown Object (File)
Wed, Apr 17, 22:33
Unknown Object (File)
Wed, Apr 17, 14:12
Unknown Object (File)
Wed, Apr 17, 14:12
Unknown Object (File)
Wed, Apr 17, 13:20
Unknown Object (File)
Wed, Apr 17, 11:25
Unknown Object (File)
Wed, Apr 17, 11:25
Subscribers
None

Details

Summary

On FreeBSD, /etc/rc.conf.d/routing/ipv6 was currently always provisioned,
with ipv6_defaultrouter="None" as content when pillar doesn't contain
any network ipv6_gateway variable.

Test Plan

Tested on router-001

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

For reference, and is not used as we want to provide routing for Linux too in the future.

This revision is now accepted and ready to land.Sep 24 2020, 20:01
router-001
$ salt-call --local state.apply roles/core/network
local:
----------
          ID: /etc/rc.conf.d/netif/ipv4_vmx0
    Function: file.managed
      Result: True
     Comment: File /etc/rc.conf.d/netif/ipv4_vmx0 is in the correct state
     Started: 19:59:59.218773
    Duration: 73.623 ms
     Changes:
----------
          ID: /etc/rc.conf.d/routing/ipv4
    Function: file.managed
      Result: True
     Comment: File /etc/rc.conf.d/routing/ipv4 is in the correct state
     Started: 19:59:59.292644
    Duration: 9.741 ms
     Changes:

Summary for local
------------
Succeeded: 2
Failed:    0
------------
Total states run:     2
Total run time:  83.364 ms