1. Packages
  2. Fortios
  3. API Docs
  4. router
  5. Ospf
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.router.Ospf

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure OSPF.

    The provider supports the definition of Ospf-Interface in Router Ospf fortios.router.Ospf, and also allows the definition of separate Ospf-Interface resources fortios.router/ospf.Ospfinterface, but do not use a fortios.router.Ospf with in-line Ospf-Interface in conjunction with any fortios.router/ospf.Ospfinterface resources, otherwise conflicts and overwrite will occur.

    The provider supports the definition of Network in Router Ospf fortios.router.Ospf, and also allows the definition of separate Network resources fortios.router/ospf.Network, but do not use a fortios.router.Ospf with in-line Network in conjunction with any fortios.router/ospf.Network resources, otherwise conflicts and overwrite will occur.

    The provider supports the definition of Neighbor in Router Ospf fortios.router.Ospf, and also allows the definition of separate Neighbor resources fortios.router/ospf.Neighbor, but do not use a fortios.router.Ospf with in-line Neighbor in conjunction with any fortios.router/ospf.Neighbor resources, otherwise conflicts and overwrite will occur.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.router.Ospf("trname", {
        abrType: "standard",
        autoCostRefBandwidth: 1000,
        bfd: "disable",
        databaseOverflow: "disable",
        databaseOverflowMaxLsas: 10000,
        databaseOverflowTimeToRecover: 300,
        defaultInformationMetric: 10,
        defaultInformationMetricType: "2",
        defaultInformationOriginate: "disable",
        defaultMetric: 10,
        distance: 110,
        distanceExternal: 110,
        distanceInterArea: 110,
        distanceIntraArea: 110,
        logNeighbourChanges: "enable",
        redistributes: [
            {
                metric: 0,
                metricType: "2",
                name: "connected",
                status: "disable",
                tag: 0,
            },
            {
                metric: 0,
                metricType: "2",
                name: "static",
                status: "disable",
                tag: 0,
            },
            {
                metric: 0,
                metricType: "2",
                name: "rip",
                status: "disable",
                tag: 0,
            },
            {
                metric: 0,
                metricType: "2",
                name: "bgp",
                status: "disable",
                tag: 0,
            },
            {
                metric: 0,
                metricType: "2",
                name: "isis",
                status: "disable",
                tag: 0,
            },
        ],
        restartMode: "none",
        restartPeriod: 120,
        rfc1583Compatible: "disable",
        routerId: "0.0.0.0",
        spfTimers: "5 10",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.router.Ospf("trname",
        abr_type="standard",
        auto_cost_ref_bandwidth=1000,
        bfd="disable",
        database_overflow="disable",
        database_overflow_max_lsas=10000,
        database_overflow_time_to_recover=300,
        default_information_metric=10,
        default_information_metric_type="2",
        default_information_originate="disable",
        default_metric=10,
        distance=110,
        distance_external=110,
        distance_inter_area=110,
        distance_intra_area=110,
        log_neighbour_changes="enable",
        redistributes=[
            fortios.router.OspfRedistributeArgs(
                metric=0,
                metric_type="2",
                name="connected",
                status="disable",
                tag=0,
            ),
            fortios.router.OspfRedistributeArgs(
                metric=0,
                metric_type="2",
                name="static",
                status="disable",
                tag=0,
            ),
            fortios.router.OspfRedistributeArgs(
                metric=0,
                metric_type="2",
                name="rip",
                status="disable",
                tag=0,
            ),
            fortios.router.OspfRedistributeArgs(
                metric=0,
                metric_type="2",
                name="bgp",
                status="disable",
                tag=0,
            ),
            fortios.router.OspfRedistributeArgs(
                metric=0,
                metric_type="2",
                name="isis",
                status="disable",
                tag=0,
            ),
        ],
        restart_mode="none",
        restart_period=120,
        rfc1583_compatible="disable",
        router_id="0.0.0.0",
        spf_timers="5 10")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/router"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := router.NewOspf(ctx, "trname", &router.OspfArgs{
    			AbrType:                       pulumi.String("standard"),
    			AutoCostRefBandwidth:          pulumi.Int(1000),
    			Bfd:                           pulumi.String("disable"),
    			DatabaseOverflow:              pulumi.String("disable"),
    			DatabaseOverflowMaxLsas:       pulumi.Int(10000),
    			DatabaseOverflowTimeToRecover: pulumi.Int(300),
    			DefaultInformationMetric:      pulumi.Int(10),
    			DefaultInformationMetricType:  pulumi.String("2"),
    			DefaultInformationOriginate:   pulumi.String("disable"),
    			DefaultMetric:                 pulumi.Int(10),
    			Distance:                      pulumi.Int(110),
    			DistanceExternal:              pulumi.Int(110),
    			DistanceInterArea:             pulumi.Int(110),
    			DistanceIntraArea:             pulumi.Int(110),
    			LogNeighbourChanges:           pulumi.String("enable"),
    			Redistributes: router.OspfRedistributeArray{
    				&router.OspfRedistributeArgs{
    					Metric:     pulumi.Int(0),
    					MetricType: pulumi.String("2"),
    					Name:       pulumi.String("connected"),
    					Status:     pulumi.String("disable"),
    					Tag:        pulumi.Int(0),
    				},
    				&router.OspfRedistributeArgs{
    					Metric:     pulumi.Int(0),
    					MetricType: pulumi.String("2"),
    					Name:       pulumi.String("static"),
    					Status:     pulumi.String("disable"),
    					Tag:        pulumi.Int(0),
    				},
    				&router.OspfRedistributeArgs{
    					Metric:     pulumi.Int(0),
    					MetricType: pulumi.String("2"),
    					Name:       pulumi.String("rip"),
    					Status:     pulumi.String("disable"),
    					Tag:        pulumi.Int(0),
    				},
    				&router.OspfRedistributeArgs{
    					Metric:     pulumi.Int(0),
    					MetricType: pulumi.String("2"),
    					Name:       pulumi.String("bgp"),
    					Status:     pulumi.String("disable"),
    					Tag:        pulumi.Int(0),
    				},
    				&router.OspfRedistributeArgs{
    					Metric:     pulumi.Int(0),
    					MetricType: pulumi.String("2"),
    					Name:       pulumi.String("isis"),
    					Status:     pulumi.String("disable"),
    					Tag:        pulumi.Int(0),
    				},
    			},
    			RestartMode:       pulumi.String("none"),
    			RestartPeriod:     pulumi.Int(120),
    			Rfc1583Compatible: pulumi.String("disable"),
    			RouterId:          pulumi.String("0.0.0.0"),
    			SpfTimers:         pulumi.String("5 10"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.Router.OspfRouter("trname", new()
        {
            AbrType = "standard",
            AutoCostRefBandwidth = 1000,
            Bfd = "disable",
            DatabaseOverflow = "disable",
            DatabaseOverflowMaxLsas = 10000,
            DatabaseOverflowTimeToRecover = 300,
            DefaultInformationMetric = 10,
            DefaultInformationMetricType = "2",
            DefaultInformationOriginate = "disable",
            DefaultMetric = 10,
            Distance = 110,
            DistanceExternal = 110,
            DistanceInterArea = 110,
            DistanceIntraArea = 110,
            LogNeighbourChanges = "enable",
            Redistributes = new[]
            {
                new Fortios.Router.Inputs.OspfRedistributeArgs
                {
                    Metric = 0,
                    MetricType = "2",
                    Name = "connected",
                    Status = "disable",
                    Tag = 0,
                },
                new Fortios.Router.Inputs.OspfRedistributeArgs
                {
                    Metric = 0,
                    MetricType = "2",
                    Name = "static",
                    Status = "disable",
                    Tag = 0,
                },
                new Fortios.Router.Inputs.OspfRedistributeArgs
                {
                    Metric = 0,
                    MetricType = "2",
                    Name = "rip",
                    Status = "disable",
                    Tag = 0,
                },
                new Fortios.Router.Inputs.OspfRedistributeArgs
                {
                    Metric = 0,
                    MetricType = "2",
                    Name = "bgp",
                    Status = "disable",
                    Tag = 0,
                },
                new Fortios.Router.Inputs.OspfRedistributeArgs
                {
                    Metric = 0,
                    MetricType = "2",
                    Name = "isis",
                    Status = "disable",
                    Tag = 0,
                },
            },
            RestartMode = "none",
            RestartPeriod = 120,
            Rfc1583Compatible = "disable",
            RouterId = "0.0.0.0",
            SpfTimers = "5 10",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.router.Ospf;
    import com.pulumi.fortios.router.OspfArgs;
    import com.pulumi.fortios.router.inputs.OspfRedistributeArgs;
    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) {
            var trname = new Ospf("trname", OspfArgs.builder()
                .abrType("standard")
                .autoCostRefBandwidth(1000)
                .bfd("disable")
                .databaseOverflow("disable")
                .databaseOverflowMaxLsas(10000)
                .databaseOverflowTimeToRecover(300)
                .defaultInformationMetric(10)
                .defaultInformationMetricType("2")
                .defaultInformationOriginate("disable")
                .defaultMetric(10)
                .distance(110)
                .distanceExternal(110)
                .distanceInterArea(110)
                .distanceIntraArea(110)
                .logNeighbourChanges("enable")
                .redistributes(            
                    OspfRedistributeArgs.builder()
                        .metric(0)
                        .metricType("2")
                        .name("connected")
                        .status("disable")
                        .tag(0)
                        .build(),
                    OspfRedistributeArgs.builder()
                        .metric(0)
                        .metricType("2")
                        .name("static")
                        .status("disable")
                        .tag(0)
                        .build(),
                    OspfRedistributeArgs.builder()
                        .metric(0)
                        .metricType("2")
                        .name("rip")
                        .status("disable")
                        .tag(0)
                        .build(),
                    OspfRedistributeArgs.builder()
                        .metric(0)
                        .metricType("2")
                        .name("bgp")
                        .status("disable")
                        .tag(0)
                        .build(),
                    OspfRedistributeArgs.builder()
                        .metric(0)
                        .metricType("2")
                        .name("isis")
                        .status("disable")
                        .tag(0)
                        .build())
                .restartMode("none")
                .restartPeriod(120)
                .rfc1583Compatible("disable")
                .routerId("0.0.0.0")
                .spfTimers("5 10")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:router:Ospf
        properties:
          abrType: standard
          autoCostRefBandwidth: 1000
          bfd: disable
          databaseOverflow: disable
          databaseOverflowMaxLsas: 10000
          databaseOverflowTimeToRecover: 300
          defaultInformationMetric: 10
          defaultInformationMetricType: '2'
          defaultInformationOriginate: disable
          defaultMetric: 10
          distance: 110
          distanceExternal: 110
          distanceInterArea: 110
          distanceIntraArea: 110
          logNeighbourChanges: enable
          redistributes:
            - metric: 0
              metricType: '2'
              name: connected
              status: disable
              tag: 0
            - metric: 0
              metricType: '2'
              name: static
              status: disable
              tag: 0
            - metric: 0
              metricType: '2'
              name: rip
              status: disable
              tag: 0
            - metric: 0
              metricType: '2'
              name: bgp
              status: disable
              tag: 0
            - metric: 0
              metricType: '2'
              name: isis
              status: disable
              tag: 0
          restartMode: none
          restartPeriod: 120
          rfc1583Compatible: disable
          routerId: 0.0.0.0
          spfTimers: 5 10
    

    Create Ospf Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Ospf(name: string, args: OspfArgs, opts?: CustomResourceOptions);
    @overload
    def Ospf(resource_name: str,
             args: OspfArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ospf(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             router_id: Optional[str] = None,
             distribute_list_in: Optional[str] = None,
             default_information_metric_type: Optional[str] = None,
             bfd: Optional[str] = None,
             database_overflow: Optional[str] = None,
             distribute_lists: Optional[Sequence[OspfDistributeListArgs]] = None,
             database_overflow_time_to_recover: Optional[int] = None,
             default_information_metric: Optional[int] = None,
             distribute_route_map_in: Optional[str] = None,
             default_information_originate: Optional[str] = None,
             dynamic_sort_subtable: Optional[str] = None,
             default_metric: Optional[int] = None,
             distance: Optional[int] = None,
             distance_external: Optional[int] = None,
             distance_inter_area: Optional[int] = None,
             distance_intra_area: Optional[int] = None,
             abr_type: Optional[str] = None,
             database_overflow_max_lsas: Optional[int] = None,
             auto_cost_ref_bandwidth: Optional[int] = None,
             default_information_route_map: Optional[str] = None,
             get_all_tables: Optional[str] = None,
             log_neighbour_changes: Optional[str] = None,
             neighbors: Optional[Sequence[OspfNeighborArgs]] = None,
             networks: Optional[Sequence[OspfNetworkArgs]] = None,
             ospf_interfaces: Optional[Sequence[OspfOspfInterfaceArgs]] = None,
             passive_interfaces: Optional[Sequence[OspfPassiveInterfaceArgs]] = None,
             redistributes: Optional[Sequence[OspfRedistributeArgs]] = None,
             restart_mode: Optional[str] = None,
             restart_on_topology_change: Optional[str] = None,
             restart_period: Optional[int] = None,
             rfc1583_compatible: Optional[str] = None,
             areas: Optional[Sequence[OspfAreaArgs]] = None,
             spf_timers: Optional[str] = None,
             summary_addresses: Optional[Sequence[OspfSummaryAddressArgs]] = None,
             vdomparam: Optional[str] = None)
    func NewOspf(ctx *Context, name string, args OspfArgs, opts ...ResourceOption) (*Ospf, error)
    public Ospf(string name, OspfArgs args, CustomResourceOptions? opts = null)
    public Ospf(String name, OspfArgs args)
    public Ospf(String name, OspfArgs args, CustomResourceOptions options)
    
    type: fortios:router:Ospf
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OspfArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OspfArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OspfArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OspfArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OspfArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ospfResource = new Fortios.Router.OspfRouter("ospfResource", new()
    {
        RouterId = "string",
        DistributeListIn = "string",
        DefaultInformationMetricType = "string",
        Bfd = "string",
        DatabaseOverflow = "string",
        DistributeLists = new[]
        {
            new Fortios.Router.Inputs.OspfDistributeListArgs
            {
                AccessList = "string",
                Id = 0,
                Protocol = "string",
            },
        },
        DatabaseOverflowTimeToRecover = 0,
        DefaultInformationMetric = 0,
        DistributeRouteMapIn = "string",
        DefaultInformationOriginate = "string",
        DynamicSortSubtable = "string",
        DefaultMetric = 0,
        Distance = 0,
        DistanceExternal = 0,
        DistanceInterArea = 0,
        DistanceIntraArea = 0,
        AbrType = "string",
        DatabaseOverflowMaxLsas = 0,
        AutoCostRefBandwidth = 0,
        DefaultInformationRouteMap = "string",
        GetAllTables = "string",
        LogNeighbourChanges = "string",
        Neighbors = new[]
        {
            new Fortios.Router.Inputs.OspfNeighborArgs
            {
                Cost = 0,
                Id = 0,
                Ip = "string",
                PollInterval = 0,
                Priority = 0,
            },
        },
        Networks = new[]
        {
            new Fortios.Router.Inputs.OspfNetworkArgs
            {
                Area = "string",
                Comments = "string",
                Id = 0,
                Prefix = "string",
            },
        },
        OspfInterfaces = new[]
        {
            new Fortios.Router.Inputs.OspfOspfInterfaceArgs
            {
                Authentication = "string",
                AuthenticationKey = "string",
                Bfd = "string",
                Comments = "string",
                Cost = 0,
                DatabaseFilterOut = "string",
                DeadInterval = 0,
                HelloInterval = 0,
                HelloMultiplier = 0,
                Interface = "string",
                Ip = "string",
                Keychain = "string",
                Md5Key = "string",
                Md5Keychain = "string",
                Md5Keys = new[]
                {
                    new Fortios.Router.Inputs.OspfOspfInterfaceMd5KeyArgs
                    {
                        Id = 0,
                        KeyString = "string",
                    },
                },
                Mtu = 0,
                MtuIgnore = "string",
                Name = "string",
                NetworkType = "string",
                PrefixLength = 0,
                Priority = 0,
                ResyncTimeout = 0,
                RetransmitInterval = 0,
                Status = "string",
                TransmitDelay = 0,
            },
        },
        PassiveInterfaces = new[]
        {
            new Fortios.Router.Inputs.OspfPassiveInterfaceArgs
            {
                Name = "string",
            },
        },
        Redistributes = new[]
        {
            new Fortios.Router.Inputs.OspfRedistributeArgs
            {
                Metric = 0,
                MetricType = "string",
                Name = "string",
                Routemap = "string",
                Status = "string",
                Tag = 0,
            },
        },
        RestartMode = "string",
        RestartOnTopologyChange = "string",
        RestartPeriod = 0,
        Rfc1583Compatible = "string",
        Areas = new[]
        {
            new Fortios.Router.Inputs.OspfAreaArgs
            {
                Authentication = "string",
                Comments = "string",
                DefaultCost = 0,
                FilterLists = new[]
                {
                    new Fortios.Router.Inputs.OspfAreaFilterListArgs
                    {
                        Direction = "string",
                        Id = 0,
                        List = "string",
                    },
                },
                Id = "string",
                NssaDefaultInformationOriginate = "string",
                NssaDefaultInformationOriginateMetric = 0,
                NssaDefaultInformationOriginateMetricType = "string",
                NssaRedistribution = "string",
                NssaTranslatorRole = "string",
                Ranges = new[]
                {
                    new Fortios.Router.Inputs.OspfAreaRangeArgs
                    {
                        Advertise = "string",
                        Id = 0,
                        Prefix = "string",
                        Substitute = "string",
                        SubstituteStatus = "string",
                    },
                },
                Shortcut = "string",
                StubType = "string",
                Type = "string",
                VirtualLinks = new[]
                {
                    new Fortios.Router.Inputs.OspfAreaVirtualLinkArgs
                    {
                        Authentication = "string",
                        AuthenticationKey = "string",
                        DeadInterval = 0,
                        HelloInterval = 0,
                        Keychain = "string",
                        Md5Key = "string",
                        Md5Keychain = "string",
                        Md5Keys = new[]
                        {
                            new Fortios.Router.Inputs.OspfAreaVirtualLinkMd5KeyArgs
                            {
                                Id = 0,
                                KeyString = "string",
                            },
                        },
                        Name = "string",
                        Peer = "string",
                        RetransmitInterval = 0,
                        TransmitDelay = 0,
                    },
                },
            },
        },
        SpfTimers = "string",
        SummaryAddresses = new[]
        {
            new Fortios.Router.Inputs.OspfSummaryAddressArgs
            {
                Advertise = "string",
                Id = 0,
                Prefix = "string",
                Tag = 0,
            },
        },
        Vdomparam = "string",
    });
    
    example, err := router.NewOspf(ctx, "ospfResource", &router.OspfArgs{
    	RouterId:                     pulumi.String("string"),
    	DistributeListIn:             pulumi.String("string"),
    	DefaultInformationMetricType: pulumi.String("string"),
    	Bfd:                          pulumi.String("string"),
    	DatabaseOverflow:             pulumi.String("string"),
    	DistributeLists: router.OspfDistributeListArray{
    		&router.OspfDistributeListArgs{
    			AccessList: pulumi.String("string"),
    			Id:         pulumi.Int(0),
    			Protocol:   pulumi.String("string"),
    		},
    	},
    	DatabaseOverflowTimeToRecover: pulumi.Int(0),
    	DefaultInformationMetric:      pulumi.Int(0),
    	DistributeRouteMapIn:          pulumi.String("string"),
    	DefaultInformationOriginate:   pulumi.String("string"),
    	DynamicSortSubtable:           pulumi.String("string"),
    	DefaultMetric:                 pulumi.Int(0),
    	Distance:                      pulumi.Int(0),
    	DistanceExternal:              pulumi.Int(0),
    	DistanceInterArea:             pulumi.Int(0),
    	DistanceIntraArea:             pulumi.Int(0),
    	AbrType:                       pulumi.String("string"),
    	DatabaseOverflowMaxLsas:       pulumi.Int(0),
    	AutoCostRefBandwidth:          pulumi.Int(0),
    	DefaultInformationRouteMap:    pulumi.String("string"),
    	GetAllTables:                  pulumi.String("string"),
    	LogNeighbourChanges:           pulumi.String("string"),
    	Neighbors: router.OspfNeighborArray{
    		&router.OspfNeighborArgs{
    			Cost:         pulumi.Int(0),
    			Id:           pulumi.Int(0),
    			Ip:           pulumi.String("string"),
    			PollInterval: pulumi.Int(0),
    			Priority:     pulumi.Int(0),
    		},
    	},
    	Networks: router.OspfNetworkArray{
    		&router.OspfNetworkArgs{
    			Area:     pulumi.String("string"),
    			Comments: pulumi.String("string"),
    			Id:       pulumi.Int(0),
    			Prefix:   pulumi.String("string"),
    		},
    	},
    	OspfInterfaces: router.OspfOspfInterfaceArray{
    		&router.OspfOspfInterfaceArgs{
    			Authentication:    pulumi.String("string"),
    			AuthenticationKey: pulumi.String("string"),
    			Bfd:               pulumi.String("string"),
    			Comments:          pulumi.String("string"),
    			Cost:              pulumi.Int(0),
    			DatabaseFilterOut: pulumi.String("string"),
    			DeadInterval:      pulumi.Int(0),
    			HelloInterval:     pulumi.Int(0),
    			HelloMultiplier:   pulumi.Int(0),
    			Interface:         pulumi.String("string"),
    			Ip:                pulumi.String("string"),
    			Keychain:          pulumi.String("string"),
    			Md5Key:            pulumi.String("string"),
    			Md5Keychain:       pulumi.String("string"),
    			Md5Keys: router.OspfOspfInterfaceMd5KeyArray{
    				&router.OspfOspfInterfaceMd5KeyArgs{
    					Id:        pulumi.Int(0),
    					KeyString: pulumi.String("string"),
    				},
    			},
    			Mtu:                pulumi.Int(0),
    			MtuIgnore:          pulumi.String("string"),
    			Name:               pulumi.String("string"),
    			NetworkType:        pulumi.String("string"),
    			PrefixLength:       pulumi.Int(0),
    			Priority:           pulumi.Int(0),
    			ResyncTimeout:      pulumi.Int(0),
    			RetransmitInterval: pulumi.Int(0),
    			Status:             pulumi.String("string"),
    			TransmitDelay:      pulumi.Int(0),
    		},
    	},
    	PassiveInterfaces: router.OspfPassiveInterfaceArray{
    		&router.OspfPassiveInterfaceArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	Redistributes: router.OspfRedistributeArray{
    		&router.OspfRedistributeArgs{
    			Metric:     pulumi.Int(0),
    			MetricType: pulumi.String("string"),
    			Name:       pulumi.String("string"),
    			Routemap:   pulumi.String("string"),
    			Status:     pulumi.String("string"),
    			Tag:        pulumi.Int(0),
    		},
    	},
    	RestartMode:             pulumi.String("string"),
    	RestartOnTopologyChange: pulumi.String("string"),
    	RestartPeriod:           pulumi.Int(0),
    	Rfc1583Compatible:       pulumi.String("string"),
    	Areas: router.OspfAreaArray{
    		&router.OspfAreaArgs{
    			Authentication: pulumi.String("string"),
    			Comments:       pulumi.String("string"),
    			DefaultCost:    pulumi.Int(0),
    			FilterLists: router.OspfAreaFilterListArray{
    				&router.OspfAreaFilterListArgs{
    					Direction: pulumi.String("string"),
    					Id:        pulumi.Int(0),
    					List:      pulumi.String("string"),
    				},
    			},
    			Id:                                    pulumi.String("string"),
    			NssaDefaultInformationOriginate:       pulumi.String("string"),
    			NssaDefaultInformationOriginateMetric: pulumi.Int(0),
    			NssaDefaultInformationOriginateMetricType: pulumi.String("string"),
    			NssaRedistribution:                        pulumi.String("string"),
    			NssaTranslatorRole:                        pulumi.String("string"),
    			Ranges: router.OspfAreaRangeArray{
    				&router.OspfAreaRangeArgs{
    					Advertise:        pulumi.String("string"),
    					Id:               pulumi.Int(0),
    					Prefix:           pulumi.String("string"),
    					Substitute:       pulumi.String("string"),
    					SubstituteStatus: pulumi.String("string"),
    				},
    			},
    			Shortcut: pulumi.String("string"),
    			StubType: pulumi.String("string"),
    			Type:     pulumi.String("string"),
    			VirtualLinks: router.OspfAreaVirtualLinkArray{
    				&router.OspfAreaVirtualLinkArgs{
    					Authentication:    pulumi.String("string"),
    					AuthenticationKey: pulumi.String("string"),
    					DeadInterval:      pulumi.Int(0),
    					HelloInterval:     pulumi.Int(0),
    					Keychain:          pulumi.String("string"),
    					Md5Key:            pulumi.String("string"),
    					Md5Keychain:       pulumi.String("string"),
    					Md5Keys: router.OspfAreaVirtualLinkMd5KeyArray{
    						&router.OspfAreaVirtualLinkMd5KeyArgs{
    							Id:        pulumi.Int(0),
    							KeyString: pulumi.String("string"),
    						},
    					},
    					Name:               pulumi.String("string"),
    					Peer:               pulumi.String("string"),
    					RetransmitInterval: pulumi.Int(0),
    					TransmitDelay:      pulumi.Int(0),
    				},
    			},
    		},
    	},
    	SpfTimers: pulumi.String("string"),
    	SummaryAddresses: router.OspfSummaryAddressArray{
    		&router.OspfSummaryAddressArgs{
    			Advertise: pulumi.String("string"),
    			Id:        pulumi.Int(0),
    			Prefix:    pulumi.String("string"),
    			Tag:       pulumi.Int(0),
    		},
    	},
    	Vdomparam: pulumi.String("string"),
    })
    
    var ospfResource = new Ospf("ospfResource", OspfArgs.builder()
        .routerId("string")
        .distributeListIn("string")
        .defaultInformationMetricType("string")
        .bfd("string")
        .databaseOverflow("string")
        .distributeLists(OspfDistributeListArgs.builder()
            .accessList("string")
            .id(0)
            .protocol("string")
            .build())
        .databaseOverflowTimeToRecover(0)
        .defaultInformationMetric(0)
        .distributeRouteMapIn("string")
        .defaultInformationOriginate("string")
        .dynamicSortSubtable("string")
        .defaultMetric(0)
        .distance(0)
        .distanceExternal(0)
        .distanceInterArea(0)
        .distanceIntraArea(0)
        .abrType("string")
        .databaseOverflowMaxLsas(0)
        .autoCostRefBandwidth(0)
        .defaultInformationRouteMap("string")
        .getAllTables("string")
        .logNeighbourChanges("string")
        .neighbors(OspfNeighborArgs.builder()
            .cost(0)
            .id(0)
            .ip("string")
            .pollInterval(0)
            .priority(0)
            .build())
        .networks(OspfNetworkArgs.builder()
            .area("string")
            .comments("string")
            .id(0)
            .prefix("string")
            .build())
        .ospfInterfaces(OspfOspfInterfaceArgs.builder()
            .authentication("string")
            .authenticationKey("string")
            .bfd("string")
            .comments("string")
            .cost(0)
            .databaseFilterOut("string")
            .deadInterval(0)
            .helloInterval(0)
            .helloMultiplier(0)
            .interface_("string")
            .ip("string")
            .keychain("string")
            .md5Key("string")
            .md5Keychain("string")
            .md5Keys(OspfOspfInterfaceMd5KeyArgs.builder()
                .id(0)
                .keyString("string")
                .build())
            .mtu(0)
            .mtuIgnore("string")
            .name("string")
            .networkType("string")
            .prefixLength(0)
            .priority(0)
            .resyncTimeout(0)
            .retransmitInterval(0)
            .status("string")
            .transmitDelay(0)
            .build())
        .passiveInterfaces(OspfPassiveInterfaceArgs.builder()
            .name("string")
            .build())
        .redistributes(OspfRedistributeArgs.builder()
            .metric(0)
            .metricType("string")
            .name("string")
            .routemap("string")
            .status("string")
            .tag(0)
            .build())
        .restartMode("string")
        .restartOnTopologyChange("string")
        .restartPeriod(0)
        .rfc1583Compatible("string")
        .areas(OspfAreaArgs.builder()
            .authentication("string")
            .comments("string")
            .defaultCost(0)
            .filterLists(OspfAreaFilterListArgs.builder()
                .direction("string")
                .id(0)
                .list("string")
                .build())
            .id("string")
            .nssaDefaultInformationOriginate("string")
            .nssaDefaultInformationOriginateMetric(0)
            .nssaDefaultInformationOriginateMetricType("string")
            .nssaRedistribution("string")
            .nssaTranslatorRole("string")
            .ranges(OspfAreaRangeArgs.builder()
                .advertise("string")
                .id(0)
                .prefix("string")
                .substitute("string")
                .substituteStatus("string")
                .build())
            .shortcut("string")
            .stubType("string")
            .type("string")
            .virtualLinks(OspfAreaVirtualLinkArgs.builder()
                .authentication("string")
                .authenticationKey("string")
                .deadInterval(0)
                .helloInterval(0)
                .keychain("string")
                .md5Key("string")
                .md5Keychain("string")
                .md5Keys(OspfAreaVirtualLinkMd5KeyArgs.builder()
                    .id(0)
                    .keyString("string")
                    .build())
                .name("string")
                .peer("string")
                .retransmitInterval(0)
                .transmitDelay(0)
                .build())
            .build())
        .spfTimers("string")
        .summaryAddresses(OspfSummaryAddressArgs.builder()
            .advertise("string")
            .id(0)
            .prefix("string")
            .tag(0)
            .build())
        .vdomparam("string")
        .build());
    
    ospf_resource = fortios.router.Ospf("ospfResource",
        router_id="string",
        distribute_list_in="string",
        default_information_metric_type="string",
        bfd="string",
        database_overflow="string",
        distribute_lists=[{
            "access_list": "string",
            "id": 0,
            "protocol": "string",
        }],
        database_overflow_time_to_recover=0,
        default_information_metric=0,
        distribute_route_map_in="string",
        default_information_originate="string",
        dynamic_sort_subtable="string",
        default_metric=0,
        distance=0,
        distance_external=0,
        distance_inter_area=0,
        distance_intra_area=0,
        abr_type="string",
        database_overflow_max_lsas=0,
        auto_cost_ref_bandwidth=0,
        default_information_route_map="string",
        get_all_tables="string",
        log_neighbour_changes="string",
        neighbors=[{
            "cost": 0,
            "id": 0,
            "ip": "string",
            "poll_interval": 0,
            "priority": 0,
        }],
        networks=[{
            "area": "string",
            "comments": "string",
            "id": 0,
            "prefix": "string",
        }],
        ospf_interfaces=[{
            "authentication": "string",
            "authentication_key": "string",
            "bfd": "string",
            "comments": "string",
            "cost": 0,
            "database_filter_out": "string",
            "dead_interval": 0,
            "hello_interval": 0,
            "hello_multiplier": 0,
            "interface": "string",
            "ip": "string",
            "keychain": "string",
            "md5_key": "string",
            "md5_keychain": "string",
            "md5_keys": [{
                "id": 0,
                "key_string": "string",
            }],
            "mtu": 0,
            "mtu_ignore": "string",
            "name": "string",
            "network_type": "string",
            "prefix_length": 0,
            "priority": 0,
            "resync_timeout": 0,
            "retransmit_interval": 0,
            "status": "string",
            "transmit_delay": 0,
        }],
        passive_interfaces=[{
            "name": "string",
        }],
        redistributes=[{
            "metric": 0,
            "metric_type": "string",
            "name": "string",
            "routemap": "string",
            "status": "string",
            "tag": 0,
        }],
        restart_mode="string",
        restart_on_topology_change="string",
        restart_period=0,
        rfc1583_compatible="string",
        areas=[{
            "authentication": "string",
            "comments": "string",
            "default_cost": 0,
            "filter_lists": [{
                "direction": "string",
                "id": 0,
                "list": "string",
            }],
            "id": "string",
            "nssa_default_information_originate": "string",
            "nssa_default_information_originate_metric": 0,
            "nssa_default_information_originate_metric_type": "string",
            "nssa_redistribution": "string",
            "nssa_translator_role": "string",
            "ranges": [{
                "advertise": "string",
                "id": 0,
                "prefix": "string",
                "substitute": "string",
                "substitute_status": "string",
            }],
            "shortcut": "string",
            "stub_type": "string",
            "type": "string",
            "virtual_links": [{
                "authentication": "string",
                "authentication_key": "string",
                "dead_interval": 0,
                "hello_interval": 0,
                "keychain": "string",
                "md5_key": "string",
                "md5_keychain": "string",
                "md5_keys": [{
                    "id": 0,
                    "key_string": "string",
                }],
                "name": "string",
                "peer": "string",
                "retransmit_interval": 0,
                "transmit_delay": 0,
            }],
        }],
        spf_timers="string",
        summary_addresses=[{
            "advertise": "string",
            "id": 0,
            "prefix": "string",
            "tag": 0,
        }],
        vdomparam="string")
    
    const ospfResource = new fortios.router.Ospf("ospfResource", {
        routerId: "string",
        distributeListIn: "string",
        defaultInformationMetricType: "string",
        bfd: "string",
        databaseOverflow: "string",
        distributeLists: [{
            accessList: "string",
            id: 0,
            protocol: "string",
        }],
        databaseOverflowTimeToRecover: 0,
        defaultInformationMetric: 0,
        distributeRouteMapIn: "string",
        defaultInformationOriginate: "string",
        dynamicSortSubtable: "string",
        defaultMetric: 0,
        distance: 0,
        distanceExternal: 0,
        distanceInterArea: 0,
        distanceIntraArea: 0,
        abrType: "string",
        databaseOverflowMaxLsas: 0,
        autoCostRefBandwidth: 0,
        defaultInformationRouteMap: "string",
        getAllTables: "string",
        logNeighbourChanges: "string",
        neighbors: [{
            cost: 0,
            id: 0,
            ip: "string",
            pollInterval: 0,
            priority: 0,
        }],
        networks: [{
            area: "string",
            comments: "string",
            id: 0,
            prefix: "string",
        }],
        ospfInterfaces: [{
            authentication: "string",
            authenticationKey: "string",
            bfd: "string",
            comments: "string",
            cost: 0,
            databaseFilterOut: "string",
            deadInterval: 0,
            helloInterval: 0,
            helloMultiplier: 0,
            "interface": "string",
            ip: "string",
            keychain: "string",
            md5Key: "string",
            md5Keychain: "string",
            md5Keys: [{
                id: 0,
                keyString: "string",
            }],
            mtu: 0,
            mtuIgnore: "string",
            name: "string",
            networkType: "string",
            prefixLength: 0,
            priority: 0,
            resyncTimeout: 0,
            retransmitInterval: 0,
            status: "string",
            transmitDelay: 0,
        }],
        passiveInterfaces: [{
            name: "string",
        }],
        redistributes: [{
            metric: 0,
            metricType: "string",
            name: "string",
            routemap: "string",
            status: "string",
            tag: 0,
        }],
        restartMode: "string",
        restartOnTopologyChange: "string",
        restartPeriod: 0,
        rfc1583Compatible: "string",
        areas: [{
            authentication: "string",
            comments: "string",
            defaultCost: 0,
            filterLists: [{
                direction: "string",
                id: 0,
                list: "string",
            }],
            id: "string",
            nssaDefaultInformationOriginate: "string",
            nssaDefaultInformationOriginateMetric: 0,
            nssaDefaultInformationOriginateMetricType: "string",
            nssaRedistribution: "string",
            nssaTranslatorRole: "string",
            ranges: [{
                advertise: "string",
                id: 0,
                prefix: "string",
                substitute: "string",
                substituteStatus: "string",
            }],
            shortcut: "string",
            stubType: "string",
            type: "string",
            virtualLinks: [{
                authentication: "string",
                authenticationKey: "string",
                deadInterval: 0,
                helloInterval: 0,
                keychain: "string",
                md5Key: "string",
                md5Keychain: "string",
                md5Keys: [{
                    id: 0,
                    keyString: "string",
                }],
                name: "string",
                peer: "string",
                retransmitInterval: 0,
                transmitDelay: 0,
            }],
        }],
        spfTimers: "string",
        summaryAddresses: [{
            advertise: "string",
            id: 0,
            prefix: "string",
            tag: 0,
        }],
        vdomparam: "string",
    });
    
    type: fortios:router:Ospf
    properties:
        abrType: string
        areas:
            - authentication: string
              comments: string
              defaultCost: 0
              filterLists:
                - direction: string
                  id: 0
                  list: string
              id: string
              nssaDefaultInformationOriginate: string
              nssaDefaultInformationOriginateMetric: 0
              nssaDefaultInformationOriginateMetricType: string
              nssaRedistribution: string
              nssaTranslatorRole: string
              ranges:
                - advertise: string
                  id: 0
                  prefix: string
                  substitute: string
                  substituteStatus: string
              shortcut: string
              stubType: string
              type: string
              virtualLinks:
                - authentication: string
                  authenticationKey: string
                  deadInterval: 0
                  helloInterval: 0
                  keychain: string
                  md5Key: string
                  md5Keychain: string
                  md5Keys:
                    - id: 0
                      keyString: string
                  name: string
                  peer: string
                  retransmitInterval: 0
                  transmitDelay: 0
        autoCostRefBandwidth: 0
        bfd: string
        databaseOverflow: string
        databaseOverflowMaxLsas: 0
        databaseOverflowTimeToRecover: 0
        defaultInformationMetric: 0
        defaultInformationMetricType: string
        defaultInformationOriginate: string
        defaultInformationRouteMap: string
        defaultMetric: 0
        distance: 0
        distanceExternal: 0
        distanceInterArea: 0
        distanceIntraArea: 0
        distributeListIn: string
        distributeLists:
            - accessList: string
              id: 0
              protocol: string
        distributeRouteMapIn: string
        dynamicSortSubtable: string
        getAllTables: string
        logNeighbourChanges: string
        neighbors:
            - cost: 0
              id: 0
              ip: string
              pollInterval: 0
              priority: 0
        networks:
            - area: string
              comments: string
              id: 0
              prefix: string
        ospfInterfaces:
            - authentication: string
              authenticationKey: string
              bfd: string
              comments: string
              cost: 0
              databaseFilterOut: string
              deadInterval: 0
              helloInterval: 0
              helloMultiplier: 0
              interface: string
              ip: string
              keychain: string
              md5Key: string
              md5Keychain: string
              md5Keys:
                - id: 0
                  keyString: string
              mtu: 0
              mtuIgnore: string
              name: string
              networkType: string
              prefixLength: 0
              priority: 0
              resyncTimeout: 0
              retransmitInterval: 0
              status: string
              transmitDelay: 0
        passiveInterfaces:
            - name: string
        redistributes:
            - metric: 0
              metricType: string
              name: string
              routemap: string
              status: string
              tag: 0
        restartMode: string
        restartOnTopologyChange: string
        restartPeriod: 0
        rfc1583Compatible: string
        routerId: string
        spfTimers: string
        summaryAddresses:
            - advertise: string
              id: 0
              prefix: string
              tag: 0
        vdomparam: string
    

    Ospf Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Ospf resource accepts the following input properties:

    RouterId string
    Router ID.
    AbrType string
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    Areas List<Pulumiverse.Fortios.Router.Inputs.OspfArea>
    OSPF area configuration. The structure of area block is documented below.
    AutoCostRefBandwidth int
    Reference bandwidth in terms of megabits per second.
    Bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    DatabaseOverflow string
    Enable/disable database overflow. Valid values: enable, disable.
    DatabaseOverflowMaxLsas int
    Database overflow maximum LSAs.
    DatabaseOverflowTimeToRecover int
    Database overflow time to recover (sec).
    DefaultInformationMetric int
    Default information metric.
    DefaultInformationMetricType string
    Default information metric type. Valid values: 1, 2.
    DefaultInformationOriginate string
    Enable/disable generation of default route. Valid values: enable, always, disable.
    DefaultInformationRouteMap string
    Default information route map.
    DefaultMetric int
    Default metric of redistribute routes.
    Distance int
    Distance of the route.
    DistanceExternal int
    Administrative external distance.
    DistanceInterArea int
    Administrative inter-area distance.
    DistanceIntraArea int
    Administrative intra-area distance.
    DistributeListIn string
    Filter incoming routes.
    DistributeLists List<Pulumiverse.Fortios.Router.Inputs.OspfDistributeList>
    Distribute list configuration. The structure of distribute_list block is documented below.
    DistributeRouteMapIn string
    Filter incoming external routes by route-map.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    LogNeighbourChanges string
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    Neighbors List<Pulumiverse.Fortios.Router.Inputs.OspfNeighbor>
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    Networks List<Pulumiverse.Fortios.Router.Inputs.OspfNetwork>
    OSPF network configuration. The structure of network block is documented below.
    OspfInterfaces List<Pulumiverse.Fortios.Router.Inputs.OspfOspfInterface>
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    PassiveInterfaces List<Pulumiverse.Fortios.Router.Inputs.OspfPassiveInterface>
    Passive interface configuration. The structure of passive_interface block is documented below.
    Redistributes List<Pulumiverse.Fortios.Router.Inputs.OspfRedistribute>
    Redistribute configuration. The structure of redistribute block is documented below.
    RestartMode string
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    RestartOnTopologyChange string
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    RestartPeriod int
    Graceful restart period.
    Rfc1583Compatible string
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    SpfTimers string
    SPF calculation frequency.
    SummaryAddresses List<Pulumiverse.Fortios.Router.Inputs.OspfSummaryAddress>
    IP address summary configuration. The structure of summary_address block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    RouterId string
    Router ID.
    AbrType string
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    Areas []OspfAreaArgs
    OSPF area configuration. The structure of area block is documented below.
    AutoCostRefBandwidth int
    Reference bandwidth in terms of megabits per second.
    Bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    DatabaseOverflow string
    Enable/disable database overflow. Valid values: enable, disable.
    DatabaseOverflowMaxLsas int
    Database overflow maximum LSAs.
    DatabaseOverflowTimeToRecover int
    Database overflow time to recover (sec).
    DefaultInformationMetric int
    Default information metric.
    DefaultInformationMetricType string
    Default information metric type. Valid values: 1, 2.
    DefaultInformationOriginate string
    Enable/disable generation of default route. Valid values: enable, always, disable.
    DefaultInformationRouteMap string
    Default information route map.
    DefaultMetric int
    Default metric of redistribute routes.
    Distance int
    Distance of the route.
    DistanceExternal int
    Administrative external distance.
    DistanceInterArea int
    Administrative inter-area distance.
    DistanceIntraArea int
    Administrative intra-area distance.
    DistributeListIn string
    Filter incoming routes.
    DistributeLists []OspfDistributeListArgs
    Distribute list configuration. The structure of distribute_list block is documented below.
    DistributeRouteMapIn string
    Filter incoming external routes by route-map.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    LogNeighbourChanges string
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    Neighbors []OspfNeighborArgs
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    Networks []OspfNetworkArgs
    OSPF network configuration. The structure of network block is documented below.
    OspfInterfaces []OspfOspfInterfaceArgs
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    PassiveInterfaces []OspfPassiveInterfaceArgs
    Passive interface configuration. The structure of passive_interface block is documented below.
    Redistributes []OspfRedistributeArgs
    Redistribute configuration. The structure of redistribute block is documented below.
    RestartMode string
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    RestartOnTopologyChange string
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    RestartPeriod int
    Graceful restart period.
    Rfc1583Compatible string
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    SpfTimers string
    SPF calculation frequency.
    SummaryAddresses []OspfSummaryAddressArgs
    IP address summary configuration. The structure of summary_address block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    routerId String
    Router ID.
    abrType String
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    areas List<OspfArea>
    OSPF area configuration. The structure of area block is documented below.
    autoCostRefBandwidth Integer
    Reference bandwidth in terms of megabits per second.
    bfd String
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    databaseOverflow String
    Enable/disable database overflow. Valid values: enable, disable.
    databaseOverflowMaxLsas Integer
    Database overflow maximum LSAs.
    databaseOverflowTimeToRecover Integer
    Database overflow time to recover (sec).
    defaultInformationMetric Integer
    Default information metric.
    defaultInformationMetricType String
    Default information metric type. Valid values: 1, 2.
    defaultInformationOriginate String
    Enable/disable generation of default route. Valid values: enable, always, disable.
    defaultInformationRouteMap String
    Default information route map.
    defaultMetric Integer
    Default metric of redistribute routes.
    distance Integer
    Distance of the route.
    distanceExternal Integer
    Administrative external distance.
    distanceInterArea Integer
    Administrative inter-area distance.
    distanceIntraArea Integer
    Administrative intra-area distance.
    distributeListIn String
    Filter incoming routes.
    distributeLists List<OspfDistributeList>
    Distribute list configuration. The structure of distribute_list block is documented below.
    distributeRouteMapIn String
    Filter incoming external routes by route-map.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    logNeighbourChanges String
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    neighbors List<OspfNeighbor>
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    networks List<OspfNetwork>
    OSPF network configuration. The structure of network block is documented below.
    ospfInterfaces List<OspfOspfInterface>
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    passiveInterfaces List<OspfPassiveInterface>
    Passive interface configuration. The structure of passive_interface block is documented below.
    redistributes List<OspfRedistribute>
    Redistribute configuration. The structure of redistribute block is documented below.
    restartMode String
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    restartOnTopologyChange String
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    restartPeriod Integer
    Graceful restart period.
    rfc1583Compatible String
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    spfTimers String
    SPF calculation frequency.
    summaryAddresses List<OspfSummaryAddress>
    IP address summary configuration. The structure of summary_address block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    routerId string
    Router ID.
    abrType string
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    areas OspfArea[]
    OSPF area configuration. The structure of area block is documented below.
    autoCostRefBandwidth number
    Reference bandwidth in terms of megabits per second.
    bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    databaseOverflow string
    Enable/disable database overflow. Valid values: enable, disable.
    databaseOverflowMaxLsas number
    Database overflow maximum LSAs.
    databaseOverflowTimeToRecover number
    Database overflow time to recover (sec).
    defaultInformationMetric number
    Default information metric.
    defaultInformationMetricType string
    Default information metric type. Valid values: 1, 2.
    defaultInformationOriginate string
    Enable/disable generation of default route. Valid values: enable, always, disable.
    defaultInformationRouteMap string
    Default information route map.
    defaultMetric number
    Default metric of redistribute routes.
    distance number
    Distance of the route.
    distanceExternal number
    Administrative external distance.
    distanceInterArea number
    Administrative inter-area distance.
    distanceIntraArea number
    Administrative intra-area distance.
    distributeListIn string
    Filter incoming routes.
    distributeLists OspfDistributeList[]
    Distribute list configuration. The structure of distribute_list block is documented below.
    distributeRouteMapIn string
    Filter incoming external routes by route-map.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    logNeighbourChanges string
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    neighbors OspfNeighbor[]
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    networks OspfNetwork[]
    OSPF network configuration. The structure of network block is documented below.
    ospfInterfaces OspfOspfInterface[]
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    passiveInterfaces OspfPassiveInterface[]
    Passive interface configuration. The structure of passive_interface block is documented below.
    redistributes OspfRedistribute[]
    Redistribute configuration. The structure of redistribute block is documented below.
    restartMode string
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    restartOnTopologyChange string
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    restartPeriod number
    Graceful restart period.
    rfc1583Compatible string
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    spfTimers string
    SPF calculation frequency.
    summaryAddresses OspfSummaryAddress[]
    IP address summary configuration. The structure of summary_address block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    router_id str
    Router ID.
    abr_type str
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    areas Sequence[OspfAreaArgs]
    OSPF area configuration. The structure of area block is documented below.
    auto_cost_ref_bandwidth int
    Reference bandwidth in terms of megabits per second.
    bfd str
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    database_overflow str
    Enable/disable database overflow. Valid values: enable, disable.
    database_overflow_max_lsas int
    Database overflow maximum LSAs.
    database_overflow_time_to_recover int
    Database overflow time to recover (sec).
    default_information_metric int
    Default information metric.
    default_information_metric_type str
    Default information metric type. Valid values: 1, 2.
    default_information_originate str
    Enable/disable generation of default route. Valid values: enable, always, disable.
    default_information_route_map str
    Default information route map.
    default_metric int
    Default metric of redistribute routes.
    distance int
    Distance of the route.
    distance_external int
    Administrative external distance.
    distance_inter_area int
    Administrative inter-area distance.
    distance_intra_area int
    Administrative intra-area distance.
    distribute_list_in str
    Filter incoming routes.
    distribute_lists Sequence[OspfDistributeListArgs]
    Distribute list configuration. The structure of distribute_list block is documented below.
    distribute_route_map_in str
    Filter incoming external routes by route-map.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log_neighbour_changes str
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    neighbors Sequence[OspfNeighborArgs]
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    networks Sequence[OspfNetworkArgs]
    OSPF network configuration. The structure of network block is documented below.
    ospf_interfaces Sequence[OspfOspfInterfaceArgs]
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    passive_interfaces Sequence[OspfPassiveInterfaceArgs]
    Passive interface configuration. The structure of passive_interface block is documented below.
    redistributes Sequence[OspfRedistributeArgs]
    Redistribute configuration. The structure of redistribute block is documented below.
    restart_mode str
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    restart_on_topology_change str
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    restart_period int
    Graceful restart period.
    rfc1583_compatible str
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    spf_timers str
    SPF calculation frequency.
    summary_addresses Sequence[OspfSummaryAddressArgs]
    IP address summary configuration. The structure of summary_address block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    routerId String
    Router ID.
    abrType String
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    areas List<Property Map>
    OSPF area configuration. The structure of area block is documented below.
    autoCostRefBandwidth Number
    Reference bandwidth in terms of megabits per second.
    bfd String
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    databaseOverflow String
    Enable/disable database overflow. Valid values: enable, disable.
    databaseOverflowMaxLsas Number
    Database overflow maximum LSAs.
    databaseOverflowTimeToRecover Number
    Database overflow time to recover (sec).
    defaultInformationMetric Number
    Default information metric.
    defaultInformationMetricType String
    Default information metric type. Valid values: 1, 2.
    defaultInformationOriginate String
    Enable/disable generation of default route. Valid values: enable, always, disable.
    defaultInformationRouteMap String
    Default information route map.
    defaultMetric Number
    Default metric of redistribute routes.
    distance Number
    Distance of the route.
    distanceExternal Number
    Administrative external distance.
    distanceInterArea Number
    Administrative inter-area distance.
    distanceIntraArea Number
    Administrative intra-area distance.
    distributeListIn String
    Filter incoming routes.
    distributeLists List<Property Map>
    Distribute list configuration. The structure of distribute_list block is documented below.
    distributeRouteMapIn String
    Filter incoming external routes by route-map.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    logNeighbourChanges String
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    neighbors List<Property Map>
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    networks List<Property Map>
    OSPF network configuration. The structure of network block is documented below.
    ospfInterfaces List<Property Map>
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    passiveInterfaces List<Property Map>
    Passive interface configuration. The structure of passive_interface block is documented below.
    redistributes List<Property Map>
    Redistribute configuration. The structure of redistribute block is documented below.
    restartMode String
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    restartOnTopologyChange String
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    restartPeriod Number
    Graceful restart period.
    rfc1583Compatible String
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    spfTimers String
    SPF calculation frequency.
    summaryAddresses List<Property Map>
    IP address summary configuration. The structure of summary_address block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Ospf resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Ospf Resource

    Get an existing Ospf resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OspfState, opts?: CustomResourceOptions): Ospf
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            abr_type: Optional[str] = None,
            areas: Optional[Sequence[OspfAreaArgs]] = None,
            auto_cost_ref_bandwidth: Optional[int] = None,
            bfd: Optional[str] = None,
            database_overflow: Optional[str] = None,
            database_overflow_max_lsas: Optional[int] = None,
            database_overflow_time_to_recover: Optional[int] = None,
            default_information_metric: Optional[int] = None,
            default_information_metric_type: Optional[str] = None,
            default_information_originate: Optional[str] = None,
            default_information_route_map: Optional[str] = None,
            default_metric: Optional[int] = None,
            distance: Optional[int] = None,
            distance_external: Optional[int] = None,
            distance_inter_area: Optional[int] = None,
            distance_intra_area: Optional[int] = None,
            distribute_list_in: Optional[str] = None,
            distribute_lists: Optional[Sequence[OspfDistributeListArgs]] = None,
            distribute_route_map_in: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            log_neighbour_changes: Optional[str] = None,
            neighbors: Optional[Sequence[OspfNeighborArgs]] = None,
            networks: Optional[Sequence[OspfNetworkArgs]] = None,
            ospf_interfaces: Optional[Sequence[OspfOspfInterfaceArgs]] = None,
            passive_interfaces: Optional[Sequence[OspfPassiveInterfaceArgs]] = None,
            redistributes: Optional[Sequence[OspfRedistributeArgs]] = None,
            restart_mode: Optional[str] = None,
            restart_on_topology_change: Optional[str] = None,
            restart_period: Optional[int] = None,
            rfc1583_compatible: Optional[str] = None,
            router_id: Optional[str] = None,
            spf_timers: Optional[str] = None,
            summary_addresses: Optional[Sequence[OspfSummaryAddressArgs]] = None,
            vdomparam: Optional[str] = None) -> Ospf
    func GetOspf(ctx *Context, name string, id IDInput, state *OspfState, opts ...ResourceOption) (*Ospf, error)
    public static Ospf Get(string name, Input<string> id, OspfState? state, CustomResourceOptions? opts = null)
    public static Ospf get(String name, Output<String> id, OspfState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AbrType string
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    Areas List<Pulumiverse.Fortios.Router.Inputs.OspfArea>
    OSPF area configuration. The structure of area block is documented below.
    AutoCostRefBandwidth int
    Reference bandwidth in terms of megabits per second.
    Bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    DatabaseOverflow string
    Enable/disable database overflow. Valid values: enable, disable.
    DatabaseOverflowMaxLsas int
    Database overflow maximum LSAs.
    DatabaseOverflowTimeToRecover int
    Database overflow time to recover (sec).
    DefaultInformationMetric int
    Default information metric.
    DefaultInformationMetricType string
    Default information metric type. Valid values: 1, 2.
    DefaultInformationOriginate string
    Enable/disable generation of default route. Valid values: enable, always, disable.
    DefaultInformationRouteMap string
    Default information route map.
    DefaultMetric int
    Default metric of redistribute routes.
    Distance int
    Distance of the route.
    DistanceExternal int
    Administrative external distance.
    DistanceInterArea int
    Administrative inter-area distance.
    DistanceIntraArea int
    Administrative intra-area distance.
    DistributeListIn string
    Filter incoming routes.
    DistributeLists List<Pulumiverse.Fortios.Router.Inputs.OspfDistributeList>
    Distribute list configuration. The structure of distribute_list block is documented below.
    DistributeRouteMapIn string
    Filter incoming external routes by route-map.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    LogNeighbourChanges string
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    Neighbors List<Pulumiverse.Fortios.Router.Inputs.OspfNeighbor>
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    Networks List<Pulumiverse.Fortios.Router.Inputs.OspfNetwork>
    OSPF network configuration. The structure of network block is documented below.
    OspfInterfaces List<Pulumiverse.Fortios.Router.Inputs.OspfOspfInterface>
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    PassiveInterfaces List<Pulumiverse.Fortios.Router.Inputs.OspfPassiveInterface>
    Passive interface configuration. The structure of passive_interface block is documented below.
    Redistributes List<Pulumiverse.Fortios.Router.Inputs.OspfRedistribute>
    Redistribute configuration. The structure of redistribute block is documented below.
    RestartMode string
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    RestartOnTopologyChange string
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    RestartPeriod int
    Graceful restart period.
    Rfc1583Compatible string
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    RouterId string
    Router ID.
    SpfTimers string
    SPF calculation frequency.
    SummaryAddresses List<Pulumiverse.Fortios.Router.Inputs.OspfSummaryAddress>
    IP address summary configuration. The structure of summary_address block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    AbrType string
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    Areas []OspfAreaArgs
    OSPF area configuration. The structure of area block is documented below.
    AutoCostRefBandwidth int
    Reference bandwidth in terms of megabits per second.
    Bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    DatabaseOverflow string
    Enable/disable database overflow. Valid values: enable, disable.
    DatabaseOverflowMaxLsas int
    Database overflow maximum LSAs.
    DatabaseOverflowTimeToRecover int
    Database overflow time to recover (sec).
    DefaultInformationMetric int
    Default information metric.
    DefaultInformationMetricType string
    Default information metric type. Valid values: 1, 2.
    DefaultInformationOriginate string
    Enable/disable generation of default route. Valid values: enable, always, disable.
    DefaultInformationRouteMap string
    Default information route map.
    DefaultMetric int
    Default metric of redistribute routes.
    Distance int
    Distance of the route.
    DistanceExternal int
    Administrative external distance.
    DistanceInterArea int
    Administrative inter-area distance.
    DistanceIntraArea int
    Administrative intra-area distance.
    DistributeListIn string
    Filter incoming routes.
    DistributeLists []OspfDistributeListArgs
    Distribute list configuration. The structure of distribute_list block is documented below.
    DistributeRouteMapIn string
    Filter incoming external routes by route-map.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    LogNeighbourChanges string
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    Neighbors []OspfNeighborArgs
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    Networks []OspfNetworkArgs
    OSPF network configuration. The structure of network block is documented below.
    OspfInterfaces []OspfOspfInterfaceArgs
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    PassiveInterfaces []OspfPassiveInterfaceArgs
    Passive interface configuration. The structure of passive_interface block is documented below.
    Redistributes []OspfRedistributeArgs
    Redistribute configuration. The structure of redistribute block is documented below.
    RestartMode string
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    RestartOnTopologyChange string
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    RestartPeriod int
    Graceful restart period.
    Rfc1583Compatible string
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    RouterId string
    Router ID.
    SpfTimers string
    SPF calculation frequency.
    SummaryAddresses []OspfSummaryAddressArgs
    IP address summary configuration. The structure of summary_address block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    abrType String
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    areas List<OspfArea>
    OSPF area configuration. The structure of area block is documented below.
    autoCostRefBandwidth Integer
    Reference bandwidth in terms of megabits per second.
    bfd String
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    databaseOverflow String
    Enable/disable database overflow. Valid values: enable, disable.
    databaseOverflowMaxLsas Integer
    Database overflow maximum LSAs.
    databaseOverflowTimeToRecover Integer
    Database overflow time to recover (sec).
    defaultInformationMetric Integer
    Default information metric.
    defaultInformationMetricType String
    Default information metric type. Valid values: 1, 2.
    defaultInformationOriginate String
    Enable/disable generation of default route. Valid values: enable, always, disable.
    defaultInformationRouteMap String
    Default information route map.
    defaultMetric Integer
    Default metric of redistribute routes.
    distance Integer
    Distance of the route.
    distanceExternal Integer
    Administrative external distance.
    distanceInterArea Integer
    Administrative inter-area distance.
    distanceIntraArea Integer
    Administrative intra-area distance.
    distributeListIn String
    Filter incoming routes.
    distributeLists List<OspfDistributeList>
    Distribute list configuration. The structure of distribute_list block is documented below.
    distributeRouteMapIn String
    Filter incoming external routes by route-map.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    logNeighbourChanges String
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    neighbors List<OspfNeighbor>
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    networks List<OspfNetwork>
    OSPF network configuration. The structure of network block is documented below.
    ospfInterfaces List<OspfOspfInterface>
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    passiveInterfaces List<OspfPassiveInterface>
    Passive interface configuration. The structure of passive_interface block is documented below.
    redistributes List<OspfRedistribute>
    Redistribute configuration. The structure of redistribute block is documented below.
    restartMode String
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    restartOnTopologyChange String
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    restartPeriod Integer
    Graceful restart period.
    rfc1583Compatible String
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    routerId String
    Router ID.
    spfTimers String
    SPF calculation frequency.
    summaryAddresses List<OspfSummaryAddress>
    IP address summary configuration. The structure of summary_address block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    abrType string
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    areas OspfArea[]
    OSPF area configuration. The structure of area block is documented below.
    autoCostRefBandwidth number
    Reference bandwidth in terms of megabits per second.
    bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    databaseOverflow string
    Enable/disable database overflow. Valid values: enable, disable.
    databaseOverflowMaxLsas number
    Database overflow maximum LSAs.
    databaseOverflowTimeToRecover number
    Database overflow time to recover (sec).
    defaultInformationMetric number
    Default information metric.
    defaultInformationMetricType string
    Default information metric type. Valid values: 1, 2.
    defaultInformationOriginate string
    Enable/disable generation of default route. Valid values: enable, always, disable.
    defaultInformationRouteMap string
    Default information route map.
    defaultMetric number
    Default metric of redistribute routes.
    distance number
    Distance of the route.
    distanceExternal number
    Administrative external distance.
    distanceInterArea number
    Administrative inter-area distance.
    distanceIntraArea number
    Administrative intra-area distance.
    distributeListIn string
    Filter incoming routes.
    distributeLists OspfDistributeList[]
    Distribute list configuration. The structure of distribute_list block is documented below.
    distributeRouteMapIn string
    Filter incoming external routes by route-map.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    logNeighbourChanges string
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    neighbors OspfNeighbor[]
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    networks OspfNetwork[]
    OSPF network configuration. The structure of network block is documented below.
    ospfInterfaces OspfOspfInterface[]
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    passiveInterfaces OspfPassiveInterface[]
    Passive interface configuration. The structure of passive_interface block is documented below.
    redistributes OspfRedistribute[]
    Redistribute configuration. The structure of redistribute block is documented below.
    restartMode string
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    restartOnTopologyChange string
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    restartPeriod number
    Graceful restart period.
    rfc1583Compatible string
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    routerId string
    Router ID.
    spfTimers string
    SPF calculation frequency.
    summaryAddresses OspfSummaryAddress[]
    IP address summary configuration. The structure of summary_address block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    abr_type str
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    areas Sequence[OspfAreaArgs]
    OSPF area configuration. The structure of area block is documented below.
    auto_cost_ref_bandwidth int
    Reference bandwidth in terms of megabits per second.
    bfd str
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    database_overflow str
    Enable/disable database overflow. Valid values: enable, disable.
    database_overflow_max_lsas int
    Database overflow maximum LSAs.
    database_overflow_time_to_recover int
    Database overflow time to recover (sec).
    default_information_metric int
    Default information metric.
    default_information_metric_type str
    Default information metric type. Valid values: 1, 2.
    default_information_originate str
    Enable/disable generation of default route. Valid values: enable, always, disable.
    default_information_route_map str
    Default information route map.
    default_metric int
    Default metric of redistribute routes.
    distance int
    Distance of the route.
    distance_external int
    Administrative external distance.
    distance_inter_area int
    Administrative inter-area distance.
    distance_intra_area int
    Administrative intra-area distance.
    distribute_list_in str
    Filter incoming routes.
    distribute_lists Sequence[OspfDistributeListArgs]
    Distribute list configuration. The structure of distribute_list block is documented below.
    distribute_route_map_in str
    Filter incoming external routes by route-map.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    log_neighbour_changes str
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    neighbors Sequence[OspfNeighborArgs]
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    networks Sequence[OspfNetworkArgs]
    OSPF network configuration. The structure of network block is documented below.
    ospf_interfaces Sequence[OspfOspfInterfaceArgs]
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    passive_interfaces Sequence[OspfPassiveInterfaceArgs]
    Passive interface configuration. The structure of passive_interface block is documented below.
    redistributes Sequence[OspfRedistributeArgs]
    Redistribute configuration. The structure of redistribute block is documented below.
    restart_mode str
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    restart_on_topology_change str
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    restart_period int
    Graceful restart period.
    rfc1583_compatible str
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    router_id str
    Router ID.
    spf_timers str
    SPF calculation frequency.
    summary_addresses Sequence[OspfSummaryAddressArgs]
    IP address summary configuration. The structure of summary_address block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    abrType String
    Area border router type. Valid values: cisco, ibm, shortcut, standard.
    areas List<Property Map>
    OSPF area configuration. The structure of area block is documented below.
    autoCostRefBandwidth Number
    Reference bandwidth in terms of megabits per second.
    bfd String
    Bidirectional Forwarding Detection (BFD). Valid values: enable, disable.
    databaseOverflow String
    Enable/disable database overflow. Valid values: enable, disable.
    databaseOverflowMaxLsas Number
    Database overflow maximum LSAs.
    databaseOverflowTimeToRecover Number
    Database overflow time to recover (sec).
    defaultInformationMetric Number
    Default information metric.
    defaultInformationMetricType String
    Default information metric type. Valid values: 1, 2.
    defaultInformationOriginate String
    Enable/disable generation of default route. Valid values: enable, always, disable.
    defaultInformationRouteMap String
    Default information route map.
    defaultMetric Number
    Default metric of redistribute routes.
    distance Number
    Distance of the route.
    distanceExternal Number
    Administrative external distance.
    distanceInterArea Number
    Administrative inter-area distance.
    distanceIntraArea Number
    Administrative intra-area distance.
    distributeListIn String
    Filter incoming routes.
    distributeLists List<Property Map>
    Distribute list configuration. The structure of distribute_list block is documented below.
    distributeRouteMapIn String
    Filter incoming external routes by route-map.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    logNeighbourChanges String
    Enable logging of OSPF neighbour's changes Valid values: enable, disable.
    neighbors List<Property Map>
    OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighbor block is documented below.
    networks List<Property Map>
    OSPF network configuration. The structure of network block is documented below.
    ospfInterfaces List<Property Map>
    OSPF interface configuration. The structure of ospf_interface block is documented below.
    passiveInterfaces List<Property Map>
    Passive interface configuration. The structure of passive_interface block is documented below.
    redistributes List<Property Map>
    Redistribute configuration. The structure of redistribute block is documented below.
    restartMode String
    OSPF restart mode (graceful or LLS). Valid values: none, lls, graceful-restart.
    restartOnTopologyChange String
    Enable/disable continuing graceful restart upon topology change. Valid values: enable, disable.
    restartPeriod Number
    Graceful restart period.
    rfc1583Compatible String
    Enable/disable RFC1583 compatibility. Valid values: enable, disable.
    routerId String
    Router ID.
    spfTimers String
    SPF calculation frequency.
    summaryAddresses List<Property Map>
    IP address summary configuration. The structure of summary_address block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    OspfArea, OspfAreaArgs

    Authentication string
    Authentication type.
    Comments string
    Comment.
    DefaultCost int
    Summary default cost of stub or NSSA area.
    FilterLists List<Pulumiverse.Fortios.Router.Inputs.OspfAreaFilterList>
    OSPF area filter-list configuration. The structure of filter_list block is documented below.
    Id string
    Area entry IP address.
    NssaDefaultInformationOriginate string
    Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable, always, disable.
    NssaDefaultInformationOriginateMetric int
    OSPF default metric.
    NssaDefaultInformationOriginateMetricType string
    OSPF metric type for default routes. Valid values: 1, 2.
    NssaRedistribution string
    Enable/disable redistribute into NSSA area. Valid values: enable, disable.
    NssaTranslatorRole string
    NSSA translator role type. Valid values: candidate, never, always.
    Ranges List<Pulumiverse.Fortios.Router.Inputs.OspfAreaRange>
    OSPF area range configuration. The structure of range block is documented below.
    Shortcut string
    Enable/disable shortcut option. Valid values: disable, enable, default.
    StubType string
    Stub summary setting. Valid values: no-summary, summary.
    Type string
    Area type setting. Valid values: regular, nssa, stub.
    VirtualLinks List<Pulumiverse.Fortios.Router.Inputs.OspfAreaVirtualLink>
    OSPF virtual link configuration. The structure of virtual_link block is documented below.
    Authentication string
    Authentication type.
    Comments string
    Comment.
    DefaultCost int
    Summary default cost of stub or NSSA area.
    FilterLists []OspfAreaFilterList
    OSPF area filter-list configuration. The structure of filter_list block is documented below.
    Id string
    Area entry IP address.
    NssaDefaultInformationOriginate string
    Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable, always, disable.
    NssaDefaultInformationOriginateMetric int
    OSPF default metric.
    NssaDefaultInformationOriginateMetricType string
    OSPF metric type for default routes. Valid values: 1, 2.
    NssaRedistribution string
    Enable/disable redistribute into NSSA area. Valid values: enable, disable.
    NssaTranslatorRole string
    NSSA translator role type. Valid values: candidate, never, always.
    Ranges []OspfAreaRange
    OSPF area range configuration. The structure of range block is documented below.
    Shortcut string
    Enable/disable shortcut option. Valid values: disable, enable, default.
    StubType string
    Stub summary setting. Valid values: no-summary, summary.
    Type string
    Area type setting. Valid values: regular, nssa, stub.
    VirtualLinks []OspfAreaVirtualLink
    OSPF virtual link configuration. The structure of virtual_link block is documented below.
    authentication String
    Authentication type.
    comments String
    Comment.
    defaultCost Integer
    Summary default cost of stub or NSSA area.
    filterLists List<OspfAreaFilterList>
    OSPF area filter-list configuration. The structure of filter_list block is documented below.
    id String
    Area entry IP address.
    nssaDefaultInformationOriginate String
    Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable, always, disable.
    nssaDefaultInformationOriginateMetric Integer
    OSPF default metric.
    nssaDefaultInformationOriginateMetricType String
    OSPF metric type for default routes. Valid values: 1, 2.
    nssaRedistribution String
    Enable/disable redistribute into NSSA area. Valid values: enable, disable.
    nssaTranslatorRole String
    NSSA translator role type. Valid values: candidate, never, always.
    ranges List<OspfAreaRange>
    OSPF area range configuration. The structure of range block is documented below.
    shortcut String
    Enable/disable shortcut option. Valid values: disable, enable, default.
    stubType String
    Stub summary setting. Valid values: no-summary, summary.
    type String
    Area type setting. Valid values: regular, nssa, stub.
    virtualLinks List<OspfAreaVirtualLink>
    OSPF virtual link configuration. The structure of virtual_link block is documented below.
    authentication string
    Authentication type.
    comments string
    Comment.
    defaultCost number
    Summary default cost of stub or NSSA area.
    filterLists OspfAreaFilterList[]
    OSPF area filter-list configuration. The structure of filter_list block is documented below.
    id string
    Area entry IP address.
    nssaDefaultInformationOriginate string
    Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable, always, disable.
    nssaDefaultInformationOriginateMetric number
    OSPF default metric.
    nssaDefaultInformationOriginateMetricType string
    OSPF metric type for default routes. Valid values: 1, 2.
    nssaRedistribution string
    Enable/disable redistribute into NSSA area. Valid values: enable, disable.
    nssaTranslatorRole string
    NSSA translator role type. Valid values: candidate, never, always.
    ranges OspfAreaRange[]
    OSPF area range configuration. The structure of range block is documented below.
    shortcut string
    Enable/disable shortcut option. Valid values: disable, enable, default.
    stubType string
    Stub summary setting. Valid values: no-summary, summary.
    type string
    Area type setting. Valid values: regular, nssa, stub.
    virtualLinks OspfAreaVirtualLink[]
    OSPF virtual link configuration. The structure of virtual_link block is documented below.
    authentication str
    Authentication type.
    comments str
    Comment.
    default_cost int
    Summary default cost of stub or NSSA area.
    filter_lists Sequence[OspfAreaFilterList]
    OSPF area filter-list configuration. The structure of filter_list block is documented below.
    id str
    Area entry IP address.
    nssa_default_information_originate str
    Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable, always, disable.
    nssa_default_information_originate_metric int
    OSPF default metric.
    nssa_default_information_originate_metric_type str
    OSPF metric type for default routes. Valid values: 1, 2.
    nssa_redistribution str
    Enable/disable redistribute into NSSA area. Valid values: enable, disable.
    nssa_translator_role str
    NSSA translator role type. Valid values: candidate, never, always.
    ranges Sequence[OspfAreaRange]
    OSPF area range configuration. The structure of range block is documented below.
    shortcut str
    Enable/disable shortcut option. Valid values: disable, enable, default.
    stub_type str
    Stub summary setting. Valid values: no-summary, summary.
    type str
    Area type setting. Valid values: regular, nssa, stub.
    virtual_links Sequence[OspfAreaVirtualLink]
    OSPF virtual link configuration. The structure of virtual_link block is documented below.
    authentication String
    Authentication type.
    comments String
    Comment.
    defaultCost Number
    Summary default cost of stub or NSSA area.
    filterLists List<Property Map>
    OSPF area filter-list configuration. The structure of filter_list block is documented below.
    id String
    Area entry IP address.
    nssaDefaultInformationOriginate String
    Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable, always, disable.
    nssaDefaultInformationOriginateMetric Number
    OSPF default metric.
    nssaDefaultInformationOriginateMetricType String
    OSPF metric type for default routes. Valid values: 1, 2.
    nssaRedistribution String
    Enable/disable redistribute into NSSA area. Valid values: enable, disable.
    nssaTranslatorRole String
    NSSA translator role type. Valid values: candidate, never, always.
    ranges List<Property Map>
    OSPF area range configuration. The structure of range block is documented below.
    shortcut String
    Enable/disable shortcut option. Valid values: disable, enable, default.
    stubType String
    Stub summary setting. Valid values: no-summary, summary.
    type String
    Area type setting. Valid values: regular, nssa, stub.
    virtualLinks List<Property Map>
    OSPF virtual link configuration. The structure of virtual_link block is documented below.

    OspfAreaFilterList, OspfAreaFilterListArgs

    Direction string
    Direction. Valid values: in, out.
    Id int
    Filter list entry ID.
    List string
    Access-list or prefix-list name.
    Direction string
    Direction. Valid values: in, out.
    Id int
    Filter list entry ID.
    List string
    Access-list or prefix-list name.
    direction String
    Direction. Valid values: in, out.
    id Integer
    Filter list entry ID.
    list String
    Access-list or prefix-list name.
    direction string
    Direction. Valid values: in, out.
    id number
    Filter list entry ID.
    list string
    Access-list or prefix-list name.
    direction str
    Direction. Valid values: in, out.
    id int
    Filter list entry ID.
    list str
    Access-list or prefix-list name.
    direction String
    Direction. Valid values: in, out.
    id Number
    Filter list entry ID.
    list String
    Access-list or prefix-list name.

    OspfAreaRange, OspfAreaRangeArgs

    string
    Enable/disable advertise status. Valid values: disable, enable.
    Id int
    Range entry ID.
    Prefix string
    Prefix.
    Substitute string
    Substitute prefix.
    SubstituteStatus string
    Enable/disable substitute status. Valid values: enable, disable.
    string
    Enable/disable advertise status. Valid values: disable, enable.
    Id int
    Range entry ID.
    Prefix string
    Prefix.
    Substitute string
    Substitute prefix.
    SubstituteStatus string
    Enable/disable substitute status. Valid values: enable, disable.
    String
    Enable/disable advertise status. Valid values: disable, enable.
    id Integer
    Range entry ID.
    prefix String
    Prefix.
    substitute String
    Substitute prefix.
    substituteStatus String
    Enable/disable substitute status. Valid values: enable, disable.
    string
    Enable/disable advertise status. Valid values: disable, enable.
    id number
    Range entry ID.
    prefix string
    Prefix.
    substitute string
    Substitute prefix.
    substituteStatus string
    Enable/disable substitute status. Valid values: enable, disable.
    str
    Enable/disable advertise status. Valid values: disable, enable.
    id int
    Range entry ID.
    prefix str
    Prefix.
    substitute str
    Substitute prefix.
    substitute_status str
    Enable/disable substitute status. Valid values: enable, disable.
    String
    Enable/disable advertise status. Valid values: disable, enable.
    id Number
    Range entry ID.
    prefix String
    Prefix.
    substitute String
    Substitute prefix.
    substituteStatus String
    Enable/disable substitute status. Valid values: enable, disable.
    Authentication string
    Authentication type.
    AuthenticationKey string
    Authentication key.
    DeadInterval int
    Dead interval.
    HelloInterval int
    Hello interval.
    Keychain string
    Message-digest key-chain name.
    Md5Key string
    MD5 key.
    Md5Keychain string
    Authentication MD5 key-chain name.
    Md5Keys List<Pulumiverse.Fortios.Router.Inputs.OspfAreaVirtualLinkMd5Key>

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    Name string
    Virtual link entry name.
    Peer string
    Peer IP.
    RetransmitInterval int
    Retransmit interval.
    TransmitDelay int
    Transmit delay.
    Authentication string
    Authentication type.
    AuthenticationKey string
    Authentication key.
    DeadInterval int
    Dead interval.
    HelloInterval int
    Hello interval.
    Keychain string
    Message-digest key-chain name.
    Md5Key string
    MD5 key.
    Md5Keychain string
    Authentication MD5 key-chain name.
    Md5Keys []OspfAreaVirtualLinkMd5Key

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    Name string
    Virtual link entry name.
    Peer string
    Peer IP.
    RetransmitInterval int
    Retransmit interval.
    TransmitDelay int
    Transmit delay.
    authentication String
    Authentication type.
    authenticationKey String
    Authentication key.
    deadInterval Integer
    Dead interval.
    helloInterval Integer
    Hello interval.
    keychain String
    Message-digest key-chain name.
    md5Key String
    MD5 key.
    md5Keychain String
    Authentication MD5 key-chain name.
    md5Keys List<OspfAreaVirtualLinkMd5Key>

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    name String
    Virtual link entry name.
    peer String
    Peer IP.
    retransmitInterval Integer
    Retransmit interval.
    transmitDelay Integer
    Transmit delay.
    authentication string
    Authentication type.
    authenticationKey string
    Authentication key.
    deadInterval number
    Dead interval.
    helloInterval number
    Hello interval.
    keychain string
    Message-digest key-chain name.
    md5Key string
    MD5 key.
    md5Keychain string
    Authentication MD5 key-chain name.
    md5Keys OspfAreaVirtualLinkMd5Key[]

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    name string
    Virtual link entry name.
    peer string
    Peer IP.
    retransmitInterval number
    Retransmit interval.
    transmitDelay number
    Transmit delay.
    authentication str
    Authentication type.
    authentication_key str
    Authentication key.
    dead_interval int
    Dead interval.
    hello_interval int
    Hello interval.
    keychain str
    Message-digest key-chain name.
    md5_key str
    MD5 key.
    md5_keychain str
    Authentication MD5 key-chain name.
    md5_keys Sequence[OspfAreaVirtualLinkMd5Key]

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    name str
    Virtual link entry name.
    peer str
    Peer IP.
    retransmit_interval int
    Retransmit interval.
    transmit_delay int
    Transmit delay.
    authentication String
    Authentication type.
    authenticationKey String
    Authentication key.
    deadInterval Number
    Dead interval.
    helloInterval Number
    Hello interval.
    keychain String
    Message-digest key-chain name.
    md5Key String
    MD5 key.
    md5Keychain String
    Authentication MD5 key-chain name.
    md5Keys List<Property Map>

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    name String
    Virtual link entry name.
    peer String
    Peer IP.
    retransmitInterval Number
    Retransmit interval.
    transmitDelay Number
    Transmit delay.

    OspfAreaVirtualLinkMd5Key, OspfAreaVirtualLinkMd5KeyArgs

    Id int
    an identifier for the resource.
    KeyString string
    Id int
    an identifier for the resource.
    KeyString string
    id Integer
    an identifier for the resource.
    keyString String
    id number
    an identifier for the resource.
    keyString string
    id int
    an identifier for the resource.
    key_string str
    id Number
    an identifier for the resource.
    keyString String

    OspfDistributeList, OspfDistributeListArgs

    AccessList string
    Access list name.
    Id int
    Distribute list entry ID.
    Protocol string
    Protocol type. Valid values: connected, static, rip.
    AccessList string
    Access list name.
    Id int
    Distribute list entry ID.
    Protocol string
    Protocol type. Valid values: connected, static, rip.
    accessList String
    Access list name.
    id Integer
    Distribute list entry ID.
    protocol String
    Protocol type. Valid values: connected, static, rip.
    accessList string
    Access list name.
    id number
    Distribute list entry ID.
    protocol string
    Protocol type. Valid values: connected, static, rip.
    access_list str
    Access list name.
    id int
    Distribute list entry ID.
    protocol str
    Protocol type. Valid values: connected, static, rip.
    accessList String
    Access list name.
    id Number
    Distribute list entry ID.
    protocol String
    Protocol type. Valid values: connected, static, rip.

    OspfNeighbor, OspfNeighborArgs

    Cost int
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    Id int
    Neighbor entry ID.
    Ip string
    Interface IP address of the neighbor.
    PollInterval int
    Poll interval time in seconds.
    Priority int
    Priority.
    Cost int
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    Id int
    Neighbor entry ID.
    Ip string
    Interface IP address of the neighbor.
    PollInterval int
    Poll interval time in seconds.
    Priority int
    Priority.
    cost Integer
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    id Integer
    Neighbor entry ID.
    ip String
    Interface IP address of the neighbor.
    pollInterval Integer
    Poll interval time in seconds.
    priority Integer
    Priority.
    cost number
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    id number
    Neighbor entry ID.
    ip string
    Interface IP address of the neighbor.
    pollInterval number
    Poll interval time in seconds.
    priority number
    Priority.
    cost int
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    id int
    Neighbor entry ID.
    ip str
    Interface IP address of the neighbor.
    poll_interval int
    Poll interval time in seconds.
    priority int
    Priority.
    cost Number
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    id Number
    Neighbor entry ID.
    ip String
    Interface IP address of the neighbor.
    pollInterval Number
    Poll interval time in seconds.
    priority Number
    Priority.

    OspfNetwork, OspfNetworkArgs

    Area string
    Attach the network to area.
    Comments string
    Comment.
    Id int
    Network entry ID.
    Prefix string
    Prefix.
    Area string
    Attach the network to area.
    Comments string
    Comment.
    Id int
    Network entry ID.
    Prefix string
    Prefix.
    area String
    Attach the network to area.
    comments String
    Comment.
    id Integer
    Network entry ID.
    prefix String
    Prefix.
    area string
    Attach the network to area.
    comments string
    Comment.
    id number
    Network entry ID.
    prefix string
    Prefix.
    area str
    Attach the network to area.
    comments str
    Comment.
    id int
    Network entry ID.
    prefix str
    Prefix.
    area String
    Attach the network to area.
    comments String
    Comment.
    id Number
    Network entry ID.
    prefix String
    Prefix.

    OspfOspfInterface, OspfOspfInterfaceArgs

    Authentication string
    Authentication type.
    AuthenticationKey string
    Authentication key.
    Bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
    Comments string
    Comment.
    Cost int
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    DatabaseFilterOut string
    Enable/disable control of flooding out LSAs. Valid values: enable, disable.
    DeadInterval int
    Dead interval.
    HelloInterval int
    Hello interval.
    HelloMultiplier int
    Number of hello packets within dead interval.
    Interface string
    Configuration interface name.
    Ip string
    IP address.
    Keychain string
    Message-digest key-chain name.
    Md5Key string
    MD5 key.
    Md5Keychain string
    Authentication MD5 key-chain name.
    Md5Keys List<Pulumiverse.Fortios.Router.Inputs.OspfOspfInterfaceMd5Key>

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    Mtu int
    MTU for database description packets.
    MtuIgnore string
    Enable/disable ignore MTU. Valid values: enable, disable.
    Name string
    Interface entry name.
    NetworkType string
    Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
    PrefixLength int
    Prefix length.
    Priority int
    Priority.
    ResyncTimeout int
    Graceful restart neighbor resynchronization timeout.
    RetransmitInterval int
    Retransmit interval.
    Status string
    Enable/disable status. Valid values: disable, enable.
    TransmitDelay int
    Transmit delay.
    Authentication string
    Authentication type.
    AuthenticationKey string
    Authentication key.
    Bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
    Comments string
    Comment.
    Cost int
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    DatabaseFilterOut string
    Enable/disable control of flooding out LSAs. Valid values: enable, disable.
    DeadInterval int
    Dead interval.
    HelloInterval int
    Hello interval.
    HelloMultiplier int
    Number of hello packets within dead interval.
    Interface string
    Configuration interface name.
    Ip string
    IP address.
    Keychain string
    Message-digest key-chain name.
    Md5Key string
    MD5 key.
    Md5Keychain string
    Authentication MD5 key-chain name.
    Md5Keys []OspfOspfInterfaceMd5Key

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    Mtu int
    MTU for database description packets.
    MtuIgnore string
    Enable/disable ignore MTU. Valid values: enable, disable.
    Name string
    Interface entry name.
    NetworkType string
    Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
    PrefixLength int
    Prefix length.
    Priority int
    Priority.
    ResyncTimeout int
    Graceful restart neighbor resynchronization timeout.
    RetransmitInterval int
    Retransmit interval.
    Status string
    Enable/disable status. Valid values: disable, enable.
    TransmitDelay int
    Transmit delay.
    authentication String
    Authentication type.
    authenticationKey String
    Authentication key.
    bfd String
    Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
    comments String
    Comment.
    cost Integer
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    databaseFilterOut String
    Enable/disable control of flooding out LSAs. Valid values: enable, disable.
    deadInterval Integer
    Dead interval.
    helloInterval Integer
    Hello interval.
    helloMultiplier Integer
    Number of hello packets within dead interval.
    interface_ String
    Configuration interface name.
    ip String
    IP address.
    keychain String
    Message-digest key-chain name.
    md5Key String
    MD5 key.
    md5Keychain String
    Authentication MD5 key-chain name.
    md5Keys List<OspfOspfInterfaceMd5Key>

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    mtu Integer
    MTU for database description packets.
    mtuIgnore String
    Enable/disable ignore MTU. Valid values: enable, disable.
    name String
    Interface entry name.
    networkType String
    Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
    prefixLength Integer
    Prefix length.
    priority Integer
    Priority.
    resyncTimeout Integer
    Graceful restart neighbor resynchronization timeout.
    retransmitInterval Integer
    Retransmit interval.
    status String
    Enable/disable status. Valid values: disable, enable.
    transmitDelay Integer
    Transmit delay.
    authentication string
    Authentication type.
    authenticationKey string
    Authentication key.
    bfd string
    Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
    comments string
    Comment.
    cost number
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    databaseFilterOut string
    Enable/disable control of flooding out LSAs. Valid values: enable, disable.
    deadInterval number
    Dead interval.
    helloInterval number
    Hello interval.
    helloMultiplier number
    Number of hello packets within dead interval.
    interface string
    Configuration interface name.
    ip string
    IP address.
    keychain string
    Message-digest key-chain name.
    md5Key string
    MD5 key.
    md5Keychain string
    Authentication MD5 key-chain name.
    md5Keys OspfOspfInterfaceMd5Key[]

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    mtu number
    MTU for database description packets.
    mtuIgnore string
    Enable/disable ignore MTU. Valid values: enable, disable.
    name string
    Interface entry name.
    networkType string
    Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
    prefixLength number
    Prefix length.
    priority number
    Priority.
    resyncTimeout number
    Graceful restart neighbor resynchronization timeout.
    retransmitInterval number
    Retransmit interval.
    status string
    Enable/disable status. Valid values: disable, enable.
    transmitDelay number
    Transmit delay.
    authentication str
    Authentication type.
    authentication_key str
    Authentication key.
    bfd str
    Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
    comments str
    Comment.
    cost int
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    database_filter_out str
    Enable/disable control of flooding out LSAs. Valid values: enable, disable.
    dead_interval int
    Dead interval.
    hello_interval int
    Hello interval.
    hello_multiplier int
    Number of hello packets within dead interval.
    interface str
    Configuration interface name.
    ip str
    IP address.
    keychain str
    Message-digest key-chain name.
    md5_key str
    MD5 key.
    md5_keychain str
    Authentication MD5 key-chain name.
    md5_keys Sequence[OspfOspfInterfaceMd5Key]

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    mtu int
    MTU for database description packets.
    mtu_ignore str
    Enable/disable ignore MTU. Valid values: enable, disable.
    name str
    Interface entry name.
    network_type str
    Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
    prefix_length int
    Prefix length.
    priority int
    Priority.
    resync_timeout int
    Graceful restart neighbor resynchronization timeout.
    retransmit_interval int
    Retransmit interval.
    status str
    Enable/disable status. Valid values: disable, enable.
    transmit_delay int
    Transmit delay.
    authentication String
    Authentication type.
    authenticationKey String
    Authentication key.
    bfd String
    Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
    comments String
    Comment.
    cost Number
    Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
    databaseFilterOut String
    Enable/disable control of flooding out LSAs. Valid values: enable, disable.
    deadInterval Number
    Dead interval.
    helloInterval Number
    Hello interval.
    helloMultiplier Number
    Number of hello packets within dead interval.
    interface String
    Configuration interface name.
    ip String
    IP address.
    keychain String
    Message-digest key-chain name.
    md5Key String
    MD5 key.
    md5Keychain String
    Authentication MD5 key-chain name.
    md5Keys List<Property Map>

    MD5 key. The structure of md5_keys block is documented below.

    The md5_keys block supports:

    mtu Number
    MTU for database description packets.
    mtuIgnore String
    Enable/disable ignore MTU. Valid values: enable, disable.
    name String
    Interface entry name.
    networkType String
    Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
    prefixLength Number
    Prefix length.
    priority Number
    Priority.
    resyncTimeout Number
    Graceful restart neighbor resynchronization timeout.
    retransmitInterval Number
    Retransmit interval.
    status String
    Enable/disable status. Valid values: disable, enable.
    transmitDelay Number
    Transmit delay.

    OspfOspfInterfaceMd5Key, OspfOspfInterfaceMd5KeyArgs

    Id int
    an identifier for the resource.
    KeyString string
    Id int
    an identifier for the resource.
    KeyString string
    id Integer
    an identifier for the resource.
    keyString String
    id number
    an identifier for the resource.
    keyString string
    id int
    an identifier for the resource.
    key_string str
    id Number
    an identifier for the resource.
    keyString String

    OspfPassiveInterface, OspfPassiveInterfaceArgs

    Name string
    Passive interface name.
    Name string
    Passive interface name.
    name String
    Passive interface name.
    name string
    Passive interface name.
    name str
    Passive interface name.
    name String
    Passive interface name.

    OspfRedistribute, OspfRedistributeArgs

    Metric int
    Redistribute metric setting.
    MetricType string
    Metric type. Valid values: 1, 2.
    Name string
    Redistribute name.
    Routemap string
    Route map name.
    Status string
    status Valid values: enable, disable.
    Tag int
    Tag value.
    Metric int
    Redistribute metric setting.
    MetricType string
    Metric type. Valid values: 1, 2.
    Name string
    Redistribute name.
    Routemap string
    Route map name.
    Status string
    status Valid values: enable, disable.
    Tag int
    Tag value.
    metric Integer
    Redistribute metric setting.
    metricType String
    Metric type. Valid values: 1, 2.
    name String
    Redistribute name.
    routemap String
    Route map name.
    status String
    status Valid values: enable, disable.
    tag Integer
    Tag value.
    metric number
    Redistribute metric setting.
    metricType string
    Metric type. Valid values: 1, 2.
    name string
    Redistribute name.
    routemap string
    Route map name.
    status string
    status Valid values: enable, disable.
    tag number
    Tag value.
    metric int
    Redistribute metric setting.
    metric_type str
    Metric type. Valid values: 1, 2.
    name str
    Redistribute name.
    routemap str
    Route map name.
    status str
    status Valid values: enable, disable.
    tag int
    Tag value.
    metric Number
    Redistribute metric setting.
    metricType String
    Metric type. Valid values: 1, 2.
    name String
    Redistribute name.
    routemap String
    Route map name.
    status String
    status Valid values: enable, disable.
    tag Number
    Tag value.

    OspfSummaryAddress, OspfSummaryAddressArgs

    string
    Enable/disable advertise status. Valid values: disable, enable.
    Id int
    Summary address entry ID.
    Prefix string
    Prefix.
    Tag int
    Tag value.
    string
    Enable/disable advertise status. Valid values: disable, enable.
    Id int
    Summary address entry ID.
    Prefix string
    Prefix.
    Tag int
    Tag value.
    String
    Enable/disable advertise status. Valid values: disable, enable.
    id Integer
    Summary address entry ID.
    prefix String
    Prefix.
    tag Integer
    Tag value.
    string
    Enable/disable advertise status. Valid values: disable, enable.
    id number
    Summary address entry ID.
    prefix string
    Prefix.
    tag number
    Tag value.
    str
    Enable/disable advertise status. Valid values: disable, enable.
    id int
    Summary address entry ID.
    prefix str
    Prefix.
    tag int
    Tag value.
    String
    Enable/disable advertise status. Valid values: disable, enable.
    id Number
    Summary address entry ID.
    prefix String
    Prefix.
    tag Number
    Tag value.

    Import

    Router Ospf can be imported using any of these accepted formats:

    $ pulumi import fortios:router/ospf:Ospf labelname RouterOspf
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:router/ospf:Ospf labelname RouterOspf
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse