From: Christos Sfakianakis <csfakian(a)redhat.com>
Allow packet size to be modified.
Signed-off-by: Christos Sfakianakis <csfakian(a)redhat.com>
---
lnst/RecipeCommon/Ping.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lnst/RecipeCommon/Ping.py b/lnst/RecipeCommon/Ping.py
index 31f1b38..f4286e9 100644
--- a/lnst/RecipeCommon/Ping.py
+++ b/lnst/RecipeCommon/Ping.py
@@ -42,6 +42,10 @@ class PingConf(object):
def size(self):
return self._size
+ @size.setter
+ def size(self, value):
+ self._size = value
+
class PingTestAndEvaluate(BaseRecipe):
def ping_test(self, ping_config):
results = {}
--
2.17.1