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

[PD] make PD upstream interface consistent with infra_if name #2644

Closed
wants to merge 8 commits into from

Conversation

yangsong-cnyn
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.93%. Comparing base (2b41187) to head (649fbd7).
Report is 901 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2644       +/-   ##
===========================================
- Coverage   55.77%   44.93%   -10.84%     
===========================================
  Files          87      106       +19     
  Lines        6890    12769     +5879     
  Branches        0      949      +949     
===========================================
+ Hits         3843     5738     +1895     
- Misses       3047     6724     +3677     
- Partials        0      307      +307     

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

@@ -30,8 +30,7 @@
# This script manipulates DHCPv6-PD-REF configuration.
#

# TODO: set the upstream interface according to the environment variables of `script/setup`.
UPSTREAM_INTERFACE="eth0"
UPSTREAM_INTERFACE=${INFRA_IF_NAME}
Copy link
Contributor

Choose a reason for hiding this comment

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

As I checked, INFRA_IF_NAME is defined as a environment variable only in dockerfile for harness simulation. That means in other cases this variable will be undefined. Is it correct? Or we need to include other bash script from here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are correct, Li. Thanks for figuring it out.

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.

2 participants