johnride
  • Joined on 2024-02-06
johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:19 +00:00
feat/opnsense-codegen

Here this is a practical but very naive way to do that. We should be using harmony_config/secret but we have a chicken-and-egg problem where we want to use openbao as the secret store but it needs to be initialized first.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:18 +00:00
feat/opnsense-codegen

We should have a clean module to handle directories, not hardcode harmony everywhere.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:18 +00:00
feat/opnsense-codegen

Almost every time we ran this there was a longer delay than the default wait-for timeout (30 or 45 minutes iirc). We should take that into account.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:17 +00:00
feat/opnsense-codegen

This is a bit too opinionated at this level, we should let the score caller decide if he wants to expose them publicly.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:16 +00:00
feat/opnsense-codegen

Ideally this would be a specific type for KvmHost with the relevant validation logic and a macro to make it easy to hardcode it type-safely.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:15 +00:00
feat/opnsense-codegen

We have better types for mac address in harmony_types

johnride pushed to feat/opnsense-codegen-type-safe at NationTech/harmony 2026-04-06 16:26:47 +00:00
68773e1e1e refactor: redesign API codegen for end-to-end type safety
b0ace7e0ca refactor: replace json!() with typed structs in firewall.rs
0201c510f0 refactor: replace json!() with typed structs in dnat.rs
ea5bf305b5 feat: add PHP controller parser and typed API client codegen
Compare 4 commits »
johnride pushed to feat/opnsense-codegen-type-safe at NationTech/harmony 2026-04-06 15:14:58 +00:00
a032be6ce7 fix: codegen handles container elements in ArrayField and adds opn_map serializer
johnride created branch feat/opnsense-codegen-type-safe in NationTech/harmony 2026-04-06 15:14:58 +00:00
johnride closed pull request NationTech/harmony#252 2026-04-06 14:24:06 +00:00
feat: harmony_asset crate to manage assets, local, s3, http urls, etc
johnride commented on pull request NationTech/harmony#252 2026-04-06 14:24:05 +00:00
feat: harmony_asset crate to manage assets, local, s3, http urls, etc

Already merged into way too big branch opnsense-codegen and superseeded with more features and tests.

johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-04-02 20:44:53 +00:00
5abc1b217c wip fix load balancer idempotency
johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-04-02 20:35:00 +00:00
a7d1abd0be wip fix load balancer idempotency
johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-04-02 02:32:06 +00:00
92b46c5c08 fix: haproxy listens on 0.0.0.0 and opens wan in the firewall for okd deployment, also disables http redirect rule for opnsense webgui which stole haproxy traffic
johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-04-02 01:12:13 +00:00
d937813fd4 ignore stress test config and db files
johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-04-02 01:10:54 +00:00
8b5ca51fba chore: Improve opnsene constructor signature
3afaa38ba0 feat: Network stress test utility that will randomly flap switch ports and reboot opnsense firewalls while running iperf and report statistics and events in a simple clean ui
Compare 2 commits »
johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-03-31 21:33:08 +00:00
1a0e754c7a chore: Note some problems, improve some variables naming around opnsense automation
johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-03-31 17:30:55 +00:00
0dc9b80010 chore: fix unused import and add TODO/doc comments from review
6554ac5341 docs: fix pair integration subnet in diagram, add to examples index
811c56086c fix(kvm): fix domiflist MAC parsing and pair test subnet
34d02d7291 feat(opnsense): add firewall pair VM integration example
73785e7336 feat(kvm): add NIC link control for VM interface management
Compare 11 commits »
johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-03-30 20:27:46 +00:00
466a8aafd1 feat(postgresql): add wait_for_ready option to PostgreSQLConfig
johnride pushed to feat/opnsense-codegen at NationTech/harmony 2026-03-30 12:31:56 +00:00
fabec7ac11 refactor: extract CoreDNSRewriteScore from harmony_sso example
3e2b8423e8 chore: clean up clippy warnings in zitadel and openbao modules
c687d4e6b3 docs: add Phase 9 (SSO + Config Hardening) to roadmap
cd48675027 chore: cargo fmt
8cb59cc029 fix: SSO end-to-end fixes for device flow
Compare 16 commits »