sandialabs / sceptre-phenix-apps

Apps written to work with the latest version of phenix
https://github.com/sandialabs/sceptre-phenix
GNU General Public License v3.0
6 stars 14 forks source link

Scorch tcpdump unable to collect on multiple interfaces on the same VM #35

Closed nblair2 closed 2 months ago

nblair2 commented 2 months ago

Due to all tcpdump scorch components being written to the same place (/dump.pcap), only one interface from each VM can be collected on.

example:

      - name: tcpdump-eth0
        type: tcpdump
        metadata:
          convertToJSON: false
          vms:
          - hostname: host
            iface: eth0
      - name: tcpdump-eth1
        type: tcpdump
        metadata:
          convertToJSON: false
          vms:
          - hostname: host
            iface: eth1

Will not work becuase tcpdump-eth1 and tcpdump-eth0 both try to write to /dump.pcap.