Skip to content

VPC test related to Dual stack#831

Merged
vshanthe merged 5 commits into
devfrom
vpc_tests
Nov 19, 2025
Merged

VPC test related to Dual stack#831
vshanthe merged 5 commits into
devfrom
vpc_tests

Conversation

@vshanthe
Copy link
Copy Markdown
Contributor

@vshanthe vshanthe commented Nov 4, 2025

📝 Description

Dual stack VPC test
API spec - https://git.source.akamai.com/projects/TECHDOCS/repos/akamai-api-inventory/raw/apis/linode-api/v4/swag-logs/openapi.json?at=refs%2Fheads%2Ffeature%2FUXTW-9236-vpc-ipv6-support-tech-docs

✔️ How to Test

make test-int TEST_SUITE=vpc

📷 Preview

If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.

@vshanthe vshanthe requested a review from Copilot November 4, 2025 07:15
@vshanthe vshanthe requested a review from a team as a code owner November 4, 2025 07:15
@vshanthe vshanthe requested review from jriddle-linode and zliang-akamai and removed request for a team November 4, 2025 07:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive integration tests for dual-stack (IPv4 + IPv6) VPC functionality, including VPC creation with IPv6 ranges, subnet creation with IPv6 support, and IP address listing capabilities.

Key changes:

  • Added tests for automatic and custom IPv6 range allocation for VPCs and subnets
  • Added tests for listing VPC IPv4 and IPv6 addresses
  • Updated VPC test fixtures to support IPv6 by default

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/integration/vpc/test_vpc.py Adds 5 new test functions covering IPv6 VPC creation, subnet creation with IPv6, invalid IPv6 range handling, and IP address listing
tests/integration/vpc/conftest.py Updates fixtures to handle list-wrapped VPC responses and enables IPv6 for test VPCs
tests/integration/conftest.py Modifies create_vpc_w_subnet to enable IPv6 and adjusts return value handling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/integration/conftest.py
@linode linode deleted a comment from Copilot AI Nov 4, 2025
@vshanthe vshanthe requested review from Copilot and removed request for Copilot November 4, 2025 08:07
@vshanthe vshanthe requested a review from Copilot November 4, 2025 08:11
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/integration/conftest.py
Comment thread tests/integration/vpc/conftest.py Outdated
@vshanthe vshanthe requested a review from Copilot November 4, 2025 08:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/integration/vpc/conftest.py Outdated
Comment thread tests/integration/vpc/test_vpc.py Outdated
@vshanthe vshanthe requested a review from Copilot November 4, 2025 08:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vshanthe vshanthe requested review from a team, ezilber-akamai and yec-akamai and removed request for a team November 14, 2025 05:39
Copy link
Copy Markdown
Contributor

@ezilber-akamai ezilber-akamai left a comment

Choose a reason for hiding this comment

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

Tests are passing locally. Nice work!

Copy link
Copy Markdown
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.

Looks great, nice work!

@vshanthe vshanthe merged commit 76f1a7a into dev Nov 19, 2025
22 checks passed
@vshanthe vshanthe deleted the vpc_tests branch November 19, 2025 05:40
@ezilber-akamai ezilber-akamai added the testing for updates to the testing suite in the changelog. label Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing for updates to the testing suite in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants