fortios.router.Ospf
Explore with Pulumi AI
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 resourcesfortios.router/ospf.Ospfinterface, but do not use afortios.router.Ospfwith in-line Ospf-Interface in conjunction with anyfortios.router/ospf.Ospfinterfaceresources, 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 resourcesfortios.router/ospf.Network, but do not use afortios.router.Ospfwith in-line Network in conjunction with anyfortios.router/ospf.Networkresources, 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 resourcesfortios.router/ospf.Neighbor, but do not use afortios.router.Ospfwith in-line Neighbor in conjunction with anyfortios.router/ospf.Neighborresources, 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)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. Ospf Area> 
- OSPF area configuration. The structure of areablock is documented below.
- AutoCost intRef Bandwidth 
- 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.
- DatabaseOverflow intMax Lsas 
- Database overflow maximum LSAs.
- DatabaseOverflow intTime To Recover 
- Database overflow time to recover (sec).
- DefaultInformation intMetric 
- Default information metric.
- DefaultInformation stringMetric Type 
- Default information metric type. Valid values: 1,2.
- DefaultInformation stringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- DefaultInformation stringRoute Map 
- Default information route map.
- DefaultMetric int
- Default metric of redistribute routes.
- Distance int
- Distance of the route.
- DistanceExternal int
- Administrative external distance.
- DistanceInter intArea 
- Administrative inter-area distance.
- DistanceIntra intArea 
- Administrative intra-area distance.
- DistributeList stringIn 
- Filter incoming routes.
- DistributeLists List<Pulumiverse.Fortios. Router. Inputs. Ospf Distribute List> 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- DistributeRoute stringMap In 
- Filter incoming external routes by route-map.
- DynamicSort stringSubtable 
- 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 ].
- GetAll stringTables 
- 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.
- LogNeighbour stringChanges 
- Enable logging of OSPF neighbour's changes Valid values: enable,disable.
- Neighbors
List<Pulumiverse.Fortios. Router. Inputs. Ospf Neighbor> 
- OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighborblock is documented below.
- Networks
List<Pulumiverse.Fortios. Router. Inputs. Ospf Network> 
- OSPF network configuration. The structure of networkblock is documented below.
- OspfInterfaces List<Pulumiverse.Fortios. Router. Inputs. Ospf Ospf Interface> 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- PassiveInterfaces List<Pulumiverse.Fortios. Router. Inputs. Ospf Passive Interface> 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- Redistributes
List<Pulumiverse.Fortios. Router. Inputs. Ospf Redistribute> 
- Redistribute configuration. The structure of redistributeblock is documented below.
- RestartMode string
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- RestartOn stringTopology Change 
- 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. Ospf Summary Address> 
- IP address summary configuration. The structure of summary_addressblock 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 Args 
- OSPF area configuration. The structure of areablock is documented below.
- AutoCost intRef Bandwidth 
- 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.
- DatabaseOverflow intMax Lsas 
- Database overflow maximum LSAs.
- DatabaseOverflow intTime To Recover 
- Database overflow time to recover (sec).
- DefaultInformation intMetric 
- Default information metric.
- DefaultInformation stringMetric Type 
- Default information metric type. Valid values: 1,2.
- DefaultInformation stringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- DefaultInformation stringRoute Map 
- Default information route map.
- DefaultMetric int
- Default metric of redistribute routes.
- Distance int
- Distance of the route.
- DistanceExternal int
- Administrative external distance.
- DistanceInter intArea 
- Administrative inter-area distance.
- DistanceIntra intArea 
- Administrative intra-area distance.
- DistributeList stringIn 
- Filter incoming routes.
- DistributeLists []OspfDistribute List Args 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- DistributeRoute stringMap In 
- Filter incoming external routes by route-map.
- DynamicSort stringSubtable 
- 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 ].
- GetAll stringTables 
- 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.
- LogNeighbour stringChanges 
- Enable logging of OSPF neighbour's changes Valid values: enable,disable.
- Neighbors
[]OspfNeighbor Args 
- OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighborblock is documented below.
- Networks
[]OspfNetwork Args 
- OSPF network configuration. The structure of networkblock is documented below.
- OspfInterfaces []OspfOspf Interface Args 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- PassiveInterfaces []OspfPassive Interface Args 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- Redistributes
[]OspfRedistribute Args 
- Redistribute configuration. The structure of redistributeblock is documented below.
- RestartMode string
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- RestartOn stringTopology Change 
- 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 []OspfSummary Address Args 
- IP address summary configuration. The structure of summary_addressblock 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 areablock is documented below.
- autoCost IntegerRef Bandwidth 
- 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.
- databaseOverflow IntegerMax Lsas 
- Database overflow maximum LSAs.
- databaseOverflow IntegerTime To Recover 
- Database overflow time to recover (sec).
- defaultInformation IntegerMetric 
- Default information metric.
- defaultInformation StringMetric Type 
- Default information metric type. Valid values: 1,2.
- defaultInformation StringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- defaultInformation StringRoute Map 
- Default information route map.
- defaultMetric Integer
- Default metric of redistribute routes.
- distance Integer
- Distance of the route.
- distanceExternal Integer
- Administrative external distance.
- distanceInter IntegerArea 
- Administrative inter-area distance.
- distanceIntra IntegerArea 
- Administrative intra-area distance.
- distributeList StringIn 
- Filter incoming routes.
- distributeLists List<OspfDistribute List> 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- distributeRoute StringMap In 
- Filter incoming external routes by route-map.
- dynamicSort StringSubtable 
- 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 ].
- getAll StringTables 
- 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.
- logNeighbour StringChanges 
- 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 neighborblock is documented below.
- networks
List<OspfNetwork> 
- OSPF network configuration. The structure of networkblock is documented below.
- ospfInterfaces List<OspfOspf Interface> 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- passiveInterfaces List<OspfPassive Interface> 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- redistributes
List<OspfRedistribute> 
- Redistribute configuration. The structure of redistributeblock is documented below.
- restartMode String
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- restartOn StringTopology Change 
- 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<OspfSummary Address> 
- IP address summary configuration. The structure of summary_addressblock 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 areablock is documented below.
- autoCost numberRef Bandwidth 
- 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.
- databaseOverflow numberMax Lsas 
- Database overflow maximum LSAs.
- databaseOverflow numberTime To Recover 
- Database overflow time to recover (sec).
- defaultInformation numberMetric 
- Default information metric.
- defaultInformation stringMetric Type 
- Default information metric type. Valid values: 1,2.
- defaultInformation stringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- defaultInformation stringRoute Map 
- Default information route map.
- defaultMetric number
- Default metric of redistribute routes.
- distance number
- Distance of the route.
- distanceExternal number
- Administrative external distance.
- distanceInter numberArea 
- Administrative inter-area distance.
- distanceIntra numberArea 
- Administrative intra-area distance.
- distributeList stringIn 
- Filter incoming routes.
- distributeLists OspfDistribute List[] 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- distributeRoute stringMap In 
- Filter incoming external routes by route-map.
- dynamicSort stringSubtable 
- 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 ].
- getAll stringTables 
- 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.
- logNeighbour stringChanges 
- 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 neighborblock is documented below.
- networks
OspfNetwork[] 
- OSPF network configuration. The structure of networkblock is documented below.
- ospfInterfaces OspfOspf Interface[] 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- passiveInterfaces OspfPassive Interface[] 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- redistributes
OspfRedistribute[] 
- Redistribute configuration. The structure of redistributeblock is documented below.
- restartMode string
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- restartOn stringTopology Change 
- 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 OspfSummary Address[] 
- IP address summary configuration. The structure of summary_addressblock 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[OspfArea Args] 
- OSPF area configuration. The structure of areablock is documented below.
- auto_cost_ intref_ bandwidth 
- 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_ intmax_ lsas 
- Database overflow maximum LSAs.
- database_overflow_ inttime_ to_ recover 
- Database overflow time to recover (sec).
- default_information_ intmetric 
- Default information metric.
- default_information_ strmetric_ type 
- Default information metric type. Valid values: 1,2.
- default_information_ stroriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- default_information_ strroute_ map 
- 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_ intarea 
- Administrative inter-area distance.
- distance_intra_ intarea 
- Administrative intra-area distance.
- distribute_list_ strin 
- Filter incoming routes.
- distribute_lists Sequence[OspfDistribute List Args] 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- distribute_route_ strmap_ in 
- Filter incoming external routes by route-map.
- dynamic_sort_ strsubtable 
- 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_ strtables 
- 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_ strchanges 
- Enable logging of OSPF neighbour's changes Valid values: enable,disable.
- neighbors
Sequence[OspfNeighbor Args] 
- OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighborblock is documented below.
- networks
Sequence[OspfNetwork Args] 
- OSPF network configuration. The structure of networkblock is documented below.
- ospf_interfaces Sequence[OspfOspf Interface Args] 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- passive_interfaces Sequence[OspfPassive Interface Args] 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- redistributes
Sequence[OspfRedistribute Args] 
- Redistribute configuration. The structure of redistributeblock is documented below.
- restart_mode str
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- restart_on_ strtopology_ change 
- 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[OspfSummary Address Args] 
- IP address summary configuration. The structure of summary_addressblock 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 areablock is documented below.
- autoCost NumberRef Bandwidth 
- 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.
- databaseOverflow NumberMax Lsas 
- Database overflow maximum LSAs.
- databaseOverflow NumberTime To Recover 
- Database overflow time to recover (sec).
- defaultInformation NumberMetric 
- Default information metric.
- defaultInformation StringMetric Type 
- Default information metric type. Valid values: 1,2.
- defaultInformation StringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- defaultInformation StringRoute Map 
- Default information route map.
- defaultMetric Number
- Default metric of redistribute routes.
- distance Number
- Distance of the route.
- distanceExternal Number
- Administrative external distance.
- distanceInter NumberArea 
- Administrative inter-area distance.
- distanceIntra NumberArea 
- Administrative intra-area distance.
- distributeList StringIn 
- Filter incoming routes.
- distributeLists List<Property Map>
- Distribute list configuration. The structure of distribute_listblock is documented below.
- distributeRoute StringMap In 
- Filter incoming external routes by route-map.
- dynamicSort StringSubtable 
- 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 ].
- getAll StringTables 
- 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.
- logNeighbour StringChanges 
- 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 neighborblock is documented below.
- networks List<Property Map>
- OSPF network configuration. The structure of networkblock is documented below.
- ospfInterfaces List<Property Map>
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- passiveInterfaces List<Property Map>
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- redistributes List<Property Map>
- Redistribute configuration. The structure of redistributeblock is documented below.
- restartMode String
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- restartOn StringTopology Change 
- 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_addressblock 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) -> Ospffunc 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)resources:  _:    type: fortios:router:Ospf    get:      id: ${id}- 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.
- AbrType string
- Area border router type. Valid values: cisco,ibm,shortcut,standard.
- Areas
List<Pulumiverse.Fortios. Router. Inputs. Ospf Area> 
- OSPF area configuration. The structure of areablock is documented below.
- AutoCost intRef Bandwidth 
- 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.
- DatabaseOverflow intMax Lsas 
- Database overflow maximum LSAs.
- DatabaseOverflow intTime To Recover 
- Database overflow time to recover (sec).
- DefaultInformation intMetric 
- Default information metric.
- DefaultInformation stringMetric Type 
- Default information metric type. Valid values: 1,2.
- DefaultInformation stringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- DefaultInformation stringRoute Map 
- Default information route map.
- DefaultMetric int
- Default metric of redistribute routes.
- Distance int
- Distance of the route.
- DistanceExternal int
- Administrative external distance.
- DistanceInter intArea 
- Administrative inter-area distance.
- DistanceIntra intArea 
- Administrative intra-area distance.
- DistributeList stringIn 
- Filter incoming routes.
- DistributeLists List<Pulumiverse.Fortios. Router. Inputs. Ospf Distribute List> 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- DistributeRoute stringMap In 
- Filter incoming external routes by route-map.
- DynamicSort stringSubtable 
- 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 ].
- GetAll stringTables 
- 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.
- LogNeighbour stringChanges 
- Enable logging of OSPF neighbour's changes Valid values: enable,disable.
- Neighbors
List<Pulumiverse.Fortios. Router. Inputs. Ospf Neighbor> 
- OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighborblock is documented below.
- Networks
List<Pulumiverse.Fortios. Router. Inputs. Ospf Network> 
- OSPF network configuration. The structure of networkblock is documented below.
- OspfInterfaces List<Pulumiverse.Fortios. Router. Inputs. Ospf Ospf Interface> 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- PassiveInterfaces List<Pulumiverse.Fortios. Router. Inputs. Ospf Passive Interface> 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- Redistributes
List<Pulumiverse.Fortios. Router. Inputs. Ospf Redistribute> 
- Redistribute configuration. The structure of redistributeblock is documented below.
- RestartMode string
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- RestartOn stringTopology Change 
- 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. Ospf Summary Address> 
- IP address summary configuration. The structure of summary_addressblock 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 Args 
- OSPF area configuration. The structure of areablock is documented below.
- AutoCost intRef Bandwidth 
- 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.
- DatabaseOverflow intMax Lsas 
- Database overflow maximum LSAs.
- DatabaseOverflow intTime To Recover 
- Database overflow time to recover (sec).
- DefaultInformation intMetric 
- Default information metric.
- DefaultInformation stringMetric Type 
- Default information metric type. Valid values: 1,2.
- DefaultInformation stringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- DefaultInformation stringRoute Map 
- Default information route map.
- DefaultMetric int
- Default metric of redistribute routes.
- Distance int
- Distance of the route.
- DistanceExternal int
- Administrative external distance.
- DistanceInter intArea 
- Administrative inter-area distance.
- DistanceIntra intArea 
- Administrative intra-area distance.
- DistributeList stringIn 
- Filter incoming routes.
- DistributeLists []OspfDistribute List Args 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- DistributeRoute stringMap In 
- Filter incoming external routes by route-map.
- DynamicSort stringSubtable 
- 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 ].
- GetAll stringTables 
- 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.
- LogNeighbour stringChanges 
- Enable logging of OSPF neighbour's changes Valid values: enable,disable.
- Neighbors
[]OspfNeighbor Args 
- OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighborblock is documented below.
- Networks
[]OspfNetwork Args 
- OSPF network configuration. The structure of networkblock is documented below.
- OspfInterfaces []OspfOspf Interface Args 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- PassiveInterfaces []OspfPassive Interface Args 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- Redistributes
[]OspfRedistribute Args 
- Redistribute configuration. The structure of redistributeblock is documented below.
- RestartMode string
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- RestartOn stringTopology Change 
- 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 []OspfSummary Address Args 
- IP address summary configuration. The structure of summary_addressblock 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 areablock is documented below.
- autoCost IntegerRef Bandwidth 
- 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.
- databaseOverflow IntegerMax Lsas 
- Database overflow maximum LSAs.
- databaseOverflow IntegerTime To Recover 
- Database overflow time to recover (sec).
- defaultInformation IntegerMetric 
- Default information metric.
- defaultInformation StringMetric Type 
- Default information metric type. Valid values: 1,2.
- defaultInformation StringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- defaultInformation StringRoute Map 
- Default information route map.
- defaultMetric Integer
- Default metric of redistribute routes.
- distance Integer
- Distance of the route.
- distanceExternal Integer
- Administrative external distance.
- distanceInter IntegerArea 
- Administrative inter-area distance.
- distanceIntra IntegerArea 
- Administrative intra-area distance.
- distributeList StringIn 
- Filter incoming routes.
- distributeLists List<OspfDistribute List> 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- distributeRoute StringMap In 
- Filter incoming external routes by route-map.
- dynamicSort StringSubtable 
- 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 ].
- getAll StringTables 
- 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.
- logNeighbour StringChanges 
- 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 neighborblock is documented below.
- networks
List<OspfNetwork> 
- OSPF network configuration. The structure of networkblock is documented below.
- ospfInterfaces List<OspfOspf Interface> 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- passiveInterfaces List<OspfPassive Interface> 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- redistributes
List<OspfRedistribute> 
- Redistribute configuration. The structure of redistributeblock is documented below.
- restartMode String
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- restartOn StringTopology Change 
- 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<OspfSummary Address> 
- IP address summary configuration. The structure of summary_addressblock 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 areablock is documented below.
- autoCost numberRef Bandwidth 
- 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.
- databaseOverflow numberMax Lsas 
- Database overflow maximum LSAs.
- databaseOverflow numberTime To Recover 
- Database overflow time to recover (sec).
- defaultInformation numberMetric 
- Default information metric.
- defaultInformation stringMetric Type 
- Default information metric type. Valid values: 1,2.
- defaultInformation stringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- defaultInformation stringRoute Map 
- Default information route map.
- defaultMetric number
- Default metric of redistribute routes.
- distance number
- Distance of the route.
- distanceExternal number
- Administrative external distance.
- distanceInter numberArea 
- Administrative inter-area distance.
- distanceIntra numberArea 
- Administrative intra-area distance.
- distributeList stringIn 
- Filter incoming routes.
- distributeLists OspfDistribute List[] 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- distributeRoute stringMap In 
- Filter incoming external routes by route-map.
- dynamicSort stringSubtable 
- 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 ].
- getAll stringTables 
- 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.
- logNeighbour stringChanges 
- 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 neighborblock is documented below.
- networks
OspfNetwork[] 
- OSPF network configuration. The structure of networkblock is documented below.
- ospfInterfaces OspfOspf Interface[] 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- passiveInterfaces OspfPassive Interface[] 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- redistributes
OspfRedistribute[] 
- Redistribute configuration. The structure of redistributeblock is documented below.
- restartMode string
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- restartOn stringTopology Change 
- 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 OspfSummary Address[] 
- IP address summary configuration. The structure of summary_addressblock 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[OspfArea Args] 
- OSPF area configuration. The structure of areablock is documented below.
- auto_cost_ intref_ bandwidth 
- 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_ intmax_ lsas 
- Database overflow maximum LSAs.
- database_overflow_ inttime_ to_ recover 
- Database overflow time to recover (sec).
- default_information_ intmetric 
- Default information metric.
- default_information_ strmetric_ type 
- Default information metric type. Valid values: 1,2.
- default_information_ stroriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- default_information_ strroute_ map 
- 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_ intarea 
- Administrative inter-area distance.
- distance_intra_ intarea 
- Administrative intra-area distance.
- distribute_list_ strin 
- Filter incoming routes.
- distribute_lists Sequence[OspfDistribute List Args] 
- Distribute list configuration. The structure of distribute_listblock is documented below.
- distribute_route_ strmap_ in 
- Filter incoming external routes by route-map.
- dynamic_sort_ strsubtable 
- 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_ strtables 
- 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_ strchanges 
- Enable logging of OSPF neighbour's changes Valid values: enable,disable.
- neighbors
Sequence[OspfNeighbor Args] 
- OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of neighborblock is documented below.
- networks
Sequence[OspfNetwork Args] 
- OSPF network configuration. The structure of networkblock is documented below.
- ospf_interfaces Sequence[OspfOspf Interface Args] 
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- passive_interfaces Sequence[OspfPassive Interface Args] 
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- redistributes
Sequence[OspfRedistribute Args] 
- Redistribute configuration. The structure of redistributeblock is documented below.
- restart_mode str
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- restart_on_ strtopology_ change 
- 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[OspfSummary Address Args] 
- IP address summary configuration. The structure of summary_addressblock 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 areablock is documented below.
- autoCost NumberRef Bandwidth 
- 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.
- databaseOverflow NumberMax Lsas 
- Database overflow maximum LSAs.
- databaseOverflow NumberTime To Recover 
- Database overflow time to recover (sec).
- defaultInformation NumberMetric 
- Default information metric.
- defaultInformation StringMetric Type 
- Default information metric type. Valid values: 1,2.
- defaultInformation StringOriginate 
- Enable/disable generation of default route. Valid values: enable,always,disable.
- defaultInformation StringRoute Map 
- Default information route map.
- defaultMetric Number
- Default metric of redistribute routes.
- distance Number
- Distance of the route.
- distanceExternal Number
- Administrative external distance.
- distanceInter NumberArea 
- Administrative inter-area distance.
- distanceIntra NumberArea 
- Administrative intra-area distance.
- distributeList StringIn 
- Filter incoming routes.
- distributeLists List<Property Map>
- Distribute list configuration. The structure of distribute_listblock is documented below.
- distributeRoute StringMap In 
- Filter incoming external routes by route-map.
- dynamicSort StringSubtable 
- 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 ].
- getAll StringTables 
- 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.
- logNeighbour StringChanges 
- 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 neighborblock is documented below.
- networks List<Property Map>
- OSPF network configuration. The structure of networkblock is documented below.
- ospfInterfaces List<Property Map>
- OSPF interface configuration. The structure of ospf_interfaceblock is documented below.
- passiveInterfaces List<Property Map>
- Passive interface configuration. The structure of passive_interfaceblock is documented below.
- redistributes List<Property Map>
- Redistribute configuration. The structure of redistributeblock is documented below.
- restartMode String
- OSPF restart mode (graceful or LLS). Valid values: none,lls,graceful-restart.
- restartOn StringTopology Change 
- 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_addressblock 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. Ospf Area Filter List> 
- OSPF area filter-list configuration. The structure of filter_listblock is documented below.
- Id string
- Area entry IP address.
- NssaDefault stringInformation Originate 
- Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable,always,disable.
- NssaDefault intInformation Originate Metric 
- OSPF default metric.
- NssaDefault stringInformation Originate Metric Type 
- OSPF metric type for default routes. Valid values: 1,2.
- NssaRedistribution string
- Enable/disable redistribute into NSSA area. Valid values: enable,disable.
- NssaTranslator stringRole 
- NSSA translator role type. Valid values: candidate,never,always.
- Ranges
List<Pulumiverse.Fortios. Router. Inputs. Ospf Area Range> 
- OSPF area range configuration. The structure of rangeblock 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. Ospf Area Virtual Link> 
- OSPF virtual link configuration. The structure of virtual_linkblock is documented below.
- Authentication string
- Authentication type.
- Comments string
- Comment.
- DefaultCost int
- Summary default cost of stub or NSSA area.
- FilterLists []OspfArea Filter List 
- OSPF area filter-list configuration. The structure of filter_listblock is documented below.
- Id string
- Area entry IP address.
- NssaDefault stringInformation Originate 
- Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable,always,disable.
- NssaDefault intInformation Originate Metric 
- OSPF default metric.
- NssaDefault stringInformation Originate Metric Type 
- OSPF metric type for default routes. Valid values: 1,2.
- NssaRedistribution string
- Enable/disable redistribute into NSSA area. Valid values: enable,disable.
- NssaTranslator stringRole 
- NSSA translator role type. Valid values: candidate,never,always.
- Ranges
[]OspfArea Range 
- OSPF area range configuration. The structure of rangeblock 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 []OspfArea Virtual Link 
- OSPF virtual link configuration. The structure of virtual_linkblock is documented below.
- authentication String
- Authentication type.
- comments String
- Comment.
- defaultCost Integer
- Summary default cost of stub or NSSA area.
- filterLists List<OspfArea Filter List> 
- OSPF area filter-list configuration. The structure of filter_listblock is documented below.
- id String
- Area entry IP address.
- nssaDefault StringInformation Originate 
- Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable,always,disable.
- nssaDefault IntegerInformation Originate Metric 
- OSPF default metric.
- nssaDefault StringInformation Originate Metric Type 
- OSPF metric type for default routes. Valid values: 1,2.
- nssaRedistribution String
- Enable/disable redistribute into NSSA area. Valid values: enable,disable.
- nssaTranslator StringRole 
- NSSA translator role type. Valid values: candidate,never,always.
- ranges
List<OspfArea Range> 
- OSPF area range configuration. The structure of rangeblock 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<OspfArea Virtual Link> 
- OSPF virtual link configuration. The structure of virtual_linkblock is documented below.
- authentication string
- Authentication type.
- comments string
- Comment.
- defaultCost number
- Summary default cost of stub or NSSA area.
- filterLists OspfArea Filter List[] 
- OSPF area filter-list configuration. The structure of filter_listblock is documented below.
- id string
- Area entry IP address.
- nssaDefault stringInformation Originate 
- Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable,always,disable.
- nssaDefault numberInformation Originate Metric 
- OSPF default metric.
- nssaDefault stringInformation Originate Metric Type 
- OSPF metric type for default routes. Valid values: 1,2.
- nssaRedistribution string
- Enable/disable redistribute into NSSA area. Valid values: enable,disable.
- nssaTranslator stringRole 
- NSSA translator role type. Valid values: candidate,never,always.
- ranges
OspfArea Range[] 
- OSPF area range configuration. The structure of rangeblock 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 OspfArea Virtual Link[] 
- OSPF virtual link configuration. The structure of virtual_linkblock is documented below.
- authentication str
- Authentication type.
- comments str
- Comment.
- default_cost int
- Summary default cost of stub or NSSA area.
- filter_lists Sequence[OspfArea Filter List] 
- OSPF area filter-list configuration. The structure of filter_listblock is documented below.
- id str
- Area entry IP address.
- nssa_default_ strinformation_ originate 
- Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable,always,disable.
- nssa_default_ intinformation_ originate_ metric 
- OSPF default metric.
- nssa_default_ strinformation_ originate_ metric_ type 
- 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_ strrole 
- NSSA translator role type. Valid values: candidate,never,always.
- ranges
Sequence[OspfArea Range] 
- OSPF area range configuration. The structure of rangeblock 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[OspfArea Virtual Link] 
- OSPF virtual link configuration. The structure of virtual_linkblock 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_listblock is documented below.
- id String
- Area entry IP address.
- nssaDefault StringInformation Originate 
- Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values: enable,always,disable.
- nssaDefault NumberInformation Originate Metric 
- OSPF default metric.
- nssaDefault StringInformation Originate Metric Type 
- OSPF metric type for default routes. Valid values: 1,2.
- nssaRedistribution String
- Enable/disable redistribute into NSSA area. Valid values: enable,disable.
- nssaTranslator StringRole 
- NSSA translator role type. Valid values: candidate,never,always.
- ranges List<Property Map>
- OSPF area range configuration. The structure of rangeblock 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_linkblock is documented below.
OspfAreaFilterList, OspfAreaFilterListArgs        
OspfAreaRange, OspfAreaRangeArgs      
- Advertise 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.
- Advertise 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.
- advertise 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.
- advertise 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.
- advertise 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.
- advertise 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.
OspfAreaVirtualLink, OspfAreaVirtualLinkArgs        
- 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. Ospf Area Virtual Link Md5Key> 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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
[]OspfArea Virtual Link Md5Key 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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<OspfArea Virtual Link Md5Key> 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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
OspfArea Virtual Link Md5Key[] 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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[OspfArea Virtual Link Md5Key] 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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_keysblock is documented below.- The - md5_keysblock 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.
- key_string str
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    
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.
- DatabaseFilter stringOut 
- 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. Ospf Ospf Interface Md5Key> 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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.
- DatabaseFilter stringOut 
- 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
[]OspfOspf Interface Md5Key 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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.
- databaseFilter StringOut 
- 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<OspfOspf Interface Md5Key> 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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.
- databaseFilter stringOut 
- 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
OspfOspf Interface Md5Key[] 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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_ strout 
- 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[OspfOspf Interface Md5Key] 
- MD5 key. The structure of - md5_keysblock is documented below.- The - md5_keysblock 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.
- databaseFilter StringOut 
- 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_keysblock is documented below.- The - md5_keysblock 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.
- key_string str
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    
OspfSummaryAddress, OspfSummaryAddressArgs      
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 fortiosTerraform Provider.
