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

New parser request: 'ip -a' results #464

Open
marcuoli opened this issue Sep 28, 2023 · 3 comments
Open

New parser request: 'ip -a' results #464

marcuoli opened this issue Sep 28, 2023 · 3 comments

Comments

@marcuoli
Copy link

It would be very nice to have a 'ip -a' parser as ifconfig is not installed by default anymore on newer versions of Linux.

btw, a parser for ipconfig (windows) would be great as well (using python to parse it).

Thanks !

@kellyjonbrazil
Copy link
Owner

Hi there - I have not written any ip parsers because the ip command supports JSON output by default. I can look into a Windows ipconfig parser.

@marcuoli
Copy link
Author

marcuoli commented Sep 28, 2023

Thanks, I see.

The question is, for example, I use it to parse ifconfig, ip a, ipconfig outputs from hosts I don't have access to. That's why 'ip -j a' doesn't work for me.

Either way, thanks a lot for the great software.

@jessejoe
Copy link

jessejoe commented Apr 5, 2024

Hi there - I have not written any ip parsers because the ip command supports JSON output by default. I can look into a Windows ipconfig parser.

FYI iproute2 didn't add JSON output support until v4.14.1, which is not included in CentOS 7. CentOS 7 is still relatively ubiquitous and supported until June 2024.

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

3 participants