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

Change chassisID individually per port #364

Open
jonkoss opened this issue Nov 18, 2019 · 3 comments
Open

Change chassisID individually per port #364

jonkoss opened this issue Nov 18, 2019 · 3 comments

Comments

@jonkoss
Copy link

jonkoss commented Nov 18, 2019

Hello,

I'd like to change the cassis-id individually per port. There is a subtype map "CHASSISID_SUBTYPE_PORT", but unfortunately it is stated as "unhandled".
Furthermore, the methods _lldpctl_atom_get_str_port & _lldpctl_atom_set_str_port do not provide any
functionality for the key lldpctl_k_port_chassis. Any help appreciated!

@vincentbernat
Copy link
Member

It's a difficult change, because the local chassis structure is common to all ports. I don't have an immediate solution for your request.

@jonkoss
Copy link
Author

jonkoss commented Nov 18, 2019

Thanks for the quick reply. That's unfortunate :( I actually expected it to be implemented or at least possible because lldpctl_k_port_chassis is already defined in lldpctl.h.

@vincentbernat
Copy link
Member

In fact lldpctl_k_port_chassis allows you to get the remote chassis for a port. It should also work for a local port, but you get a read-only view of the chassis.

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

No branches or pull requests

2 participants