Skip to content

Initial implementation for switch port settings #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Jul 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
53bf833
WIP: initial implementation for switch port settings
internet-diglett Apr 17, 2025
dce000a
update nexus client and add tests
internet-diglett Jun 19, 2025
3be02b2
resource(switch_port_settings): update implementation
sudomateo Jul 10, 2025
b421e48
resource(switch_port_settings): fix lint error
sudomateo Jul 11, 2025
0595901
resource(switch_port_settings): use oxide.IpNet type for address
sudomateo Jul 11, 2025
36ad3ad
resource(switch_port_settings): allow nil pointer values for attribut…
sudomateo Jul 11, 2025
da3ecf9
resource(switch_port_settings): fix incorrect types
sudomateo Jul 14, 2025
131d135
resource(switch_port_settings): update to terraform model logic
sudomateo Jul 16, 2025
a5dbc77
resource(switch_port_settings): update to oxide params logic
sudomateo Jul 16, 2025
65e4e4c
resource(switch_port_settings): add schema validation
sudomateo Jul 16, 2025
f0c6498
resource(switch_port_settings): update acceptance tests
sudomateo Jul 17, 2025
5ced04a
resource(switch_port_settings): skip acceptance test by default
sudomateo Jul 17, 2025
da69d19
resource(switch_port_settings): run go fmt
sudomateo Jul 17, 2025
e19f8fb
resource(switch_port_settings): implement review feedback
sudomateo Jul 17, 2025
2fb743c
resource(switch_port_settings): add documentation
sudomateo Jul 18, 2025
d17db20
resource(switch_port_settings): add optional attribute to tests
sudomateo Jul 18, 2025
f077833
resource(switch_port_settings): update documentation, rename `addr` a…
sudomateo Jul 18, 2025
a25c877
resource(switch_port_settings): update documentation
sudomateo Jul 18, 2025
ed616ca
resource(switch_port_settings): fix bgp_peers.communities type
sudomateo Jul 21, 2025
0cb7cb0
resource(switch_port_settings): implement review feedback
sudomateo Jul 21, 2025
1bf76b9
resource(switch_port_settings): remove unused attributes
sudomateo Jul 30, 2025
00555be
resource(switch_port_settings): update documentation
sudomateo Jul 30, 2025
98ae2b6
resource(switch_port_settings): test for multiple lldp configurations
sudomateo Jul 30, 2025
0af39fd
resource(switch_port_settings): update documentation with bgp_peers
sudomateo Jul 30, 2025
e067154
resource(switch_port_settings): unregister resource
sudomateo Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0
github.com/hashicorp/terraform-plugin-testing v1.13.2
github.com/oxidecomputer/oxide.go v0.5.1-0.20250719004549-7255536641a1
github.com/oxidecomputer/oxide.go v0.5.1-0.20250721231911-34f457098cbb
github.com/stretchr/testify v1.10.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw=
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
github.com/oxidecomputer/oxide.go v0.5.1-0.20250719004549-7255536641a1 h1:fdKQaoRt2FDN3OYWT4pJGgDqqmfb2eq5KYYigN+HDIw=
github.com/oxidecomputer/oxide.go v0.5.1-0.20250719004549-7255536641a1/go.mod h1:4gfHlxdBQLs/34UbChPvINd+pGNAnGlASRGEd4xIz1Y=
github.com/oxidecomputer/oxide.go v0.5.1-0.20250721231911-34f457098cbb h1:5X/J81LYoezL6GRj5k3YhaPgv8tX5jx6My5ea+CCGtk=
github.com/oxidecomputer/oxide.go v0.5.1-0.20250721231911-34f457098cbb/go.mod h1:4gfHlxdBQLs/34UbChPvINd+pGNAnGlASRGEd4xIz1Y=
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4=
Expand Down
Loading