Skip to content

Commit 1b319a8

Browse files
WIP: initial implementation for switch port settings
1 parent 440abcb commit 1b319a8

File tree

5 files changed

+1006
-1
lines changed

5 files changed

+1006
-1
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/hashicorp/terraform-plugin-log v0.9.0
1212
github.com/hashicorp/terraform-plugin-sdk/v2 v2.36.1
1313
github.com/hashicorp/terraform-plugin-testing v1.12.0
14-
github.com/oxidecomputer/oxide.go v0.4.0
14+
github.com/oxidecomputer/oxide.go v0.4.1-0.20250415210008-71e28b97f88c
1515
github.com/stretchr/testify v1.10.0
1616
)
1717

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw=
138138
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
139139
github.com/oxidecomputer/oxide.go v0.4.0 h1:Y15OPFd1TsUtYp5ivK1ROEkRH+WVHOuy0kJxVs9+dkM=
140140
github.com/oxidecomputer/oxide.go v0.4.0/go.mod h1:yNLdQdroM42/yDIFlCsLAR9PawAdeJZDgHdAx+wcywg=
141+
github.com/oxidecomputer/oxide.go v0.4.1-0.20250415210008-71e28b97f88c h1:YaJeDXvVROctAML4vEkFSFqE6qIskkT5CBDOU71HNvk=
142+
github.com/oxidecomputer/oxide.go v0.4.1-0.20250415210008-71e28b97f88c/go.mod h1:yNLdQdroM42/yDIFlCsLAR9PawAdeJZDgHdAx+wcywg=
141143
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
142144
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
143145
github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4=

internal/provider/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,6 @@ func (p *oxideProvider) Resources(_ context.Context) []func() resource.Resource
194194
NewVPCFirewallRulesResource,
195195
NewVPCRouterResource,
196196
NewVPCSubnetResource,
197+
NewSwitchPortConfigurationResource,
197198
}
198199
}

0 commit comments

Comments
 (0)