Skip to content

Commit 416afe0

Browse files
committed
resource(switch_port_settings): update implementation
This patch made the following changes. * Renamed the resource from `oxide_switch_port_configuration` to `oxide_switch_port_settings` to be consistent with the upstream API. * Changed the schema to reflect the schema from the `networking_switch_port_settings_create` API. Further work is required to account for the schema returned by the `networking_switch_port_settings_view` API. * Created new functions to convert to and from Terraform models to Oxide models.
1 parent cadb709 commit 416afe0

File tree

2 files changed

+588
-796
lines changed

2 files changed

+588
-796
lines changed

internal/provider/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,6 @@ func (p *oxideProvider) Resources(_ context.Context) []func() resource.Resource
199199
NewVPCSubnetResource,
200200
NewFloatingIPResource,
201201
NewSiloResource,
202-
NewSwitchPortConfigurationResource,
202+
NewSwitchPortSettingsResource,
203203
}
204204
}

0 commit comments

Comments
 (0)