summaryrefslogtreecommitdiffstats
path: root/docs/smsummary.rst
blob: 13e0e4563d8f626de5719f9cd25ccb112c5f6754 (plain)
1
2
3
4
5
6
7
8
9
10
.. This work is licensed under a Creative Commons Attribution 4.0
.. International License. http://creativecommons.org/licenses/by/4.0
.. Copyright 2017 AT&T Intellectual Property.  All rights reserved.

Contributing Submodule Summary
==============================

.. code-block:: console
   
.. literalinclude:: _static/smsummary.out
ation is complete. # # The validation portion of the script has done a successful lookup, so the point of # these requests is to generate DNS packets. We do not care about the results. The timeout # of 1 second is to ensure we do not flood the process table with long waits # on failed lookups. # # We generate an approximate rate because we sleep for a full second so the RATE_PER_SEC # should have some slop in it. We only need to drive this to 20+ per second, so a 35 # per second should fall within the range to trigger the polciy check and prvide enough # to validate even distribution without spawning a 3rd DNS # DNSIP=$1 RATE_PER_SEC=$2 ITERATIONS=$3 ITERATIONS=${ITERATIONS:-300} for iter in `seq 1 $ITERATIONS`; do for i in `seq 1 $RATE_PER_SEC`; do nslookup -timeout=1 host2.dnsdemo.onap.org $DNSIP >/dev/null 2>&1 & done sleep 1 done