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

Warn user when not specifying -m flag in start_nf.sh #158

Merged
merged 5 commits into from
Aug 25, 2019
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/start_nf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ if [[ $dash_dash_cnt -ge 2 ]]; then
ONVM_ARGS="$(echo " ""$@" | awk -F "--" '{print $2;}')"
# Move to NF arguments
shift ${non_nf_arg_cnt}
if [[ $DPDK_ARGS == *"-l"* ]] && [[ ! $ONVM_ARGS == *"-m"* ]]; then
echo "Warning: Include -m flag in order to bind core specified in -l"
fi
elif [[ $dash_dash_cnt -eq 0 ]]; then
# Dealing with required args shared by all NFs
service=$1
Expand Down