Skip to content

Refactor #812

@ytti

Description

@ytti

Reminder for myself, what things we need to fix when/if refactoring the core.

  1. Move state from memory to sqlite. Only keep in memory being fetched right now. So that we scale as number of threads, instead as number of devices
  2. Allow models to use multiple input methods, you may want to use ssh to send config, and ftp to actually receive it
  3. Extend support of creating multiple files from models, current use-case only conveniently supports creating files in new directories or in new repos. But for stacks, virtual firewalls etc. you might want to create multiple normal files
  4. Support multiple source files (multiple times same type, and/or combination of different types)
  5. Support multiple outputs
  6. Separate device interaction to own library, make Oxidized client of the library
  7. Flexible naming of files directory/%g/%t/%n:%p, replacement with group, type, node, port, model, command...
  8. Nested groups (unsure) /country/pop ... /customer/x
  9. one off run of all devices or just one devices, even while running daemon as well
  10. more hooks, for example when single rotation has been done
  11. testing (eeh, at least for refactored code)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions