routeros.InterfaceGre6
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const greHq = new routeros.InterfaceGre6("greHq", {
disabled: true,
remoteAddress: "2a02::2",
});
import pulumi
import pulumi_routeros as routeros
gre_hq = routeros.InterfaceGre6("greHq",
disabled=True,
remote_address="2a02::2")
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.NewInterfaceGre6(ctx, "greHq", &routeros.InterfaceGre6Args{
Disabled: pulumi.Bool(true),
RemoteAddress: pulumi.String("2a02::2"),
})
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 greHq = new Routeros.InterfaceGre6("greHq", new()
{
Disabled = true,
RemoteAddress = "2a02::2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceGre6;
import com.pulumi.routeros.InterfaceGre6Args;
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 greHq = new InterfaceGre6("greHq", InterfaceGre6Args.builder()
.disabled(true)
.remoteAddress("2a02::2")
.build());
}
}
resources:
greHq:
type: routeros:InterfaceGre6
properties:
disabled: true
remoteAddress: 2a02::2
Create InterfaceGre6 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterfaceGre6(name: string, args?: InterfaceGre6Args, opts?: CustomResourceOptions);
@overload
def InterfaceGre6(resource_name: str,
args: Optional[InterfaceGre6Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def InterfaceGre6(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
clamp_tcp_mss: Optional[bool] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
dscp: Optional[str] = None,
interface_gre6_id: Optional[str] = None,
ipsec_secret: Optional[str] = None,
keepalive: Optional[str] = None,
local_address: Optional[str] = None,
mtu: Optional[str] = None,
name: Optional[str] = None,
remote_address: Optional[str] = None)
func NewInterfaceGre6(ctx *Context, name string, args *InterfaceGre6Args, opts ...ResourceOption) (*InterfaceGre6, error)
public InterfaceGre6(string name, InterfaceGre6Args? args = null, CustomResourceOptions? opts = null)
public InterfaceGre6(String name, InterfaceGre6Args args)
public InterfaceGre6(String name, InterfaceGre6Args args, CustomResourceOptions options)
type: routeros:InterfaceGre6
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 InterfaceGre6Args
- 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 InterfaceGre6Args
- 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 InterfaceGre6Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceGre6Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterfaceGre6Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InterfaceGre6 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 InterfaceGre6 resource accepts the following input properties:
- Clamp
Tcp boolMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- Comment string
- Disabled bool
- Dscp string
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- Interface
Gre6Id string - The ID of this resource.
- Ipsec
Secret string - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- Keepalive string
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - Local
Address string - Source address of the tunnel packets, local on the router.
- Mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- Name string
- Remote
Address string - IP address of the remote end of the tunnel.
- ___
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.
- Clamp
Tcp boolMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- Comment string
- Disabled bool
- Dscp string
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- Interface
Gre6Id string - The ID of this resource.
- Ipsec
Secret string - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- Keepalive string
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - Local
Address string - Source address of the tunnel packets, local on the router.
- Mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- Name string
- Remote
Address string - IP address of the remote end of the tunnel.
- ___
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.
- clamp
Tcp BooleanMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- comment String
- disabled Boolean
- dscp String
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- interface
Gre6Id String - The ID of this resource.
- ipsec
Secret String - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- keepalive String
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - local
Address String - Source address of the tunnel packets, local on the router.
- mtu String
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- name String
- remote
Address String - IP address of the remote end of the tunnel.
- ___
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.
- clamp
Tcp booleanMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- comment string
- disabled boolean
- dscp string
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- interface
Gre6Id string - The ID of this resource.
- ipsec
Secret string - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- keepalive string
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - local
Address string - Source address of the tunnel packets, local on the router.
- mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- name string
- remote
Address string - IP address of the remote end of the tunnel.
- ___
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.
- clamp_
tcp_ boolmss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- comment str
- disabled bool
- dscp str
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- interface_
gre6_ strid - The ID of this resource.
- ipsec_
secret str - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- keepalive str
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - local_
address str - Source address of the tunnel packets, local on the router.
- mtu str
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- name str
- remote_
address str - IP address of the remote end of the tunnel.
- ___
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.
- clamp
Tcp BooleanMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- comment String
- disabled Boolean
- dscp String
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- interface
Gre6Id String - The ID of this resource.
- ipsec
Secret String - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- keepalive String
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - local
Address String - Source address of the tunnel packets, local on the router.
- mtu String
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- name String
- remote
Address String - IP address of the remote end of the tunnel.
Outputs
All input properties are implicitly available as output properties. Additionally, the InterfaceGre6 resource produces the following output properties:
- actual_
mtu float - id str
- The provider-assigned unique ID for this managed resource.
- l2mtu float
- Layer2 Maximum transmission unit. See.
- running bool
Look up Existing InterfaceGre6 Resource
Get an existing InterfaceGre6 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?: InterfaceGre6State, opts?: CustomResourceOptions): InterfaceGre6
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
actual_mtu: Optional[float] = None,
clamp_tcp_mss: Optional[bool] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
dscp: Optional[str] = None,
interface_gre6_id: Optional[str] = None,
ipsec_secret: Optional[str] = None,
keepalive: Optional[str] = None,
l2mtu: Optional[float] = None,
local_address: Optional[str] = None,
mtu: Optional[str] = None,
name: Optional[str] = None,
remote_address: Optional[str] = None,
running: Optional[bool] = None) -> InterfaceGre6
func GetInterfaceGre6(ctx *Context, name string, id IDInput, state *InterfaceGre6State, opts ...ResourceOption) (*InterfaceGre6, error)
public static InterfaceGre6 Get(string name, Input<string> id, InterfaceGre6State? state, CustomResourceOptions? opts = null)
public static InterfaceGre6 get(String name, Output<String> id, InterfaceGre6State state, CustomResourceOptions options)
resources: _: type: routeros:InterfaceGre6 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.
- Actual
Mtu double - Clamp
Tcp boolMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- Comment string
- Disabled bool
- Dscp string
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- Interface
Gre6Id string - The ID of this resource.
- Ipsec
Secret string - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- Keepalive string
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - L2mtu double
- Layer2 Maximum transmission unit. See.
- Local
Address string - Source address of the tunnel packets, local on the router.
- Mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- Name string
- Remote
Address string - IP address of the remote end of the tunnel.
- Running bool
- ___
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.
- Actual
Mtu float64 - Clamp
Tcp boolMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- Comment string
- Disabled bool
- Dscp string
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- Interface
Gre6Id string - The ID of this resource.
- Ipsec
Secret string - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- Keepalive string
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - L2mtu float64
- Layer2 Maximum transmission unit. See.
- Local
Address string - Source address of the tunnel packets, local on the router.
- Mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- Name string
- Remote
Address string - IP address of the remote end of the tunnel.
- Running bool
- ___
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.
- actual
Mtu Double - clamp
Tcp BooleanMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- comment String
- disabled Boolean
- dscp String
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- interface
Gre6Id String - The ID of this resource.
- ipsec
Secret String - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- keepalive String
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - l2mtu Double
- Layer2 Maximum transmission unit. See.
- local
Address String - Source address of the tunnel packets, local on the router.
- mtu String
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- name String
- remote
Address String - IP address of the remote end of the tunnel.
- running Boolean
- ___
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.
- actual
Mtu number - clamp
Tcp booleanMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- comment string
- disabled boolean
- dscp string
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- interface
Gre6Id string - The ID of this resource.
- ipsec
Secret string - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- keepalive string
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - l2mtu number
- Layer2 Maximum transmission unit. See.
- local
Address string - Source address of the tunnel packets, local on the router.
- mtu string
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- name string
- remote
Address string - IP address of the remote end of the tunnel.
- running boolean
- ___
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.
- actual_
mtu float - clamp_
tcp_ boolmss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- comment str
- disabled bool
- dscp str
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- interface_
gre6_ strid - The ID of this resource.
- ipsec_
secret str - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- keepalive str
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - l2mtu float
- Layer2 Maximum transmission unit. See.
- local_
address str - Source address of the tunnel packets, local on the router.
- mtu str
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- name str
- remote_
address str - IP address of the remote end of the tunnel.
- running bool
- ___
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.
- actual
Mtu Number - clamp
Tcp BooleanMss - Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
- comment String
- disabled Boolean
- dscp String
- Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
- interface
Gre6Id String - The ID of this resource.
- ipsec
Secret String - When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
- keepalive String
- Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format:
KeepaliveInterval,KeepaliveRetries
whereKeepaliveInterval
is time interval andKeepaliveRetries
- number of retry attempts.KeepaliveInterval
is integer 0..4294967295 - l2mtu Number
- Layer2 Maximum transmission unit. See.
- local
Address String - Source address of the tunnel packets, local on the router.
- mtu String
- Layer3 Maximum transmission unit ('auto', 0 .. 65535)
- name String
- remote
Address String - IP address of the remote end of the tunnel.
- running Boolean
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/gre6 get [print show-ids]]
$ pulumi import routeros:index/interfaceGre6:InterfaceGre6 gre_hq "*1"
#Or you can import a resource using one of its attributes
$ pulumi import routeros:index/interfaceGre6:InterfaceGre6 gre_hq "name=gre-hq-ipv6"
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.