Commit Graph

26 Commits

Author SHA1 Message Date
Mateusz Filipowicz
325d7b7f20 feat: initialize Terraform Plugin Framework (#23)
* feat: initialize Terraform Plugin Framework

* fix docker-compose path for tests

* fix: ensure documentation can be generated with old provider SDK and new plugin framework

* lint
2025-02-24 00:11:41 +01:00
Xabier Larrakoetxea Gallego
dc95eceb2e Add support for mDNS on network resource (#292)
* Add support for mDNS on network resource

Signed-off-by: Xabier Larrakoetxea <me@slok.dev>

* Add mDSN network tests

Signed-off-by: Xabier Larrakoetxea <me@slok.dev>

---------

Signed-off-by: Xabier Larrakoetxea <me@slok.dev>
2023-02-25 10:05:48 +11:00
Paul Tyng
f653ca03d9 Update schedule support for typed API field (#284)
* Test removing schedule

* Use new schedule API field

* fix attribute name

* Bump go-unifi
2022-10-23 09:00:07 -04:00
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
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
5ed5e82b08 Add support for DHCP relay
Fixes #148
2021-09-13 08:22:01 -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
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
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
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
Paul Tyng
50ce9e8fbf Bump the doc generator 2020-12-16 14:51:57 -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
Ben Davies
cbc9bdc85f Added basic WAN support, including WAN type, network group, WAN IP, username and password 2020-10-21 09:35:29 -04:00
Paul Tyng
a521ca89d6 Cleanup ID usage in docs 2020-10-16 21:24:15 -04:00
Paul Tyng
b2d5d5ee93 Add IPv6 support to unifi_network (#47)
* add support for adding IPv6 to a network

* quote value in the network test

* change tests to use static prefix

* minor fix for sdkv2

Co-authored-by: Alex Hanselka <alex@darkdna.net>
2020-08-27 22:49:04 -04:00
Paul Tyng
a0ac49ebe0 Bump docs tool, include in .mod 2020-08-18 17:00:15 -04:00
Paul Tyng
1d5e1756b3 More docs cleanup, render provider schema 2020-07-13 22:21:45 -04:00
Paul Tyng
cb2c7bf1d8 Cleanup titles 2020-06-30 21:59:33 -04:00
Paul Tyng
461cd8a077 Change rendered file extension 2020-06-30 16:51:00 -04:00