Release v1.1.0
This commit is contained in:
1 parent
34227efd2b
commit
edc710cbd2
46 files changed
+5324
-190
No files matched your search
@@ -16,7 +16,9 @@ use nx9_wg_core::types::firewall::{
|
||||
FirewallAction, FirewallDirection, FirewallProtocol, FirewallRule,
|
||||
};
|
||||
use nx9_wg_core::types::network::Route;
|
||||
use nx9_wg_core::types::wireguard::{Interface, Peer, PeerProfile, PeerState, PeerType};
|
||||
use nx9_wg_core::types::wireguard::{
|
||||
Interface, InterfaceRole, Peer, PeerProfile, PeerState, PeerType,
|
||||
};
|
||||
use nx9_wg_core::validation::validate_cidr;
|
||||
use nx9_wg_db::Store;
|
||||
use nx9_wg_network::{NetworkEngine, SimulatedNetworkEngine};
|
||||
@@ -59,9 +61,10 @@ async fn test_drift_matrix_peer_lifecycle() {
|
||||
let iface = Interface {
|
||||
id: iface_id,
|
||||
name: "nx9_test0".to_string(),
|
||||
role: InterfaceRole::Overlay,
|
||||
private_key: priv_key,
|
||||
public_key: pub_key,
|
||||
listen_port: 51820,
|
||||
listen_port: Some(51820),
|
||||
address_v4: validate_cidr("10.10.0.1/24").unwrap(),
|
||||
address_v6: None,
|
||||
mtu: Some(1420),
|
||||
@@ -267,9 +270,10 @@ async fn test_restart_recovery_simulation() {
|
||||
let iface = Interface {
|
||||
id: Uuid::new_v4(),
|
||||
name: "nx9_boot".to_string(),
|
||||
role: InterfaceRole::Overlay,
|
||||
private_key: priv_key,
|
||||
public_key: pub_key,
|
||||
listen_port: 51820,
|
||||
listen_port: Some(51820),
|
||||
address_v4: validate_cidr("10.20.0.1/24").unwrap(),
|
||||
address_v6: None,
|
||||
mtu: Some(1420),
|
||||
@@ -321,9 +325,10 @@ async fn test_secret_redaction_in_reconciliation_plan_and_report() {
|
||||
let iface = Interface {
|
||||
id: Uuid::new_v4(),
|
||||
name: "nx9_sec".to_string(),
|
||||
role: InterfaceRole::Overlay,
|
||||
private_key: priv_key,
|
||||
public_key: pub_key,
|
||||
listen_port: 51820,
|
||||
listen_port: Some(51820),
|
||||
address_v4: validate_cidr("10.30.0.1/24").unwrap(),
|
||||
address_v6: None,
|
||||
mtu: Some(1420),
|
||||
@@ -363,9 +368,10 @@ async fn test_reconciliation_status_lifecycle_and_multi_cycle_idempotency() {
|
||||
let iface = Interface {
|
||||
id: Uuid::new_v4(),
|
||||
name: "nx9_idem".to_string(),
|
||||
role: InterfaceRole::Overlay,
|
||||
private_key: priv_key,
|
||||
public_key: pub_key,
|
||||
listen_port: 51820,
|
||||
listen_port: Some(51820),
|
||||
address_v4: validate_cidr("10.50.0.1/24").unwrap(),
|
||||
address_v6: None,
|
||||
mtu: Some(1420),
|
||||
@@ -512,9 +518,10 @@ async fn test_interface_address_and_mtu_drift_lifecycle() {
|
||||
let iface = Interface {
|
||||
id: iface_id,
|
||||
name: "wg0".to_string(),
|
||||
role: InterfaceRole::Overlay,
|
||||
private_key: priv_key,
|
||||
public_key: pub_key.clone(),
|
||||
listen_port: 51820,
|
||||
listen_port: Some(51820),
|
||||
address_v4: validate_cidr("10.100.0.1/24").unwrap(),
|
||||
address_v6: Some(validate_cidr("fd00::1/64").unwrap()),
|
||||
mtu: Some(1420),
|
||||
|
||||
Reference in new issue
Block a user