Skip to content

Commit

Permalink
chore(release): 1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Nov 6, 2023
1 parent ca4dbbb commit b9576ca
Show file tree
Hide file tree
Showing 17 changed files with 134 additions and 27 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## [1.21.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.20.1...v1.21.0) (2023-11-06)


### Features

* Add ethernet switch settings ([162c1da](https://github.com/terraform-routeros/terraform-provider-routeros/commit/162c1da0233e2e909d98dd02f011e89513233c9a)), closes [#285](https://github.com/terraform-routeros/terraform-provider-routeros/issues/285) [#282](https://github.com/terraform-routeros/terraform-provider-routeros/issues/282)
* Add MLAG settings ([6b8cfd2](https://github.com/terraform-routeros/terraform-provider-routeros/commit/6b8cfd246d893abefc88ee3933e039f7cf1de508)), closes [#268](https://github.com/terraform-routeros/terraform-provider-routeros/issues/268)


### Bug Fixes

* **bridge:** Add Name-Id migration ([84a7f3c](https://github.com/terraform-routeros/terraform-provider-routeros/commit/84a7f3c7cafeb700fe7fef8f367208b6d4ba2dc5))
* **CAPsMAN:** Add Name-Id migration ([5d0effa](https://github.com/terraform-routeros/terraform-provider-routeros/commit/5d0effa4d24365671dcbf268da66460b4483c25f))
* **dhcp_server:** Add Name-Id migration ([c8c9ff8](https://github.com/terraform-routeros/terraform-provider-routeros/commit/c8c9ff89d6b81253c7e8e8f020aba7cc47e03159))
* **eoip:** Add Name-Id migration ([fdbd68f](https://github.com/terraform-routeros/terraform-provider-routeros/commit/fdbd68f21f2ef5284b0e8529095a4cb5a3a76067))
* **eoip:** Fix the resource ID type ([7916c30](https://github.com/terraform-routeros/terraform-provider-routeros/commit/7916c30fcf36899631dfb25a362c378dc3ebbac4))
* **gre:** Add Name-Id migration ([6e811c3](https://github.com/terraform-routeros/terraform-provider-routeros/commit/6e811c3c3aa054f0c91d554cc9814ed3ff032b62))
* **interface_list:** Add Name-Id migration ([6b326c0](https://github.com/terraform-routeros/terraform-provider-routeros/commit/6b326c0dd62241e7b70307ac6400421f44ff94b1))
* **ip_pool:** Add Name-Id migration ([98c17c2](https://github.com/terraform-routeros/terraform-provider-routeros/commit/98c17c2130e798092a86e2e724b99c7a90980f15))
* **scheduler:** Add Name-Id migration ([c34b994](https://github.com/terraform-routeros/terraform-provider-routeros/commit/c34b99483f96eb9d1b49552326883fe9190c3c93))
* **vlan:** Add Name-Id migration ([7592f2f](https://github.com/terraform-routeros/terraform-provider-routeros/commit/7592f2f2fba7ea7d3a7875906b71a75126fd0f90))
* **vrrp:** Add Name-Id migration ([30c8f37](https://github.com/terraform-routeros/terraform-provider-routeros/commit/30c8f37a004c0b3b67dce85965535a0836b57af7))
* **wg:** Add Name-Id migration ([d676b8b](https://github.com/terraform-routeros/terraform-provider-routeros/commit/d676b8b26c64e114caeb108191ed911319c0f4ab))

## [1.20.1](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.20.0...v1.20.1) (2023-11-02)


Expand Down
31 changes: 31 additions & 0 deletions docs/resources/bridge_mlag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# routeros_bridge_mlag (Resource)


## Example Usage
```terraform
resource "routeros_bridge_mlag" "mlag" {
bridge = "bridge1"
peer_port = "stack-link"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `bridge` (String) The bridge interface where MLAG is being created.
- `peer_port` (String) An interface that will be used as a peer port. Both peer devices are using inter-chassis communication over these peer ports to establish MLAG and update the host table. Peer port should be isolated on a different untagged VLAN using a pvid setting. Peer port can be configured as a bonding interface.

### Optional


### Read-Only

- `id` (String) The ID of this resource.

## Import
Import is supported using the following syntax:
```shell
terraform import routeros_ip_cloud.test .
```
5 changes: 3 additions & 2 deletions docs/resources/capsman_channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ resource "routeros_capsman_channel" "test_channel" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the CAPsMAN channel configuration in case of the example use test-channel-config
terraform import routeros_capsman_channel.test_channel test-channel-config
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/caps-man/channel get [print show-ids]]
terraform import routeros_capsman_channel.test_channel "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/capsman_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ resource "routeros_capsman_configuration" "test_configuration_2" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the CAPsMAN configuration in case of the example use test_configuration_name
terraform import routeros_capsman_configuration.test_configuration_2 test_configuration_name
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/caps-man/configuration get [print show-ids]]
terraform import routeros_capsman_configuration.test_configuration_2 "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/capsman_datapath.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ resource "routeros_capsman_datapath" "test_datapath" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the CAPsMAN datapath configuration in case of the example use test-datapath-config
terraform import routeros_capsman_datapath.test_datapath test-datapath-config
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/caps-man/datapath get [print show-ids]]
terraform import routeros_capsman_datapath.test_datapath "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/capsman_rates.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ resource "routeros_capsman_rates" "test_rates" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the CAPsMAN rates configuration in case of the example use test-rates-config
terraform import routeros_capsman_rates.test_rates test-rates-config
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/caps-man/rates get [print show-ids]]
terraform import routeros_capsman_rates.test_rates "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/capsman_security.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ resource "routeros_capsman_security" "test_security" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the CAPsMAN security profile in case of the example use test-security-config
terraform import routeros_capsman_security.test_security test-security-config
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/caps-man/security get [print show-ids]]
terraform import routeros_capsman_security.test_security "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/interface_bridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ resource "routeros_interface_bridge" "bridge" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the bridge in case of the example use bridge
terraform import routeros_interface_bridge.bridge bridge
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/bridge get [print show-ids]]
terraform import routeros_interface_bridge.bridge "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/interface_eoip.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ resource "routeros_interface_eoip" "eoip_tunnel1" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the EoIP interface in case of the example, use `eoip-tunnel1`
terraform import routeros_interface_eoip.eoip_tunnel1 eoip-tunnel1
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/eoip get [print show-ids]]
terraform import routeros_interface_eoip.eoip_tunnel1 *B
```
39 changes: 39 additions & 0 deletions docs/resources/interface_ethernet_switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# routeros_interface_ethernet_switch (Resource)


## Example Usage
```terraform
resource "routeros_interface_ethernet_switch" "sw0" {
switch_id = 0 # Optional
name = "new switch"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) Name of the switch.

### Optional

- `cpu_flow_control` (Boolean) All switch chips have a special port that is called switchX-cpu, this is the CPU port for a switch chip, it is meant to forward traffic from a switch chip to the CPU, such a port is required for management traffic and for routing features. By default the switch chip ensures that this special CPU port is not congested and sends out Pause Frames when link capacity is exceeded to make sure the port is not oversaturated, this feature is called CPU Flow Control. Without this feature packets that might be crucial for routing or management purposes might get dropped.
- `l3_hw_offloading` (Boolean) Layer 3 Hardware Offloading (L3HW, otherwise known as IP switching or HW routing) allows to offload some router features onto the switch chip. This allows reaching wire speeds when routing packets, which simply would not be possible with the CPU.
- `mirror_source` (String) Selects a single mirroring source port. Ingress and egress traffic will be sent to the mirror-target port. Note that mirror-target port has to belong to the same switch (see which port belongs to which switch in /interface ethernet menu).
- `mirror_target` (String) Selects a single mirroring target port. Mirrored packets from mirror-source and mirror (see the property in rule and host table) will be sent to the selected port.
- `switch_id` (String) Switch-chip id. Default .id = *0

### Read-Only

- `id` (String) The ID of this resource.
- `invalid` (Boolean)
- `type` (String) Switch-chip type.

## 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/ethernet/switch get [print show-ids]]
terraform import routeros_interface_ethernet_switch.sw0 *0
```
5 changes: 3 additions & 2 deletions docs/resources/interface_gre.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ resource "routeros_interface_gre" "gre_hq" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the gre interface in case of the example use gre-hq-1
terraform import routeros_interface_gre.gre_hq gre-hq-1
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/gre get [print show-ids]]
terraform import routeros_interface_gre.gre_hq "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/interface_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ resource "routeros_interface_list" "list" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the interface list in case of the example use my-list
terraform import routeros_interface_list.list my-list
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/list get [print show-ids]]
terraform import routeros_interface_list.list "*2000010"
```
5 changes: 3 additions & 2 deletions docs/resources/interface_vlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ resource "routeros_interface_vlan" "interface_vlan" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the vlan interface in case of the example use VLAN_TEST
terraform import routeros_interface_vlan.interface_vlan VLAN_TEST
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/vlan get [print show-ids]]
terraform import routeros_interface_vlan.interface_vlan "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/interface_wireguard.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ resource "routeros_interface_wireguard" "test_wg_interface" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the wireguard interface in case of the example use test_wg_interface
terraform import routeros_interface_wireguard.test_wg_interface test_wg_interface
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/interface/wireguard get [print show-ids]]
terraform import routeros_interface_wireguard.test_wg_interface "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/ip_dhcp_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ resource "routeros_ip_dhcp_server" "server" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the DHCP server in case of the example use bridge_dhcp
terraform import routeros_ip_dhcp_server.server bridge_dhcp
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/ip/dhcp-server get [print show-ids]]
terraform import routeros_ip_dhcp_server.server "*1"
```
5 changes: 3 additions & 2 deletions docs/resources/ip_pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ resource "routeros_ip_pool" "pool" {
## Import
Import is supported using the following syntax:
```shell
# Import with the name of the ip pool in case of the example use my_ip_pool
terraform import routeros_ip_pool.pool my_ip_pool
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/ip/pool get [print show-ids]]
terraform import routeros_ip_pool.pool "*1"
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "terraform-provider-routeros",
"version": "1.20.1",
"version": "1.21.0",
"repository": {
"type": "git",
"url": "https://github.com/terraform-routeros/terraform-provider-routeros"
Expand Down

0 comments on commit b9576ca

Please sign in to comment.