Midas/midas
2023-10-08 00:29:00 +01:00

16 lines
426 B
Python
Executable File

#!/usr/bin/env python3
from utils.log import get_loggers
from topology.midast import Topology
from provisioning.midasp import Provisioning
from dhcp.midasd import DHCPServer
if __name__ == '__main__':
get_loggers()
topology = Topology()
topology.build()
provisioning = Provisioning()
provisioning.render(topology)
dhcp_server = DHCPServer(SETTINGS_FILE='settings.yaml')
dhcp_server.run(topology)