Refactor Node daemon classes #128
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently these classes were implemented ad-hoc as I learned Python. They need some serious cleanup and refactoring to get them to maintainable standards.
Leverage new knowledge about Classes (instance, class variables, class and static methods, etc.) to refactor these and ensure optimal clarity and maintainability.
Start with the NodeInstance class (and its related MetadataAPI and DNSAggregator classes) and proceed from there.
mentioned in issue #136
Most of this has been completed.
The node Daemon.py was completely refactored and rewritten from scratch to split more elements into
util/
modules, and rework some of the timing and control.Mode of the daemon classes were untouched, since for the most part they work very well even after careful review, though some could be cleaned up slightly in the future.
Going to consider this one closed.
closed