Skip to content
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

Feat/m static routes #468

Merged
merged 7 commits into from
Jul 4, 2022

Conversation

Abhishekism9450
Copy link
Contributor

No description provided.

@@ -162,6 +162,7 @@ func Provider() *schema.Provider {
"nutanix_foundation_central_imaged_node_details": dataSourceFCImagedNodeDetails(),
"nutanix_vpc": dataSourceNutanixVPC(),
"nutanix_vpc_list": dataSourceNutanixVPCList(),
"nutanix_static_routes": dataSourceNutanixStaticRoute(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a singular datasource for this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also for plural datasources we should stick to one convention either : nutanix_datasource_types or nutanix_datasource_type_list for new datasources.

return resourceNutanixStaticRouteRead(ctx, d, meta)
}

func resourceNutanixStaticRouteDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to discuss this. As you mentioned that we can delete the static route from UI.

@abhimutant abhimutant force-pushed the feat/m-staticRoutes branch from e4afd60 to 74a752c Compare July 4, 2022 06:41
@abhimutant abhimutant merged commit f25a427 into nutanix:feat/1.6.0 Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants