-
Notifications
You must be signed in to change notification settings - Fork 62
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
f64e23a
commit d40a405
Showing
8 changed files
with
107 additions
and
5 deletions.
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
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,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 . | ||
``` |
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,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" | ||
``` |
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