Skip to content

Commit

Permalink
environment variable changed
Browse files Browse the repository at this point in the history
  • Loading branch information
biplamal committed Aug 1, 2024
1 parent 4f7f77c commit 2f940ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deployments/k8s/manifests/ixia-c-b2b-eth0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ items:
value: virtual@af_packet,eth0
- name: OPT_NO_HUGEPAGES
value: "Yes"
- name: DBG_RX_SLEEPY
- name: OPT_ADAPTIVE_CPU_USAGE
value: "Yes"
- name: OPT_LISTEN_PORT
value: "5555"
Expand Down
2 changes: 1 addition & 1 deletion deployments/template-ixia-c-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ data:
"path": "$(configq .images[2].path)",
"tag": "$(configq .images[2].tag)",
"env": {
"DBG_RX_SLEEPY": "Yes"
"OPT_ADAPTIVE_CPU_USAGE": "Yes"
}
},
{
Expand Down
12 changes: 6 additions & 6 deletions do.sh
Original file line number Diff line number Diff line change
Expand Up @@ -621,15 +621,15 @@ create_ixia_c_b2b_dp() {
-e ARG_IFACE_LIST="virtual@af_packet,${VETH_A}" \
-e OPT_NO_HUGEPAGES="Yes" \
-e OPT_NO_PINNING="Yes" \
-e DBG_RX_SLEEPY="Yes" \
-e OPT_ADAPTIVE_CPU_USAGE="Yes" \
$(ixia_c_traffic_engine_img) \
&& docker run --net=host --privileged -d \
--name=ixia-c-traffic-engine-${VETH_Z} \
-e OPT_LISTEN_PORT="5556" \
-e ARG_IFACE_LIST="virtual@af_packet,${VETH_Z}" \
-e OPT_NO_HUGEPAGES="Yes" \
-e OPT_NO_PINNING="Yes" \
-e DBG_RX_SLEEPY="Yes" \
-e OPT_ADAPTIVE_CPU_USAGE="Yes" \
$(ixia_c_traffic_engine_img) \
&& docker ps -a \
&& gen_controller_config_b2b_dp \
Expand Down Expand Up @@ -683,7 +683,7 @@ create_ixia_c_b2b_cpdp() {
-e OPT_NO_HUGEPAGES="Yes" \
-e OPT_NO_PINNING="Yes" \
-e WAIT_FOR_IFACE="Yes" \
-e DBG_RX_SLEEPY="Yes" \
-e OPT_ADAPTIVE_CPU_USAGE="Yes" \
$(ixia_c_traffic_engine_img) \
&& docker run --privileged -d \
--net=container:ixia-c-traffic-engine-${VETH_A} \
Expand All @@ -697,7 +697,7 @@ create_ixia_c_b2b_cpdp() {
-e OPT_NO_HUGEPAGES="Yes" \
-e OPT_NO_PINNING="Yes" \
-e WAIT_FOR_IFACE="Yes" \
-e DBG_RX_SLEEPY="Yes" \
-e OPT_ADAPTIVE_CPU_USAGE="Yes" \
$(ixia_c_traffic_engine_img) \
&& docker run --privileged -d \
--net=container:ixia-c-traffic-engine-${VETH_Z} \
Expand Down Expand Up @@ -762,7 +762,7 @@ create_ixia_c_b2b_lag() {
-e OPT_NO_HUGEPAGES="Yes" \
-e OPT_NO_PINNING="Yes" \
-e WAIT_FOR_IFACE="Yes" \
-e DBG_RX_SLEEPY="Yes" \
-e OPT_ADAPTIVE_CPU_USAGE="Yes" \
-e OPT_MEMORY="1024" \
$(ixia_c_traffic_engine_img) \
&& docker run --privileged -d \
Expand All @@ -777,7 +777,7 @@ create_ixia_c_b2b_lag() {
-e OPT_NO_HUGEPAGES="Yes" \
-e OPT_NO_PINNING="Yes" \
-e WAIT_FOR_IFACE="Yes" \
-e DBG_RX_SLEEPY="Yes" \
-e OPT_ADAPTIVE_CPU_USAGE="Yes" \
-e OPT_MEMORY="1024" \
$(ixia_c_traffic_engine_img) \
&& docker run --privileged -d \
Expand Down

0 comments on commit 2f940ef

Please sign in to comment.