forked from NationTech/harmony
chore(harmony): Use Cargo workspaces for core harmony and client specific implementation
This commit is contained in:
21
harmony-rs/fqm/src/inventory.rs
Normal file
21
harmony-rs/fqm/src/inventory.rs
Normal file
@@ -0,0 +1,21 @@
|
||||
use crate::domain::{
|
||||
hardware::{Location, Host, HostCategory},
|
||||
inventory::Inventory,
|
||||
};
|
||||
|
||||
pub fn get_fqm_inventory() -> Inventory {
|
||||
Inventory {
|
||||
location: Location::new(
|
||||
"1134 Grande Allée Ouest 1er étage, Québec, Qc".into(),
|
||||
"FQM 1134 1er étage".into(),
|
||||
),
|
||||
host: vec![Host {
|
||||
category: HostCategory::Server,
|
||||
network: vec![],
|
||||
storage: vec![],
|
||||
labels: vec![],
|
||||
}],
|
||||
switch: vec![],
|
||||
firewall: vec![],
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user