summaryrefslogtreecommitdiffstats
path: root/tools/veth.py
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2017-12-19 08:48:11 +0000
committerMartin Klozik <martinx.klozik@intel.com>2017-12-19 10:10:39 +0000
commit4e48e84741d3dd00417c239f6e98f4a0fbfa586a (patch)
treea3ee221da7fe7d289947541abb154a9ccd73e392 /tools/veth.py
parent27bd5cb5fa16cb51260672201cf56351505f0a8f (diff)
trafficgen: Postponed call of connect()
In order to support execution of SW traffic generator inside VM, we have to postpone the call of connect() method from traffic controller. Currently it is called during initialization phase, when VMs are not active and thus connect() would always fail. This patch moves the call of connect() inside configure() method, which is called later when VMs are up and running. This modification allows to configure VM to VM scenario, where 1st VM is running a loopback application and 2nd one executes one of supported SW traffic generators, i.e. T-Rex or MoonGen. Change-Id: Ifeb659aadaa2e1cd5975564965e1719c1e72a12e Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
Diffstat (limited to 'tools/veth.py')
0 files changed, 0 insertions, 0 deletions