Make me and Dominique happy (aka add vxlan to bridge)

This commit is contained in:
Nico Schottelius 2020-01-24 14:15:48 +01:00
parent 93d7a409b1
commit b1319d654a

View file

@ -56,13 +56,14 @@ def main(arguments):
use_sudo=arguments['use_sudo']) use_sudo=arguments['use_sudo'])
vb._setup_vxlan() vb._setup_vxlan()
vb._setup_bridge() vb._setup_bridge()
vb._add_vxlan_to_bridge()
vb._route_network() vb._route_network()
if arguments['run_dns_ra']: if arguments['run_dns_ra']:
if not arguments['network'] or not arguments['vni']: if not arguments['network'] or not arguments['vni']:
raise UncloudException("Providing DNS/RAs requires a /64 IPv6 network and a VNI. You can use fd00::/64 and vni=1 for testing (non production!)") raise UncloudException("Providing DNS/RAs requires a /64 IPv6 network and a VNI. You can use fd00::/64 and vni=1 for testing (non production!)")
dnsra = DNSRA(route=arguments['network'], dnsra = DNSRA(route=arguments['network'],
vni=arguments['vni'], vni=arguments['vni'],
use_sudo=arguments['use_sudo']) use_sudo=arguments['use_sudo'])
dnsra._setup_dnsmasq() dnsra._setup_dnsmasq()