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 bfebd64 commit 0e98778
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions do.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,25 +616,16 @@ 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

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 \
&& docker run -d --name=keng-license-server $(keng_license_server_img) --accept-eula \
&& 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="${license_servers}" \
--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 0e98778

Please sign in to comment.