-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10aa1f1
commit 76633b8
Showing
3 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# routeros_interface_6to4 (Resource) | ||
|
||
|
||
## Example Usage | ||
```terraform | ||
resource "routeros_interface_6to4" "test" { | ||
name = "6to4-tunnel1" | ||
keepalive = "10,10" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) Interface name. | ||
|
||
### Optional | ||
|
||
- `clamp_tcp_mss` (Boolean) 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) | ||
- `dont_fragment` (String) | ||
- `dscp` (String) Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic. | ||
- `ipsec_secret` (String, Sensitive) 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 where KeepaliveInterval is time interval and KeepaliveRetries - 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) | ||
- `remote_address` (String) IP address of the remote end of the tunnel. | ||
|
||
### Read-Only | ||
|
||
- `actual_mtu` (Number) | ||
- `id` (String) The ID of this resource. | ||
- `running` (Boolean) | ||
|
||
## Import | ||
Import is supported using the following syntax: | ||
```shell | ||
#The ID can be found via API or the terminal | ||
#The command for the terminal is -> :put [/interface/6to4 get [print show-ids]] | ||
terraform import routeros_interface_6to4.test *3 | ||
#Or you can import a resource using one of its attributes | ||
terraform import routeros_interface_6to4.test "name=6to4-tunnel1" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters