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

Include all ethernet interface types used in the wild in the room interface listing #2314

Merged

Conversation

lunkwill42
Copy link
Member

  • Although RFC 3635 specifies that implementations MUST use ifType=ethernetCsmacd(6) for all ethernet-like interface types, many fielded implementations have incorrectly used other values that were never reserved by the IETF.
  • D-Link is one such vendor, where interfaces would not be listed in the room interface list because of this.

Fixes #2280

Replaces #2283, which was accidentally closed beyond recovery when the old stable branch was removed

@lunkwill42 lunkwill42 requested a review from hmpf October 19, 2021 13:31
@lunkwill42 lunkwill42 self-assigned this Oct 19, 2021
@github-actions
Copy link

github-actions bot commented Oct 19, 2021

Test results

       15 files         15 suites   14m 16s ⏱️
  3 068 tests   2 972 ✔️   96 💤 0
11 483 runs  11 099 ✔️ 384 💤 0

Results for commit fcc5690.

♻️ This comment has been updated with latest results.

Because:

- Although RFC 3635 specifies that implementations MUST use
  ifType=ethernetCsmacd(6) for all ethernet-like interface types, many
  fielded implementations have incorrectly used other values that were
  never reserved by the IETF.
- D-Link is one such vendor, where interfaces would not be listed in the
  room interface list because of this.

Fixes Uninett#2280
@lunkwill42 lunkwill42 force-pushed the bugfix/room-interfaces-interfacetypes branch from cdb77b3 to fcc5690 Compare February 22, 2022 08:29
@lunkwill42 lunkwill42 changed the base branch from 5.2.x to master February 22, 2022 08:30
@lunkwill42
Copy link
Member Author

@hmpf I have acted on some of the comments in the original #2283 PR. Please do review again :)

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov
Copy link

codecov bot commented Feb 22, 2022

Codecov Report

Merging #2314 (fcc5690) into master (2da4bef) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2314   +/-   ##
=======================================
  Coverage   58.07%   58.07%           
=======================================
  Files         552      552           
  Lines       40206    40207    +1     
=======================================
+ Hits        23349    23350    +1     
  Misses      16857    16857           
Impacted Files Coverage Δ
python/nav/web/info/room/views.py 50.00% <ø> (ø)
python/nav/models/manage.py 75.29% <100.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2da4bef...fcc5690. Read the comment docs.

@lunkwill42 lunkwill42 merged commit d78c601 into Uninett:master Feb 22, 2022
@lunkwill42 lunkwill42 deleted the bugfix/room-interfaces-interfacetypes branch February 22, 2022 08:47
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.

Only ethernetCsmacd interfaces are shown in the room viewer
2 participants