diff --git a/CHANGELOG.md b/CHANGELOG.md index a4fa17c2..970d5c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +## [1.54.3](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.54.2...v1.54.3) (2024-06-27) + + +### Features + +* **no-release:** Added ipv6 filter data ([#496](https://github.com/terraform-routeros/terraform-provider-routeros/issues/496)) ([6d45e88](https://github.com/terraform-routeros/terraform-provider-routeros/commit/6d45e88d0af4e99fd552754835d865a034bb54ac)) +* **no-release:** Support Multiple VLAN Registration protocol (MVRP). ([#497](https://github.com/terraform-routeros/terraform-provider-routeros/issues/497)) ([0dc994a](https://github.com/terraform-routeros/terraform-provider-routeros/commit/0dc994aed90ed6453dbe422b0ede093b1fae08c7)), closes [#492](https://github.com/terraform-routeros/terraform-provider-routeros/issues/492) [#493](https://github.com/terraform-routeros/terraform-provider-routeros/issues/493) + + +### Bug Fixes + +* Field 'vrf' not found in the schema (introduced in 7.15) ([563401b](https://github.com/terraform-routeros/terraform-provider-routeros/commit/563401bc8c8b8b980afdbd2ad36c424ad8134ebb)), closes [#490](https://github.com/terraform-routeros/terraform-provider-routeros/issues/490) +* **no-release:** Allow a set of `addresses` ([#498](https://github.com/terraform-routeros/terraform-provider-routeros/issues/498)) ([bcf417f](https://github.com/terraform-routeros/terraform-provider-routeros/commit/bcf417f491090bad60cb4f2a9fe313c146259d19)), closes [#495](https://github.com/terraform-routeros/terraform-provider-routeros/issues/495) +* **no-release:** nil resources ([#486](https://github.com/terraform-routeros/terraform-provider-routeros/issues/486)) ([8571dea](https://github.com/terraform-routeros/terraform-provider-routeros/commit/8571dea493a5a22d167c083e65e744f97a50c05b)) +* **routeros_interface_wireguard_peer:** Field 'name' not found in the schema (introduced in 7.15) ([9fb13ad](https://github.com/terraform-routeros/terraform-provider-routeros/commit/9fb13ad7523be815ae41cd5b35c5d7e889e02a9e)), closes [#494](https://github.com/terraform-routeros/terraform-provider-routeros/issues/494) +* **routeros_ip_neighbor_discovery_settings:** Multiple fields not found in schema (introduced in 7.15) ([7f44443](https://github.com/terraform-routeros/terraform-provider-routeros/commit/7f44443784cfe5b4372c7af7aee1da94acc0d1c1)), closes [#491](https://github.com/terraform-routeros/terraform-provider-routeros/issues/491) + ## [1.54.2](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.54.1...v1.54.2) (2024-06-04) diff --git a/docs/data-sources/firewall.md b/docs/data-sources/firewall.md index 4b0e31f7..c3950b72 100644 --- a/docs/data-sources/firewall.md +++ b/docs/data-sources/firewall.md @@ -1,310 +1,5 @@ # routeros_firewall (Data Source) -This datasource contains all supported firewall resources: -- address_list -- nat -- mangle -- rules (aka filter) - -## Example Usage -```terraform -data "routeros_firewall" "fw" { - rules { - filter = { - chain = "input" - comment = "rule_2" - } - } - - rules { - filter = { - chain = "forward" - } - } - - nat {} -} - -output "rules" { - value = [for value in data.routeros_firewall.fw.rules: [value.id, value.src_address]] -} - -output "nat" { - value = [for value in data.routeros_firewall.fw.nat: [value.id, value.comment]] -} - -resource "routeros_firewall" "rule_3" { - action = "accept" - chain = "input" - comment = "rule_3" - src_address = "192.168.0.5" - place_before = "${data.routeros_firewall_filter.fw.rules[0].id}" -} -``` - - -## Schema - -### Optional - -- `address_list` (Block List) (see [below for nested schema](#nestedblock--address_list)) -- `mangle` (Block List) (see [below for nested schema](#nestedblock--mangle)) -- `nat` (Block List) (see [below for nested schema](#nestedblock--nat)) -- `rules` (Block List) (see [below for nested schema](#nestedblock--rules)) - -### Read-Only - -- `id` (String) The ID of this resource. - - -### Nested Schema for `address_list` - -Optional: - -- `filter` (Map of String) Additional request filtering options. - -Read-Only: - -- `address` (String) -- `comment` (String) -- `creation_time` (String) -- `disabled` (Boolean) -- `dynamic` (Boolean) -- `id` (String) -- `list` (String) -- `timeout` (String) - - - -### Nested Schema for `mangle` - -Optional: - -- `filter` (Map of String) Additional request filtering options. - -Read-Only: - -- `action` (String) -- `address_list` (String) -- `address_list_timeout` (String) -- `bytes` (Number) -- `chain` (String) -- `comment` (String) -- `connection_bytes` (String) -- `connection_limit` (String) -- `connection_mark` (String) -- `connection_nat_state` (String) -- `connection_rate` (String) -- `connection_state` (String) -- `connection_type` (String) -- `content` (String) -- `disabled` (Boolean) -- `dscp` (Number) -- `dst_address` (String) -- `dst_address_list` (String) -- `dst_address_type` (String) -- `dst_limit` (String) -- `dst_port` (String) -- `dynamic` (Boolean) -- `fragment` (Boolean) -- `hotspot` (String) -- `icmp_options` (String) -- `id` (String) -- `in_bridge_port` (String) -- `in_bridge_port_list` (String) -- `in_interface` (String) -- `in_interface_list` (String) -- `ingress_priority` (Number) -- `invalid` (Boolean) -- `ipsec_policy` (String) -- `ipv4_options` (String) -- `jump_target` (String) -- `layer7_protocol` (String) -- `limit` (String) -- `log` (Boolean) -- `log_prefix` (String) -- `new_connection_mark` (String) -- `new_dscp` (Number) -- `new_mss` (Number) -- `new_packet_mark` (String) -- `new_priority` (String) -- `new_routing_mark` (String) -- `new_ttl` (String) -- `nth` (String) -- `out_bridge_port` (String) -- `out_bridge_port_list` (String) -- `out_interface` (String) -- `out_interface_list` (String) -- `packet_mark` (String) -- `packet_size` (String) -- `packets` (Number) -- `passthrough` (Boolean) -- `per_connection_classifier` (String) -- `port` (String) -- `protocol` (String) -- `psd` (String) -- `random` (Number) -- `route_dst` (String) -- `routing_mark` (String) -- `src_address` (String) -- `src_address_list` (String) -- `src_address_type` (String) -- `src_mac_address` (String) -- `src_port` (String) -- `tcp_flags` (String) -- `tcp_mss` (String) -- `time` (String) -- `tls_host` (String) -- `ttl` (String) - - - -### Nested Schema for `nat` - -Optional: - -- `filter` (Map of String) Additional request filtering options. - -Read-Only: - -- `action` (String) -- `address_list` (String) -- `address_list_timeout` (String) -- `bytes` (Number) -- `chain` (String) -- `comment` (String) -- `connection_bytes` (String) -- `connection_limit` (String) -- `connection_mark` (String) -- `connection_rate` (String) -- `connection_type` (String) -- `content` (String) -- `disabled` (Boolean) -- `dscp` (Number) -- `dst_address` (String) -- `dst_address_list` (String) -- `dst_address_type` (String) -- `dst_limit` (String) -- `dst_port` (String) -- `dynamic` (Boolean) -- `fragment` (Boolean) -- `hotspot` (String) -- `icmp_options` (String) -- `id` (String) -- `in_bridge_port` (String) -- `in_bridge_port_list` (String) -- `in_interface` (String) -- `in_interface_list` (String) -- `ingress_priority` (Number) -- `invalid` (Boolean) -- `ipsec_policy` (String) -- `ipv4_options` (String) -- `jump_target` (String) -- `layer7_protocol` (String) -- `limit` (String) -- `log` (Boolean) -- `log_prefix` (String) -- `nth` (String) -- `out_bridge_port` (String) -- `out_bridge_port_list` (String) -- `out_interface` (String) -- `out_interface_list` (String) -- `packet_mark` (String) -- `packet_size` (String) -- `packets` (Number) -- `per_connection_classifier` (String) -- `port` (String) -- `priority` (Number) -- `protocol` (String) -- `psd` (String) -- `random` (Number) -- `routing_mark` (String) -- `same_not_by_dst` (Boolean) -- `src_address` (String) -- `src_address_list` (String) -- `src_address_type` (String) -- `src_mac_address` (String) -- `src_port` (String) -- `tcp_mss` (String) -- `time` (String) -- `to_addresses` (String) -- `to_ports` (String) -- `ttl` (String) - - - -### Nested Schema for `rules` - -Optional: - -- `filter` (Map of String) Additional request filtering options. - -Read-Only: - -- `action` (String) -- `address_list_timeout` (String) -- `bytes` (Number) -- `chain` (String) -- `comment` (String) -- `connection_bytes` (String) -- `connection_limit` (String) -- `connection_mark` (String) -- `connection_nat_state` (String) -- `connection_rate` (String) -- `connection_state` (String) -- `connection_type` (String) -- `content` (String) -- `disabled` (Boolean) -- `dscp` (Number) -- `dst_address` (String) -- `dst_address_list` (String) -- `dst_address_type` (String) -- `dst_limit` (String) -- `dst_port` (String) -- `dynamic` (Boolean) -- `fragment` (Boolean) -- `hotspot` (String) -- `hw_offload` (Boolean) -- `icmp_options` (String) -- `id` (String) -- `in_bridge_port` (String) -- `in_bridge_port_list` (String) -- `in_interface` (String) -- `in_interface_list` (String) -- `ingress_priority` (Number) -- `invalid` (Boolean) -- `ipsec_policy` (String) -- `ipv4_options` (String) -- `jump_target` (String) -- `layer7_protocol` (String) -- `limit` (String) -- `log` (Boolean) -- `log_prefix` (String) -- `nth` (String) -- `out_bridge_port` (String) -- `out_bridge_port_list` (String) -- `out_interface` (String) -- `out_interface_list` (String) -- `packet_mark` (String) -- `packet_size` (String) -- `packets` (Number) -- `per_connection_classifier` (String) -- `port` (String) -- `priority` (Number) -- `protocol` (String) -- `psd` (String) -- `random` (Number) -- `reject_with` (String) -- `routing_mark` (String) -- `routing_table` (String) -- `src_address` (String) -- `src_address_list` (String) -- `src_address_type` (String) -- `src_mac_address` (String) -- `src_port` (String) -- `tcp_flags` (String) -- `tcp_mss` (String) -- `time` (String) -- `tls_host` (String) -- `ttl` (String) - +--- +#### This is an alias for backwards compatibility between plugin versions. +Please see documentation for [routeros_ip_firewall](ip_firewall.md) diff --git a/docs/data-sources/ip_firewall.md b/docs/data-sources/ip_firewall.md new file mode 100644 index 00000000..6e3cbfb5 --- /dev/null +++ b/docs/data-sources/ip_firewall.md @@ -0,0 +1,310 @@ +# routeros_ip_firewall (Data Source) +This datasource contains all supported firewall resources: +- address_list +- nat +- mangle +- rules (aka filter) + +## Example Usage +```terraform +data "routeros_ip_firewall" "fw" { + rules { + filter = { + chain = "input" + comment = "rule_2" + } + } + + rules { + filter = { + chain = "forward" + } + } + + nat {} +} + +output "rules" { + value = [for value in data.routeros_ip_firewall.fw.rules: [value.id, value.src_address]] +} + +output "nat" { + value = [for value in data.routeros_ip_firewall.fw.nat: [value.id, value.comment]] +} + +resource "routeros_ip_firewall" "rule_3" { + action = "accept" + chain = "input" + comment = "rule_3" + src_address = "192.168.0.5" + place_before = "${data.routeros_ip_firewall_filter.fw.rules[0].id}" +} +``` + + +## Schema + +### Optional + +- `address_list` (Block List) (see [below for nested schema](#nestedblock--address_list)) +- `mangle` (Block List) (see [below for nested schema](#nestedblock--mangle)) +- `nat` (Block List) (see [below for nested schema](#nestedblock--nat)) +- `rules` (Block List) (see [below for nested schema](#nestedblock--rules)) + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `address_list` + +Optional: + +- `filter` (Map of String) Additional request filtering options. + +Read-Only: + +- `address` (String) +- `comment` (String) +- `creation_time` (String) +- `disabled` (Boolean) +- `dynamic` (Boolean) +- `id` (String) +- `list` (String) +- `timeout` (String) + + + +### Nested Schema for `mangle` + +Optional: + +- `filter` (Map of String) Additional request filtering options. + +Read-Only: + +- `action` (String) +- `address_list` (String) +- `address_list_timeout` (String) +- `bytes` (Number) +- `chain` (String) +- `comment` (String) +- `connection_bytes` (String) +- `connection_limit` (String) +- `connection_mark` (String) +- `connection_nat_state` (String) +- `connection_rate` (String) +- `connection_state` (String) +- `connection_type` (String) +- `content` (String) +- `disabled` (Boolean) +- `dscp` (Number) +- `dst_address` (String) +- `dst_address_list` (String) +- `dst_address_type` (String) +- `dst_limit` (String) +- `dst_port` (String) +- `dynamic` (Boolean) +- `fragment` (Boolean) +- `hotspot` (String) +- `icmp_options` (String) +- `id` (String) +- `in_bridge_port` (String) +- `in_bridge_port_list` (String) +- `in_interface` (String) +- `in_interface_list` (String) +- `ingress_priority` (Number) +- `invalid` (Boolean) +- `ipsec_policy` (String) +- `ipv4_options` (String) +- `jump_target` (String) +- `layer7_protocol` (String) +- `limit` (String) +- `log` (Boolean) +- `log_prefix` (String) +- `new_connection_mark` (String) +- `new_dscp` (Number) +- `new_mss` (Number) +- `new_packet_mark` (String) +- `new_priority` (String) +- `new_routing_mark` (String) +- `new_ttl` (String) +- `nth` (String) +- `out_bridge_port` (String) +- `out_bridge_port_list` (String) +- `out_interface` (String) +- `out_interface_list` (String) +- `packet_mark` (String) +- `packet_size` (String) +- `packets` (Number) +- `passthrough` (Boolean) +- `per_connection_classifier` (String) +- `port` (String) +- `protocol` (String) +- `psd` (String) +- `random` (Number) +- `route_dst` (String) +- `routing_mark` (String) +- `src_address` (String) +- `src_address_list` (String) +- `src_address_type` (String) +- `src_mac_address` (String) +- `src_port` (String) +- `tcp_flags` (String) +- `tcp_mss` (String) +- `time` (String) +- `tls_host` (String) +- `ttl` (String) + + + +### Nested Schema for `nat` + +Optional: + +- `filter` (Map of String) Additional request filtering options. + +Read-Only: + +- `action` (String) +- `address_list` (String) +- `address_list_timeout` (String) +- `bytes` (Number) +- `chain` (String) +- `comment` (String) +- `connection_bytes` (String) +- `connection_limit` (String) +- `connection_mark` (String) +- `connection_rate` (String) +- `connection_type` (String) +- `content` (String) +- `disabled` (Boolean) +- `dscp` (Number) +- `dst_address` (String) +- `dst_address_list` (String) +- `dst_address_type` (String) +- `dst_limit` (String) +- `dst_port` (String) +- `dynamic` (Boolean) +- `fragment` (Boolean) +- `hotspot` (String) +- `icmp_options` (String) +- `id` (String) +- `in_bridge_port` (String) +- `in_bridge_port_list` (String) +- `in_interface` (String) +- `in_interface_list` (String) +- `ingress_priority` (Number) +- `invalid` (Boolean) +- `ipsec_policy` (String) +- `ipv4_options` (String) +- `jump_target` (String) +- `layer7_protocol` (String) +- `limit` (String) +- `log` (Boolean) +- `log_prefix` (String) +- `nth` (String) +- `out_bridge_port` (String) +- `out_bridge_port_list` (String) +- `out_interface` (String) +- `out_interface_list` (String) +- `packet_mark` (String) +- `packet_size` (String) +- `packets` (Number) +- `per_connection_classifier` (String) +- `port` (String) +- `priority` (Number) +- `protocol` (String) +- `psd` (String) +- `random` (Number) +- `routing_mark` (String) +- `same_not_by_dst` (Boolean) +- `src_address` (String) +- `src_address_list` (String) +- `src_address_type` (String) +- `src_mac_address` (String) +- `src_port` (String) +- `tcp_mss` (String) +- `time` (String) +- `to_addresses` (String) +- `to_ports` (String) +- `ttl` (String) + + + +### Nested Schema for `rules` + +Optional: + +- `filter` (Map of String) Additional request filtering options. + +Read-Only: + +- `action` (String) +- `address_list_timeout` (String) +- `bytes` (Number) +- `chain` (String) +- `comment` (String) +- `connection_bytes` (String) +- `connection_limit` (String) +- `connection_mark` (String) +- `connection_nat_state` (String) +- `connection_rate` (String) +- `connection_state` (String) +- `connection_type` (String) +- `content` (String) +- `disabled` (Boolean) +- `dscp` (Number) +- `dst_address` (String) +- `dst_address_list` (String) +- `dst_address_type` (String) +- `dst_limit` (String) +- `dst_port` (String) +- `dynamic` (Boolean) +- `fragment` (Boolean) +- `hotspot` (String) +- `hw_offload` (Boolean) +- `icmp_options` (String) +- `id` (String) +- `in_bridge_port` (String) +- `in_bridge_port_list` (String) +- `in_interface` (String) +- `in_interface_list` (String) +- `ingress_priority` (Number) +- `invalid` (Boolean) +- `ipsec_policy` (String) +- `ipv4_options` (String) +- `jump_target` (String) +- `layer7_protocol` (String) +- `limit` (String) +- `log` (Boolean) +- `log_prefix` (String) +- `nth` (String) +- `out_bridge_port` (String) +- `out_bridge_port_list` (String) +- `out_interface` (String) +- `out_interface_list` (String) +- `packet_mark` (String) +- `packet_size` (String) +- `packets` (Number) +- `per_connection_classifier` (String) +- `port` (String) +- `priority` (Number) +- `protocol` (String) +- `psd` (String) +- `random` (Number) +- `reject_with` (String) +- `routing_mark` (String) +- `routing_table` (String) +- `src_address` (String) +- `src_address_list` (String) +- `src_address_type` (String) +- `src_mac_address` (String) +- `src_port` (String) +- `tcp_flags` (String) +- `tcp_mss` (String) +- `time` (String) +- `tls_host` (String) +- `ttl` (String) + + diff --git a/docs/data-sources/ipv6_firewall.md b/docs/data-sources/ipv6_firewall.md new file mode 100644 index 00000000..dfd58c33 --- /dev/null +++ b/docs/data-sources/ipv6_firewall.md @@ -0,0 +1,86 @@ +# routeros_ipv6_firewall (Data Source) +This datasource contains all supported firewall resources: +- rules (aka filter) + + + + +## Schema + +### Optional + +- `rules` (Block List) (see [below for nested schema](#nestedblock--rules)) + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `rules` + +Optional: + +- `filter` (Map of String) Additional request filtering options. + +Read-Only: + +- `action` (String) +- `bytes` (Number) +- `chain` (String) +- `comment` (String) +- `connection_bytes` (String) +- `connection_limit` (String) +- `connection_mark` (String) +- `connection_nat_state` (String) +- `connection_rate` (String) +- `connection_state` (String) +- `connection_type` (String) +- `content` (String) +- `disabled` (Boolean) +- `dscp` (Number) +- `dst_address` (String) +- `dst_address_list` (String) +- `dst_address_type` (String) +- `dst_limit` (String) +- `dst_port` (String) +- `dynamic` (Boolean) +- `icmp_options` (String) +- `id` (String) +- `in_bridge_port` (String) +- `in_bridge_port_list` (String) +- `in_interface` (String) +- `in_interface_list` (String) +- `ingress_priority` (Number) +- `invalid` (Boolean) +- `ipsec_policy` (String) +- `limit` (String) +- `log` (Boolean) +- `log_prefix` (String) +- `nth` (String) +- `out_bridge_port` (String) +- `out_bridge_port_list` (String) +- `out_interface` (String) +- `out_interface_list` (String) +- `packet_mark` (String) +- `packet_size` (String) +- `packets` (Number) +- `per_connection_classifier` (String) +- `port` (String) +- `priority` (Number) +- `protocol` (String) +- `random` (Number) +- `reject_with` (String) +- `routing_mark` (String) +- `routing_table` (String) +- `src_address` (String) +- `src_address_list` (String) +- `src_address_type` (String) +- `src_mac_address` (String) +- `src_port` (String) +- `tcp_flags` (String) +- `tcp_mss` (String) +- `time` (String) +- `tls_host` (String) +- `ttl` (String) + + diff --git a/docs/resources/interface_bridge.md b/docs/resources/interface_bridge.md index bf36b9bc..98680304 100644 --- a/docs/resources/interface_bridge.md +++ b/docs/resources/interface_bridge.md @@ -50,6 +50,7 @@ resource "routeros_interface_bridge" "bridge" { - `mtu` (String) The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set. - `multicast_querier` (Boolean) Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property. - `multicast_router` (String) A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes. +- `mvrp` (Boolean) Enables MVRP for bridge (available since RouterOS 7.15). It ensures that the MAC address 01:80:C2:00:00:21 is trapped and not forwarded, the vlan-filtering must be enabled. - `port_cost_mode` (String) An option that changes the port path cost and internal path cost mode for bridged ports, utilizing automatic values based on interface speed. - `priority` (String) Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none. - `protocol_mode` (String) Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN. diff --git a/docs/resources/interface_bridge_port.md b/docs/resources/interface_bridge_port.md index 6868136b..3e029e30 100644 --- a/docs/resources/interface_bridge_port.md +++ b/docs/resources/interface_bridge_port.md @@ -34,6 +34,8 @@ resource "routeros_interface_bridge_port" "bridge_port" { - `internal_path_cost` (Number) Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp. - `learn` (String) Changes MAC learning behaviour on a bridge port - `multicast_router` (String) Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port. +- `mvrp_applicant_state` (String) MVRP applicant options (available since RouterOS 7.15): - non-participant - port does not send any MRP messages; - normal-participant - port participates normally in MRP exchanges. +- `mvrp_registrar_state` (String) MVRP registrar options (available since RouterOS 7.15): - fixed - port ignores all MRP messages, and remains Registered (IN) in all configured vlans. - normal - port receives MRP messages and handles them according to the standard. - `path_cost` (String) Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between regions. This property has no effect when protocol-mode is set to none. - `point_to_point` (String) Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of failure. This property has no effect when protocol-mode is set to none. - `priority` (String) The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between regions. diff --git a/docs/resources/interface_bridge_vlan.md b/docs/resources/interface_bridge_vlan.md index 1607f669..7e7afabd 100644 --- a/docs/resources/interface_bridge_vlan.md +++ b/docs/resources/interface_bridge_vlan.md @@ -28,6 +28,7 @@ resource "routeros_interface_bridge_vlan" "bridge_vlan" { - `comment` (String) - `disabled` (Boolean) +- `mvrp_forbidden` (List of String) Ports that ignore all MRP messages and remains Not Registered (MT), as well as disables applicant from declaring specific VLAN ID (available since RouterOS 7.15). - `tagged` (List of String) Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2. - `untagged` (List of String) Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4 diff --git a/docs/resources/interface_vlan.md b/docs/resources/interface_vlan.md index f9b71347..6e3ac7a0 100644 --- a/docs/resources/interface_vlan.md +++ b/docs/resources/interface_vlan.md @@ -36,6 +36,7 @@ resource "routeros_interface_vlan" "interface_vlan" { - `loop_protect_disable_time` (String) - `loop_protect_send_interval` (String) - `mtu` (String) Layer3 Maximum transmission unit ('auto', 0 .. 65535) +- `mvrp` (Boolean) Specifies whether this VLAN should declare its attributes through Multiple VLAN Registration Protocol (MVRP) as an applicant (available since RouterOS 7.15). It can be used to register the VLAN with connected bridges that support MVRP. This property only has an effect when use-service-tag is disabled. - `use_service_tag` (Boolean) ### Read-Only diff --git a/docs/resources/interface_wireguard_peer.md b/docs/resources/interface_wireguard_peer.md index 4e99ce14..f15d4dad 100644 --- a/docs/resources/interface_wireguard_peer.md +++ b/docs/resources/interface_wireguard_peer.md @@ -39,6 +39,7 @@ resource "routeros_interface_wireguard_peer" "wg_peer" { - `disabled` (Boolean) - `endpoint_address` (String) An endpoint IP or hostname can be left blank to allow remote connection from any address. - `endpoint_port` (String) An endpoint port can be left blank to allow remote connection from any port. +- `name` (String) Name of the tunnel. - `persistent_keepalive` (String) A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit from having a persistent keepalive interval of 25 seconds. - `preshared_key` (String, Sensitive) A **base64** preshared key. Optional, and may be omitted. This option adds an additional layer of symmetric-key cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance. - `private_key` (String) A base64 private key. If not specified, it will be automatically generated upon interface creation. diff --git a/docs/resources/ip_dns.md b/docs/resources/ip_dns.md index 018e1b04..731885d9 100644 --- a/docs/resources/ip_dns.md +++ b/docs/resources/ip_dns.md @@ -33,6 +33,7 @@ resource "routeros_dns" "dns-server" { > RouterOS prioritize DoH over DNS server if both are configured on the device. - `verify_doh_cert` (Boolean) DoH certificate verification. [See docs](https://wiki.mikrotik.com/wiki/Manual:IP/DNS#DNS_over_HTTPS). +- `vrf` (String) The VRF table this resource operates on. ### Read-Only diff --git a/docs/resources/ip_neighbor_discovery_settings.md b/docs/resources/ip_neighbor_discovery_settings.md index 6efed9b9..e4a38d69 100644 --- a/docs/resources/ip_neighbor_discovery_settings.md +++ b/docs/resources/ip_neighbor_discovery_settings.md @@ -17,6 +17,8 @@ resource "routeros_ip_neighbor_discovery_settings" "test" { ### Optional - `discover_interface_list` (String) Interface list on which members the discovery protocol will run on. +- `lldp_mac_phy_config` (Boolean) Whether to send MAC/PHY Configuration/Status TLV in LLDP, which indicates the interface capabilities, current setting of the duplex status, bit rate, and auto-negotiation. Only applies to the Ethernet interfaces. While TLV is optional in LLDP, it is mandatory when sending LLDP-MED, meaning this TLV will be included when necessary even though the property is configured as disabled. +- `lldp_max_frame_size` (Boolean) Whether to send Maximum Frame Size TLV in LLDP, which indicates the maximum frame size capability of the interface in bytes (`l2mtu + 18`). Only applies to the Ethernet interfaces. - `lldp_med_net_policy_vlan` (String) Advertised VLAN ID for LLDP-MED Network Policy TLV. This allows assigning a VLAN ID for LLDP-MED capable devices, such as VoIP phones. The TLV will only be added to interfaces where LLDP-MED capable devices are discovered. Other TLV values are predefined and cannot be changed: @@ -30,6 +32,7 @@ resource "routeros_ip_neighbor_discovery_settings" "test" { Additionally, other neighbor discovery protocols (e.g. CDP) should be excluded using protocol setting to avoid LLDP-MED misconfiguration. +- `lldp_poe_power` (Boolean) Two specific TLVs facilitate Power over Ethernet (PoE) management between Power Sourcing Equipment (PSE) and Powered Devices (PD). - `mode` (String) Selects the neighbor discovery packet sending and receiving mode. The setting is available since RouterOS version 7.7. - `protocol` (Set of String) List of used discovery protocols. diff --git a/docs/resources/snmp_community.md b/docs/resources/snmp_community.md index feb3fa0a..8e66bb5a 100644 --- a/docs/resources/snmp_community.md +++ b/docs/resources/snmp_community.md @@ -4,17 +4,21 @@ ## 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" - addresses = ["192.0.2.0/24", "198.51.100.1", "::" ] - write_access = true + 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 +} + +resource "routeros_snmp_community" "mything" { + addresses = ["10.0.1.12", "10.10.0.129"] + name = "mything" } ``` diff --git a/package.json b/package.json index 3a69a11e..6cdbebba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "terraform-provider-routeros", - "version": "1.54.2", + "version": "1.54.3", "repository": { "type": "git", "url": "https://github.com/terraform-routeros/terraform-provider-routeros"