Skip to content

Commit

Permalink
chore(release): 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Jul 13, 2023
1 parent f64e23a commit d40a405
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [1.13.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.12.1...v1.13.0) (2023-07-13)


### Features

* Add an SNMP resource ([43c1ec9](https://github.com/terraform-routeros/terraform-provider-routeros/commit/43c1ec9f53a40b96f9bc47d7446e86c6c724f3e2)), closes [#232](https://github.com/terraform-routeros/terraform-provider-routeros/issues/232)
* Add SNMP community resource ([eeea040](https://github.com/terraform-routeros/terraform-provider-routeros/commit/eeea04099b6431f508eb68cdd4d924653a7d17ff))

## [1.12.1](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.12.0...v1.12.1) (2023-07-12)


Expand Down
2 changes: 1 addition & 1 deletion docs/resources/ip_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ resource "routeros_ip_service" "enabled" {
- `certificate` (String) The name of the certificate used by a particular service. Applicable only for services that depend on certificates ( www-ssl, api-ssl ).
- `disabled` (Boolean)
- `tls_version` (String) Specifies which TLS versions to allow by a particular service.
- `vrf` (String) Specify which VRF instance to use by a particular service.
- `vrf` (String) The VRF table this resource operates on.

### Read-Only

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/routing_bgp_connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- `tcp_md5_key` (String, Sensitive) The key used to authenticate the connection with TCP MD5 signature as described in RFC 2385. If not specified, authentication is not used.
- `templates` (Set of String) List of the template names, to inherit parameters from. Useful for dynamic BGP peers.
- `use_bfd` (Boolean) Whether to use the BFD protocol for faster connection state detection.
- `vrf` (String) Name of the VRF BGP connections operates on. By default always use the 'main' routing table.
- `vrf` (String) The VRF table this resource operates on.

### Read-Only

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/routing_bgp_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
- `save_to` (String) Filename to be used to save BGP protocol-specific packet content (Exported PDU) into pcap file. This method allows much simpler peer-specific packet capturing for debugging purposes. Pcap files in this format can also be loaded to create virtual BGP peers to recreate conditions that happened at the time when packet capture was running.
- `templates` (Set of String) List of template names from which to inherit parameters. Useful feature, to easily configure groups with overlapping configuration options.
- `use_bfd` (Boolean) Whether to use the BFD protocol for faster connection state detection.
- `vrf` (String) Name of the VRF BGP connections operates on. By default always use the 'main' routing table.
- `vrf` (String) The VRF table this resource operates on.

### Read-Only

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/routing_ospf_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resource "routeros_routing_ospf_instance" "test_routing_ospf_instance" {
- `router_id` (String) OSPF Router ID. Can be set explicitly as an IP address, or as the name of the router-id instance.
- `routing_table` (String) Name of the routing table in use.
- `version` (Number) OSPF version this instance will be running (v2 for IPv4, v3 for IPv6).
- `vrf` (String) The VRF table this OSPF instance operates on
- `vrf` (String) The VRF table this resource operates on.

### Read-Only

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


## Example Usage
```terraform
resource "routeros_snmp" "test" {
contact = "John D."
enabled = true
engine_id_suffix = "8a3c"
location = "Backyard"
trap_community = "private"
trap_generators = "start-trap"
trap_version = 3
}
```

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

### Required

- `enabled` (Boolean) Used to disable/enable SNMP service

### Optional

- `contact` (String) Contact information.
- `engine_id_suffix` (String) Unique identifier for an SNMPv3 engine by configuring the suffix of the engine ID.
- `location` (String) Location information.
- `src_address` (String) Force the router to always use the same IP source address for all of the SNMP messages.
- `trap_community` (String, Sensitive) Which communities configured in community menu to use when sending out the trap. This name must be present in the community list.
- `trap_generators` (String) What action will generate traps: interfaces - interface changes; start-trap - snmp server starting on the router.
- `trap_interfaces` (String) List of interfaces that traps are going to be sent out.
- `trap_target` (Set of String) IP (IPv4 or IPv6) addresses of SNMP data collectors that have to receive the trap.
- `trap_version` (Number) Version of SNMP protocol to use for trap.
- `vrf` (String) The VRF table this resource operates on.

### Read-Only

- `engine_id` (String) For SNMP v3, used as part of identifier. You can configure suffix part of engine id using this argument. If SNMP client is not capable to detect set engine-id value then this prefix hex have to be used 0x80003a8c04
- `id` (String) The ID of this resource.

## Import
Import is supported using the following syntax:
```shell
terraform import routeros_snmp.test .
```
48 changes: 48 additions & 0 deletions docs/resources/snmp_community.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# routeros_snmp_community (Resource)


## Example Usage
```terraform
resource "routeros_snmp_community" "test" {
authentication_password = "authpasswd"
authentication_protocol = "MD5"
comment = "Comment"
disabled = true
encryption_password = "encpassword"
encryption_protocol = "DES"
name = "private"
read_access = true
security = "private"
write_access = true
}
```

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

### Optional

- `addresses` (String) Addresses from which connections to SNMP server is allowed.
- `authentication_password` (String, Sensitive) Password used to authenticate the connection to the server (SNMPv3).
- `authentication_protocol` (String) The protocol used for authentication (SNMPv3).
- `comment` (String)
- `disabled` (Boolean)
- `encryption_password` (String, Sensitive) The password used for encryption (SNMPv3).
- `encryption_protocol` (String) encryption protocol to be used to encrypt the communication (SNMPv3). AES (see rfc3826) available since v6.16.
- `name` (String) Community Name.
- `read_access` (Boolean) Whether read access is enabled for this community.
- `security` (String) Security features.
- `write_access` (Boolean) Whether write access is enabled for this community.

### Read-Only

- `default` (Boolean) It's a default community.
- `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 [/snmp/community get [print show-ids]]
terraform import routeros_snmp_community.test "*0"
```
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.12.1",
"version": "1.13.0",
"repository": {
"type": "git",
"url": "https://github.com/terraform-routeros/terraform-provider-routeros"
Expand Down

0 comments on commit d40a405

Please sign in to comment.