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.Ospf
with in-line Ospf-Interface in conjunction with anyfortios.router/ospf.Ospfinterface
resources, otherwise conflicts and overwrite will occur.
The provider supports the definition of Network in Router Ospf
fortios.router.Ospf
, and also allows the definition of separate Network resourcesfortios.router/ospf.Network
, but do not use afortios.router.Ospf
with in-line Network in conjunction with anyfortios.router/ospf.Network
resources, otherwise conflicts and overwrite will occur.
The provider supports the definition of Neighbor in Router Ospf
fortios.router.Ospf
, and also allows the definition of separate Neighbor resourcesfortios.router/ospf.Neighbor
, but do not use afortios.router.Ospf
with in-line Neighbor in conjunction with anyfortios.router/ospf.Neighbor
resources, otherwise conflicts and overwrite will occur.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.router.Ospf("trname", {
abrType: "standard",
autoCostRefBandwidth: 1000,
bfd: "disable",
databaseOverflow: "disable",
databaseOverflowMaxLsas: 10000,
databaseOverflowTimeToRecover: 300,
defaultInformationMetric: 10,
defaultInformationMetricType: "2",
defaultInformationOriginate: "disable",
defaultMetric: 10,
distance: 110,
distanceExternal: 110,
distanceInterArea: 110,
distanceIntraArea: 110,
logNeighbourChanges: "enable",
redistributes: [
{
metric: 0,
metricType: "2",
name: "connected",
status: "disable",
tag: 0,
},
{
metric: 0,
metricType: "2",
name: "static",
status: "disable",
tag: 0,
},
{
metric: 0,
metricType: "2",
name: "rip",
status: "disable",
tag: 0,
},
{
metric: 0,
metricType: "2",
name: "bgp",
status: "disable",
tag: 0,
},
{
metric: 0,
metricType: "2",
name: "isis",
status: "disable",
tag: 0,
},
],
restartMode: "none",
restartPeriod: 120,
rfc1583Compatible: "disable",
routerId: "0.0.0.0",
spfTimers: "5 10",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.router.Ospf("trname",
abr_type="standard",
auto_cost_ref_bandwidth=1000,
bfd="disable",
database_overflow="disable",
database_overflow_max_lsas=10000,
database_overflow_time_to_recover=300,
default_information_metric=10,
default_information_metric_type="2",
default_information_originate="disable",
default_metric=10,
distance=110,
distance_external=110,
distance_inter_area=110,
distance_intra_area=110,
log_neighbour_changes="enable",
redistributes=[
fortios.router.OspfRedistributeArgs(
metric=0,
metric_type="2",
name="connected",
status="disable",
tag=0,
),
fortios.router.OspfRedistributeArgs(
metric=0,
metric_type="2",
name="static",
status="disable",
tag=0,
),
fortios.router.OspfRedistributeArgs(
metric=0,
metric_type="2",
name="rip",
status="disable",
tag=0,
),
fortios.router.OspfRedistributeArgs(
metric=0,
metric_type="2",
name="bgp",
status="disable",
tag=0,
),
fortios.router.OspfRedistributeArgs(
metric=0,
metric_type="2",
name="isis",
status="disable",
tag=0,
),
],
restart_mode="none",
restart_period=120,
rfc1583_compatible="disable",
router_id="0.0.0.0",
spf_timers="5 10")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/router"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := router.NewOspf(ctx, "trname", &router.OspfArgs{
AbrType: pulumi.String("standard"),
AutoCostRefBandwidth: pulumi.Int(1000),
Bfd: pulumi.String("disable"),
DatabaseOverflow: pulumi.String("disable"),
DatabaseOverflowMaxLsas: pulumi.Int(10000),
DatabaseOverflowTimeToRecover: pulumi.Int(300),
DefaultInformationMetric: pulumi.Int(10),
DefaultInformationMetricType: pulumi.String("2"),
DefaultInformationOriginate: pulumi.String("disable"),
DefaultMetric: pulumi.Int(10),
Distance: pulumi.Int(110),
DistanceExternal: pulumi.Int(110),
DistanceInterArea: pulumi.Int(110),
DistanceIntraArea: pulumi.Int(110),
LogNeighbourChanges: pulumi.String("enable"),
Redistributes: router.OspfRedistributeArray{
&router.OspfRedistributeArgs{
Metric: pulumi.Int(0),
MetricType: pulumi.String("2"),
Name: pulumi.String("connected"),
Status: pulumi.String("disable"),
Tag: pulumi.Int(0),
},
&router.OspfRedistributeArgs{
Metric: pulumi.Int(0),
MetricType: pulumi.String("2"),
Name: pulumi.String("static"),
Status: pulumi.String("disable"),
Tag: pulumi.Int(0),
},
&router.OspfRedistributeArgs{
Metric: pulumi.Int(0),
MetricType: pulumi.String("2"),
Name: pulumi.String("rip"),
Status: pulumi.String("disable"),
Tag: pulumi.Int(0),
},
&router.OspfRedistributeArgs{
Metric: pulumi.Int(0),
MetricType: pulumi.String("2"),
Name: pulumi.String("bgp"),
Status: pulumi.String("disable"),
Tag: pulumi.Int(0),
},
&router.OspfRedistributeArgs{
Metric: pulumi.Int(0),
MetricType: pulumi.String("2"),
Name: pulumi.String("isis"),
Status: pulumi.String("disable"),
Tag: pulumi.Int(0),
},
},
RestartMode: pulumi.String("none"),
RestartPeriod: pulumi.Int(120),
Rfc1583Compatible: pulumi.String("disable"),
RouterId: pulumi.String("0.0.0.0"),
SpfTimers: pulumi.String("5 10"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Router.OspfRouter("trname", new()
{
AbrType = "standard",
AutoCostRefBandwidth = 1000,
Bfd = "disable",
DatabaseOverflow = "disable",
DatabaseOverflowMaxLsas = 10000,
DatabaseOverflowTimeToRecover = 300,
DefaultInformationMetric = 10,
DefaultInformationMetricType = "2",
DefaultInformationOriginate = "disable",
DefaultMetric = 10,
Distance = 110,
DistanceExternal = 110,
DistanceInterArea = 110,
DistanceIntraArea = 110,
LogNeighbourChanges = "enable",
Redistributes = new[]
{
new Fortios.Router.Inputs.OspfRedistributeArgs
{
Metric = 0,
MetricType = "2",
Name = "connected",
Status = "disable",
Tag = 0,
},
new Fortios.Router.Inputs.OspfRedistributeArgs
{
Metric = 0,
MetricType = "2",
Name = "static",
Status = "disable",
Tag = 0,
},
new Fortios.Router.Inputs.OspfRedistributeArgs
{
Metric = 0,
MetricType = "2",
Name = "rip",
Status = "disable",
Tag = 0,
},
new Fortios.Router.Inputs.OspfRedistributeArgs
{
Metric = 0,
MetricType = "2",
Name = "bgp",
Status = "disable",
Tag = 0,
},
new Fortios.Router.Inputs.OspfRedistributeArgs
{
Metric = 0,
MetricType = "2",
Name = "isis",
Status = "disable",
Tag = 0,
},
},
RestartMode = "none",
RestartPeriod = 120,
Rfc1583Compatible = "disable",
RouterId = "0.0.0.0",
SpfTimers = "5 10",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.router.Ospf;
import com.pulumi.fortios.router.OspfArgs;
import com.pulumi.fortios.router.inputs.OspfRedistributeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new Ospf("trname", OspfArgs.builder()
.abrType("standard")
.autoCostRefBandwidth(1000)
.bfd("disable")
.databaseOverflow("disable")
.databaseOverflowMaxLsas(10000)
.databaseOverflowTimeToRecover(300)
.defaultInformationMetric(10)
.defaultInformationMetricType("2")
.defaultInformationOriginate("disable")
.defaultMetric(10)
.distance(110)
.distanceExternal(110)
.distanceInterArea(110)
.distanceIntraArea(110)
.logNeighbourChanges("enable")
.redistributes(
OspfRedistributeArgs.builder()
.metric(0)
.metricType("2")
.name("connected")
.status("disable")
.tag(0)
.build(),
OspfRedistributeArgs.builder()
.metric(0)
.metricType("2")
.name("static")
.status("disable")
.tag(0)
.build(),
OspfRedistributeArgs.builder()
.metric(0)
.metricType("2")
.name("rip")
.status("disable")
.tag(0)
.build(),
OspfRedistributeArgs.builder()
.metric(0)
.metricType("2")
.name("bgp")
.status("disable")
.tag(0)
.build(),
OspfRedistributeArgs.builder()
.metric(0)
.metricType("2")
.name("isis")
.status("disable")
.tag(0)
.build())
.restartMode("none")
.restartPeriod(120)
.rfc1583Compatible("disable")
.routerId("0.0.0.0")
.spfTimers("5 10")
.build());
}
}
resources:
trname:
type: fortios:router:Ospf
properties:
abrType: standard
autoCostRefBandwidth: 1000
bfd: disable
databaseOverflow: disable
databaseOverflowMaxLsas: 10000
databaseOverflowTimeToRecover: 300
defaultInformationMetric: 10
defaultInformationMetricType: '2'
defaultInformationOriginate: disable
defaultMetric: 10
distance: 110
distanceExternal: 110
distanceInterArea: 110
distanceIntraArea: 110
logNeighbourChanges: enable
redistributes:
- metric: 0
metricType: '2'
name: connected
status: disable
tag: 0
- metric: 0
metricType: '2'
name: static
status: disable
tag: 0
- metric: 0
metricType: '2'
name: rip
status: disable
tag: 0
- metric: 0
metricType: '2'
name: bgp
status: disable
tag: 0
- metric: 0
metricType: '2'
name: isis
status: disable
tag: 0
restartMode: none
restartPeriod: 120
rfc1583Compatible: disable
routerId: 0.0.0.0
spfTimers: 5 10
Create Ospf Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ospf(name: string, args: OspfArgs, opts?: CustomResourceOptions);
@overload
def Ospf(resource_name: str,
args: OspfArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Ospf(resource_name: str,
opts: Optional[ResourceOptions] = None,
router_id: Optional[str] = None,
distribute_list_in: Optional[str] = None,
default_information_metric_type: Optional[str] = None,
bfd: Optional[str] = None,
database_overflow: Optional[str] = None,
distribute_lists: Optional[Sequence[OspfDistributeListArgs]] = None,
database_overflow_time_to_recover: Optional[int] = None,
default_information_metric: Optional[int] = None,
distribute_route_map_in: Optional[str] = None,
default_information_originate: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
default_metric: Optional[int] = None,
distance: Optional[int] = None,
distance_external: Optional[int] = None,
distance_inter_area: Optional[int] = None,
distance_intra_area: Optional[int] = None,
abr_type: Optional[str] = None,
database_overflow_max_lsas: Optional[int] = None,
auto_cost_ref_bandwidth: Optional[int] = None,
default_information_route_map: Optional[str] = None,
get_all_tables: Optional[str] = None,
log_neighbour_changes: Optional[str] = None,
neighbors: Optional[Sequence[OspfNeighborArgs]] = None,
networks: Optional[Sequence[OspfNetworkArgs]] = None,
ospf_interfaces: Optional[Sequence[OspfOspfInterfaceArgs]] = None,
passive_interfaces: Optional[Sequence[OspfPassiveInterfaceArgs]] = None,
redistributes: Optional[Sequence[OspfRedistributeArgs]] = None,
restart_mode: Optional[str] = None,
restart_on_topology_change: Optional[str] = None,
restart_period: Optional[int] = None,
rfc1583_compatible: Optional[str] = None,
areas: Optional[Sequence[OspfAreaArgs]] = None,
spf_timers: Optional[str] = None,
summary_addresses: Optional[Sequence[OspfSummaryAddressArgs]] = None,
vdomparam: Optional[str] = None)
func NewOspf(ctx *Context, name string, args OspfArgs, opts ...ResourceOption) (*Ospf, error)
public Ospf(string name, OspfArgs args, CustomResourceOptions? opts = null)
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:
- Router
Id string - Router ID.
- Abr
Type 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
area
block is documented below. - Auto
Cost intRef Bandwidth - Reference bandwidth in terms of megabits per second.
- Bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - Database
Overflow string - 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 stringMetric Type - Default information metric type. Valid values:
1
,2
. - Default
Information stringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - Default
Information stringRoute 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 stringIn - Filter incoming routes.
- Distribute
Lists List<Pulumiverse.Fortios. Router. Inputs. Ospf Distribute List> - Distribute list configuration. The structure of
distribute_list
block is documented below. - Distribute
Route stringMap In - Filter incoming external routes by route-map.
- Dynamic
Sort 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 ].
- Get
All 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.
- Log
Neighbour 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
neighbor
block is documented below. - Networks
List<Pulumiverse.
Fortios. Router. Inputs. Ospf Network> - OSPF network configuration. The structure of
network
block is documented below. - Ospf
Interfaces List<Pulumiverse.Fortios. Router. Inputs. Ospf Ospf Interface> - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - Passive
Interfaces List<Pulumiverse.Fortios. Router. Inputs. Ospf Passive Interface> - Passive interface configuration. The structure of
passive_interface
block is documented below. - Redistributes
List<Pulumiverse.
Fortios. Router. Inputs. Ospf Redistribute> - Redistribute configuration. The structure of
redistribute
block is documented below. - Restart
Mode string - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - Restart
On stringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - Restart
Period int - Graceful restart period.
- Rfc1583Compatible string
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - Spf
Timers string - SPF calculation frequency.
- Summary
Addresses List<Pulumiverse.Fortios. Router. Inputs. Ospf Summary Address> - IP address summary configuration. The structure of
summary_address
block is documented below. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Router
Id string - Router ID.
- Abr
Type string - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - Areas
[]Ospf
Area Args - OSPF area configuration. The structure of
area
block is documented below. - Auto
Cost intRef Bandwidth - Reference bandwidth in terms of megabits per second.
- Bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - Database
Overflow string - 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 stringMetric Type - Default information metric type. Valid values:
1
,2
. - Default
Information stringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - Default
Information stringRoute 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 stringIn - Filter incoming routes.
- Distribute
Lists []OspfDistribute List Args - Distribute list configuration. The structure of
distribute_list
block is documented below. - Distribute
Route stringMap In - Filter incoming external routes by route-map.
- Dynamic
Sort 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 ].
- Get
All 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.
- Log
Neighbour stringChanges - Enable logging of OSPF neighbour's changes Valid values:
enable
,disable
. - Neighbors
[]Ospf
Neighbor Args - OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of
neighbor
block is documented below. - Networks
[]Ospf
Network Args - OSPF network configuration. The structure of
network
block is documented below. - Ospf
Interfaces []OspfOspf Interface Args - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - Passive
Interfaces []OspfPassive Interface Args - Passive interface configuration. The structure of
passive_interface
block is documented below. - Redistributes
[]Ospf
Redistribute Args - Redistribute configuration. The structure of
redistribute
block is documented below. - Restart
Mode string - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - Restart
On stringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - Restart
Period int - Graceful restart period.
- Rfc1583Compatible string
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - Spf
Timers string - SPF calculation frequency.
- Summary
Addresses []OspfSummary Address Args - IP address summary configuration. The structure of
summary_address
block is documented below. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- router
Id String - Router ID.
- abr
Type String - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - areas
List<Ospf
Area> - OSPF area configuration. The structure of
area
block is documented below. - auto
Cost IntegerRef Bandwidth - Reference bandwidth in terms of megabits per second.
- bfd String
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - database
Overflow String - Enable/disable database overflow. Valid values:
enable
,disable
. - database
Overflow IntegerMax Lsas - Database overflow maximum LSAs.
- database
Overflow IntegerTime To Recover - Database overflow time to recover (sec).
- default
Information IntegerMetric - Default information metric.
- default
Information StringMetric Type - Default information metric type. Valid values:
1
,2
. - default
Information StringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - default
Information StringRoute Map - Default information route map.
- default
Metric Integer - Default metric of redistribute routes.
- distance Integer
- Distance of the route.
- distance
External Integer - Administrative external distance.
- distance
Inter IntegerArea - Administrative inter-area distance.
- distance
Intra IntegerArea - Administrative intra-area distance.
- distribute
List StringIn - Filter incoming routes.
- distribute
Lists List<OspfDistribute List> - Distribute list configuration. The structure of
distribute_list
block is documented below. - distribute
Route StringMap In - Filter incoming external routes by route-map.
- dynamic
Sort 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 ].
- get
All 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.
- log
Neighbour StringChanges - Enable logging of OSPF neighbour's changes Valid values:
enable
,disable
. - neighbors
List<Ospf
Neighbor> - OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of
neighbor
block is documented below. - networks
List<Ospf
Network> - OSPF network configuration. The structure of
network
block is documented below. - ospf
Interfaces List<OspfOspf Interface> - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - passive
Interfaces List<OspfPassive Interface> - Passive interface configuration. The structure of
passive_interface
block is documented below. - redistributes
List<Ospf
Redistribute> - Redistribute configuration. The structure of
redistribute
block is documented below. - restart
Mode String - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - restart
On StringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - restart
Period Integer - Graceful restart period.
- rfc1583Compatible String
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - spf
Timers String - SPF calculation frequency.
- summary
Addresses List<OspfSummary Address> - IP address summary configuration. The structure of
summary_address
block is documented below. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- router
Id string - Router ID.
- abr
Type string - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - areas
Ospf
Area[] - OSPF area configuration. The structure of
area
block is documented below. - auto
Cost numberRef Bandwidth - Reference bandwidth in terms of megabits per second.
- bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - database
Overflow string - Enable/disable database overflow. Valid values:
enable
,disable
. - database
Overflow numberMax Lsas - Database overflow maximum LSAs.
- database
Overflow numberTime To Recover - Database overflow time to recover (sec).
- default
Information numberMetric - Default information metric.
- default
Information stringMetric Type - Default information metric type. Valid values:
1
,2
. - default
Information stringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - default
Information stringRoute Map - Default information route map.
- default
Metric number - Default metric of redistribute routes.
- distance number
- Distance of the route.
- distance
External number - Administrative external distance.
- distance
Inter numberArea - Administrative inter-area distance.
- distance
Intra numberArea - Administrative intra-area distance.
- distribute
List stringIn - Filter incoming routes.
- distribute
Lists OspfDistribute List[] - Distribute list configuration. The structure of
distribute_list
block is documented below. - distribute
Route stringMap In - Filter incoming external routes by route-map.
- dynamic
Sort 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 ].
- get
All 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.
- log
Neighbour stringChanges - Enable logging of OSPF neighbour's changes Valid values:
enable
,disable
. - neighbors
Ospf
Neighbor[] - OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of
neighbor
block is documented below. - networks
Ospf
Network[] - OSPF network configuration. The structure of
network
block is documented below. - ospf
Interfaces OspfOspf Interface[] - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - passive
Interfaces OspfPassive Interface[] - Passive interface configuration. The structure of
passive_interface
block is documented below. - redistributes
Ospf
Redistribute[] - Redistribute configuration. The structure of
redistribute
block is documented below. - restart
Mode string - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - restart
On stringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - restart
Period number - Graceful restart period.
- rfc1583Compatible string
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - spf
Timers string - SPF calculation frequency.
- summary
Addresses OspfSummary Address[] - IP address summary configuration. The structure of
summary_address
block is documented below. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- router_
id str - Router ID.
- abr_
type str - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - areas
Sequence[Ospf
Area Args] - OSPF area configuration. The structure of
area
block 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_list
block 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[Ospf
Neighbor Args] - OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of
neighbor
block is documented below. - networks
Sequence[Ospf
Network Args] - OSPF network configuration. The structure of
network
block is documented below. - ospf_
interfaces Sequence[OspfOspf Interface Args] - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - passive_
interfaces Sequence[OspfPassive Interface Args] - Passive interface configuration. The structure of
passive_interface
block is documented below. - redistributes
Sequence[Ospf
Redistribute Args] - Redistribute configuration. The structure of
redistribute
block is documented below. - restart_
mode str - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - restart_
on_ 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_address
block is documented below. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- router
Id String - Router ID.
- abr
Type String - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - areas List<Property Map>
- OSPF area configuration. The structure of
area
block is documented below. - auto
Cost NumberRef Bandwidth - Reference bandwidth in terms of megabits per second.
- bfd String
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - database
Overflow String - Enable/disable database overflow. Valid values:
enable
,disable
. - database
Overflow NumberMax Lsas - Database overflow maximum LSAs.
- database
Overflow NumberTime To Recover - Database overflow time to recover (sec).
- default
Information NumberMetric - Default information metric.
- default
Information StringMetric Type - Default information metric type. Valid values:
1
,2
. - default
Information StringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - default
Information StringRoute Map - Default information route map.
- default
Metric Number - Default metric of redistribute routes.
- distance Number
- Distance of the route.
- distance
External Number - Administrative external distance.
- distance
Inter NumberArea - Administrative inter-area distance.
- distance
Intra NumberArea - Administrative intra-area distance.
- distribute
List StringIn - Filter incoming routes.
- distribute
Lists List<Property Map> - Distribute list configuration. The structure of
distribute_list
block is documented below. - distribute
Route StringMap In - Filter incoming external routes by route-map.
- dynamic
Sort 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 ].
- get
All 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.
- log
Neighbour 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
neighbor
block is documented below. - networks List<Property Map>
- OSPF network configuration. The structure of
network
block is documented below. - ospf
Interfaces List<Property Map> - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - passive
Interfaces List<Property Map> - Passive interface configuration. The structure of
passive_interface
block is documented below. - redistributes List<Property Map>
- Redistribute configuration. The structure of
redistribute
block is documented below. - restart
Mode String - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - restart
On StringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - restart
Period Number - Graceful restart period.
- rfc1583Compatible String
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - spf
Timers String - SPF calculation frequency.
- summary
Addresses List<Property Map> - IP address summary configuration. The structure of
summary_address
block is documented below. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ospf resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Ospf Resource
Get an existing Ospf resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OspfState, opts?: CustomResourceOptions): Ospf
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
abr_type: Optional[str] = None,
areas: Optional[Sequence[OspfAreaArgs]] = None,
auto_cost_ref_bandwidth: Optional[int] = None,
bfd: Optional[str] = None,
database_overflow: Optional[str] = None,
database_overflow_max_lsas: Optional[int] = None,
database_overflow_time_to_recover: Optional[int] = None,
default_information_metric: Optional[int] = None,
default_information_metric_type: Optional[str] = None,
default_information_originate: Optional[str] = None,
default_information_route_map: Optional[str] = None,
default_metric: Optional[int] = None,
distance: Optional[int] = None,
distance_external: Optional[int] = None,
distance_inter_area: Optional[int] = None,
distance_intra_area: Optional[int] = None,
distribute_list_in: Optional[str] = None,
distribute_lists: Optional[Sequence[OspfDistributeListArgs]] = None,
distribute_route_map_in: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
log_neighbour_changes: Optional[str] = None,
neighbors: Optional[Sequence[OspfNeighborArgs]] = None,
networks: Optional[Sequence[OspfNetworkArgs]] = None,
ospf_interfaces: Optional[Sequence[OspfOspfInterfaceArgs]] = None,
passive_interfaces: Optional[Sequence[OspfPassiveInterfaceArgs]] = None,
redistributes: Optional[Sequence[OspfRedistributeArgs]] = None,
restart_mode: Optional[str] = None,
restart_on_topology_change: Optional[str] = None,
restart_period: Optional[int] = None,
rfc1583_compatible: Optional[str] = None,
router_id: Optional[str] = None,
spf_timers: Optional[str] = None,
summary_addresses: Optional[Sequence[OspfSummaryAddressArgs]] = None,
vdomparam: Optional[str] = None) -> Ospf
func GetOspf(ctx *Context, name string, id IDInput, state *OspfState, opts ...ResourceOption) (*Ospf, error)
public static Ospf Get(string name, Input<string> id, OspfState? state, CustomResourceOptions? opts = null)
public static Ospf get(String name, Output<String> id, OspfState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Abr
Type 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
area
block is documented below. - Auto
Cost intRef Bandwidth - Reference bandwidth in terms of megabits per second.
- Bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - Database
Overflow string - 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 stringMetric Type - Default information metric type. Valid values:
1
,2
. - Default
Information stringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - Default
Information stringRoute 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 stringIn - Filter incoming routes.
- Distribute
Lists List<Pulumiverse.Fortios. Router. Inputs. Ospf Distribute List> - Distribute list configuration. The structure of
distribute_list
block is documented below. - Distribute
Route stringMap In - Filter incoming external routes by route-map.
- Dynamic
Sort 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 ].
- Get
All 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.
- Log
Neighbour 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
neighbor
block is documented below. - Networks
List<Pulumiverse.
Fortios. Router. Inputs. Ospf Network> - OSPF network configuration. The structure of
network
block is documented below. - Ospf
Interfaces List<Pulumiverse.Fortios. Router. Inputs. Ospf Ospf Interface> - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - Passive
Interfaces List<Pulumiverse.Fortios. Router. Inputs. Ospf Passive Interface> - Passive interface configuration. The structure of
passive_interface
block is documented below. - Redistributes
List<Pulumiverse.
Fortios. Router. Inputs. Ospf Redistribute> - Redistribute configuration. The structure of
redistribute
block is documented below. - Restart
Mode string - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - Restart
On stringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - Restart
Period int - Graceful restart period.
- Rfc1583Compatible string
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - Router
Id string - Router ID.
- Spf
Timers string - SPF calculation frequency.
- Summary
Addresses List<Pulumiverse.Fortios. Router. Inputs. Ospf Summary Address> - IP address summary configuration. The structure of
summary_address
block is documented below. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Abr
Type string - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - Areas
[]Ospf
Area Args - OSPF area configuration. The structure of
area
block is documented below. - Auto
Cost intRef Bandwidth - Reference bandwidth in terms of megabits per second.
- Bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - Database
Overflow string - 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 stringMetric Type - Default information metric type. Valid values:
1
,2
. - Default
Information stringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - Default
Information stringRoute 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 stringIn - Filter incoming routes.
- Distribute
Lists []OspfDistribute List Args - Distribute list configuration. The structure of
distribute_list
block is documented below. - Distribute
Route stringMap In - Filter incoming external routes by route-map.
- Dynamic
Sort 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 ].
- Get
All 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.
- Log
Neighbour stringChanges - Enable logging of OSPF neighbour's changes Valid values:
enable
,disable
. - Neighbors
[]Ospf
Neighbor Args - OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of
neighbor
block is documented below. - Networks
[]Ospf
Network Args - OSPF network configuration. The structure of
network
block is documented below. - Ospf
Interfaces []OspfOspf Interface Args - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - Passive
Interfaces []OspfPassive Interface Args - Passive interface configuration. The structure of
passive_interface
block is documented below. - Redistributes
[]Ospf
Redistribute Args - Redistribute configuration. The structure of
redistribute
block is documented below. - Restart
Mode string - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - Restart
On stringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - Restart
Period int - Graceful restart period.
- Rfc1583Compatible string
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - Router
Id string - Router ID.
- Spf
Timers string - SPF calculation frequency.
- Summary
Addresses []OspfSummary Address Args - IP address summary configuration. The structure of
summary_address
block is documented below. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- abr
Type String - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - areas
List<Ospf
Area> - OSPF area configuration. The structure of
area
block is documented below. - auto
Cost IntegerRef Bandwidth - Reference bandwidth in terms of megabits per second.
- bfd String
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - database
Overflow String - Enable/disable database overflow. Valid values:
enable
,disable
. - database
Overflow IntegerMax Lsas - Database overflow maximum LSAs.
- database
Overflow IntegerTime To Recover - Database overflow time to recover (sec).
- default
Information IntegerMetric - Default information metric.
- default
Information StringMetric Type - Default information metric type. Valid values:
1
,2
. - default
Information StringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - default
Information StringRoute Map - Default information route map.
- default
Metric Integer - Default metric of redistribute routes.
- distance Integer
- Distance of the route.
- distance
External Integer - Administrative external distance.
- distance
Inter IntegerArea - Administrative inter-area distance.
- distance
Intra IntegerArea - Administrative intra-area distance.
- distribute
List StringIn - Filter incoming routes.
- distribute
Lists List<OspfDistribute List> - Distribute list configuration. The structure of
distribute_list
block is documented below. - distribute
Route StringMap In - Filter incoming external routes by route-map.
- dynamic
Sort 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 ].
- get
All 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.
- log
Neighbour StringChanges - Enable logging of OSPF neighbour's changes Valid values:
enable
,disable
. - neighbors
List<Ospf
Neighbor> - OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of
neighbor
block is documented below. - networks
List<Ospf
Network> - OSPF network configuration. The structure of
network
block is documented below. - ospf
Interfaces List<OspfOspf Interface> - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - passive
Interfaces List<OspfPassive Interface> - Passive interface configuration. The structure of
passive_interface
block is documented below. - redistributes
List<Ospf
Redistribute> - Redistribute configuration. The structure of
redistribute
block is documented below. - restart
Mode String - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - restart
On StringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - restart
Period Integer - Graceful restart period.
- rfc1583Compatible String
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - router
Id String - Router ID.
- spf
Timers String - SPF calculation frequency.
- summary
Addresses List<OspfSummary Address> - IP address summary configuration. The structure of
summary_address
block is documented below. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- abr
Type string - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - areas
Ospf
Area[] - OSPF area configuration. The structure of
area
block is documented below. - auto
Cost numberRef Bandwidth - Reference bandwidth in terms of megabits per second.
- bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - database
Overflow string - Enable/disable database overflow. Valid values:
enable
,disable
. - database
Overflow numberMax Lsas - Database overflow maximum LSAs.
- database
Overflow numberTime To Recover - Database overflow time to recover (sec).
- default
Information numberMetric - Default information metric.
- default
Information stringMetric Type - Default information metric type. Valid values:
1
,2
. - default
Information stringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - default
Information stringRoute Map - Default information route map.
- default
Metric number - Default metric of redistribute routes.
- distance number
- Distance of the route.
- distance
External number - Administrative external distance.
- distance
Inter numberArea - Administrative inter-area distance.
- distance
Intra numberArea - Administrative intra-area distance.
- distribute
List stringIn - Filter incoming routes.
- distribute
Lists OspfDistribute List[] - Distribute list configuration. The structure of
distribute_list
block is documented below. - distribute
Route stringMap In - Filter incoming external routes by route-map.
- dynamic
Sort 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 ].
- get
All 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.
- log
Neighbour stringChanges - Enable logging of OSPF neighbour's changes Valid values:
enable
,disable
. - neighbors
Ospf
Neighbor[] - OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of
neighbor
block is documented below. - networks
Ospf
Network[] - OSPF network configuration. The structure of
network
block is documented below. - ospf
Interfaces OspfOspf Interface[] - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - passive
Interfaces OspfPassive Interface[] - Passive interface configuration. The structure of
passive_interface
block is documented below. - redistributes
Ospf
Redistribute[] - Redistribute configuration. The structure of
redistribute
block is documented below. - restart
Mode string - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - restart
On stringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - restart
Period number - Graceful restart period.
- rfc1583Compatible string
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - router
Id string - Router ID.
- spf
Timers string - SPF calculation frequency.
- summary
Addresses OspfSummary Address[] - IP address summary configuration. The structure of
summary_address
block is documented below. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- abr_
type str - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - areas
Sequence[Ospf
Area Args] - OSPF area configuration. The structure of
area
block 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_list
block 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[Ospf
Neighbor Args] - OSPF neighbor configuration are used when OSPF runs on non-broadcast media The structure of
neighbor
block is documented below. - networks
Sequence[Ospf
Network Args] - OSPF network configuration. The structure of
network
block is documented below. - ospf_
interfaces Sequence[OspfOspf Interface Args] - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - passive_
interfaces Sequence[OspfPassive Interface Args] - Passive interface configuration. The structure of
passive_interface
block is documented below. - redistributes
Sequence[Ospf
Redistribute Args] - Redistribute configuration. The structure of
redistribute
block is documented below. - restart_
mode str - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - restart_
on_ 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_address
block is documented below. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- abr
Type String - Area border router type. Valid values:
cisco
,ibm
,shortcut
,standard
. - areas List<Property Map>
- OSPF area configuration. The structure of
area
block is documented below. - auto
Cost NumberRef Bandwidth - Reference bandwidth in terms of megabits per second.
- bfd String
- Bidirectional Forwarding Detection (BFD). Valid values:
enable
,disable
. - database
Overflow String - Enable/disable database overflow. Valid values:
enable
,disable
. - database
Overflow NumberMax Lsas - Database overflow maximum LSAs.
- database
Overflow NumberTime To Recover - Database overflow time to recover (sec).
- default
Information NumberMetric - Default information metric.
- default
Information StringMetric Type - Default information metric type. Valid values:
1
,2
. - default
Information StringOriginate - Enable/disable generation of default route. Valid values:
enable
,always
,disable
. - default
Information StringRoute Map - Default information route map.
- default
Metric Number - Default metric of redistribute routes.
- distance Number
- Distance of the route.
- distance
External Number - Administrative external distance.
- distance
Inter NumberArea - Administrative inter-area distance.
- distance
Intra NumberArea - Administrative intra-area distance.
- distribute
List StringIn - Filter incoming routes.
- distribute
Lists List<Property Map> - Distribute list configuration. The structure of
distribute_list
block is documented below. - distribute
Route StringMap In - Filter incoming external routes by route-map.
- dynamic
Sort 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 ].
- get
All 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.
- log
Neighbour 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
neighbor
block is documented below. - networks List<Property Map>
- OSPF network configuration. The structure of
network
block is documented below. - ospf
Interfaces List<Property Map> - OSPF interface configuration. The structure of
ospf_interface
block is documented below. - passive
Interfaces List<Property Map> - Passive interface configuration. The structure of
passive_interface
block is documented below. - redistributes List<Property Map>
- Redistribute configuration. The structure of
redistribute
block is documented below. - restart
Mode String - OSPF restart mode (graceful or LLS). Valid values:
none
,lls
,graceful-restart
. - restart
On StringTopology Change - Enable/disable continuing graceful restart upon topology change. Valid values:
enable
,disable
. - restart
Period Number - Graceful restart period.
- rfc1583Compatible String
- Enable/disable RFC1583 compatibility. Valid values:
enable
,disable
. - router
Id String - Router ID.
- spf
Timers String - SPF calculation frequency.
- summary
Addresses List<Property Map> - IP address summary configuration. The structure of
summary_address
block is documented below. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
OspfArea, OspfAreaArgs
- Authentication string
- Authentication type.
- Comments string
- Comment.
- Default
Cost int - Summary default cost of stub or NSSA area.
- Filter
Lists List<Pulumiverse.Fortios. Router. Inputs. Ospf Area Filter List> - OSPF area filter-list configuration. The structure of
filter_list
block is documented below. - Id string
- Area entry IP address.
- Nssa
Default stringInformation 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 stringInformation Originate Metric Type - OSPF metric type for default routes. Valid values:
1
,2
. - Nssa
Redistribution string - Enable/disable redistribute into NSSA area. Valid values:
enable
,disable
. - Nssa
Translator 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
range
block is documented below. - Shortcut string
- Enable/disable shortcut option. Valid values:
disable
,enable
,default
. - Stub
Type string - Stub summary setting. Valid values:
no-summary
,summary
. - Type string
- Area type setting. Valid values:
regular
,nssa
,stub
. - Virtual
Links List<Pulumiverse.Fortios. Router. Inputs. Ospf Area Virtual Link> - OSPF virtual link configuration. The structure of
virtual_link
block is documented below.
- Authentication string
- Authentication type.
- Comments string
- Comment.
- Default
Cost int - Summary default cost of stub or NSSA area.
- Filter
Lists []OspfArea Filter List - OSPF area filter-list configuration. The structure of
filter_list
block is documented below. - Id string
- Area entry IP address.
- Nssa
Default stringInformation 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 stringInformation Originate Metric Type - OSPF metric type for default routes. Valid values:
1
,2
. - Nssa
Redistribution string - Enable/disable redistribute into NSSA area. Valid values:
enable
,disable
. - Nssa
Translator stringRole - NSSA translator role type. Valid values:
candidate
,never
,always
. - Ranges
[]Ospf
Area Range - OSPF area range configuration. The structure of
range
block is documented below. - Shortcut string
- Enable/disable shortcut option. Valid values:
disable
,enable
,default
. - Stub
Type string - Stub summary setting. Valid values:
no-summary
,summary
. - Type string
- Area type setting. Valid values:
regular
,nssa
,stub
. - Virtual
Links []OspfArea Virtual Link - OSPF virtual link configuration. The structure of
virtual_link
block is documented below.
- authentication String
- Authentication type.
- comments String
- Comment.
- default
Cost Integer - Summary default cost of stub or NSSA area.
- filter
Lists List<OspfArea Filter List> - OSPF area filter-list configuration. The structure of
filter_list
block is documented below. - id String
- Area entry IP address.
- nssa
Default StringInformation Originate - Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values:
enable
,always
,disable
. - nssa
Default IntegerInformation Originate Metric - OSPF default metric.
- nssa
Default StringInformation Originate Metric Type - OSPF metric type for default routes. Valid values:
1
,2
. - nssa
Redistribution String - Enable/disable redistribute into NSSA area. Valid values:
enable
,disable
. - nssa
Translator StringRole - NSSA translator role type. Valid values:
candidate
,never
,always
. - ranges
List<Ospf
Area Range> - OSPF area range configuration. The structure of
range
block is documented below. - shortcut String
- Enable/disable shortcut option. Valid values:
disable
,enable
,default
. - stub
Type String - Stub summary setting. Valid values:
no-summary
,summary
. - type String
- Area type setting. Valid values:
regular
,nssa
,stub
. - virtual
Links List<OspfArea Virtual Link> - OSPF virtual link configuration. The structure of
virtual_link
block is documented below.
- authentication string
- Authentication type.
- comments string
- Comment.
- default
Cost number - Summary default cost of stub or NSSA area.
- filter
Lists OspfArea Filter List[] - OSPF area filter-list configuration. The structure of
filter_list
block is documented below. - id string
- Area entry IP address.
- nssa
Default stringInformation Originate - Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values:
enable
,always
,disable
. - nssa
Default numberInformation Originate Metric - OSPF default metric.
- nssa
Default stringInformation Originate Metric Type - OSPF metric type for default routes. Valid values:
1
,2
. - nssa
Redistribution string - Enable/disable redistribute into NSSA area. Valid values:
enable
,disable
. - nssa
Translator stringRole - NSSA translator role type. Valid values:
candidate
,never
,always
. - ranges
Ospf
Area Range[] - OSPF area range configuration. The structure of
range
block is documented below. - shortcut string
- Enable/disable shortcut option. Valid values:
disable
,enable
,default
. - stub
Type string - Stub summary setting. Valid values:
no-summary
,summary
. - type string
- Area type setting. Valid values:
regular
,nssa
,stub
. - virtual
Links OspfArea Virtual Link[] - OSPF virtual link configuration. The structure of
virtual_link
block is documented below.
- authentication str
- Authentication type.
- comments str
- Comment.
- default_
cost int - Summary default cost of stub or NSSA area.
- filter_
lists Sequence[OspfArea Filter List] - OSPF area filter-list configuration. The structure of
filter_list
block 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[Ospf
Area Range] - OSPF area range configuration. The structure of
range
block is documented below. - shortcut str
- Enable/disable shortcut option. Valid values:
disable
,enable
,default
. - stub_
type str - Stub summary setting. Valid values:
no-summary
,summary
. - type str
- Area type setting. Valid values:
regular
,nssa
,stub
. - virtual_
links Sequence[OspfArea Virtual Link] - OSPF virtual link configuration. The structure of
virtual_link
block is documented below.
- authentication String
- Authentication type.
- comments String
- Comment.
- default
Cost Number - Summary default cost of stub or NSSA area.
- filter
Lists List<Property Map> - OSPF area filter-list configuration. The structure of
filter_list
block is documented below. - id String
- Area entry IP address.
- nssa
Default StringInformation Originate - Redistribute, advertise, or do not originate Type-7 default route into NSSA area. Valid values:
enable
,always
,disable
. - nssa
Default NumberInformation Originate Metric - OSPF default metric.
- nssa
Default StringInformation Originate Metric Type - OSPF metric type for default routes. Valid values:
1
,2
. - nssa
Redistribution String - Enable/disable redistribute into NSSA area. Valid values:
enable
,disable
. - nssa
Translator StringRole - NSSA translator role type. Valid values:
candidate
,never
,always
. - ranges List<Property Map>
- OSPF area range configuration. The structure of
range
block is documented below. - shortcut String
- Enable/disable shortcut option. Valid values:
disable
,enable
,default
. - stub
Type String - Stub summary setting. Valid values:
no-summary
,summary
. - type String
- Area type setting. Valid values:
regular
,nssa
,stub
. - virtual
Links List<Property Map> - OSPF virtual link configuration. The structure of
virtual_link
block 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.
- Substitute
Status 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.
- Substitute
Status 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.
- substitute
Status 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.
- substitute
Status 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.
- substitute
Status String - Enable/disable substitute status. Valid values:
enable
,disable
.
OspfAreaVirtualLink, OspfAreaVirtualLinkArgs
- Authentication string
- Authentication type.
- Authentication
Key string - Authentication key.
- Dead
Interval int - Dead interval.
- Hello
Interval 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_keys
block is documented below.The
md5_keys
block supports:- Name string
- Virtual link entry name.
- Peer string
- Peer IP.
- Retransmit
Interval int - Retransmit interval.
- Transmit
Delay int - Transmit delay.
- Authentication string
- Authentication type.
- Authentication
Key string - Authentication key.
- Dead
Interval int - Dead interval.
- Hello
Interval int - Hello interval.
- Keychain string
- Message-digest key-chain name.
- Md5Key string
- MD5 key.
- Md5Keychain string
- Authentication MD5 key-chain name.
- Md5Keys
[]Ospf
Area Virtual Link Md5Key MD5 key. The structure of
md5_keys
block is documented below.The
md5_keys
block supports:- Name string
- Virtual link entry name.
- Peer string
- Peer IP.
- Retransmit
Interval int - Retransmit interval.
- Transmit
Delay int - Transmit delay.
- authentication String
- Authentication type.
- authentication
Key String - Authentication key.
- dead
Interval Integer - Dead interval.
- hello
Interval Integer - Hello interval.
- keychain String
- Message-digest key-chain name.
- md5Key String
- MD5 key.
- md5Keychain String
- Authentication MD5 key-chain name.
- md5Keys
List<Ospf
Area Virtual Link Md5Key> MD5 key. The structure of
md5_keys
block is documented below.The
md5_keys
block supports:- name String
- Virtual link entry name.
- peer String
- Peer IP.
- retransmit
Interval Integer - Retransmit interval.
- transmit
Delay Integer - Transmit delay.
- authentication string
- Authentication type.
- authentication
Key string - Authentication key.
- dead
Interval number - Dead interval.
- hello
Interval number - Hello interval.
- keychain string
- Message-digest key-chain name.
- md5Key string
- MD5 key.
- md5Keychain string
- Authentication MD5 key-chain name.
- md5Keys
Ospf
Area Virtual Link Md5Key[] MD5 key. The structure of
md5_keys
block is documented below.The
md5_keys
block supports:- name string
- Virtual link entry name.
- peer string
- Peer IP.
- retransmit
Interval number - Retransmit interval.
- transmit
Delay 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_keys
block is documented below.The
md5_keys
block supports:- name str
- Virtual link entry name.
- peer str
- Peer IP.
- retransmit_
interval int - Retransmit interval.
- transmit_
delay int - Transmit delay.
- authentication String
- Authentication type.
- authentication
Key String - Authentication key.
- dead
Interval Number - Dead interval.
- hello
Interval Number - Hello interval.
- keychain String
- Message-digest key-chain name.
- md5Key String
- MD5 key.
- md5Keychain String
- Authentication MD5 key-chain name.
- md5Keys List<Property Map>
MD5 key. The structure of
md5_keys
block is documented below.The
md5_keys
block supports:- name String
- Virtual link entry name.
- peer String
- Peer IP.
- retransmit
Interval Number - Retransmit interval.
- transmit
Delay Number - Transmit delay.
OspfAreaVirtualLinkMd5Key, OspfAreaVirtualLinkMd5KeyArgs
- id int
- an identifier for the resource.
- key_
string str
OspfDistributeList, OspfDistributeListArgs
- Access
List string - Access list name.
- Id int
- Distribute list entry ID.
- Protocol string
- Protocol type. Valid values:
connected
,static
,rip
.
- Access
List string - Access list name.
- Id int
- Distribute list entry ID.
- Protocol string
- Protocol type. Valid values:
connected
,static
,rip
.
- access
List String - Access list name.
- id Integer
- Distribute list entry ID.
- protocol String
- Protocol type. Valid values:
connected
,static
,rip
.
- access
List 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
.
- access
List 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.
- Poll
Interval 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.
- Poll
Interval 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.
- poll
Interval 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.
- poll
Interval 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.
- poll
Interval Number - Poll interval time in seconds.
- priority Number
- Priority.
OspfNetwork, OspfNetworkArgs
OspfOspfInterface, OspfOspfInterfaceArgs
- Authentication string
- Authentication type.
- Authentication
Key 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.
- Database
Filter stringOut - 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 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_keys
block is documented below.The
md5_keys
block supports:- Mtu int
- MTU for database description packets.
- Mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - Name string
- Interface entry name.
- Network
Type string - 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 string
- Enable/disable status. Valid values:
disable
,enable
. - Transmit
Delay int - Transmit delay.
- Authentication string
- Authentication type.
- Authentication
Key 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.
- Database
Filter stringOut - 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 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
[]Ospf
Ospf Interface Md5Key MD5 key. The structure of
md5_keys
block is documented below.The
md5_keys
block supports:- Mtu int
- MTU for database description packets.
- Mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - Name string
- Interface entry name.
- Network
Type string - 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 string
- Enable/disable status. Valid values:
disable
,enable
. - Transmit
Delay int - Transmit delay.
- authentication String
- Authentication type.
- authentication
Key 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.
- database
Filter StringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval Integer - Dead interval.
- hello
Interval Integer - Hello interval.
- hello
Multiplier 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<Ospf
Ospf Interface Md5Key> MD5 key. The structure of
md5_keys
block is documented below.The
md5_keys
block supports:- mtu Integer
- MTU for database description packets.
- mtu
Ignore String - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name String
- Interface entry name.
- network
Type String - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length Integer - Prefix length.
- priority Integer
- Priority.
- resync
Timeout Integer - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval Integer - Retransmit interval.
- status String
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay Integer - Transmit delay.
- authentication string
- Authentication type.
- authentication
Key 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.
- database
Filter stringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval number - Dead interval.
- hello
Interval number - Hello interval.
- hello
Multiplier 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
Ospf
Ospf Interface Md5Key[] MD5 key. The structure of
md5_keys
block is documented below.The
md5_keys
block supports:- mtu number
- MTU for database description packets.
- mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name string
- Interface entry name.
- network
Type string - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length number - Prefix length.
- priority number
- Priority.
- resync
Timeout number - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval number - Retransmit interval.
- status string
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay 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_keys
block is documented below.The
md5_keys
block supports:- mtu int
- MTU for database description packets.
- mtu_
ignore str - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name str
- Interface entry name.
- network_
type str - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix_
length int - Prefix length.
- priority int
- Priority.
- resync_
timeout int - Graceful restart neighbor resynchronization timeout.
- retransmit_
interval int - Retransmit interval.
- status str
- Enable/disable status. Valid values:
disable
,enable
. - transmit_
delay int - Transmit delay.
- authentication String
- Authentication type.
- authentication
Key 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.
- database
Filter StringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval Number - Dead interval.
- hello
Interval Number - Hello interval.
- hello
Multiplier Number - Number of hello packets within dead interval.
- interface String
- Configuration interface name.
- ip String
- IP address.
- keychain String
- Message-digest key-chain name.
- md5Key String
- MD5 key.
- md5Keychain String
- Authentication MD5 key-chain name.
- md5Keys List<Property Map>
MD5 key. The structure of
md5_keys
block is documented below.The
md5_keys
block supports:- mtu Number
- MTU for database description packets.
- mtu
Ignore String - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name String
- Interface entry name.
- network
Type String - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length Number - Prefix length.
- priority Number
- Priority.
- resync
Timeout Number - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval Number - Retransmit interval.
- status String
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay 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
fortios
Terraform Provider.