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

adding NetGateway Support #38

Closed

Conversation

LePhanFF
Copy link
Contributor

No description provided.

@@ -41,6 +41,9 @@ func ConvertMapToRoute(data map[string]interface{}) Route {
if v, ok := data["nat"]; ok {
route.Nat = v.(bool)
}
if v, ok := data["net_gateway"]; ok {
route.NetGateway = v.(bool)
Copy link
Owner

Choose a reason for hiding this comment

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

I see the setter of the NetGateway property but didn't see any place where you use this property in the provider. Do you need just to store this property in the state or I miss something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to create net gateway route, would this change set the route type when it invokes the api to create the route?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I found some places where it could be used, would these changes work, please suggest

@LePhanFF LePhanFF closed this Aug 24, 2023
@LePhanFF
Copy link
Contributor Author

replaced with #39

@LePhanFF LePhanFF deleted the feature/issue-37-route_NetGateway_Support branch August 25, 2023 21:29
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.

2 participants