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 0549f1f commit bfebd64
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions do.sh
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ create_ixia_c_b2b_dp() {
--accept-eula \
--trace \
--disable-app-usage-reporter \
--license-servers="0.0.0.0" \
--license-servers="$(container_ip keng-license-server)" \
&& docker run --net=host --privileged -d \
--name=ixia-c-traffic-engine-${VETH_A} \
-e OPT_LISTEN_PORT="5555" \
Expand Down Expand Up @@ -616,16 +616,25 @@ create_ixia_c_b2b_cpdp() {
fi
echo "Setting up back-to-back with CP/DP distribution of ixia-c ..."
login_ghcr \
&& docker run -d --name=keng-license-server $(keng_license_server_img) --accept-eula \
&& docker run -d \
&& docker run -d --name=keng-license-server $(keng_license_server_img) --accept-eula

license_servers=""
if [ "${1}" = "ipv6" ]
then
license_servers=$(container_ip6 keng-license-server)
else
license_servers=$(container_ip keng-license-server)
fi

docker run -d \
--name=keng-controller \
--publish 0.0.0.0:8443:8443 \
--publish 0.0.0.0:40051:40051 \
$(ixia_c_controller_img cpdp) \
--accept-eula \
--trace \
--disable-app-usage-reporter \
--license-servers="0.0.0.0" \
--license-servers="${license_servers}" \
&& docker run --privileged -d \
--name=ixia-c-traffic-engine-${VETH_A} \
-e OPT_LISTEN_PORT="5555" \
Expand Down Expand Up @@ -691,7 +700,7 @@ create_ixia_c_b2b_lag() {
--accept-eula \
--trace \
--disable-app-usage-reporter \
--license-servers="0.0.0.0" \
--license-servers="$(container_ip keng-license-server)" \
&& docker run --privileged -d \
--name=ixia-c-traffic-engine-${VETH_A} \
-e OPT_LISTEN_PORT="5555" \
Expand Down

0 comments on commit bfebd64

Please sign in to comment.