Skip to content

Commit

Permalink
chore(release): 1.44.0
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Apr 4, 2024
1 parent e2a5b55 commit ee69f8a
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [1.44.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.43.0...v1.44.0) (2024-04-04)


### Features

* Add `routeros_capsman_interface` resource to manage CAPsMAN interfaces ([65b9717](https://github.com/terraform-routeros/terraform-provider-routeros/commit/65b9717b8afa7d218012f613af88c53fe0a21063))


### Bug Fixes

* Fix inline configuration properties not to update when untouched in `routeros_capsman_configuration` resources ([e2a5b55](https://github.com/terraform-routeros/terraform-provider-routeros/commit/e2a5b5527a77a99a84f35e8381a59add6ab63d11))

## [1.43.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.42.0...v1.43.0) (2024-04-01)


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


## Example Usage
```terraform
resource "routeros_capsman_channel" "channel1" {
name = "1"
band = "2ghz-g/n"
frequency = 2412
}
resource "routeros_capsman_interface" "cap1" {
name = "cap1"
channel = {
config = routeros_capsman_channel.channel1.name
}
}
```

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

### Required

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

### Optional

- `arp_timeout` (String) ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
- `channel` (Map of String) Channel inline settings.
- `comment` (String)
- `configuration` (Map of String) Configuration inline settings.
- `datapath` (Map of String) Datapath inline settings.
- `disabled` (Boolean)
- `mac_address` (String) MAC address (BSSID) to use for the interface.
- `master_interface` (String) The corresponding master interface of the virtual one.
- `radio_mac` (String) The MAC address of the associated radio.
- `radio_name` (String) Name of the associated radio.
- `rates` (Map of String) Rates inline settings.
- `security` (Map of String) Security inline settings.

### Read-Only

- `bound` (Boolean) A flag whether the interface is currently available for the CAPsMAN.
- `id` (String) The ID of this resource.
- `inactive` (Boolean) A flag whether the interface is currently inactive.
- `l2mtu` (Number) Layer2 Maximum transmission unit. [See](https://wiki.mikrotik.com/wiki/Maximum_Transmission_Unit_on_RouterBoards).
- `master` (Boolean) A flag whether the interface is not a virtual one.
- `running` (Boolean) A flag whether the interface has established a link to another device.

## 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 [/caps-man/interface get [print show-ids]]
terraform import routeros_capsman_interface.cap1 '*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.43.0",
"version": "1.44.0",
"repository": {
"type": "git",
"url": "https://github.com/terraform-routeros/terraform-provider-routeros"
Expand Down

0 comments on commit ee69f8a

Please sign in to comment.