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

Signed-off-by: Gabriel Goller <[email protected]>
---
 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 3ca362a02660..552ac68e9052 100644
--- a/src/PVE/Network/SDN/Fabrics.pm
+++ b/src/PVE/Network/SDN/Fabrics.pm
@@ -180,6 +180,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




Reply via email to