Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
biplamal committed Oct 10, 2023
1 parent b964921 commit 198b59c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions do.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ ixia_c_protocol_engine_img() {
ixia_c_img protocol-engine
}

keng_license_server_img() {
ixia_c_img keng-license-server
}

ixia_c_controller_img() {
case $1 in
dp )
Expand Down Expand Up @@ -566,12 +570,14 @@ create_ixia_c_b2b_dp() {
echo "Setting up back-to-back with DP-only distribution of ixia-c ..."
login_ghcr \
&& create_veth_pair ${VETH_A} ${VETH_Z} \
&& docker run -d --net=host $(keng_license_server_img) --accept-eula \
&& docker run --net=host -d \
--name=keng-controller \
$(ixia_c_controller_img dp) \
--accept-eula \
--trace \
--disable-app-usage-reporter \
--license-servers="localhost" \
&& docker run --net=host --privileged -d \
--name=ixia-c-traffic-engine-${VETH_A} \
-e OPT_LISTEN_PORT="5555" \
Expand Down Expand Up @@ -610,6 +616,7 @@ create_ixia_c_b2b_cpdp() {
fi
echo "Setting up back-to-back with CP/DP distribution of ixia-c ..."
login_ghcr \
&& docker run -d --net=host $(keng_license_server_img) --accept-eula \
&& docker run -d \
--name=keng-controller \
--publish 0.0.0.0:8443:8443 \
Expand All @@ -618,6 +625,7 @@ create_ixia_c_b2b_cpdp() {
--accept-eula \
--trace \
--disable-app-usage-reporter \
--license-servers="localhost" \
&& docker run --privileged -d \
--name=ixia-c-traffic-engine-${VETH_A} \
-e OPT_LISTEN_PORT="5555" \
Expand Down Expand Up @@ -674,6 +682,7 @@ rm_ixia_c_b2b_cpdp() {
create_ixia_c_b2b_lag() {
echo "Setting up back-to-back LAG with CP/DP distribution of ixia-c ..."
login_ghcr \
&& docker run -d --net=host $(keng_license_server_img) --accept-eula \
&& docker run -d \
--name=keng-controller \
--publish 0.0.0.0:8443:8443 \
Expand All @@ -682,6 +691,7 @@ create_ixia_c_b2b_lag() {
--accept-eula \
--trace \
--disable-app-usage-reporter \
--license-servers="localhost" \
&& docker run --privileged -d \
--name=ixia-c-traffic-engine-${VETH_A} \
-e OPT_LISTEN_PORT="5555" \
Expand Down
3 changes: 3 additions & 0 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ images:
- name: controller-cpdp
path: ghcr.io/open-traffic-generator/keng-controller
tag: 0.0.1-5316
- name: keng-license-server
path: ghcr.io/open-traffic-generator/licensed/keng-license-server
tag: 0.0.1-24
- name: traffic-engine
path: ghcr.io/open-traffic-generator/ixia-c-traffic-engine
tag: 1.6.0.85
Expand Down

0 comments on commit 198b59c

Please sign in to comment.