feat: started to prepare inventory / topoplogy for NCD #1

Merged
johnride merged 17 commits from feat/settingUpNDC into master 2025-05-06 16:38:41 +00:00
Showing only changes of commit 7af83910ef - Show all commits

View File

@ -47,7 +47,7 @@ impl<'a> DhcpConfig<'a> {
pub fn set_filename(&mut self, filename: &str) {
self.enable_netboot();
self.get_lan_dhcpd().filename = Some(filename.to_string());
},
}
...
```
@ -74,7 +74,7 @@ impl DhcpServer for OPNSenseFirewall {
}
Ok(())
},
}
...
```
@ -85,7 +85,7 @@ impl DhcpServer for DummyInfra {
...
async fn set_filename(&self, _filename: &str) -> Result<(), ExecutorError> {
unimplemented!("{}", UNIMPLEMENTED_DUMMY_INFRA)
},
}
...
```
@ -143,6 +143,6 @@ impl DhcpInterpret {
format!(
"Dhcp Interpret Set next boot to [{:?}], boot_filename to [{:?}], filename to [{:?}]",
self.score.boot_filename, self.score.boot_filename, self.score.filename
),
)
...
```