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

Do we have Equinix fabric API golang library for version v4? #9

Closed
javeedf opened this issue Aug 1, 2022 · 10 comments
Closed

Do we have Equinix fabric API golang library for version v4? #9

javeedf opened this issue Aug 1, 2022 · 10 comments

Comments

@javeedf
Copy link

javeedf commented Aug 1, 2022

The current version of ecx-go library looks to be developed for Fabric API v3. do we have any similar library available for Fabric API v4?

When can we expect Fabric API v4?

@displague
Copy link
Member

displague commented Aug 1, 2022

@javeedf See https://github.com/equinix-labs/fabric-go which is generated from the OpenAPIv3 spec. The project is currently experimental. It is being used to develop the Fabric v4 support for the Terraform provider (equinix/terraform-provider-equinix#112) so any deficiencies will be identified and addressed on the spec or OpenAPI SDK generation process.

@javeedf
Copy link
Author

javeedf commented Aug 1, 2022

Thank you @displague , when can we expect fabric-go 1.0.0 version?

@displague
Copy link
Member

displague commented Aug 1, 2022

I wouldn't expect a 1.0.0 in this SDK until sometime after the Terraform issue above has been closed.
In terms of Go versioning, the 1.0.0 version would mean a change in behavior for API spec - for example, OAS3 tags could not be changed without breaking the Go signature and resulting in a v2, v3, etc. Patches would need to be maintained to persist the old version tagging (among other things).

v0 does not require this. It is widespread in Go for packages to stay in v0 for similar reasons.

@displague
Copy link
Member

@javeedf my recommendation would be to use fabric-go and open an issue on the project if you run into problems.
That issue can then be resolved through GH conversations, upstream API Spec changes, or patches to the GH project to get the desired behavior.

@syedluri
Copy link

syedluri commented Aug 1, 2022

@javeedf What is the objective you are trying to achieve using fabric-go (v4)? Do you have any existing application using v3 (ecx-go)? If so, please help us understand the use case.

@javeedf
Copy link
Author

javeedf commented Aug 2, 2022

@syedluri We are trying to automate the stitching between Equinix fabric and our devices. we are yet to build it. So we would like to go with the latest Equinix Fabric API v4.

@syedluri
Copy link

syedluri commented Aug 2, 2022

@javeedf great to hear that, Are you planning to use go-sdk for API consumption? or Terraform provider? Please confirm so that I can point you to right direction.

@javeedf
Copy link
Author

javeedf commented Aug 3, 2022

@syedluri we are planning to use go-sdk for API, currently don't have any plan to go with Terraform

@syedluri
Copy link

syedluri commented Aug 3, 2022

@javeedf - In that case, you can use go-sdk, shared above by Marques. In it's current state will support all the Fabric key features to create a connection. Please let us know if you wish to see any new feature.

@javeedf
Copy link
Author

javeedf commented Aug 4, 2022

Sure @syedluri, we will get back to you for any help.

Thank you @syedluri @displague

@javeedf javeedf closed this as completed Aug 4, 2022
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

No branches or pull requests

3 participants