aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2024-04-26 14:44:46 +0200
committerVratko Polak <vrpolak@cisco.com>2024-04-26 13:24:54 +0000
commit47864f1742e4e572038d1d4fbe1308038a4ba7da (patch)
treebaeed99f4ec792aead6284c54381e65f78e95910
parent573d59a0e3cafe60522e51dc9e5ba776c0a0a6e4 (diff)
fix(IPsecUtil): Delete keywords no longer used
When deleting ipsec nvf density suites, I removed the main L2 Robot keyword, but forgot to remove the associated L1 Python keywords. Change-Id: I0f72699dcab272aec5c531cdaacceed30356cd02 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-rw-r--r--resources/libraries/python/IPsecUtil.py43
1 files changed, 0 insertions, 43 deletions
diff --git a/resources/libraries/python/IPsecUtil.py b/resources/libraries/python/IPsecUtil.py
index 19995e547d..bb46b49b14 100644
--- a/resources/libraries/python/IPsecUtil.py
+++ b/resources/libraries/python/IPsecUtil.py
@@ -1848,49 +1848,6 @@ class IPsecUtil:
return None
@staticmethod
- def _create_ipsec_script_files(
- dut: str, instances: int
- ) -> List[TextIOWrapper]:
- """Create script files for configuring IPsec in containers
-
- :param dut: DUT node on which to create the script files
- :param instances: number of containers on DUT node
- :type dut: str
- :type instances: int
- :returns: Created opened file handles.
- :rtype: List[TextIOWrapper]
- """
- scripts = []
- for cnf in range(0, instances):
- script_filename = (
- f"/tmp/ipsec_create_tunnel_cnf_{dut}_{cnf + 1}.config"
- )
- scripts.append(open(script_filename, "w", encoding="utf-8"))
- return scripts
-
- @staticmethod
- def _close_and_copy_ipsec_script_files(
- dut: str, nodes: dict, instances: int, scripts: Sequence[TextIOWrapper]
- ) -> None:
- """Close created scripts and copy them to containers
-
- :param dut: DUT node on which to create the script files
- :param nodes: VPP nodes
- :param instances: number of containers on DUT node
- :param scripts: dictionary holding the script files
- :type dut: str
- :type nodes: dict
- :type instances: int
- :type scripts: dict
- """
- for cnf in range(0, instances):
- scripts[cnf].close()
- script_filename = (
- f"/tmp/ipsec_create_tunnel_cnf_{dut}_{cnf + 1}.config"
- )
- scp_node(nodes[dut], script_filename, script_filename)
-
- @staticmethod
def vpp_ipsec_add_multiple_tunnels(
nodes: dict,
interface1: Union[str, int],