extract related logic into an OkdIpxeScore

This commit is contained in:
2025-08-29 09:52:11 -04:00
parent 7bb3602ab8
commit b857412151
10 changed files with 162 additions and 87 deletions

View File

@@ -1,5 +1,3 @@
use std::{net::IpAddr, sync::Arc};
use cidr::Ipv4Cidr;
use harmony::{
hardware::{FirewallGroup, HostCategory, Location, PhysicalHost, SwitchGroup},
@@ -10,6 +8,7 @@ use harmony::{
use harmony_macros::{ip, ipv4};
use harmony_secret::{Secret, SecretManager};
use serde::{Deserialize, Serialize};
use std::{net::IpAddr, sync::Arc};
#[derive(Secret, Serialize, Deserialize, Debug, PartialEq)]
struct OPNSenseFirewallConfig {