Commit Graph

67 Commits

Author SHA1 Message Date
Andreas Harter
0604e1deaf Add missing IPv6 properties (#261)
* Add missing WAN IPv6 properties to network resource

* Rename 'ipv6_static_subnet' to 'ipv6_subnet'

According to the go-unifi lib, the name was incorrect

* Improve description and validation of IPv6 properties

* Add missing IPv6 props to network

* Add IPv6 support to firewall rules

* Adjust naming

* ensure unique vlan

* Add vlan ID validation

* fix assertion

* Update docs

* rename attribute

* cleanup imports

* test protocol_v6

* test dhcp_v6_lease

* spelling

* switch protocol back

Co-authored-by: Paul Tyng <paul@paultyng.net>
2022-10-22 12:56:56 -04:00
Oskar
db21ecd760 Adding radius profile resource (#215)
* Adding radius profile resource

* Fix radius profile resource documentation and naming

* Updated doc generation

Co-authored-by: Paul Tyng <paul@paultyng.net>
2022-10-21 15:52:25 -04:00
Oskar
c48063bb19 Enable USG/UDM radius server (#214)
* Enable built-in radius server settings

* Adding documentation

* Update docs with new generator

Co-authored-by: Paul Tyng <paul@paultyng.net>
2022-10-21 15:42:39 -04:00
Paul Tyng
0d4dc04428 unifi_network - default network access bools to true
* Expose InternetAccessEnabled and IntraNetworkAccessEnabled

* Generate docs

* bump go-unifi to v1.27.0

* ammend tf and unifi versions

* fix minrate preference setting in 7.2

* fix

* try some additional tf 1.3 versions  to see why they are failing

* Bump sdk version to fix import test bug

Co-authored-by: Dillon Newell <dillon@newell-labs.ca>
2022-10-20 11:54:03 -04:00
Paul Tyng
d02c97bd55 Updates for controller v7.1 and dependency updates 2022-07-02 22:02:22 -04:00
Paul Tyng
28872f6fa5 Add PMF mode support to unifi_wlan 2021-09-16 09:19:48 -04:00
Paul Tyng
b4bdfce0fa Remove v5 support 2021-09-16 08:56:37 -04:00
Paul Tyng
f6e1e10cce Add unifi_setting_usg
Fixes #183
2021-09-15 09:00:21 -04:00
Paul Tyng
f38166b55c Add guide to docs for managing firewall rules across multiple sites 2021-09-13 08:56:51 -04:00
Paul Tyng
5ed5e82b08 Add support for DHCP relay
Fixes #148
2021-09-13 08:22:01 -04:00
Kurt McAlpine
a0b5f773d5 Add minimum_data_rate_2g and minimum_data_rate_5g fields to unifi_wlan (#159)
* Add minimum_data_rate_2g and minimum_data_rate_5g fields to unifi_wlan

* Update implementation to match api/sdk types

* Fix disabled state

Co-authored-by: Paul Tyng <paul@paultyng.net>
2021-09-10 22:16:21 -04:00
Paul Tyng
ede214c5c5 Add WPA3 support to unifi_wlan
Fixes #154
2021-09-10 15:29:03 -04:00
Paul Tyng
da1e41a61b Re-run go generate 2021-09-09 08:33:47 -04:00
Tommi2Day
cfc0f57622 allow using id or name for unifi_network data source
Add sample and update docs along

implements #174
2021-09-07 18:25:42 -04:00
Tommi2Day
2acde28a53 add more fields to network data source 2021-09-07 18:25:42 -04:00
Tommi2Day
0c3a36b215 add data source unifi_user
implements #174
2021-09-07 18:25:42 -04:00
Paul Tyng
7805f69f3f Fix docs/comments for unifi_network data source 2021-08-31 09:16:04 -04:00
Paul Tyng
361d52e5bd Add support for unifi_network datasource
#168
2021-08-31 08:40:37 -04:00
Paul Tyng
5e428a4605 Fix some linting issues 2021-08-27 09:59:30 -04:00
Kurt McAlpine
49efd78a4c Add uapsd field to unifi_wlan 2021-08-10 10:31:05 -04:00
Kurt McAlpine
7cc962011a Add l2_isolation field to unifi_wlan 2021-07-22 09:43:18 -04:00
Kurt McAlpine
96b039a727 Add ssh keys to unifi_setting_mgmt 2021-07-06 11:10:05 -04:00
Paul Tyng
741d44f0c0 Some minor adjustments to PR 2021-06-01 19:07:59 -04:00
Alan Jenkins
5f4a14e64f DHCPD Boot Server / Filename
Allows setting the DHCPD boot server and filename attributes of Networks
to enable PXE booting.
2021-06-01 19:07:59 -04:00
Kurt McAlpine
f468e4763e Implement unifi_setting_mgmt resource 2021-04-06 12:01:50 -04:00
Paul Tyng
60ff5eca1b Add unifi_dynamic_dns resource
Fixes #126
2021-03-28 14:54:50 -04:00
Paul Tyng
7d0a2b80e7 Add note about a tf specific user
See #125
2021-03-27 20:59:13 -04:00
Paul Tyng
8c315dc5ce Add unifi_static_route
Fixes #42
2021-03-27 20:36:27 -04:00
Paul Tyng
118f612b49 Modify device a little to allow creation, add basic testing 2021-03-27 16:58:23 -04:00
Wojciech Dubiel
513fd29865 Implement static WAN configuration in unifi_network 2021-03-21 16:47:22 -04:00
Joshua Spence
0409579c68 Add wan_dns1 and wan_dns2 (#117) 2021-03-21 16:27:28 -04:00
Lyle Franklin
2694fcb3f5 Support importing networks by name (#113)
- E.g. `terraform import unifi_network.mynetwork name=LAN`
- Bumps cidr prefix in tests to avoid:
    Call to function "cidrsubnet" failed: prefix extension of 4 does not
    accommodate a subnet numbered 18.
2021-03-21 16:17:13 -04:00
wolf-cosmose
051ed9875e Add rudimentary support for resource unifi_device (#112) 2021-03-20 22:38:32 -04:00
Kurt McAlpine
e08c2acdc2 Add no2ghz_oui to unifi_wlan resource 2021-03-08 14:46:33 -05:00
Paul Tyng
2f1537b9a8 Support site import by name/short ID
Fixes #91
2021-03-07 14:30:16 -05:00
Paul Tyng
74e7b8500a Document firewall rule import
Fixes #93
2021-03-07 14:30:16 -05:00
Paul Tyng
d831b3cad9 Fix docs on wan_type
This was mentioned in #107
2021-03-07 14:26:41 -05:00
Paul Tyng
ef56fa5dec Regenerate docs 2021-03-07 11:23:10 -05:00
Kurt McAlpine
198b5b7eba Add wlan_band field to wlan resource 2021-03-07 09:23:53 -05:00
Joshua Spence
fd3c2a37cd Add icmp_typename 2021-03-05 09:52:26 -05:00
Andy Alm
5a170771e3 Added dst_port to the docs 2021-02-25 18:59:11 -05:00
Paul Tyng
9b94816903 Update example for v6 2021-02-22 13:00:39 -05:00
James Toyer
d98513abe9 Fix up docs examples 2021-02-22 12:53:21 -05:00
James Toyer
afc77184a2 Generate docs for port_profile 2021-02-22 12:53:21 -05:00
Paul Tyng
bbabc7bdb6 Bump tfplugindocs 2021-01-11 09:34:46 -05:00
Chris Clonch
afa0ebf2a3 Add site import to docs (#90)
* Add site import to docs
* Add user_group import to docs
2021-01-11 09:31:47 -05:00
Paul Tyng
50ce9e8fbf Bump the doc generator 2020-12-16 14:51:57 -05:00
mbaitelman
d827d338c1 Fix spelling 2020-11-23 16:21:44 -05:00
Kurt McAlpine
bfe4382722 Support importing networks and wlans from other sites 2020-11-03 19:20:26 -05:00
Kurt McAlpine
455ca423cc Add site support to resources (#79)
* Add site attribute to all resources and data sourcess
* Add test to exercise site attribute on network resource
2020-10-29 16:44:05 -04:00