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

an example (CPS application )of configuring the MAC address forwarding database #104

Open
jimmymagemtek opened this issue Oct 25, 2018 · 1 comment
Labels

Comments

@jimmymagemtek
Copy link

Hi
The web claims that there is an example (no matter it is C or Python):

MAC address forwarding database (FDB)
The OPX software provides a CPS API/data model for configuring and managing the MAC forwarding database using the CPS API. See CPS application templates for an example of how to access and configure the MAC address forwarding database.
(https://github.com/open-switch/opx-docs/wiki/Layer-2)
But I found no such example but generic template by following its link.

In other words, I need an example to know how to access the existing objects (like forwarding tables, ACL tables) provided by CPS framework.

Please advise. Thanks.

Jimmy

@jeff-yin
Copy link
Member

There should now be Python-based examples here:
https://github.com/open-switch/opx-tools/blob/master/bin/opx-config-mac
And here:
https://github.com/open-switch/opx-tools/blob/master/bin/opx-show-mac

I believe this should resolve the question, but we still need to update the Layer-2 wiki page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants