Commit Graph

18 Commits

Author SHA1 Message Date
Jean-Gabriel Gill-Couture
478fd9e941 feat: Add score and opnsense implementation to register dhcp leases in dns server 2024-12-18 12:38:04 -05:00
Jean-Gabriel Gill-Couture
18c67adfad feat: Harmony now sets dhcp next boot server for PXE on okd setup 2024-12-17 22:45:37 -05:00
Jean-Gabriel Gill-Couture
b15df3c93f feat: OKD Dhcp config works and is actually savec on opnsense firewall, its alive!! First real run on wk cluster 2024-12-17 15:15:41 -05:00
jeangab
9c18c8be6d Integrated opnsense-config API in harmony, pretty easy, pretty happy. very much encouraging 2024-11-26 15:58:42 -05:00
Jean-Gabriel Gill-Couture
d30e909b83 feat(opnsense-config): Public API now complete for dhcp add_static_mapping and remove_static_mapping, not perfect but good enough to move forward 2024-11-23 15:07:04 -05:00
Jean-Gabriel Gill-Couture
b14d0ab686 feat: Can now save configuration, refactored repository into manager as it also executes commands to reload services and calling it a repository was found misleading by @stremblay" 2024-11-22 14:15:23 -05:00
Jean-Gabriel Gill-Couture
9a37aa1321 feat(opnsense-config): Public API now a bit simpler, added support for latest opnsense version in xml types 2024-11-21 21:49:38 -05:00
Jean-Gabriel Gill-Couture
cc9bcb902c feat: DhcpConfig can now effectively manage a config file to add a static map entry 2024-11-18 17:05:48 -05:00
Jean-Gabriel Gill-Couture
65c395aeae wip(opnsense-config): Refactoring to improve usability and features 2024-11-14 23:45:13 -05:00
jeangab
85786cf648 feat(opnsense-config): ip_in_range function works 2024-11-07 09:22:22 -05:00
0700265622 wip: Implement add static mapping public function 2024-11-07 07:49:13 -05:00
Jean-Gabriel Gill-Couture
50ca6afb47 feat(opnsense-config): Xml parsing now works great to parse a full production config. Only some element ordering that is not consistent across multiple elements of the same type sometimes does not match but moving some stuff around gets us easily to a 100% matching file 2024-11-06 16:23:08 -05:00
Jean-Gabriel Gill-Couture
ab59923dae feat(opnsense-config): Add MaybeString type to preserve xml serialization of empty elements 2024-11-02 13:51:12 -04:00
Jean-Gabriel Gill-Couture
ebdc83b21b wip: RawXml ser/de works well, still a few more complex cases to test but seems good wnough for the opnsense config case 2024-10-20 07:39:41 -04:00
Jean-Gabriel Gill-Couture
e0acbf304b wip: Full opnsense deserializer almost done, works on a slightly cheated config file, next step is to try the real config file 2024-10-18 00:48:57 -04:00
Jean-Gabriel Gill-Couture
b332723431 feat(opnsense-config): Refactor config to use a repository trait, implement file based and ssh, save a full config file 2024-10-14 16:13:20 -04:00
Jean-Gabriel Gill-Couture
8459c38499 wip(opnsense-config): It compiles now, still have to test it 2024-10-14 07:53:02 -04:00
Jean-Gabriel Gill-Couture
32cea6c3ff wip: New crate opnsense-config 2024-10-13 08:48:56 -04:00