From d8747a7b810421d4a1c5aa88e85012558890e577 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 26 Mar 2018 12:11:32 +0200 Subject: storyboard: Add capturing of traffic This adds the functionality to capture traffic on certain interfaces so that it can be inspected with tools like wireshark. A user needs to pass a start and end time and a node and DIF. Rumba will then determine the correct interface to capture on. Implements #41 --- rumba/model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rumba/model.py') diff --git a/rumba/model.py b/rumba/model.py index e12bddd..0ec301a 100644 --- a/rumba/model.py +++ b/rumba/model.py @@ -243,6 +243,7 @@ class Node(object): self.ssh_config = SSHConfig(name) self.ipcps = [] self.policies = dict() + self.has_tcpdump = False if policies is None: policies = dict() for dif in self.difs: @@ -898,4 +899,4 @@ class Executor: def fetch_files(self, node, paths, destination, sudo=False): for path in paths: - self.fetch_file(node, path, destination, sudo) \ No newline at end of file + self.fetch_file(node, path, destination, sudo) -- cgit v1.2.3