18 lines
323 B
Rust
18 lines
323 B
Rust
use derive_new::new;
|
|
use crate::topology::{IpAddress, ManagementInterface};
|
|
|
|
#[derive(new)]
|
|
pub struct IntelAmtManagement {
|
|
ip_address: IpAddress,
|
|
}
|
|
|
|
impl ManagementInterface for IntelAmtManagement {
|
|
fn boot_to_pxe(&self) {
|
|
todo!()
|
|
}
|
|
|
|
fn get_ip(&self) -> IpAddress {
|
|
self.ip_address
|
|
}
|
|
}
|