1. Packages
  2. Routeros Provider
  3. API Docs
  4. RoutingOspfInterfaceTemplate
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.RoutingOspfInterfaceTemplate

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const testRoutingOspfInstance = new routeros.RoutingOspfInstance("testRoutingOspfInstance", {});
    const testRoutingOspfArea = new routeros.RoutingOspfArea("testRoutingOspfArea", {instance: testRoutingOspfInstance.name});
    const testRoutingOspfInterfaceTemplate = new routeros.RoutingOspfInterfaceTemplate("testRoutingOspfInterfaceTemplate", {area: testRoutingOspfArea.name});
    
    import pulumi
    import pulumi_routeros as routeros
    
    test_routing_ospf_instance = routeros.RoutingOspfInstance("testRoutingOspfInstance")
    test_routing_ospf_area = routeros.RoutingOspfArea("testRoutingOspfArea", instance=test_routing_ospf_instance.name)
    test_routing_ospf_interface_template = routeros.RoutingOspfInterfaceTemplate("testRoutingOspfInterfaceTemplate", area=test_routing_ospf_area.name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		testRoutingOspfInstance, err := routeros.NewRoutingOspfInstance(ctx, "testRoutingOspfInstance", nil)
    		if err != nil {
    			return err
    		}
    		testRoutingOspfArea, err := routeros.NewRoutingOspfArea(ctx, "testRoutingOspfArea", &routeros.RoutingOspfAreaArgs{
    			Instance: testRoutingOspfInstance.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = routeros.NewRoutingOspfInterfaceTemplate(ctx, "testRoutingOspfInterfaceTemplate", &routeros.RoutingOspfInterfaceTemplateArgs{
    			Area: testRoutingOspfArea.Name,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    
    return await Deployment.RunAsync(() => 
    {
        var testRoutingOspfInstance = new Routeros.RoutingOspfInstance("testRoutingOspfInstance");
    
        var testRoutingOspfArea = new Routeros.RoutingOspfArea("testRoutingOspfArea", new()
        {
            Instance = testRoutingOspfInstance.Name,
        });
    
        var testRoutingOspfInterfaceTemplate = new Routeros.RoutingOspfInterfaceTemplate("testRoutingOspfInterfaceTemplate", new()
        {
            Area = testRoutingOspfArea.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.RoutingOspfInstance;
    import com.pulumi.routeros.RoutingOspfArea;
    import com.pulumi.routeros.RoutingOspfAreaArgs;
    import com.pulumi.routeros.RoutingOspfInterfaceTemplate;
    import com.pulumi.routeros.RoutingOspfInterfaceTemplateArgs;
    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 testRoutingOspfInstance = new RoutingOspfInstance("testRoutingOspfInstance");
    
            var testRoutingOspfArea = new RoutingOspfArea("testRoutingOspfArea", RoutingOspfAreaArgs.builder()
                .instance(testRoutingOspfInstance.name())
                .build());
    
            var testRoutingOspfInterfaceTemplate = new RoutingOspfInterfaceTemplate("testRoutingOspfInterfaceTemplate", RoutingOspfInterfaceTemplateArgs.builder()
                .area(testRoutingOspfArea.name())
                .build());
    
        }
    }
    
    resources:
      testRoutingOspfInstance:
        type: routeros:RoutingOspfInstance
      testRoutingOspfArea:
        type: routeros:RoutingOspfArea
        properties:
          instance: ${testRoutingOspfInstance.name}
      testRoutingOspfInterfaceTemplate:
        type: routeros:RoutingOspfInterfaceTemplate
        properties:
          area: ${testRoutingOspfArea.name}
    

    Create RoutingOspfInterfaceTemplate Resource

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

    Constructor syntax

    new RoutingOspfInterfaceTemplate(name: string, args: RoutingOspfInterfaceTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def RoutingOspfInterfaceTemplate(resource_name: str,
                                     args: RoutingOspfInterfaceTemplateArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def RoutingOspfInterfaceTemplate(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     area: Optional[str] = None,
                                     hello_interval: Optional[str] = None,
                                     authentication_key: Optional[str] = None,
                                     ___path_: Optional[str] = None,
                                     auth: Optional[str] = None,
                                     auth_id: Optional[float] = None,
                                     auth_key: Optional[str] = None,
                                     ___id_: Optional[float] = None,
                                     comment: Optional[str] = None,
                                     cost: Optional[float] = None,
                                     dead_interval: Optional[str] = None,
                                     ___unset_: Optional[str] = None,
                                     disabled: Optional[bool] = None,
                                     prefix_list: Optional[str] = None,
                                     interfaces: Optional[Sequence[str]] = None,
                                     networks: Optional[Sequence[str]] = None,
                                     passive: Optional[bool] = None,
                                     instance_id: Optional[float] = None,
                                     priority: Optional[float] = None,
                                     retransmit_interval: Optional[str] = None,
                                     routing_ospf_interface_template_id: Optional[str] = None,
                                     transmit_delay: Optional[str] = None,
                                     type: Optional[str] = None,
                                     vlink_neighbor_id: Optional[str] = None,
                                     vlink_transit_area: Optional[str] = None)
    func NewRoutingOspfInterfaceTemplate(ctx *Context, name string, args RoutingOspfInterfaceTemplateArgs, opts ...ResourceOption) (*RoutingOspfInterfaceTemplate, error)
    public RoutingOspfInterfaceTemplate(string name, RoutingOspfInterfaceTemplateArgs args, CustomResourceOptions? opts = null)
    public RoutingOspfInterfaceTemplate(String name, RoutingOspfInterfaceTemplateArgs args)
    public RoutingOspfInterfaceTemplate(String name, RoutingOspfInterfaceTemplateArgs args, CustomResourceOptions options)
    
    type: routeros:RoutingOspfInterfaceTemplate
    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 RoutingOspfInterfaceTemplateArgs
    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 RoutingOspfInterfaceTemplateArgs
    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 RoutingOspfInterfaceTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RoutingOspfInterfaceTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RoutingOspfInterfaceTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    RoutingOspfInterfaceTemplate 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 RoutingOspfInterfaceTemplate resource accepts the following input properties:

    Area string
    The OSPF area to which the matching interface will be associated.
    Auth string
    Specifies authentication method for OSPF protocol messages.
    AuthId double
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    AuthKey string
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    AuthenticationKey string
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    Comment string
    Cost double
    Interface cost expressed as link state metric.
    DeadInterval string
    Specifies the interval after which a neighbor is declared dead.
    Disabled bool
    HelloInterval string
    The interval between HELLO packets that the router sends out this interface.
    InstanceId double
    Interface cost expressed as link state metric.
    Interfaces List<string>
    Interfaces to match.
    Networks List<string>
    The network prefixes associated with the area.
    Passive bool
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    PrefixList string
    Name of the address list containing networks that should be advertised to the v3 interface.
    Priority double
    Router's priority. Used to determine the designated router in a broadcast network.
    RetransmitInterval string
    Time interval the lost link state advertisement will be resent.
    RoutingOspfInterfaceTemplateId string
    The ID of this resource.
    TransmitDelay string
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    Type string
    The OSPF network type on this interface.
    VlinkNeighborId string
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    VlinkTransitArea string
    A non-backbone area the two routers have in common over which the virtual link will be established.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ string
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    Area string
    The OSPF area to which the matching interface will be associated.
    Auth string
    Specifies authentication method for OSPF protocol messages.
    AuthId float64
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    AuthKey string
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    AuthenticationKey string
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    Comment string
    Cost float64
    Interface cost expressed as link state metric.
    DeadInterval string
    Specifies the interval after which a neighbor is declared dead.
    Disabled bool
    HelloInterval string
    The interval between HELLO packets that the router sends out this interface.
    InstanceId float64
    Interface cost expressed as link state metric.
    Interfaces []string
    Interfaces to match.
    Networks []string
    The network prefixes associated with the area.
    Passive bool
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    PrefixList string
    Name of the address list containing networks that should be advertised to the v3 interface.
    Priority float64
    Router's priority. Used to determine the designated router in a broadcast network.
    RetransmitInterval string
    Time interval the lost link state advertisement will be resent.
    RoutingOspfInterfaceTemplateId string
    The ID of this resource.
    TransmitDelay string
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    Type string
    The OSPF network type on this interface.
    VlinkNeighborId string
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    VlinkTransitArea string
    A non-backbone area the two routers have in common over which the virtual link will be established.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ string
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    area String
    The OSPF area to which the matching interface will be associated.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ String
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    auth String
    Specifies authentication method for OSPF protocol messages.
    authId Double
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    authKey String
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    authenticationKey String
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    comment String
    cost Double
    Interface cost expressed as link state metric.
    deadInterval String
    Specifies the interval after which a neighbor is declared dead.
    disabled Boolean
    helloInterval String
    The interval between HELLO packets that the router sends out this interface.
    instanceId Double
    Interface cost expressed as link state metric.
    interfaces List<String>
    Interfaces to match.
    networks List<String>
    The network prefixes associated with the area.
    passive Boolean
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    prefixList String
    Name of the address list containing networks that should be advertised to the v3 interface.
    priority Double
    Router's priority. Used to determine the designated router in a broadcast network.
    retransmitInterval String
    Time interval the lost link state advertisement will be resent.
    routingOspfInterfaceTemplateId String
    The ID of this resource.
    transmitDelay String
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    type String
    The OSPF network type on this interface.
    vlinkNeighborId String
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    vlinkTransitArea String
    A non-backbone area the two routers have in common over which the virtual link will be established.
    area string
    The OSPF area to which the matching interface will be associated.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ string
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    auth string
    Specifies authentication method for OSPF protocol messages.
    authId number
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    authKey string
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    authenticationKey string
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    comment string
    cost number
    Interface cost expressed as link state metric.
    deadInterval string
    Specifies the interval after which a neighbor is declared dead.
    disabled boolean
    helloInterval string
    The interval between HELLO packets that the router sends out this interface.
    instanceId number
    Interface cost expressed as link state metric.
    interfaces string[]
    Interfaces to match.
    networks string[]
    The network prefixes associated with the area.
    passive boolean
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    prefixList string
    Name of the address list containing networks that should be advertised to the v3 interface.
    priority number
    Router's priority. Used to determine the designated router in a broadcast network.
    retransmitInterval string
    Time interval the lost link state advertisement will be resent.
    routingOspfInterfaceTemplateId string
    The ID of this resource.
    transmitDelay string
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    type string
    The OSPF network type on this interface.
    vlinkNeighborId string
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    vlinkTransitArea string
    A non-backbone area the two routers have in common over which the virtual link will be established.
    area str
    The OSPF area to which the matching interface will be associated.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ str
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    auth str
    Specifies authentication method for OSPF protocol messages.
    auth_id float
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    auth_key str
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    authentication_key str
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    comment str
    cost float
    Interface cost expressed as link state metric.
    dead_interval str
    Specifies the interval after which a neighbor is declared dead.
    disabled bool
    hello_interval str
    The interval between HELLO packets that the router sends out this interface.
    instance_id float
    Interface cost expressed as link state metric.
    interfaces Sequence[str]
    Interfaces to match.
    networks Sequence[str]
    The network prefixes associated with the area.
    passive bool
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    prefix_list str
    Name of the address list containing networks that should be advertised to the v3 interface.
    priority float
    Router's priority. Used to determine the designated router in a broadcast network.
    retransmit_interval str
    Time interval the lost link state advertisement will be resent.
    routing_ospf_interface_template_id str
    The ID of this resource.
    transmit_delay str
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    type str
    The OSPF network type on this interface.
    vlink_neighbor_id str
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    vlink_transit_area str
    A non-backbone area the two routers have in common over which the virtual link will be established.
    area String
    The OSPF area to which the matching interface will be associated.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ String
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    auth String
    Specifies authentication method for OSPF protocol messages.
    authId Number
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    authKey String
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    authenticationKey String
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    comment String
    cost Number
    Interface cost expressed as link state metric.
    deadInterval String
    Specifies the interval after which a neighbor is declared dead.
    disabled Boolean
    helloInterval String
    The interval between HELLO packets that the router sends out this interface.
    instanceId Number
    Interface cost expressed as link state metric.
    interfaces List<String>
    Interfaces to match.
    networks List<String>
    The network prefixes associated with the area.
    passive Boolean
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    prefixList String
    Name of the address list containing networks that should be advertised to the v3 interface.
    priority Number
    Router's priority. Used to determine the designated router in a broadcast network.
    retransmitInterval String
    Time interval the lost link state advertisement will be resent.
    routingOspfInterfaceTemplateId String
    The ID of this resource.
    transmitDelay String
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    type String
    The OSPF network type on this interface.
    vlinkNeighborId String
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    vlinkTransitArea String
    A non-backbone area the two routers have in common over which the virtual link will be established.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Inactive bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Inactive bool
    id String
    The provider-assigned unique ID for this managed resource.
    inactive Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    inactive boolean
    id str
    The provider-assigned unique ID for this managed resource.
    inactive bool
    id String
    The provider-assigned unique ID for this managed resource.
    inactive Boolean

    Look up Existing RoutingOspfInterfaceTemplate Resource

    Get an existing RoutingOspfInterfaceTemplate 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?: RoutingOspfInterfaceTemplateState, opts?: CustomResourceOptions): RoutingOspfInterfaceTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            ___unset_: Optional[str] = None,
            area: Optional[str] = None,
            auth: Optional[str] = None,
            auth_id: Optional[float] = None,
            auth_key: Optional[str] = None,
            authentication_key: Optional[str] = None,
            comment: Optional[str] = None,
            cost: Optional[float] = None,
            dead_interval: Optional[str] = None,
            disabled: Optional[bool] = None,
            hello_interval: Optional[str] = None,
            inactive: Optional[bool] = None,
            instance_id: Optional[float] = None,
            interfaces: Optional[Sequence[str]] = None,
            networks: Optional[Sequence[str]] = None,
            passive: Optional[bool] = None,
            prefix_list: Optional[str] = None,
            priority: Optional[float] = None,
            retransmit_interval: Optional[str] = None,
            routing_ospf_interface_template_id: Optional[str] = None,
            transmit_delay: Optional[str] = None,
            type: Optional[str] = None,
            vlink_neighbor_id: Optional[str] = None,
            vlink_transit_area: Optional[str] = None) -> RoutingOspfInterfaceTemplate
    func GetRoutingOspfInterfaceTemplate(ctx *Context, name string, id IDInput, state *RoutingOspfInterfaceTemplateState, opts ...ResourceOption) (*RoutingOspfInterfaceTemplate, error)
    public static RoutingOspfInterfaceTemplate Get(string name, Input<string> id, RoutingOspfInterfaceTemplateState? state, CustomResourceOptions? opts = null)
    public static RoutingOspfInterfaceTemplate get(String name, Output<String> id, RoutingOspfInterfaceTemplateState state, CustomResourceOptions options)
    resources:  _:    type: routeros:RoutingOspfInterfaceTemplate    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Area string
    The OSPF area to which the matching interface will be associated.
    Auth string
    Specifies authentication method for OSPF protocol messages.
    AuthId double
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    AuthKey string
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    AuthenticationKey string
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    Comment string
    Cost double
    Interface cost expressed as link state metric.
    DeadInterval string
    Specifies the interval after which a neighbor is declared dead.
    Disabled bool
    HelloInterval string
    The interval between HELLO packets that the router sends out this interface.
    Inactive bool
    InstanceId double
    Interface cost expressed as link state metric.
    Interfaces List<string>
    Interfaces to match.
    Networks List<string>
    The network prefixes associated with the area.
    Passive bool
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    PrefixList string
    Name of the address list containing networks that should be advertised to the v3 interface.
    Priority double
    Router's priority. Used to determine the designated router in a broadcast network.
    RetransmitInterval string
    Time interval the lost link state advertisement will be resent.
    RoutingOspfInterfaceTemplateId string
    The ID of this resource.
    TransmitDelay string
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    Type string
    The OSPF network type on this interface.
    VlinkNeighborId string
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    VlinkTransitArea string
    A non-backbone area the two routers have in common over which the virtual link will be established.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ string
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    Area string
    The OSPF area to which the matching interface will be associated.
    Auth string
    Specifies authentication method for OSPF protocol messages.
    AuthId float64
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    AuthKey string
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    AuthenticationKey string
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    Comment string
    Cost float64
    Interface cost expressed as link state metric.
    DeadInterval string
    Specifies the interval after which a neighbor is declared dead.
    Disabled bool
    HelloInterval string
    The interval between HELLO packets that the router sends out this interface.
    Inactive bool
    InstanceId float64
    Interface cost expressed as link state metric.
    Interfaces []string
    Interfaces to match.
    Networks []string
    The network prefixes associated with the area.
    Passive bool
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    PrefixList string
    Name of the address list containing networks that should be advertised to the v3 interface.
    Priority float64
    Router's priority. Used to determine the designated router in a broadcast network.
    RetransmitInterval string
    Time interval the lost link state advertisement will be resent.
    RoutingOspfInterfaceTemplateId string
    The ID of this resource.
    TransmitDelay string
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    Type string
    The OSPF network type on this interface.
    VlinkNeighborId string
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    VlinkTransitArea string
    A non-backbone area the two routers have in common over which the virtual link will be established.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ string
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ String
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    area String
    The OSPF area to which the matching interface will be associated.
    auth String
    Specifies authentication method for OSPF protocol messages.
    authId Double
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    authKey String
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    authenticationKey String
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    comment String
    cost Double
    Interface cost expressed as link state metric.
    deadInterval String
    Specifies the interval after which a neighbor is declared dead.
    disabled Boolean
    helloInterval String
    The interval between HELLO packets that the router sends out this interface.
    inactive Boolean
    instanceId Double
    Interface cost expressed as link state metric.
    interfaces List<String>
    Interfaces to match.
    networks List<String>
    The network prefixes associated with the area.
    passive Boolean
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    prefixList String
    Name of the address list containing networks that should be advertised to the v3 interface.
    priority Double
    Router's priority. Used to determine the designated router in a broadcast network.
    retransmitInterval String
    Time interval the lost link state advertisement will be resent.
    routingOspfInterfaceTemplateId String
    The ID of this resource.
    transmitDelay String
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    type String
    The OSPF network type on this interface.
    vlinkNeighborId String
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    vlinkTransitArea String
    A non-backbone area the two routers have in common over which the virtual link will be established.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ string
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    area string
    The OSPF area to which the matching interface will be associated.
    auth string
    Specifies authentication method for OSPF protocol messages.
    authId number
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    authKey string
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    authenticationKey string
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    comment string
    cost number
    Interface cost expressed as link state metric.
    deadInterval string
    Specifies the interval after which a neighbor is declared dead.
    disabled boolean
    helloInterval string
    The interval between HELLO packets that the router sends out this interface.
    inactive boolean
    instanceId number
    Interface cost expressed as link state metric.
    interfaces string[]
    Interfaces to match.
    networks string[]
    The network prefixes associated with the area.
    passive boolean
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    prefixList string
    Name of the address list containing networks that should be advertised to the v3 interface.
    priority number
    Router's priority. Used to determine the designated router in a broadcast network.
    retransmitInterval string
    Time interval the lost link state advertisement will be resent.
    routingOspfInterfaceTemplateId string
    The ID of this resource.
    transmitDelay string
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    type string
    The OSPF network type on this interface.
    vlinkNeighborId string
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    vlinkTransitArea string
    A non-backbone area the two routers have in common over which the virtual link will be established.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ str
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    area str
    The OSPF area to which the matching interface will be associated.
    auth str
    Specifies authentication method for OSPF protocol messages.
    auth_id float
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    auth_key str
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    authentication_key str
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    comment str
    cost float
    Interface cost expressed as link state metric.
    dead_interval str
    Specifies the interval after which a neighbor is declared dead.
    disabled bool
    hello_interval str
    The interval between HELLO packets that the router sends out this interface.
    inactive bool
    instance_id float
    Interface cost expressed as link state metric.
    interfaces Sequence[str]
    Interfaces to match.
    networks Sequence[str]
    The network prefixes associated with the area.
    passive bool
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    prefix_list str
    Name of the address list containing networks that should be advertised to the v3 interface.
    priority float
    Router's priority. Used to determine the designated router in a broadcast network.
    retransmit_interval str
    Time interval the lost link state advertisement will be resent.
    routing_ospf_interface_template_id str
    The ID of this resource.
    transmit_delay str
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    type str
    The OSPF network type on this interface.
    vlink_neighbor_id str
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    vlink_transit_area str
    A non-backbone area the two routers have in common over which the virtual link will be established.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___unset_ String
    A set of fields that require setting/unsetting. This is an internal service field, setting a value is not required.
    area String
    The OSPF area to which the matching interface will be associated.
    auth String
    Specifies authentication method for OSPF protocol messages.
    authId Number
    The key id is used to calculate message digest (used when MD5 or SHA authentication is enabled).
    authKey String
    The authentication key to be used, should match on all the neighbors of the network segment (available since RouterOS 7.x).
    authenticationKey String
    The authentication key to be used, should match on all the neighbors of the network segment (for versions before RouterOS 7.x).
    comment String
    cost Number
    Interface cost expressed as link state metric.
    deadInterval String
    Specifies the interval after which a neighbor is declared dead.
    disabled Boolean
    helloInterval String
    The interval between HELLO packets that the router sends out this interface.
    inactive Boolean
    instanceId Number
    Interface cost expressed as link state metric.
    interfaces List<String>
    Interfaces to match.
    networks List<String>
    The network prefixes associated with the area.
    passive Boolean
    If enabled, then do not send or receive OSPF traffic on the matching interfaces. \n\nThe correct value of this attribute may not be displayed in Winbox. Please check the parameters in the console!\n\n
    prefixList String
    Name of the address list containing networks that should be advertised to the v3 interface.
    priority Number
    Router's priority. Used to determine the designated router in a broadcast network.
    retransmitInterval String
    Time interval the lost link state advertisement will be resent.
    routingOspfInterfaceTemplateId String
    The ID of this resource.
    transmitDelay String
    Link-state transmit delay is the estimated time it takes to transmit a link-state update packet on the interface.
    type String
    The OSPF network type on this interface.
    vlinkNeighborId String
    Specifies the router-id of the neighbor which should be connected over the virtual link.
    vlinkTransitArea String
    A non-backbone area the two routers have in common over which the virtual link will be established.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> /routing/ospf/interface-template/print show-ids

    $ pulumi import routeros:index/routingOspfInterfaceTemplate:RoutingOspfInterfaceTemplate test_routing_ospf_interface_template "*0"
    

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

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros