-
Notifications
You must be signed in to change notification settings - Fork 235
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
@@ -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} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
No description provided.