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

Support Linode VPC #362

Merged
merged 10 commits into from
Aug 29, 2023
Merged

Support Linode VPC #362

merged 10 commits into from
Aug 29, 2023

Conversation

zliang-akamai
Copy link
Member

@zliang-akamai zliang-akamai commented Aug 21, 2023

Description

This PR contains implementations for all Linode VPC related APIs. Tests are failing because we can't put fixtures from production server in the repo.

You can pull and do the integration tests against Alpha APIs with commands below.

This will be merged into a feature branch rather than the main branch, and we can merge to main when the API is in production and we can get fixtures from it.

Test

make fixtures ARGS="-run TestVPC"

make fixtures ARGS="-run TestInstance_Config"

@zliang-akamai zliang-akamai force-pushed the zhiwei/vpc branch 5 times, most recently from 61fd5ac to 83d4815 Compare August 22, 2023 14:57
@zliang-akamai zliang-akamai marked this pull request as ready for review August 23, 2023 16:48
@zliang-akamai zliang-akamai requested a review from a team as a code owner August 23, 2023 16:48
@zliang-akamai zliang-akamai changed the base branch from main to feat-vpc August 23, 2023 16:48
@zliang-akamai zliang-akamai changed the title VPC Linode VPC Implementation Aug 23, 2023
@zliang-akamai zliang-akamai changed the title Linode VPC Implementation Support Linode VPC Aug 23, 2023
@zliang-akamai zliang-akamai requested review from a team and removed request for a team August 23, 2023 22:12
@lgarber-akamai lgarber-akamai added the breaking-change for breaking changes in the changelog. label Aug 28, 2023
Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

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

Seems to work well in local testing! Could the corresponding events be included in this PR, as well as the firewall_id field on the Instance POST request?

@zliang-akamai
Copy link
Member Author

@lgarber-akamai Thanks for the feedback! How does it look now?

@zliang-akamai zliang-akamai requested a review from a team August 29, 2023 14:14
Copy link
Contributor

@yec-akamai yec-akamai left a comment

Choose a reason for hiding this comment

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

Great work! Just some small suggestions.

instance_config_interfaces.go Outdated Show resolved Hide resolved
instance_configs.go Show resolved Hide resolved
vpc.go Outdated Show resolved Hide resolved
@zliang-akamai zliang-akamai merged commit 9e2ab66 into linode:feat-vpc Aug 29, 2023
2 of 3 checks passed
@zliang-akamai zliang-akamai deleted the zhiwei/vpc branch August 29, 2023 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change for breaking changes in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants