neutron/neutron/tests/unit/agent
Bernard Cafarelli 5ce0595803
Set process name for agents
Now that we use setproctitle for neutron-server workers (and
neutron-keepalived-state-change), this has the side effect of changing
the process name for agents, impacting some monitoring systems. More
details in launchpad bug.

This patch fixes it by setting the name with setproctitle to:
agent name (original process name).

Also use the newly introduced name constants to replace existing
hardcoded uses.

Change-Id: I74c3a4d3e9f833752571a75f196560cd45529385
Closes-Bug: #1881297
2020-07-01 12:28:29 +02:00
..
common [OVS] Make QoS OVS agent deletion operations more resilient 2020-06-22 09:47:51 +00:00
dhcp Use the correct value for the DHCP client port number 2020-07-01 12:28:25 +02:00
l2 Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
l3 Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
linux Fix metadata address usage 2020-06-30 09:19:10 -04:00
metadata Set process name for agents 2020-07-01 12:28:29 +02:00
ovn Fix metadata address usage 2020-06-30 09:19:10 -04:00
ovsdb Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
windows Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_resource_cache.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_rpc.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_securitygroups_rpc.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00