diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f3b504d..c4e56d12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## [1.60.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.59.4...v1.60.0) (2024-08-19) + + +### Features + +* Add the `routeros_system_led_settings` resource to manage the LED settings ([82434f8](https://github.com/terraform-routeros/terraform-provider-routeros/commit/82434f8c3d7f266dbd6624860d23019f29907975)) +* Add the `routeros_system_led` resource to manage LEDs ([5131156](https://github.com/terraform-routeros/terraform-provider-routeros/commit/5131156a03608b531813cb7f340a1e5201d56187)) +* Add the `routeros_system_routerboard_button_mode` resource to manage the mode button ([243dd9d](https://github.com/terraform-routeros/terraform-provider-routeros/commit/243dd9d0686643b1e02ba15699897228cc08fa7f)) +* Add the `routeros_system_routerboard_button_reset` resource to manage the reset button ([358f640](https://github.com/terraform-routeros/terraform-provider-routeros/commit/358f640dd1f246c8a67af35fc5f1bdd01a8d7230)) +* Add the `routeros_system_routerboard_button_wps` resource to manage the WPS button ([85db3b5](https://github.com/terraform-routeros/terraform-provider-routeros/commit/85db3b566a8641ac0256344e554a79ddb2fb39d0)) +* Add the `routeros_system_routerboard_settings` resource to manage the RouterBOARD settings ([39a7e39](https://github.com/terraform-routeros/terraform-provider-routeros/commit/39a7e3957b46e47e4fd0c83da252eb7039c84f34)) +* Add the `routeros_system_routerboard_usb` resource to manage the USB port ([4251b6a](https://github.com/terraform-routeros/terraform-provider-routeros/commit/4251b6a6552bd8a07edebab046f5f97a0d85300a)) + ## [1.59.4](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.59.3...v1.59.4) (2024-08-13) diff --git a/docs/resources/system_led.md b/docs/resources/system_led.md new file mode 100644 index 00000000..ffa91aeb --- /dev/null +++ b/docs/resources/system_led.md @@ -0,0 +1,35 @@ +# routeros_system_led (Resource) + + +## Example Usage +```terraform +resource "routeros_system_led" "sfp1" { + interface = "sfp1" + leds = ["sfp-led"] + type = "interface-activity" +} +``` + + +## Schema + +### Optional + +- `disabled` (Boolean) +- `interface` (String) An option to set the interface to which the LED is connected. +- `leds` (List of String) An option to set the LED name. +- `modem_signal_treshold` (Number) An option to set the signal strength threshold for the modem LED. +- `type` (String) An option to set the LED type. + +### 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 [/system/leds get [print show-ids]] +terraform import routeros_system_led.sfp1 '*1' +``` diff --git a/docs/resources/system_led_settings.md b/docs/resources/system_led_settings.md new file mode 100644 index 00000000..28f37293 --- /dev/null +++ b/docs/resources/system_led_settings.md @@ -0,0 +1,26 @@ +# routeros_system_led_settings (Resource) + + +## Example Usage +```terraform +resource "routeros_system_led_settings" "settings" { + all_leds_off = "immediate" +} +``` + + +## Schema + +### Optional + +- `all_leds_off` (String) An option to set when all LEDs should be turned off. Possible values: `after-1h`, `after-1min`, `immediate`, `never`. + +### Read-Only + +- `id` (String) The ID of this resource. + +## Import +Import is supported using the following syntax: +```shell +terraform import routeros_system_led_settings.settings . +``` diff --git a/docs/resources/system_routerboard_button_mode.md b/docs/resources/system_routerboard_button_mode.md new file mode 100644 index 00000000..c4b876d2 --- /dev/null +++ b/docs/resources/system_routerboard_button_mode.md @@ -0,0 +1,19 @@ +# routeros_system_routerboard_button_mode (Resource) + + + + + +## Schema + +### Optional + +- `enabled` (Boolean) An option to enable the operation of the button. +- `hold_time` (String) An option to define the period within which the button should be pressed. +- `on_event` (String) An option to set the script that will be run upon pressing the button. + +### Read-Only + +- `id` (String) The ID of this resource. + + diff --git a/docs/resources/system_routerboard_button_reset.md b/docs/resources/system_routerboard_button_reset.md new file mode 100644 index 00000000..f630b9f4 --- /dev/null +++ b/docs/resources/system_routerboard_button_reset.md @@ -0,0 +1,19 @@ +# routeros_system_routerboard_button_reset (Resource) + + + + + +## Schema + +### Optional + +- `enabled` (Boolean) An option to enable the operation of the button. +- `hold_time` (String) An option to define the period within which the button should be pressed. +- `on_event` (String) An option to set the script that will be run upon pressing the button. + +### Read-Only + +- `id` (String) The ID of this resource. + + diff --git a/docs/resources/system_routerboard_button_wps.md b/docs/resources/system_routerboard_button_wps.md new file mode 100644 index 00000000..c0a6d8b2 --- /dev/null +++ b/docs/resources/system_routerboard_button_wps.md @@ -0,0 +1,19 @@ +# routeros_system_routerboard_button_wps (Resource) + + + + + +## Schema + +### Optional + +- `enabled` (Boolean) An option to enable the operation of the button. +- `hold_time` (String) An option to define the period within which the button should be pressed. +- `on_event` (String) An option to set the script that will be run upon pressing the button. + +### Read-Only + +- `id` (String) The ID of this resource. + + diff --git a/docs/resources/system_routerboard_settings.md b/docs/resources/system_routerboard_settings.md new file mode 100644 index 00000000..633650ae --- /dev/null +++ b/docs/resources/system_routerboard_settings.md @@ -0,0 +1,47 @@ +# routeros_system_routerboard_settings (Resource) + + +## Example Usage +```terraform +resource "routeros_system_routerboard_settings" "settings" { + auto_upgrade = false + silent_boot = true +} +``` + + +## Schema + +### Optional + +- `auto_upgrade` (Boolean) An option to enable firmware upgrade automatically after the RouterOS upgrade. +- `baud_rate` (Number) An option to choose the onboard RS232 speed in bits per second. +- `boot_delay` (String) A delay for a keystroke while booting. +- `boot_device` (String) An option to choose the way RouterBOOT loads the operating system. Possible values: `ethernet`, `flash-boot`, `flash-boot-once-then-nand`, `nand-if-fail-then-ethernet`, `nand-only`, `try-ethernet-once-then-nand`. +- `boot_os` (String) An option to choose the booting operating system for CRS3xx series switches. Possible values: `router-os`, `swos`. +- `boot_protocol` (String) Boot protocol to use. Possible values: `bootp`, `dhcp`. +- `cpu_frequency` (String) An option to change the CPU frequency of the device. +- `cpu_mode` (String) An option whether to enter CPU suspend mode in HTL instruction. Possible values: `power-save`, `regular`. +- `enable_jumper_reset` (Boolean) An option to enable reset via the onboard jumper. +- `enter_setup_on` (String) An option to set which key will cause the BIOS to enter configuration mode during boot delay. Possible values: `any-key`, `delete-key`. +- `force_backup_booter` (Boolean) An option to use the backup RouterBOOT. +- `init_delay` (String) An option to set a delay before the USB port is initialized. Used for mPCIe modems with RB9xx series devices only. +- `memory_data_rate` (String) An option to change the memory data rate of the device. Values depend on the model. +- `memory_frequency` (String) An option to change the memory frequency of the device. Values depend on the model. +- `preboot_etherboot` (String) An option to enable preboot `etherboot`, which runs before the regular boot device. +- `preboot_etherboot_server` (String) An option to instruct `preboot-etherboot` to accept only from the specified Netinstall server. +- `protected_routerboot` (String) An option to disable any access to the RouterBOOT configuration settings over a console cable and disables the operation of the reset button to change the boot mode (Netinstall will be disabled). Possible values: `disabled`, `enabled`. +- `reformat_hold_button` (String) An option to enable resetting everything by pressing the button at power-on for longer than the specified time but less than `reformat_hold_button_max.` +- `reformat_hold_button_max` (String) See `reformat_hold_button`. +- `regulatory_domain_ce` (Boolean) An option to enable extra-low TX power for high antenna gain devices. +- `silent_boot` (Boolean) An option to turn off output on the serial console and beeping sounds during booting. + +### Read-Only + +- `id` (String) The ID of this resource. + +## Import +Import is supported using the following syntax: +```shell +terraform import routeros_system_routerboard_settings.settings . +``` diff --git a/docs/resources/system_routerboard_usb.md b/docs/resources/system_routerboard_usb.md new file mode 100644 index 00000000..0f3553cb --- /dev/null +++ b/docs/resources/system_routerboard_usb.md @@ -0,0 +1,27 @@ +# routeros_system_routerboard_usb (Resource) + + +## Example Usage +```terraform +resource "routeros_system_routerboard_usb" "settings" { + type = "auto" +} +``` + + +## Schema + +### Optional + +- `type` (String) An option to set the type of the USB port. Possible value: `auto`, `mini-PCIe`, `USB-type-A`. +- `usb_mode` (String) An option to set the USB port mode. Possible values: `automatic`, `force-host`. + +### Read-Only + +- `id` (String) The ID of this resource. + +## Import +Import is supported using the following syntax: +```shell +terraform import routeros_system_routerboard_usb.settings . +``` diff --git a/package.json b/package.json index 45dca665..e340f482 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "terraform-provider-routeros", - "version": "1.59.4", + "version": "1.60.0", "repository": { "type": "git", "url": "https://github.com/terraform-routeros/terraform-provider-routeros"