2023-07-01 23:57:08 +01:00
|
|
|
#!/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)
|
2023-09-10 01:34:38 +01:00
|
|
|
dhcp_server = DHCPServer(SETTINGS_FILE='settings.yaml')
|
2023-07-01 23:57:08 +01:00
|
|
|
dhcp_server.run(topology)
|