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

(FACT-1592) A key/value pair for Interface Speed/Duplex #2480

Closed
wants to merge 1 commit into from

Conversation

jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Apr 12, 2022

I'll confess, I'll need help with the tests....

This partially resolves the issue for Linux systems.

Facter will have a speed fact equal to the link speed determined by the kernel for each supported interface.
Facter will have a duplex fact equal to the duplex determined by the kernel for each supported interface.

For wired networks this should report the speed/duplex even if the interface is not assigned an address.

@jcpunk jcpunk requested a review from a team as a code owner April 12, 2022 21:24
@puppetlabs-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@tskirvin
Copy link

tskirvin commented May 2, 2022

For the record, I'd like to see this functionality. It looks useful for day-to-day work.

@CLAassistant
Copy link

CLAassistant commented Apr 19, 2023

CLA assistant check
All committers have signed the CLA.

@jcpunk jcpunk force-pushed the FACT-1592-speed-duplex branch 2 times, most recently from f58b1ef to 199809c Compare May 9, 2023 19:08
@jcpunk
Copy link
Contributor Author

jcpunk commented Sep 13, 2023

Updated

@joshcooper
Copy link
Contributor

I disabled the Metrics/ClassLength rubocop check so if you rebase you'll get that change. Not sure about the other cops.

@jcpunk
Copy link
Contributor Author

jcpunk commented Sep 13, 2023

rebased

@jcpunk jcpunk force-pushed the FACT-1592-speed-duplex branch 2 times, most recently from 1115a9c to 55adeca Compare September 13, 2023 15:53
@jcpunk jcpunk force-pushed the FACT-1592-speed-duplex branch 2 times, most recently from 2b4350e to 7df3bf0 Compare September 14, 2023 21:02
@jcpunk jcpunk force-pushed the FACT-1592-speed-duplex branch 2 times, most recently from 4c6ec37 to 01f02e3 Compare September 15, 2023 15:02
@joshcooper
Copy link
Contributor

I made a slight modification to a5267b3, added a refactor commit and opened a new PR to supersede this one. Thank you for your contribution (and patience!)

@joshcooper joshcooper closed this Sep 16, 2023
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

Successfully merging this pull request may close these issues.

5 participants