juagargi / esdx-scion

1 stars 0 forks source link

topo reloader #5

Closed juagargi closed 2 years ago

juagargi commented 2 years ago

Introduces the topology reloader. The topo reloader is in charge to atomically find the best suitable router or create one, to add the interface from the information in a contract. It also removes the interface once the contract is expired.

The reloader logic lives in the Topology class, reloader package. It should be called from a task manager like Celery, cron, Advanced Python Scheduler, etc. For now it is tested by calling it manually. The Topology class should support now all possible topologies, from the seller or buyer perspective.

Brief changelog: