To honor RFC5424 add use_syslog_rfc_format config option

Since the rootwrap code was graduated to a separate library,
This change completes one from oslo-incubator:
Backport 'ident' from python 3.3 for Oslo's SysLogHandler
(with commit 79e8a9a08daf563aa8a8d9280c9a6a27dcafc8f2)

To honor RFC5424 add use_syslog_rfc_format config option
(default False, would be deprecated in J after existing
syslog format deprecation) which adds APP-NAME to syslog message
before MSG part to reflect application or service name.
Usable only with use_syslog, otherwise ignored.

During J, the default logging format for syslog should be changed
to always provide APP-NAME, thus use_syslog_rfc_format could be
deprecated in J as well.

Closes-bug: #904307

Change-Id: Icff9db07d543738e092a8826e8a0d2e4b213fc38
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge "To honor RFC5424 add use_syslog_rfc_format config option"
Don't use system pip things in tox

We added features to tox to use venv python. Use them.

Change-Id: Id20633e7bfc473d7c01aecdd78fc687f65942699
Avoid matching ip -s netns exec in IpFilter

Simply avoid the occurence of "netns", "exec" anywhere
on the command line.

Change-Id: Ibce8ba87de7cf30abcf468df24ab7cf0adf061c5
Closes-Bug: #1081795
Merge "Don't use system pip things in tox"
Run py33 test env before others

Run the python 3 test environment before the others so
the python 3 version of anydbm used by testr picks a
file format known to the python 2 version of the library.

Change-Id: I4d94fa47fe0b4a0f815261f7048866cccab11299
Remove unused variable 'command'

Triggers F841 local variable 'command' is assigned to but never used
instead (with newer pyflakes)

Change-Id: I2ed56c53d4e4720d87fcce87b21180d4aa8dfc7b
Fix import grouping

(enforced by Hacking >= 0.9.0)

Change-Id: I2288d1305e9212bb69dfc76d46d3e16ef0629ff8