summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/utils/ovs_logger.py
AgeCommit message (Collapse)AuthorFilesLines
2017-10-26Execute ovs-logger cmds with sudoDimitrios Markou1-2/+2
In some installers we execute commands as ordinary users and that causes problems when we need superuser priviledges. Change-Id: I84786e63995990e9d68803ed50879b086b0bd4af Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-09-26Make the ovs_logger installer independentDimitrios Markou1-6/+13
The ovs_logger library was too tightly connected to the Fuel installer. This patch make the aforementioned library installer independent Change-Id: I39115067393b8d4baf66c23baf2d9c130e4668bd Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-02-20Fix dump_ovs_flows crashing when no nodes are passedJuan Vidal1-11/+5
Although it makes no sense that the lists of controller/compute nodes are empty, the function should not crash. This check ensures that the directory where the logs are written to is always created before dumping anything. Change-Id: I3a1fd8ac8ab983decb0bc227a2a22286ff5e34ce Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-15Fix ovs_logger to use correct opnfv_logger moduleGeorge Paraskevopoulos1-1/+1
Change-Id: I7c72a75324897231a583f38d424dedea42b20f3d Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-14Fix flake8 violations in relengjose.lausuch1-4/+5
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-12Add ovs_logger moduleGeorge Paraskevopoulos1-0/+118
JIRA: SFC-61 In SFC we have created a module to gather "ovs-vsctl show" and "ovs-ofctl dump-flows" information automatically. Releng is a more appropriate place for it, as it can be utilized by other projects to create artifacts with ovs logs when a testcase fails Change-Id: If6cf6a937532f7776f9b300ffdb2ab6c4fde82c8 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>