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

Portadmin poe cisco frontend #2644

Closed
wants to merge 28 commits into from

Conversation

stveit
Copy link
Contributor

@stveit stveit commented Jul 19, 2023

No description provided.

stveit added 28 commits May 31, 2023 14:52
let each implementation handle conversion if the
actual state is represented as integers or whatever, but for
this interface just let it be strings, e.g. DISABLED, AUTO or something
the state options should be the same on the netbox for ports
that support it, so no need to check that per interface.
what we actually care about is if the interface supports poe,
so this does that more explicitly
poe state indexing uses double index of the stack unit number
and a interface number. Only place i wasa able to find
these nubmers for the interface is in the name,
so this is a bit scuffed
@sonarcloud
Copy link

sonarcloud bot commented Jul 19, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Merging #2644 (218a737) into master (b7f24ec) will increase coverage by 0.42%.
The diff coverage is 61.97%.

@@            Coverage Diff             @@
##           master    #2644      +/-   ##
==========================================
+ Coverage   54.20%   54.62%   +0.42%     
==========================================
  Files         558      560       +2     
  Lines       40634    40782     +148     
==========================================
+ Hits        22026    22279     +253     
+ Misses      18608    18503     -105     
Impacted Files Coverage Δ
python/nav/web/portadmin/views.py 14.92% <0.00%> (-0.05%) ⬇️
python/nav/web/portadmin/utils.py 38.26% <16.66%> (-1.19%) ⬇️
python/nav/portadmin/snmp/cisco.py 47.11% <66.00%> (+5.39%) ⬆️
python/nav/portadmin/handlers.py 45.13% <71.42%> (+3.13%) ⬆️

... and 22 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link

Test results

     12 files       12 suites   14m 22s ⏱️
3 185 tests 3 185 ✔️ 0 💤 0
9 030 runs  9 030 ✔️ 0 💤 0

Results for commit 218a737.

@stveit stveit self-assigned this Aug 30, 2023
@stveit stveit closed this Nov 2, 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.

1 participant