File: node-lb-pfring-multiple-id.test

package info (click to toggle)
zeekctl 2.2.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,544 kB
  • sloc: python: 5,639; sh: 1,374; makefile: 71; awk: 24
file content (15 lines) | stat: -rw-r--r-- 493 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Test that a worker node using PF_RING load balancing on multiple interfaces
# has different cluster IDs automatically assigned (one for each group of
# processes sniffing the same interface).
#
# @TEST-EXEC: bash %INPUT
# @TEST-EXEC: TEST_DIFF_CANONIFIER="$SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-remove-localhost-values" btest-diff out

. zeekctl-test-setup

while read line; do installfile $line; done << EOF
etc/zeekctl.cfg__debug
etc/node.cfg__pfring_2_nics
EOF

zeekctl nodes > out