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

Image installed in Cassini AS7716-24SC #9

Open
pcarrillom opened this issue Sep 20, 2022 · 9 comments
Open

Image installed in Cassini AS7716-24SC #9

pcarrillom opened this issue Sep 20, 2022 · 9 comments
Assignees

Comments

@pcarrillom
Copy link

Hello,

I have installed Goldstone release 0.6 in Cassini Hardware.
Trying to get gscli working with no success.
Should I install goldstone-management?
How can I get the cli to work?

sorry to bother, but I have been trying to find any docs with no success.
I have followed the instructions of getting started in the goldstone-management repo, but I am getting errors when trying to run gscli with Kubectl -exec.

Thanks for your kind help

@ishidawataru
Copy link
Contributor

Should I install goldstone-management?

No, the management components are pre-installed in the image. I think the system is not working properly.
I'll try installing the v0.6 image on Cassini and get back to you.

@ishidawataru ishidawataru self-assigned this Sep 21, 2022
@ishidawataru
Copy link
Contributor

@pcarrillom Could you try the following image to check if this works properly on Cassini?

https://github.com/oopt-goldstone/goldstone-buildimage/releases/tag/v0.7.0-rc1

@pcarrillom
Copy link
Author

pcarrillom commented Sep 21, 2022 via email

@pcarrillom
Copy link
Author

pcarrillom commented Sep 21, 2022 via email

@ishidawataru
Copy link
Contributor

@pcarrillom Thanks for testing. I can't see the image on your post, but it is expected that DCO PIU doesn't work on Cassini. (only ACO PIU works now)

The way to access ACO PIU and DCO PIU is different on Cassini, and we need to go through the Broadcom SDK to access DCO PIU. This makes things tricky to support DCO PIU.

By the way, Goldstone supports both DCO and ACO PIU on Wistron Galileo1 because we can access both via the i2c bus.

@pcarrillom
Copy link
Author

pcarrillom commented Sep 22, 2022 via email

@ishidawataru
Copy link
Contributor

I'd say this is a (non-technical) limitation of Goldstone.
As you pointed out, both Goldstone and OcNOS use TAI to control CFP2 transceivers.
TAI is just a software API layer, and it doesn't specify anything about how to implement the software component (TAI library) that provides the TAI APIs.
OcNOS has its own TAI library that supports Cassini DCO PIU, and we don't have access to it.

In order to develop our own TAI library for Cassini DCO PIU, we need to figure out how to access the DCO PIU via Broadcom SDK.
We need Edgecore's engineering support to do this discussion.

@pcarrillom
Copy link
Author

pcarrillom commented Sep 22, 2022 via email

@ishidawataru
Copy link
Contributor

@pcarrillom Thanks for the info. If I can get the source code of the TAI library, it would definitely help, but I don't think we can use the binary as is in Goldstone.

If you want to try, you can place the TAI library under /var/lib/tai/lib/, name it libtai.so, and reboot the system.
I don't have DCO PIU in hand, so I can't test it.

I assume the TAI library is communicating with the Broadcom SDK in some method so that the TAI library can access the register of CFP2DCOs.
Goldstone uses SONiC's core to control the switch ASIC. The Broadcom SDK is included in the SAI library in the SONiC architecture. You can find the SAI library at /var/lib/usonic/lib on Goldstone.
I think the SAI library we're currently using doesn't provide the communication method that the TAI library expects.

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

2 participants