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

Fetch interface list from holod #5

Open
frederic-loui opened this issue Apr 17, 2024 · 1 comment
Open

Fetch interface list from holod #5

frederic-loui opened this issue Apr 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@frederic-loui
Copy link
Member

For now when we configure holo via holo-cli, interface is entered in a free form.

It would be ideal to be able to configure an interface from holo-cli :

  1. From a list of available physical interfaces

  2. From a list of interface category of interface: te-tunnel, tunnel, bundle, hairpin, etc

  3. Restrict sub-interface creation with . or unit notation form to:
    3.1. Listed physical interface in 1
    3.2. Or logical interface listed in 2

This will enforce configuration consistency.

For 1, it means that holo-cli should be able to query holod->interface list

@rwestphal
Copy link
Member

For 1, it means that holo-cli should be able to query holod->interface list

Correct. I think the best way to do that would be by adding a new gRPC RPC like SystemInfo. That RPC would return the list of available interfaces at the OS-level, and maybe additional data as well, such as the available tunneling technologies.

I'll transfer this issue to the holo-cli repo since it's primarily CLI work.

@rwestphal rwestphal added the enhancement New feature or request label Apr 18, 2024
@rwestphal rwestphal transferred this issue from holo-routing/holo Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants