[PATCH-next 0/5] Remaining phase 3 port
by csfakian@redhat.com
From: Christos Sfakianakis <csfakian(a)redhat.com>
Hi,
this patch includes ports for simple_macsec and short_lived_connections
of phase 3. Note that, due to current issue with iperf, ShortLivedConnectionsRecipe
cannot be tested yet. In terms of SimpleMacsecRecipe, ip commands were
chosen for the creation of the devices, as pyroute2 seems to have issue
handling IFLA_MACSEC_ENCRYPT.
Christos
Christos Sfakianakis (5):
lnst.RecipeCommon.Perf.Measurements.BaseFlowMeasurement: add Flow
msg_size setter
lnst.Controller.Host: allow device removal
lnst.Devices: add MacsecDevice
lnst.Recipes.ENRT: add ShortLivedConnectionsRecipe
lnst.Recipes.ENRT: add SimpleMacsecRecipe
lnst/Controller/Host.py | 6 +
lnst/Devices/MacsecDevice.py | 67 +++++
lnst/Devices/__init__.py | 4 +-
.../Perf/Measurements/BaseFlowMeasurement.py | 4 +
.../ENRT/ShortLivedConnectionsRecipe.py | 74 +++++
lnst/Recipes/ENRT/SimpleMacsecRecipe.py | 270 ++++++++++++++++++
6 files changed, 424 insertions(+), 1 deletion(-)
create mode 100644 lnst/Devices/MacsecDevice.py
create mode 100644 lnst/Recipes/ENRT/ShortLivedConnectionsRecipe.py
create mode 100644 lnst/Recipes/ENRT/SimpleMacsecRecipe.py
--
2.17.1
4 years, 10 months
[PATCH-next 0/5] Remaining phase 3 recipes
by csfakian@redhat.com
From: Christos Sfakianakis <csfakian(a)redhat.com>
Hi,
this patch includes ports for simple_macsec and short_lived_connections
of phase 3. Note that, due to current issue with iperf, ShortLivedConnectionsRecipe
cannot be tested yet. In terms of SimpleMacsecRecipe, ip commands were
chosen for the creation of the devices, as pyroute2 seems to have issue
handling IFLA_MACSEC_ENCRYPT.
Christos
Christos Sfakianakis (5):
lnst.RecipeCommon.Perf.Measurements.BaseFlowMeasurement: add Flow
msg_size setter
lnst.Controller.Host: allow device removal
lnst.Devices: add MacsecDevice
lnst.Recipes.ENRT: add ShortLivedConnectionsRecipe
lnst.Recipes.ENRT: add SimpleMacsecRecipe
lnst/Controller/Host.py | 6 +
lnst/Devices/MacsecDevice.py | 67 +++++
lnst/Devices/__init__.py | 4 +-
.../Perf/Measurements/BaseFlowMeasurement.py | 4 +
.../ENRT/ShortLivedConnectionsRecipe.py | 74 +++++
lnst/Recipes/ENRT/SimpleMacsecRecipe.py | 270 ++++++++++++++++++
6 files changed, 424 insertions(+), 1 deletion(-)
create mode 100644 lnst/Devices/MacsecDevice.py
create mode 100644 lnst/Recipes/ENRT/ShortLivedConnectionsRecipe.py
create mode 100644 lnst/Recipes/ENRT/SimpleMacsecRecipe.py
--
2.17.1
4 years, 10 months
中坚力量6堂课772
by 陈汭圻
=========请点击附件下载详细内容=========
Hello! Please click the download details!
下午 03:06:11
4 years, 10 months
zk车间主任011
by 韩小花
lnst-developers;你好!
《详-情-请-点-击-附-件-查-阅》
下午 07:56:44
4 years, 10 months
[PATCH-next] lnst.Tests.PacketAssert: use wildcards in ignore_exprs
by csfakian@redhat.com
From: Christos Sfakianakis <csfakian(a)redhat.com>
Replace 'EN10MB', 'Ethernet', and '262144' with wildcards
in ignore_exprs to lessen the hardcoded content.
Signed-off-by: Christos Sfakianakis <csfakian(a)redhat.com>
---
lnst/Tests/PacketAssert.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Tests/PacketAssert.py b/lnst/Tests/PacketAssert.py
index 20e3fb7..9452a4f 100644
--- a/lnst/Tests/PacketAssert.py
+++ b/lnst/Tests/PacketAssert.py
@@ -40,7 +40,7 @@ class PacketAssert(BaseTestModule):
def _is_real_err(self, err):
ignore_exprs = [r"tcpdump: verbose output suppressed, use -v or -vv for full protocol decode",
- r"listening on %s, link-type EN10MB \(Ethernet\), capture size 262144 bytes" %
+ r"listening on %s, link-type .* \(.*\), capture size [0-9]* bytes" %
self.params.interface.name, r"\d+ packets captured",
r"\d+ packets received by filter", r"\d+ packets dropped by kernel"]
--
2.17.1
4 years, 10 months
[PATCH-next] lnst.Recipes.ENRT: typos in DoubleBondRecipe, VirtualBridgeVlanInGuestMirroredRecipe
by csfakian@redhat.com
From: Christos Sfakianakis <csfakian(a)redhat.com>
Replace the first argument in self._pin_dev_interrupts() with correct
device.
Signed-off-by: Christos Sfakianakis <csfakian(a)redhat.com>
---
lnst/Recipes/ENRT/DoubleBondRecipe.py | 2 +-
lnst/Recipes/ENRT/VirtualBridgeVlanInGuestMirroredRecipe.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lnst/Recipes/ENRT/DoubleBondRecipe.py b/lnst/Recipes/ENRT/DoubleBondRecipe.py
index bc604d6..3b437af 100644
--- a/lnst/Recipes/ENRT/DoubleBondRecipe.py
+++ b/lnst/Recipes/ENRT/DoubleBondRecipe.py
@@ -67,7 +67,7 @@ class DoubleBondRecipe(BaseEnrtRecipe):
for host in [host1, host2]:
host.run("service irqbalance stop")
for dev in [host.eth0, host.eth1]:
- self._pin_dev_interrupts(host.eth0, self.params.dev_intr_cpu)
+ self._pin_dev_interrupts(dev, self.params.dev_intr_cpu)
if self.params.perf_parallel_streams > 1:
for host in [host1, host2]:
diff --git a/lnst/Recipes/ENRT/VirtualBridgeVlanInGuestMirroredRecipe.py b/lnst/Recipes/ENRT/VirtualBridgeVlanInGuestMirroredRecipe.py
index f33f28b..9a2ae93 100644
--- a/lnst/Recipes/ENRT/VirtualBridgeVlanInGuestMirroredRecipe.py
+++ b/lnst/Recipes/ENRT/VirtualBridgeVlanInGuestMirroredRecipe.py
@@ -102,7 +102,7 @@ class VirtualBridgeVlanInGuestMirroredRecipe(BaseEnrtRecipe):
if "dev_intr_cpu" in self.params:
for host in [host1, host2]:
host.run("service irqbalance stop")
- self._pin_dev_interrupts(m.eth0, self.params.dev_intr_cpu)
+ self._pin_dev_interrupts(host.eth0, self.params.dev_intr_cpu)
if self.params.perf_parallel_streams > 1:
for host in [host1, host2]:
--
2.17.1
4 years, 10 months