1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. Sdn
  5. Sdn/fabric
  6. getOspf
Proxmox Virtual Environment (Proxmox VE) v7.13.0 published on Tuesday, Feb 10, 2026 by Daniel Muehlbachler-Pietrzykowski
proxmoxve logo
Proxmox Virtual Environment (Proxmox VE) v7.13.0 published on Tuesday, Feb 10, 2026 by Daniel Muehlbachler-Pietrzykowski

    OSPF Fabric in Proxmox SDN. Fabrics in Proxmox VE SDN provide automated routing between nodes in a cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    const main = proxmoxve.Sdn.fabric.getOspf({
        id: "main-fabric",
    });
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    main = proxmoxve.Sdn.fabric.get_ospf(id="main-fabric")
    
    package main
    
    import (
    	"github.com/muhlba91/pulumi-proxmoxve/sdk/v7/go/proxmoxve/sdn"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sdn.GetOspf(ctx, &fabric.GetOspfArgs{
    			Id: "main-fabric",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ProxmoxVE = Pulumi.ProxmoxVE;
    
    return await Deployment.RunAsync(() => 
    {
        var main = ProxmoxVE.Sdn.Fabric.GetOspf.Invoke(new()
        {
            Id = "main-fabric",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.proxmoxve.Sdn_fabric.Sdn_fabricFunctions;
    import com.pulumi.proxmoxve.Sdn.inputs.GetOspfArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var main = Sdn_fabricFunctions.getOspf(GetOspfArgs.builder()
                .id("main-fabric")
                .build());
    
        }
    }
    
    variables:
      main:
        fn::invoke:
          function: proxmoxve:Sdn/fabric:getOspf
          arguments:
            id: main-fabric
    

    Using getOspf

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getOspf(args: GetOspfArgs, opts?: InvokeOptions): Promise<GetOspfResult>
    function getOspfOutput(args: GetOspfOutputArgs, opts?: InvokeOptions): Output<GetOspfResult>
    def get_ospf(id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetOspfResult
    def get_ospf_output(id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetOspfResult]
    func GetOspf(ctx *Context, args *GetOspfArgs, opts ...InvokeOption) (*GetOspfResult, error)
    func GetOspfOutput(ctx *Context, args *GetOspfOutputArgs, opts ...InvokeOption) GetOspfResultOutput

    > Note: This function is named GetOspf in the Go SDK.

    public static class GetOspf 
    {
        public static Task<GetOspfResult> InvokeAsync(GetOspfArgs args, InvokeOptions? opts = null)
        public static Output<GetOspfResult> Invoke(GetOspfInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOspfResult> getOspf(GetOspfArgs args, InvokeOptions options)
    public static Output<GetOspfResult> getOspf(GetOspfArgs args, InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:Sdn/fabric/getOspf:getOspf
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier of the SDN fabric.
    Id string
    The unique identifier of the SDN fabric.
    id String
    The unique identifier of the SDN fabric.
    id string
    The unique identifier of the SDN fabric.
    id str
    The unique identifier of the SDN fabric.
    id String
    The unique identifier of the SDN fabric.

    getOspf Result

    The following output properties are available:

    Area string
    OSPF area. Either a IPv4 address or a 32-bit number. Gets validated in rust.
    Id string
    The unique identifier of the SDN fabric.
    IpPrefix string
    IPv4 prefix cidr for the fabric.
    Area string
    OSPF area. Either a IPv4 address or a 32-bit number. Gets validated in rust.
    Id string
    The unique identifier of the SDN fabric.
    IpPrefix string
    IPv4 prefix cidr for the fabric.
    area String
    OSPF area. Either a IPv4 address or a 32-bit number. Gets validated in rust.
    id String
    The unique identifier of the SDN fabric.
    ipPrefix String
    IPv4 prefix cidr for the fabric.
    area string
    OSPF area. Either a IPv4 address or a 32-bit number. Gets validated in rust.
    id string
    The unique identifier of the SDN fabric.
    ipPrefix string
    IPv4 prefix cidr for the fabric.
    area str
    OSPF area. Either a IPv4 address or a 32-bit number. Gets validated in rust.
    id str
    The unique identifier of the SDN fabric.
    ip_prefix str
    IPv4 prefix cidr for the fabric.
    area String
    OSPF area. Either a IPv4 address or a 32-bit number. Gets validated in rust.
    id String
    The unique identifier of the SDN fabric.
    ipPrefix String
    IPv4 prefix cidr for the fabric.

    Package Details

    Repository
    proxmoxve muhlba91/pulumi-proxmoxve
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the proxmox Terraform Provider.
    proxmoxve logo
    Proxmox Virtual Environment (Proxmox VE) v7.13.0 published on Tuesday, Feb 10, 2026 by Daniel Muehlbachler-Pietrzykowski
      Meet Neo: Your AI Platform Teammate