Commit Graph

4 Commits

Author SHA1 Message Date
Miguel Angel Ajo 7eb4f383db Added a new probe: netprobe
This is an standalone .py file that can be uploaded to remote
servers and used to log network packets over network interfaces.

It will discover new interfaces automatically, in the root or
inside network namespaces.

Interfaces and namespaces are filtered via regular expressions.

usage: netprobe [-h] [-v] [--netns-re NETNS_REGEX]
                [--netdev-re NETDEV_REGEX]
                [--tcpdump-filter TCPDUMP_FILTER]
                [--check-interval CHECK_INTERVAL]

This tool will track system network devices as they appear in a host,
and start tcpdump processes for each of them, while the output of all
the tcpdumps goes in a single openstack-like log.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  --netns-re NETNS_REGEX, -n NETNS_REGEX
  --netdev-re NETDEV_REGEX, -d NETDEV_REGEX
  --tcpdump-filter TCPDUMP_FILTER, -t TCPDUMP_FILTER
  --check-interval CHECK_INTERVAL, -i CHECK_INTERVAL
                        The interval between interface checks
2016-04-23 18:53:37 +02:00
Miguel Angel Ajo 8771e03c13 Add missing example scripts from RDO day presentation 2016-02-09 09:44:59 +01:00
Miguel Angel Ajo 30aa4dea1e Update from the RDO day presentation details. 2016-01-31 21:44:25 +01:00
Miguel Angel Ajo 2a27eaba64 Include contrib script to debug live migrations.
The example ansible script will command two hosts, while
starting several extra logging artifacts to capture tcpdumps,
pings, fdb tables and openflow rules.

Then, at the end, will download logs from servers and generate
several merged logs which can be found in
contrib/debug-live-migration/logs/mergedlogs*.log

Logs and output are left as an example.
2015-10-29 16:22:50 +01:00