In pve-network we always prepend the "!" delimiter/comment to blocks in the frr config. Change to prepend in the templates as well so that we don't have any duplicate "!!" in the config where rust and perl generated config meet.
Signed-off-by: Gabriel Goller <[email protected]> --- .../fabric/snapshots/fabric__openfabric_default_pve.snap | 2 +- .../fabric/snapshots/fabric__openfabric_default_pve1.snap | 2 +- .../snapshots/fabric__openfabric_dualstack_pve.snap | 8 ++++---- .../snapshots/fabric__openfabric_ipv6_only_pve.snap | 2 +- .../snapshots/fabric__openfabric_multi_fabric_pve1.snap | 2 +- .../tests/fabric/snapshots/fabric__ospf_default_pve.snap | 2 +- .../tests/fabric/snapshots/fabric__ospf_default_pve1.snap | 2 +- .../fabric/snapshots/fabric__ospf_multi_fabric_pve1.snap | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_default_pve.snap b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_default_pve.snap index 98eb50415e36..052a3f7e501c 100644 --- a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_default_pve.snap +++ b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_default_pve.snap @@ -3,6 +3,7 @@ source: proxmox-ve-config/tests/fabric/main.rs expression: output snapshot_kind: text --- +! router openfabric uwu net 49.0001.1921.6800.2008.00 exit @@ -31,4 +32,3 @@ route-map pve_openfabric permit 100 exit ! ip protocol openfabric route-map pve_openfabric -! diff --git a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_default_pve1.snap b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_default_pve1.snap index 4453ac49377f..f456e819098a 100644 --- a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_default_pve1.snap +++ b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_default_pve1.snap @@ -3,6 +3,7 @@ source: proxmox-ve-config/tests/fabric/main.rs expression: output snapshot_kind: text --- +! router openfabric uwu net 49.0001.1921.6800.2009.00 exit @@ -30,4 +31,3 @@ route-map pve_openfabric permit 100 exit ! ip protocol openfabric route-map pve_openfabric -! diff --git a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_dualstack_pve.snap b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_dualstack_pve.snap index 48ac9092045e..89435b23bf53 100644 --- a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_dualstack_pve.snap +++ b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_dualstack_pve.snap @@ -3,25 +3,26 @@ source: proxmox-ve-config/tests/fabric/main.rs expression: output snapshot_kind: text --- +! router openfabric uwu net 49.0001.1921.6800.2008.00 exit ! interface dummy_uwu - ipv6 router openfabric uwu ip router openfabric uwu + ipv6 router openfabric uwu openfabric passive exit ! interface ens19 - ipv6 router openfabric uwu ip router openfabric uwu + ipv6 router openfabric uwu openfabric hello-interval 4 exit ! interface ens20 - ipv6 router openfabric uwu ip router openfabric uwu + ipv6 router openfabric uwu openfabric hello-interval 4 openfabric hello-multiplier 50 exit @@ -43,4 +44,3 @@ exit ip protocol openfabric route-map pve_openfabric ! ipv6 protocol openfabric route-map pve_openfabric6 -! diff --git a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_ipv6_only_pve.snap b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_ipv6_only_pve.snap index d7ab1d7e2a61..89d788c9bc7e 100644 --- a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_ipv6_only_pve.snap +++ b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_ipv6_only_pve.snap @@ -3,6 +3,7 @@ source: proxmox-ve-config/tests/fabric/main.rs expression: output snapshot_kind: text --- +! router openfabric uwu net 49.0001.0000.0000.000a.00 exit @@ -31,4 +32,3 @@ route-map pve_openfabric6 permit 100 exit ! ipv6 protocol openfabric route-map pve_openfabric6 -! diff --git a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_multi_fabric_pve1.snap b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_multi_fabric_pve1.snap index ad6c6db8eb8b..5e0c18eb2493 100644 --- a/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_multi_fabric_pve1.snap +++ b/proxmox-ve-config/tests/fabric/snapshots/fabric__openfabric_multi_fabric_pve1.snap @@ -3,6 +3,7 @@ source: proxmox-ve-config/tests/fabric/main.rs expression: output snapshot_kind: text --- +! router openfabric test1 net 49.0001.1921.6800.2009.00 exit @@ -46,4 +47,3 @@ route-map pve_openfabric permit 110 exit ! ip protocol openfabric route-map pve_openfabric -! diff --git a/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_default_pve.snap b/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_default_pve.snap index a303f31f3d1a..ee47866edd67 100644 --- a/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_default_pve.snap +++ b/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_default_pve.snap @@ -3,6 +3,7 @@ source: proxmox-ve-config/tests/fabric/main.rs expression: output snapshot_kind: text --- +! router ospf ospf router-id 10.10.10.1 exit @@ -29,4 +30,3 @@ route-map pve_ospf permit 100 exit ! ip protocol ospf route-map pve_ospf -! diff --git a/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_default_pve1.snap b/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_default_pve1.snap index 46c30b22abdf..209f3406757b 100644 --- a/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_default_pve1.snap +++ b/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_default_pve1.snap @@ -3,6 +3,7 @@ source: proxmox-ve-config/tests/fabric/main.rs expression: output snapshot_kind: text --- +! router ospf ospf router-id 10.10.10.2 exit @@ -25,4 +26,3 @@ route-map pve_ospf permit 100 exit ! ip protocol ospf route-map pve_ospf -! diff --git a/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_multi_fabric_pve1.snap b/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_multi_fabric_pve1.snap index 1d2a7c3c272d..225d60bf7edb 100644 --- a/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_multi_fabric_pve1.snap +++ b/proxmox-ve-config/tests/fabric/snapshots/fabric__ospf_multi_fabric_pve1.snap @@ -3,6 +3,7 @@ source: proxmox-ve-config/tests/fabric/main.rs expression: output snapshot_kind: text --- +! router ospf ospf router-id 192.168.1.9 exit @@ -42,4 +43,3 @@ route-map pve_ospf permit 110 exit ! ip protocol ospf route-map pve_ospf -! -- 2.47.3 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
