diff options
author | Florin Coras <fcoras@cisco.com> | 2022-01-26 00:15:03 -0800 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2022-01-26 09:08:52 -0800 |
commit | a1175b726d428ab6e67e2fe35514099bffa43bc2 (patch) | |
tree | 3e6d50464255aab5476562f70c39222dc906ebcf /test/template_ipsec.py | |
parent | 6a4a11f4793781e47baa00c900f78386471a15c1 (diff) |
hsa: cleanup and rename http test server
- cleanup data structures, functions and cli
- remove option to return static html. For similar results, use
http static server
- rename to http_cli.c as it better describes what the app does
Type: refactor
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I502e7566fba4376c68fbe41de9e45079a159e864
Diffstat (limited to 'test/template_ipsec.py')
-rw-r--r-- | test/template_ipsec.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/template_ipsec.py b/test/template_ipsec.py index 9927cc7bcc3..bbfe776f5c2 100644 --- a/test/template_ipsec.py +++ b/test/template_ipsec.py @@ -282,7 +282,8 @@ class TemplateIpsec(VppTestCase): class IpsecTcp(object): def verify_tcp_checksum(self): - self.vapi.cli("test http server") + # start http cli server listener on http://0.0.0.0:80 + self.vapi.cli("http cli server") p = self.params[socket.AF_INET] send = (Ether(src=self.tun_if.remote_mac, dst=self.tun_if.local_mac) / p.scapy_tun_sa.encrypt(IP(src=p.remote_tun_if_host, |