Fix network mDNS acceptance tests (#311)

* Make compatible with `getTestVLAN`

* Run `go generate`
This commit is contained in:
Joshua Spence
2023-02-25 10:18:49 +11:00
committed by GitHub
parent dc95eceb2e
commit b3662a627f
4 changed files with 12 additions and 9 deletions

View File

@@ -59,6 +59,8 @@ resource "unifi_device" "us_24_poe" {
### Optional
- `allow_adoption` (Boolean) Specifies whether this resource should tell the controller to adopt the device on create. Defaults to `false`.
- `forget_on_destroy` (Boolean) Specifies whether this resource should tell the controller to forget the device on destroy. Defaults to `true`.
- `mac` (String) The MAC address of the device. This can be specified so that the provider can take control of a device (since devices are created through adoption).
- `name` (String) The name of the device.
- `port_override` (Block Set) Settings overrides for specific switch ports. (see [below for nested schema](#nestedblock--port_override))

View File

@@ -61,6 +61,7 @@ resource "unifi_firewall_rule" "drop_all" {
- `src_mac` (String) The source MAC address of the firewall rule.
- `src_network_id` (String) The source network ID for the firewall rule.
- `src_network_type` (String) The source network type of the firewall rule. Can be one of `ADDRv4` or `NETv4`. Defaults to `NETv4`.
- `src_port` (String) The source port of the firewall rule.
- `state_established` (Boolean) Match where the state is established.
- `state_invalid` (Boolean) Match where the state is invalid.
- `state_new` (Boolean) Match where the state is new.

View File

@@ -79,7 +79,7 @@ resource "unifi_wlan" "wifi" {
- `schedule` (Block List) Start and stop schedules for the WLAN (see [below for nested schema](#nestedblock--schedule))
- `site` (String) The name of the site to associate the wlan with.
- `uapsd` (Boolean) Enable Unscheduled Automatic Power Save Delivery Defaults to `false`.
- `wlan_band` (String) Radio band your WiFi network will use.
- `wlan_band` (String) Radio band your WiFi network will use. Defaults to `both`.
- `wpa3_support` (Boolean) Enable WPA 3 support (security must be `wpapsk` and PMF must be turned on).
- `wpa3_transition` (Boolean) Enable WPA 3 and WPA 2 support (security must be `wpapsk` and `wpa3_support` must be true).