Enhance site-to-site VPN reliability and test CLI#2371
Merged
cb-github-robot merged 1 commit intocloud-barista:mainfrom Mar 16, 2026
Merged
Enhance site-to-site VPN reliability and test CLI#2371cb-github-robot merged 1 commit intocloud-barista:mainfrom
cb-github-robot merged 1 commit intocloud-barista:mainfrom
Conversation
* Add one-time retry handling for VPN create/delete to absorb transient CSP timing failures * Extend AWS hub support to OpenStack and add Azure BGP peering CIDR model fields * Add optional refresh query support to VPN GET API and update Swagger/docs accordingly * Replace legacy gcp-aws VPN test CLI with config-driven site-to-site batch test CLI and reports * Update mc-terrarium integration to v0.1.2 and align local setup/init docs and Make targets
Member
Author
|
Force-pushed after resolving conflicts |
Member
|
/approve |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enhances site-to-site VPN reliability and provides a batch test CLI.
Changes in details
VPN reliability improvements
CSP-support expansion and model updates
API and documentation updates
Test CLI enhancement
Operations and developer experience
Testing
Notes
Attached sample: aws-to-gcp-vpn test result (masked, click to expand)
VPN Test: aws to gcp
Step 1: Create VPN
Request Body
{ "name": "vpn-aws-gcp", "site1": { "cspSpecificProperty": { "aws": { "bgpAsn": "64512" } }, "vNetId": "<AWS_VNET_ID>" }, "site2": { "cspSpecificProperty": { "gcp": { "bgpAsn": "65530" } }, "vNetId": "<GCP_VNET_ID>" } }Response Body (summary)
{ "id": "vpn-aws-gcp", "status": "Available", "uid": "<VPN_UID>", "vpnSites": [ { "connectionName": "<AWS_CONN>", "resourceDetails": [ { "cspResourceId": "<AWS_CGW_ID_1>", "cspResourceName": "<AWS_CGW_NAME_1>" }, { "cspResourceId": "<AWS_CGW_ID_2>", "cspResourceName": "<AWS_CGW_NAME_2>" }, { "cspResourceId": "<AWS_VPN_CONN_ID_1>", "cspResourceName": "<AWS_VPN_CONN_NAME_1>" }, { "cspResourceId": "<AWS_VPN_CONN_ID_2>", "cspResourceName": "<AWS_VPN_CONN_NAME_2>" }, { "cspResourceId": "<AWS_VGW_ID>", "cspResourceName": "<AWS_VGW_NAME>" } ] }, { "connectionName": "<GCP_CONN>", "resourceDetails": [ { "cspResourceId": "projects/<GCP_PROJECT>/global/externalVpnGateways/<GW>", "cspResourceName": "<GW_NAME>" }, { "cspResourceId": "projects/<GCP_PROJECT>/regions/<REGION>/vpnTunnels/<TUNNEL_1>", "cspResourceName": "<TUNNEL_1>" }, { "cspResourceId": "projects/<GCP_PROJECT>/regions/<REGION>/vpnTunnels/<TUNNEL_2>", "cspResourceName": "<TUNNEL_2>" }, { "cspResourceId": "projects/<GCP_PROJECT>/regions/<REGION>/vpnTunnels/<TUNNEL_3>", "cspResourceName": "<TUNNEL_3>" }, { "cspResourceId": "projects/<GCP_PROJECT>/regions/<REGION>/vpnTunnels/<TUNNEL_4>", "cspResourceName": "<TUNNEL_4>" } ] } ] }Step 2: Get VPN Info
Result: Confirmed VPN status is Available
Step 3: List VPN IDs
Response
{ "vpnIdList": ["vpn-aws-gcp"] }Step 4: List VPN Infos
Result: Confirmed VPN list and detailed metadata are returned correctly
Step 5: Ping Test
Request Body
{ "command": ["ping <GCP_PRIVATE_IP_MASKED> -c 1"], "userName": "cb-user" }Response (summary)
{ "results": [ { "error": "", "stdout": { "0": "1 packets transmitted, 1 received, 0% packet loss" }, "vmId": "<AWS_VM_ID>", "vmIp": "<AWS_PUBLIC_IP_MASKED>" } ] }Step 6: Delete VPN
Response
{ "message": "successfully deleted the site-to-site VPN (vpn-aws-gcp)" }