metal-stack / metal-api

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more
GNU Affero General Public License v3.0
128 stars 9 forks source link

IPv6 Support with single stack networks #544

Open majst01 opened 3 months ago

majst01 commented 3 months ago

Actions Required

The ChildPrefixLength property was removed from the Partition Entity. Every TenantSupernetwork must now be configured with ChildPrefixLength accordingly.
This is done during startup in the database migration step and set to the same value as in the `Partition`.

Depends on:

replaces #152

TODO:

majst01 commented 2 months ago

With: https://docs.frrouting.org/en/latest/bgp.html#clicmd-neighbor-A.B.C.D-activate

test6# show bgp ipv6 unicast
BGP table version is 4, local router ID is 169.254.255.255, vrf id 0
Default local pref 100, local AS 4210000020
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

    Network          Next Hop            Metric LocPrf Weight Path
 *> ::/0             fe80::a8c1:abff:fea3:c28f(test6)
                                          1024         32768 ?
 *> fd00:a::1/128    ::(test6)                0         32768 ?
 *= fd00:a::2/128    lan1                                   0 4200000012 4210000030 ?
 *>                  lan0                                   0 4200000011 4210000030 ?
Gerrit91 commented 2 months ago

This one is only kept for reference and is superseded by #549.