forked from terraform-routeros/terraform-provider-routeros
-
Notifications
You must be signed in to change notification settings - Fork 0
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
d55b30d
commit 9d9f9df
Showing
5 changed files
with
110 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
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,45 @@ | ||
# routeros_interface_lte (Resource) | ||
|
||
|
||
## Example Usage | ||
```terraform | ||
resource "routeros_interface_lte" "test" { | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) Descriptive name of the interface. | ||
|
||
### Optional | ||
|
||
- `allow_roaming` (Boolean) Enable data roaming for connecting to other countries data-providers. Not all LTE modems support this feature. Some modems, that do not fully support this feature, will connect to the network but will not establish an IP data connection with allow-roaming set to no. | ||
- `apn_profiles` (String) Which APN profile to use for this interface. | ||
- `band` (Set of Number) LTE Frequency band used in communication [LTE Bands and bandwidths](https://en.wikipedia.org/wiki/LTE_frequency_bands#Frequency_bands_and_channel_bandwidths). | ||
- `comment` (String) | ||
- `disabled` (Boolean) | ||
- `modem_init` (String) Modem init string (AT command that will be executed at modem startup). | ||
- `mtu` (String) Layer3 Maximum transmission unit ('auto', 0 .. 65535) | ||
- `network_mode` (String) Select/force mode for LTE interface to operate with. | ||
- `nr_band` (Set of Number) 5G NR Frequency band used in communication [5G NR Bands and bandwidths](https://en.wikipedia.org/wiki/5G_NR_frequency_bands). | ||
- `operator` (Number) Used to lock the device to a specific operator full PLMN number is used for the lock consisting of MCC+MNC. [PLMN codes](https://en.wikipedia.org/wiki/Public_land_mobile_network). | ||
- `pin` (String) SIM Card's PIN code. | ||
- `sms_protocol` (String) SMS functionality. `mbim`: uses MBIM driver. `at`: uses AT-Commands. `auto`: selects the appropriate option depending on the modem. | ||
|
||
### Read-Only | ||
|
||
- `default_name` (String) The default name for an interface. | ||
- `id` (String) The ID of this resource. | ||
- `inactive` (Boolean) | ||
- `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 [/ get [print show-ids]] | ||
terraform import routeros_interface_lte.test *3 | ||
``` |
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,49 @@ | ||
# routeros_interface_lte_apn (Resource) | ||
|
||
|
||
## Example Usage | ||
```terraform | ||
resource "routeros_interface_lte_apn" "test" { | ||
name = "apn1" | ||
apn = "internet" | ||
authentication = "pap" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) APN profile name | ||
|
||
### Optional | ||
|
||
- `add_default_route` (Boolean) Whether to add a default route to forward all traffic over the LTE interface. | ||
- `apn` (String) Service Provider's Access Point Name. | ||
- `authentication` (String) Allowed protocol to use for authentication. | ||
- `comment` (String) | ||
- `default_route_distance` (Number) Sets distance value applied to auto-created default route, if add-default-route is also selected. LTE route by default is with distance 2 to prefer wired routes over LTE. | ||
- `ip_type` (String) Requested PDN type. | ||
- `ipv6_interface` (String) Interface on which to advertise IPv6 prefix. | ||
- `number` (Number) APN profile number. | ||
- `passthrough_interface` (String) Interface to passthrough IP configuration (activates passthrough). | ||
- `passthrough_mac` (String) If set to auto, then will learn MAC from the first packet. | ||
- `passthrough_subnet_selection` (String) `auto` selects the smallest possible subnet to be used for the passthrough interface. `p2p` sets the passthrough interface subnet as `/32` and picks gateway address from `10.177.0.0/16` range. The gateway address stays the same until the apn configuration is changed. | ||
- `password` (String) Password used if any of the authentication protocols are active. | ||
- `use_network_apn` (Boolean) Parameter is available starting from RouterOS v7 and used only for MBIM modems. If set to yes, uses network provided APN. | ||
- `use_peer_dns` (Boolean) If set to yes, uses DNS received from LTE interface. | ||
- `user` (String) Username used if any of the authentication protocols are active. | ||
|
||
### Read-Only | ||
|
||
- `default` (Boolean) | ||
- `id` (String) The ID of this resource. | ||
|
||
## 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 [/ get [print show-ids]] | ||
terraform import routeros_interface_lte_apn.test *3 | ||
``` |
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