nazara 0.2.1

A CLI application to create and update machines and VMs in NetBox.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::sync::LazyLock;
use thanix_client::types::NestedTagRequest;

pub const REQUIRED_TAGS: &[&str] = &["nazara", "dhcp"];

pub static NAZARA_TAG_REQUEST: LazyLock<NestedTagRequest> = LazyLock::new(|| NestedTagRequest {
    name: "nazara".to_string(),
    slug: "nazara".to_string(),
    color: "03a9f4".to_string(),
});

pub static DHCP_TAG_REQUEST: LazyLock<NestedTagRequest> = LazyLock::new(|| NestedTagRequest {
    name: "dhcp".to_string(),
    slug: "dhcp".to_string(),
    color: "9e9e9e".to_string(),
});