X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fbasic%2Fconfigure.sh;fp=example%2Fdiameter%2Flauncher%2Fdeployments%2Fbasic%2Fconfigure.sh;h=ac4fa74190ee4fd1e6ccbbc12acd60d0bb71ea37;hb=2032c82d206dd40e35d118242272417431094823;hp=c377a13f8df2d505b595d9e642a1ddde1a818057;hpb=e82da89c86bc6131727bb37498b76ce8ea3d0826;p=anna.git diff --git a/example/diameter/launcher/deployments/basic/configure.sh b/example/diameter/launcher/deployments/basic/configure.sh index c377a13..ac4fa74 100755 --- a/example/diameter/launcher/deployments/basic/configure.sh +++ b/example/diameter/launcher/deployments/basic/configure.sh @@ -69,12 +69,12 @@ tol=$(get_tol $option) [ "$tol" = "" ] && _exit "Option '$option' not implemented !!" # Tracing -TRACING="-cntDir counters" +TRACING="--cntDir counters" echo echo "Enable debug traces ? (y/n) [n]:" read enable [ "$enable" = "" ] && enable=n -[ "$enable" = "y" ] && TRACING="$TRACING -trace debug" +[ "$enable" = "y" ] && TRACING="$TRACING --trace debug" # Kindness KINDNESS= @@ -83,7 +83,7 @@ echo "Strict xml for decoded messages ? (y/n) [y]:" echo " (ignoring flags turns a made-up xml representation; execute './$EXE_BN | grep -A1 ignoreFlags:' for more help)" read strict [ "$strict" = "" ] && strict=y -[ "$strict" = "n" ] && KINDNESS="-ignoreFlags" +[ "$strict" = "n" ] && KINDNESS="--ignoreFlags" if [ "$option" = "s" ] then echo @@ -91,7 +91,7 @@ then echo " (ignoring errors, the process won't answer Failed-AVP automatically; execute './$EXE_BN | grep -A1 ignoreErrors:' for more help)" read i_errors [ "$i_errors" = "" ] && i_errors=n - [ "$i_errors" = "y" ] && KINDNESS="$KINDNESS -ignoreErrors" + [ "$i_errors" = "y" ] && KINDNESS="$KINDNESS --ignoreErrors" fi # Run script: @@ -102,22 +102,22 @@ case $tol in client) ENTITY=$LOCAL_STANDARD_ENDPOINT - createRunScript $EXE_LINK -dictionary $DICTIONARY -entity $ENTITY -entityServerSessions $CONNS -diameterServerSessions 0 $KINDNESS $TRACING & + createRunScript $EXE_LINK --dictionary $DICTIONARY --entity $ENTITY --entityServerSessions $CONNS --diameterServerSessions 0 $KINDNESS $TRACING & ;; server) SERVER=$LOCAL_STANDARD_ENDPOINT - createRunScript $EXE_LINK -dictionary $DICTIONARY -diameterServer $SERVER -diameterServerSessions $CONNS -entityServerSessions 0 $KINDNESS $TRACING & + createRunScript $EXE_LINK --dictionary $DICTIONARY --diameterServer $SERVER --diameterServerSessions $CONNS --entityServerSessions 0 $KINDNESS $TRACING & ;; balancer) SERVER=$LOCAL_STANDARD_ENDPOINT ENTITY=$EXAMPLE_ENTITY_4_BALANCER - createRunScript $EXE_LINK -dictionary $DICTIONARY -entity $ENTITY -entityServerSessions $CONNS -diameterServer $SERVER -diameterServerSessions $CONNS -balance $KINDNESS $TRACING & + createRunScript $EXE_LINK --dictionary $DICTIONARY --entity $ENTITY --entityServerSessions $CONNS --diameterServer $SERVER --diameterServerSessions $CONNS --balance $KINDNESS $TRACING & ;; dummy) - createRunScript $EXE_LINK -dictionary $DICTIONARY -entityServerSessions 0 -diameterServerSessions 0 $KINDNESS $TRACING & + createRunScript $EXE_LINK --dictionary $DICTIONARY --entityServerSessions 0 --diameterServerSessions 0 $KINDNESS $TRACING & ;; esac