[PATCH-next] lnst.Recipes.ENRT.VirtualBridgeVlansOverBondRecipe: mistakes in names
by csfakian@redhat.com
From: Christos Sfakianakis <csfakian(a)redhat.com>
'eth2' or 'eth3' devices are not defined. Replace 'eth{2,3}' with 'tap{0,1}'
accordingly.
Signed-off-by: Christos Sfakianakis <csfakian(a)redhat.com>
---
.../Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py b/lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py
index 5917b88..162e3c1 100644
--- a/lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py
+++ b/lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py
@@ -50,8 +50,8 @@ class VirtualBridgeVlansOverBondRecipe(BaseEnrtRecipe):
for m, n in [(host1, 10),(host2, 10)]:
m.eth0.down()
m.eth1.down()
- m.eth2.down()
- m.eth3.down()
+ m.tap0.down()
+ m.tap1.down()
m.bond = BondDevice(mode=self.params.bonding_mode, miimon=self.params.miimon_value)
m.bond.slave_add(m.eth0)
m.bond.slave_add(m.eth1)
@@ -59,10 +59,10 @@ class VirtualBridgeVlansOverBondRecipe(BaseEnrtRecipe):
m.vlan2 = VlanDevice(realdev=m.bond, vlan_id=2*n)
m.br0 = BridgeDevice()
m.br0.slave_add(m.vlan1)
- m.br0.slave_add(m.eth2)
+ m.br0.slave_add(m.tap0)
m.br1 = BridgeDevice()
m.br1.slave_add(m.vlan2)
- m.br1.slave_add(m.eth3)
+ m.br1.slave_add(m.tap1)
for m in (guest1, guest2, guest3, guest4):
m.eth0.down()
@@ -100,8 +100,8 @@ class VirtualBridgeVlansOverBondRecipe(BaseEnrtRecipe):
for m, g1, g2 in [(host1, guest1, guest2), (host2, guest3, guest4)]:
m.eth0.up()
m.eth1.up()
- m.eth2.up()
- m.eth3.up()
+ m.tap0.up()
+ m.tap1.up()
m.bond.up()
m.vlan1.up()
m.vlan2.up()
--
2.17.1
4 years, 10 months
如需:进项、报销(发--票)找我电+微137^6448^8837张
by kopnqn
CiQbSzhldZ
5 years
开正规发票13883169292
by cnmc@cnmc.com.cn
你好
有正规住宿费,餐费,广告费,建筑材料,工程,技术服务费等各行业发票可以开
价格优惠,有需要请找:13883169292 郝立恒 (加微信同号)
5 years
有各种(发票)可优惠办理,需要电:13 52 760 0443张 ]-%[_
by whjs
PSOGmQqRgW
5 years
如需:进项、报销(发--票)找我电+微137^6448^8837张
by khiefo
LusCBEoQyY
5 years
[PATCH-next v3 00/21] CPU Utilization measurement and Perf refactoring
by olichtne@redhat.com
From: Ondrej Lichtner <olichtne(a)redhat.com>
Hi,
this should be the final version of the patchset, v3 changes include:
* improved sample parsing in lnst/Tests/CPUStatMonitor.py
* removed whitespace error in patch 20
* added patch 21 that changes the lnst.Controller.Job kill API method,
it will now check that the job is not finished before attempting an
rpc call
Thanks,
Ondrej
Previous message:
Hi all,
this is a second version of this patchset, v2 changes include:
* the Namespace.run method reuses other methods instead of duplicating
code
* CPUStatMonitor comment explains the interval parameter
* CPUStatMonitor bugfix for signal handling
* fixed typo in IperfFlowMeasurement unit for cpu utilization
* move and reimplementation of the TRex measurement class to fit into
the whole redesign of the lnst.RecipeCommon.Perf package
* updates to the OvSDPDKPVPRecipe:
* stability improvements
* refactoring to use the redesigned lnst.RecipeCommon.Perf package
Thanks,
-Ondrej
Previous message:
Hi all,
the core of this patchset is refactorization of the PerfTestAndEvaluate
recipe template into the lnst.RecipeCommon.Perf package implementing a
template for generic performance measurement tests, moving the
current MeasurementTools (Iperf and TRex) to fit this new model and
adding CPUUtilization measurements.
All of this is then incorporated into the BaseEnrtRecipe which is
currently the main user of the Perf recipe template.
There's also a couple of minor bug fixes and updates to the generic LNST
API based on the experience of using them wrt. the main changes of this
patchset.
!!!!!!!!
Some of these feel more like Proposals at this point though and I'm not
sure if they're good ideas. This is mostly related to the prepare_job
method of the Namespace class. It should definitely be considered and
thought about before fully accepting it.
!!!!!!!!
Additional note: this patchset breaks the ENRT/OvS_DPDK_PvP.py due to
the reorganization of the PerfRecipe. I wanted to send the patchset ASAP
so that it can get some reviews. I'll work on updating the OvS_DPDK_PvP
recipe while those reviews are coming in. And I won't merge this
patchset without the additional fixes for Ovs_DPDK_PvP...
Thanks,
-Ondrej
Ondrej Lichtner (21):
lnst.Common.Utils: change std_deviation calculation
lnst.Tests.Iperf: set target bitrate to 0
lnst.Common.Parameters: add ListParam
lnst.Tests.Iperf: fix parallel parameter
lnst.Tests.Iperf: add runtime_estimate method
lnst.Tests.Iperf: cleanup imports
lnst.Controller.Job: change wait default timeout
lnst.Controller.RecipeResults: add data_level attribute
lnst.Controller.RunSummaryFormatter: fix header format
lnst.Controller.Namespace: add prepare_job method for delayed start
lnst.Controller.Job: expose the what attribute
add lnst.Tests.CPUStatMonitor
lnst.RecipeCommon.{Perf, PerfResult}: refactoring
add lnst.RecipeCommon.Perf.Measurements package
lnst.Controller.RecipeResults: rename desc to description
lnst.Controller.RunSummaryFormatter: improve multiline result
descriptions
RecipeCommon.Perf.Measurements: move NetworkFlowTest
lnst.Tests.TestPMD: add pmd_coremask parameter
Recipes.ENRT.OvS_DPDK_PvP: stability improvements
refactoring of OvS_DPDK_PvP recipe and related classes
lnst.Controller.Job: kill method checks if job is finished
lnst/Common/Parameters.py | 18 ++
lnst/Common/Utils.py | 8 +-
lnst/Controller/Job.py | 26 ++-
lnst/Controller/Namespace.py | 32 +--
lnst/Controller/Recipe.py | 6 +-
lnst/Controller/RecipeResults.py | 41 +++-
lnst/Controller/RunSummaryFormatter.py | 10 +-
lnst/RecipeCommon/IperfMeasurementTool.py | 83 -------
lnst/RecipeCommon/Perf.py | 120 ----------
.../Perf/Measurements/BaseCPUMeasurement.py | 109 +++++++++
.../Perf/Measurements/BaseFlowMeasurement.py | 220 ++++++++++++++++++
.../Perf/Measurements/BaseMeasurement.py | 29 +++
.../Perf/Measurements/IperfFlowMeasurement.py | 134 +++++++++++
.../Perf/Measurements/MeasurementError.py | 4 +
.../Perf/Measurements/StatCPUMeasurement.py | 87 +++++++
.../Perf/Measurements/TRexFlowMeasurement.py | 149 ++++++++++++
.../Perf/Measurements/__init__.py | 4 +
lnst/RecipeCommon/Perf/Recipe.py | 73 ++++++
.../{PerfResult.py => Perf/Results.py} | 65 +++---
lnst/RecipeCommon/Perf/__init__.py | 0
lnst/RecipeCommon/TRexMeasurementTool.py | 87 -------
lnst/Recipes/ENRT/BaseEnrtRecipe.py | 45 ++--
lnst/Recipes/ENRT/OvS_DPDK_PvP.py | 58 +++--
lnst/Tests/CPUStatMonitor.py | 115 +++++++++
lnst/Tests/Iperf.py | 14 +-
lnst/Tests/TestPMD.py | 5 +-
26 files changed, 1124 insertions(+), 418 deletions(-)
delete mode 100644 lnst/RecipeCommon/IperfMeasurementTool.py
delete mode 100644 lnst/RecipeCommon/Perf.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/BaseCPUMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/BaseFlowMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/BaseMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/IperfFlowMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/MeasurementError.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/StatCPUMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/TRexFlowMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/__init__.py
create mode 100644 lnst/RecipeCommon/Perf/Recipe.py
rename lnst/RecipeCommon/{PerfResult.py => Perf/Results.py} (72%)
create mode 100644 lnst/RecipeCommon/Perf/__init__.py
delete mode 100644 lnst/RecipeCommon/TRexMeasurementTool.py
create mode 100644 lnst/Tests/CPUStatMonitor.py
--
2.19.1
5 years
[PATCH-next v2 00/20] CPU Utilization measurement and Perf refactoring
by olichtne@redhat.com
From: Ondrej Lichtner <olichtne(a)redhat.com>
Hi all,
this is a second version of this patchset, v2 changes include:
* the Namespace.run method reuses other methods instead of duplicating
code
* CPUStatMonitor comment explains the interval parameter
* CPUStatMonitor bugfix for signal handling
* fixed typo in IperfFlowMeasurement unit for cpu utilization
* move and reimplementation of the TRex measurement class to fit into
the whole redesign of the lnst.RecipeCommon.Perf package
* updates to the OvSDPDKPVPRecipe:
* stability improvements
* refactoring to use the redesigned lnst.RecipeCommon.Perf package
Thanks,
-Ondrej
Previous message:
Hi all,
the core of this patchset is refactorization of the PerfTestAndEvaluate
recipe template into the lnst.RecipeCommon.Perf package implementing a
template for generic performance measurement tests, moving the
current MeasurementTools (Iperf and TRex) to fit this new model and
adding CPUUtilization measurements.
All of this is then incorporated into the BaseEnrtRecipe which is
currently the main user of the Perf recipe template.
There's also a couple of minor bug fixes and updates to the generic LNST
API based on the experience of using them wrt. the main changes of this
patchset.
!!!!!!!!
Some of these feel more like Proposals at this point though and I'm not
sure if they're good ideas. This is mostly related to the prepare_job
method of the Namespace class. It should definitely be considered and
thought about before fully accepting it.
!!!!!!!!
Additional note: this patchset breaks the ENRT/OvS_DPDK_PvP.py due to
the reorganization of the PerfRecipe. I wanted to send the patchset ASAP
so that it can get some reviews. I'll work on updating the OvS_DPDK_PvP
recipe while those reviews are coming in. And I won't merge this
patchset without the additional fixes for Ovs_DPDK_PvP...
Thanks,
-Ondrej
Ondrej Lichtner (20):
lnst.Common.Utils: change std_deviation calculation
lnst.Tests.Iperf: set target bitrate to 0
lnst.Common.Parameters: add ListParam
lnst.Tests.Iperf: fix parallel parameter
lnst.Tests.Iperf: add runtime_estimate method
lnst.Tests.Iperf: cleanup imports
lnst.Controller.Job: change wait default timeout
lnst.Controller.RecipeResults: add data_level attribute
lnst.Controller.RunSummaryFormatter: fix header format
lnst.Controller.Namespace: add prepare_job method for delayed start
lnst.Controller.Job: expose the what attribute
add lnst.Tests.CPUStatMonitor
lnst.RecipeCommon.{Perf, PerfResult}: refactoring
add lnst.RecipeCommon.Perf.Measurements package
lnst.Controller.RecipeResults: rename desc to description
lnst.Controller.RunSummaryFormatter: improve multiline result
descriptions
RecipeCommon.Perf.Measurements: move NetworkFlowTest
lnst.Tests.TestPMD: add pmd_coremask parameter
Recipes.ENRT.OvS_DPDK_PvP: stability improvements
refactoring of OvS_DPDK_PvP recipe and related classes
lnst/Common/Parameters.py | 18 ++
lnst/Common/Utils.py | 8 +-
lnst/Controller/Job.py | 21 +-
lnst/Controller/Namespace.py | 32 +--
lnst/Controller/Recipe.py | 6 +-
lnst/Controller/RecipeResults.py | 41 +++-
lnst/Controller/RunSummaryFormatter.py | 10 +-
lnst/RecipeCommon/IperfMeasurementTool.py | 83 -------
lnst/RecipeCommon/Perf.py | 120 ----------
.../Perf/Measurements/BaseCPUMeasurement.py | 109 +++++++++
.../Perf/Measurements/BaseFlowMeasurement.py | 220 ++++++++++++++++++
.../Perf/Measurements/BaseMeasurement.py | 29 +++
.../Perf/Measurements/IperfFlowMeasurement.py | 136 +++++++++++
.../Perf/Measurements/MeasurementError.py | 4 +
.../Perf/Measurements/StatCPUMeasurement.py | 88 +++++++
.../Perf/Measurements/TRexFlowMeasurement.py | 151 ++++++++++++
.../Perf/Measurements/__init__.py | 4 +
lnst/RecipeCommon/Perf/Recipe.py | 73 ++++++
.../{PerfResult.py => Perf/Results.py} | 65 +++---
lnst/RecipeCommon/Perf/__init__.py | 0
lnst/RecipeCommon/TRexMeasurementTool.py | 87 -------
lnst/Recipes/ENRT/BaseEnrtRecipe.py | 45 ++--
lnst/Recipes/ENRT/OvS_DPDK_PvP.py | 56 +++--
lnst/Tests/CPUStatMonitor.py | 116 +++++++++
lnst/Tests/Iperf.py | 14 +-
lnst/Tests/TestPMD.py | 5 +-
26 files changed, 1124 insertions(+), 417 deletions(-)
delete mode 100644 lnst/RecipeCommon/IperfMeasurementTool.py
delete mode 100644 lnst/RecipeCommon/Perf.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/BaseCPUMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/BaseFlowMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/BaseMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/IperfFlowMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/MeasurementError.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/StatCPUMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/TRexFlowMeasurement.py
create mode 100644 lnst/RecipeCommon/Perf/Measurements/__init__.py
create mode 100644 lnst/RecipeCommon/Perf/Recipe.py
rename lnst/RecipeCommon/{PerfResult.py => Perf/Results.py} (72%)
create mode 100644 lnst/RecipeCommon/Perf/__init__.py
delete mode 100644 lnst/RecipeCommon/TRexMeasurementTool.py
create mode 100644 lnst/Tests/CPUStatMonitor.py
--
2.19.1
5 years
代开正规票13805601835
by szhly@szonline.net
代开本地正规发票
可查验后付钱
需要联系:13805601835 邹本雨 (加微信同号)
5 years
代开正规票13805601835
by szhly@szonline.net
代开本地正规发票
可查验后付钱
需要联系:13805601835 邹本雨 (加微信同号)
5 years, 1 month