[PATCH pve-network v2 2/3] fabrics: add ospf network_type property to interfaces

Gabriel Goller
2026-05-05T09:14:01Z

This property lets us choose all the possible network types frr supports
on an ospf interface.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
src/PVE/Network/SDN/Fabrics.pm | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/src/PVE/Network/SDN/Fabrics.pm b/src/PVE/Network/SDN/Fabrics.pm
index 7ae801c40516..345be44a117d 100644
--- a/src/PVE/Network/SDN/Fabrics.pm
+++ b/src/PVE/Network/SDN/Fabrics.pm
@@ -228,6 +228,17 @@ sub node_properties {
format => 'pve-iface',
description => 'Name of the network interface',
},
+ network_type => {
+ type => 'string',
+ description => 'Network Type of the OSPF interface',
+ enum => [
+ 'broadcast',
+ 'non-broadcast',
+ 'point-to-multipoint',
+ 'point-to-point',
+ ],
+ optional => 1,
+ },
ip => {
type => 'string',
format => 'CIDRv4',
--
2.47.3