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

routeros.Ipv6Route

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 aRoute = new routeros.Ipv6Route("aRoute", {
        dstAddress: "::/0",
        gateway: "2001:DB8:1000::1",
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    a_route = routeros.Ipv6Route("aRoute",
        dst_address="::/0",
        gateway="2001:DB8:1000::1")
    
    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 {
    		_, err := routeros.NewIpv6Route(ctx, "aRoute", &routeros.Ipv6RouteArgs{
    			DstAddress: pulumi.String("::/0"),
    			Gateway:    pulumi.String("2001:DB8:1000::1"),
    		})
    		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 aRoute = new Routeros.Ipv6Route("aRoute", new()
        {
            DstAddress = "::/0",
            Gateway = "2001:DB8:1000::1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.Ipv6Route;
    import com.pulumi.routeros.Ipv6RouteArgs;
    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 aRoute = new Ipv6Route("aRoute", Ipv6RouteArgs.builder()
                .dstAddress("::/0")
                .gateway("2001:DB8:1000::1")
                .build());
    
        }
    }
    
    resources:
      aRoute:
        type: routeros:Ipv6Route
        properties:
          dstAddress: ::/0
          gateway: 2001:DB8:1000::1
    

    Create Ipv6Route Resource

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

    Constructor syntax

    new Ipv6Route(name: string, args: Ipv6RouteArgs, opts?: CustomResourceOptions);
    @overload
    def Ipv6Route(resource_name: str,
                  args: Ipv6RouteArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv6Route(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  dst_address: Optional[str] = None,
                  gateway: Optional[str] = None,
                  comment: Optional[str] = None,
                  ipv6_route_id: Optional[str] = None,
                  ___id_: Optional[float] = None,
                  disabled: Optional[bool] = None,
                  distance: Optional[float] = None,
                  blackhole: Optional[bool] = None,
                  ___path_: Optional[str] = None,
                  check_gateway: Optional[str] = None,
                  pref_src: Optional[str] = None,
                  routing_table: Optional[str] = None,
                  scope: Optional[float] = None,
                  suppress_hw_offload: Optional[bool] = None,
                  target_scope: Optional[float] = None,
                  vrf_interface: Optional[str] = None)
    func NewIpv6Route(ctx *Context, name string, args Ipv6RouteArgs, opts ...ResourceOption) (*Ipv6Route, error)
    public Ipv6Route(string name, Ipv6RouteArgs args, CustomResourceOptions? opts = null)
    public Ipv6Route(String name, Ipv6RouteArgs args)
    public Ipv6Route(String name, Ipv6RouteArgs args, CustomResourceOptions options)
    
    type: routeros:Ipv6Route
    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 Ipv6RouteArgs
    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 Ipv6RouteArgs
    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 Ipv6RouteArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ipv6RouteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ipv6RouteArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    DstAddress string
    IP prefix of route, specifies destination addresses that this route can be used for.
    Gateway string
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    Blackhole bool
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    CheckGateway string
    Currently used check-gateway option.
    Comment string
    Disabled bool
    Distance double
    Value used in route selection. Routes with smaller distance value are given preference.
    Ipv6RouteId string
    The ID of this resource.
    PrefSrc string
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    RoutingTable string
    Routing table this route belongs to.
    Scope double
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    SuppressHwOffload bool
    TargetScope double
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    VrfInterface string
    VRF interface name.
    ___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.
    DstAddress string
    IP prefix of route, specifies destination addresses that this route can be used for.
    Gateway string
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    Blackhole bool
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    CheckGateway string
    Currently used check-gateway option.
    Comment string
    Disabled bool
    Distance float64
    Value used in route selection. Routes with smaller distance value are given preference.
    Ipv6RouteId string
    The ID of this resource.
    PrefSrc string
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    RoutingTable string
    Routing table this route belongs to.
    Scope float64
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    SuppressHwOffload bool
    TargetScope float64
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    VrfInterface string
    VRF interface name.
    ___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.
    dstAddress String
    IP prefix of route, specifies destination addresses that this route can be used for.
    gateway String
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    ___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.
    blackhole Boolean
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    checkGateway String
    Currently used check-gateway option.
    comment String
    disabled Boolean
    distance Double
    Value used in route selection. Routes with smaller distance value are given preference.
    ipv6RouteId String
    The ID of this resource.
    prefSrc String
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    routingTable String
    Routing table this route belongs to.
    scope Double
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    suppressHwOffload Boolean
    targetScope Double
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    vrfInterface String
    VRF interface name.
    dstAddress string
    IP prefix of route, specifies destination addresses that this route can be used for.
    gateway string
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    ___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.
    blackhole boolean
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    checkGateway string
    Currently used check-gateway option.
    comment string
    disabled boolean
    distance number
    Value used in route selection. Routes with smaller distance value are given preference.
    ipv6RouteId string
    The ID of this resource.
    prefSrc string
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    routingTable string
    Routing table this route belongs to.
    scope number
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    suppressHwOffload boolean
    targetScope number
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    vrfInterface string
    VRF interface name.
    dst_address str
    IP prefix of route, specifies destination addresses that this route can be used for.
    gateway str
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    ___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.
    blackhole bool
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    check_gateway str
    Currently used check-gateway option.
    comment str
    disabled bool
    distance float
    Value used in route selection. Routes with smaller distance value are given preference.
    ipv6_route_id str
    The ID of this resource.
    pref_src str
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    routing_table str
    Routing table this route belongs to.
    scope float
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    suppress_hw_offload bool
    target_scope float
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    vrf_interface str
    VRF interface name.
    dstAddress String
    IP prefix of route, specifies destination addresses that this route can be used for.
    gateway String
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    ___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.
    blackhole Boolean
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    checkGateway String
    Currently used check-gateway option.
    comment String
    disabled Boolean
    distance Number
    Value used in route selection. Routes with smaller distance value are given preference.
    ipv6RouteId String
    The ID of this resource.
    prefSrc String
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    routingTable String
    Routing table this route belongs to.
    scope Number
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    suppressHwOffload Boolean
    targetScope Number
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    vrfInterface String
    VRF interface name.

    Outputs

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

    Active bool
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    Ecmp bool
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    HwOffloaded bool
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImmediateGw string
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    Inactive bool
    Static bool
    Active bool
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    Ecmp bool
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    HwOffloaded bool
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImmediateGw string
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    Inactive bool
    Static bool
    active Boolean
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ecmp Boolean
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    hwOffloaded Boolean
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    id String
    The provider-assigned unique ID for this managed resource.
    immediateGw String
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    inactive Boolean
    static_ Boolean
    active boolean
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    dynamic boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ecmp boolean
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    hwOffloaded boolean
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    id string
    The provider-assigned unique ID for this managed resource.
    immediateGw string
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    inactive boolean
    static boolean
    active bool
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ecmp bool
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    hw_offloaded bool
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    id str
    The provider-assigned unique ID for this managed resource.
    immediate_gw str
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    inactive bool
    static bool
    active Boolean
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ecmp Boolean
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    hwOffloaded Boolean
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    id String
    The provider-assigned unique ID for this managed resource.
    immediateGw String
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    inactive Boolean
    static Boolean

    Look up Existing Ipv6Route Resource

    Get an existing Ipv6Route 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?: Ipv6RouteState, opts?: CustomResourceOptions): Ipv6Route
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            active: Optional[bool] = None,
            blackhole: Optional[bool] = None,
            check_gateway: Optional[str] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            distance: Optional[float] = None,
            dst_address: Optional[str] = None,
            dynamic: Optional[bool] = None,
            ecmp: Optional[bool] = None,
            gateway: Optional[str] = None,
            hw_offloaded: Optional[bool] = None,
            immediate_gw: Optional[str] = None,
            inactive: Optional[bool] = None,
            ipv6_route_id: Optional[str] = None,
            pref_src: Optional[str] = None,
            routing_table: Optional[str] = None,
            scope: Optional[float] = None,
            static: Optional[bool] = None,
            suppress_hw_offload: Optional[bool] = None,
            target_scope: Optional[float] = None,
            vrf_interface: Optional[str] = None) -> Ipv6Route
    func GetIpv6Route(ctx *Context, name string, id IDInput, state *Ipv6RouteState, opts ...ResourceOption) (*Ipv6Route, error)
    public static Ipv6Route Get(string name, Input<string> id, Ipv6RouteState? state, CustomResourceOptions? opts = null)
    public static Ipv6Route get(String name, Output<String> id, Ipv6RouteState state, CustomResourceOptions options)
    resources:  _:    type: routeros:Ipv6Route    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:
    Active bool
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    Blackhole bool
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    CheckGateway string
    Currently used check-gateway option.
    Comment string
    Disabled bool
    Distance double
    Value used in route selection. Routes with smaller distance value are given preference.
    DstAddress string
    IP prefix of route, specifies destination addresses that this route can be used for.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    Ecmp bool
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    Gateway string
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    HwOffloaded bool
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    ImmediateGw string
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    Inactive bool
    Ipv6RouteId string
    The ID of this resource.
    PrefSrc string
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    RoutingTable string
    Routing table this route belongs to.
    Scope double
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    Static bool
    SuppressHwOffload bool
    TargetScope double
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    VrfInterface string
    VRF interface name.
    ___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.
    Active bool
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    Blackhole bool
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    CheckGateway string
    Currently used check-gateway option.
    Comment string
    Disabled bool
    Distance float64
    Value used in route selection. Routes with smaller distance value are given preference.
    DstAddress string
    IP prefix of route, specifies destination addresses that this route can be used for.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    Ecmp bool
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    Gateway string
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    HwOffloaded bool
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    ImmediateGw string
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    Inactive bool
    Ipv6RouteId string
    The ID of this resource.
    PrefSrc string
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    RoutingTable string
    Routing table this route belongs to.
    Scope float64
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    Static bool
    SuppressHwOffload bool
    TargetScope float64
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    VrfInterface string
    VRF interface name.
    ___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.
    ___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.
    active Boolean
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    blackhole Boolean
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    checkGateway String
    Currently used check-gateway option.
    comment String
    disabled Boolean
    distance Double
    Value used in route selection. Routes with smaller distance value are given preference.
    dstAddress String
    IP prefix of route, specifies destination addresses that this route can be used for.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ecmp Boolean
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    gateway String
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    hwOffloaded Boolean
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    immediateGw String
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    inactive Boolean
    ipv6RouteId String
    The ID of this resource.
    prefSrc String
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    routingTable String
    Routing table this route belongs to.
    scope Double
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    static_ Boolean
    suppressHwOffload Boolean
    targetScope Double
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    vrfInterface String
    VRF interface name.
    ___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.
    active boolean
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    blackhole boolean
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    checkGateway string
    Currently used check-gateway option.
    comment string
    disabled boolean
    distance number
    Value used in route selection. Routes with smaller distance value are given preference.
    dstAddress string
    IP prefix of route, specifies destination addresses that this route can be used for.
    dynamic boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ecmp boolean
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    gateway string
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    hwOffloaded boolean
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    immediateGw string
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    inactive boolean
    ipv6RouteId string
    The ID of this resource.
    prefSrc string
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    routingTable string
    Routing table this route belongs to.
    scope number
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    static boolean
    suppressHwOffload boolean
    targetScope number
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    vrfInterface string
    VRF interface name.
    ___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.
    active bool
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    blackhole bool
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    check_gateway str
    Currently used check-gateway option.
    comment str
    disabled bool
    distance float
    Value used in route selection. Routes with smaller distance value are given preference.
    dst_address str
    IP prefix of route, specifies destination addresses that this route can be used for.
    dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ecmp bool
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    gateway str
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    hw_offloaded bool
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    immediate_gw str
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    inactive bool
    ipv6_route_id str
    The ID of this resource.
    pref_src str
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    routing_table str
    Routing table this route belongs to.
    scope float
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    static bool
    suppress_hw_offload bool
    target_scope float
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    vrf_interface str
    VRF interface name.
    ___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.
    active Boolean
    A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
    blackhole Boolean
    It's a blackhole route. If you need to cancel route marking, then simply delete the parameter from the configuration of the TF. The value of the parameter (true or false) has no effect on the MT processing logic.
    checkGateway String
    Currently used check-gateway option.
    comment String
    disabled Boolean
    distance Number
    Value used in route selection. Routes with smaller distance value are given preference.
    dstAddress String
    IP prefix of route, specifies destination addresses that this route can be used for.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ecmp Boolean
    A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
    gateway String
    Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
    hwOffloaded Boolean
    Indicates whether the route is eligible to be hardware offloaded on supported hardware.
    immediateGw String
    Shows actual (resolved) gateway and interface that will be used for packet forwarding.
    inactive Boolean
    ipv6RouteId String
    The ID of this resource.
    prefSrc String
    Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
    routingTable String
    Routing table this route belongs to.
    scope Number
    Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
    static Boolean
    suppressHwOffload Boolean
    targetScope Number
    Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
    vrfInterface String
    VRF interface name.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/ipv6/route get [print show-ids]]

    $ pulumi import routeros:index/ipv6Route:Ipv6Route a_route "*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