8000 added field RedundancyGroup in L2 connections returned from API by ocobles · Pull Request #5 · equinix/ecx-go · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

added field RedundancyGroup in L2 connections returned from API - #5

Merged
ocobles merged 4 commits into
masterfrom
fix-connection-redundancy-params
Feb 28, 2022
Merged

ocobles merged 4 commits into
masterfrom
fix-connection-redundancy-params

Conversation

@ocobles
@ocobles ocobles commented Feb 24, 2022
Copy link
Copy Markdown
Contributor
  • Added field RedundancyGroup in L2Connection
  • Added filters in GetL2OutgoingConnections function available in the API.

closes #4

@ocobles
ocobles requested a review from displague February 24, 2022 16:32
Comment thread rest_l2_connection.go Resolved
testHc := &http.Client{}
httpmock.ActivateNonDefault(testHc)
httpmock.RegisterResponder("GET", fmt.Sprintf("%s/ecx/v3/l2/buyer/connections?pageSize=%d&status=%s", baseURL, pageSize, url.QueryEscape("PROVISIONED,PROVISIONING")),
httpmock.RegisterResponder("GET", fmt.Sprintf("%s/ecx/v3/l2/buyer/connections?pageSize=%d&status=%s", baseURL, pageSize, url.QueryEscape(strings.Join(statuses[:], ","))),
@displague displague Feb 28, 2022 •
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: statuses should work just as well as statuses[:] here.

@ocobles
ocobles merged commit d641afe into master Feb 28, 2022
@ocobles
ocobles deleted the fix-connection-redundancy-params branch February 28, 2022 17:34
@ocobles
ocobles restored the fix-connection-redundancy-params branch February 28, 2022 17:37
@ocobles
ocobles deleted the fix-connection-redundancy-params branch February 28, 2022 17:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add RedundancyGroup field in l2_connection

2 participants

0