From 7e9b2565c07e21d1a2cf6284f7d026098236e966 Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Wed, 29 Sep 2021 11:48:12 +0530 Subject: [PATCH] added quiesce_after --- py-json/http_profile.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/py-json/http_profile.py b/py-json/http_profile.py index 9acd05d5..09982d24 100644 --- a/py-json/http_profile.py +++ b/py-json/http_profile.py @@ -27,6 +27,7 @@ class HTTPProfile(LFCliBase): self.dest = "/dev/null" self.port_util = PortUtils(self.local_realm) self.max_speed = 0 #infinity + self.quiesce_after = 0 # infinity def check_errors(self, debug=False): fields_list = ["!conn", "acc.+denied", "bad-proto", "bad-url", "other-err", "total-err", "rslv-p", "rslv-h", @@ -164,7 +165,8 @@ class HTTPProfile(LFCliBase): "timeout": 10, "url_rate": self.requests_per_ten, "url": url, - "proxy_auth_type": 0x200 + "proxy_auth_type": 0x200, + "quiesce_after": self.quiesce_after } else: endp_data = { @@ -179,7 +181,8 @@ class HTTPProfile(LFCliBase): "ssl_cert_fname": "ca-bundle.crt", "proxy_port": 0, "max_speed": self.max_speed, - "proxy_auth_type": 0x200 + "proxy_auth_type": 0x200, + "quiesce_after": self.quiesce_after } url = "cli-json/add_l4_endp" self.local_realm.json_post(url, endp_data, debug_=debug_,