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

Update edge-view to work with the latest pillar #4139

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

milan-zededa
Copy link
Contributor

@milan-zededa milan-zededa commented Aug 9, 2024

After introducing support for Local NI with multiple ports, few fields in the NetworkInstanceStatus and NetworkInstanceMetrics have changed.
Also, VolumeRefConfig no longer has the RefCount field.
Edge-view needs to be updated to reflect all these changes.

Signed-off-by: Milan Lenco <milan@zededa.com>
@milan-zededa
Copy link
Contributor Author

I have no idea why Yetus keeps failing. The output has much less files than usually.

dstNet := route.DstNetwork.String()
if route.GatewayApp != emptyUUID {
fmt.Printf(" - route dst: %s, gw app: %s\n",
route.DstNetwork, route.GatewayApp)
Copy link
Contributor

@naiming-zededa naiming-zededa Aug 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also add the 'Gateway' in the display of the routes in both if and else cases?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

Copy link
Contributor

@naiming-zededa naiming-zededa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

After introducing support for Local NI with multiple ports,
few fields in the NetworkInstance status and metrics have changed.
Also, VolumeRefConfig no longer has the RefCount field.
Edge-view needs to be updated to reflect all these changes.

Signed-off-by: Milan Lenco <milan@zededa.com>
Copy link

codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 19.69%. Comparing base (5894895) to head (a24bd64).
Report is 106 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4139      +/-   ##
==========================================
+ Coverage   17.51%   19.69%   +2.17%     
==========================================
  Files           3        8       +5     
  Lines         805     2600    +1795     
==========================================
+ Hits          141      512     +371     
- Misses        629     1985    +1356     
- Partials       35      103      +68     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@milan-zededa milan-zededa merged commit 2b7201c into lf-edge:master Aug 13, 2024
24 of 25 checks passed
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.

4 participants