Commit Graph

14 Commits

Author SHA1 Message Date
Monty Taylor 44d81d873e
Stop setting version manually
One of the reasons that pbr exists is to have versions be driven by
signed git tags instead of by content in the source repository. This has
the benefit of being both easier and preventing people from forgetting
to push a git tag when they cut a release.

Additionally, this code is doesn't work for sdist jobs in Zuul upstream
because it requires the project to be importable to run setup.py, but
sdist/wheel generation does not otherwise need to install dependencies.

Remove the override of version in setup.py and replace the hard-coded
version string in oslogmerger.py with the appropriate pbr code.

Change-Id: Ifdbb649b02d7e2fde6e8682e138c81817543fb08
2018-07-05 17:01:26 -05:00
Miguel Angel Ajo 5193d0010e Setup tox.ini for unit and pep8 testing
This patch includes fixes to all the pep8 warnings.

Change-Id: I4f87e1428258824509d2d83879312a1f0dff0a8a
2018-02-28 23:19:52 +00:00
Miguel Angel Ajo afb9ec3b44 Add Gorka as author too 2016-04-26 11:06:19 -05:00
Miguel Angel Ajo 6086787765 Remove README.rst from datafiles to avoid warnings in pip
This will also fix an issue with pip install on OSX.
2016-04-26 10:59:43 -05:00
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
Gorka Eguileor 93d7d89017 Fix pep8 errors
This patch removes a couple of pep8 errors from oslogmerger.py.
2016-03-22 22:03:38 +01:00
Gorka Eguileor 97513f8c4e Fix #9: Remove dependency from oslo_config
This patch replaces the parsing done by oslo_config with arg_parse in
order to remove the dependency on the external library.
2016-03-10 22:56:20 +01:00
Miguel Angel Ajo Pelayo 6b4d5f4aa5 Introduced log-base and log-postfix options 2016-02-20 16:43:03 +01: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 183efe3b13 Support for URLS instead of local log files, simple caching. 2015-11-06 14:11:56 +01:00
Miguel Angel Ajo 94c07e3606 Version bumped 2015-10-29 16:22:02 +01:00
Miguel Angel Ajo d95458a5f4 Fixed rst file, bumped version, fixed homepage link 2015-10-27 14:48:05 +01:00
Miguel Angel Ajo 3ea3ead668 Initial commit 2015-10-27 14:01:45 +01:00