Lines Matching defs:str
21 def run_cmd(cmd: str, verbose=True) -> str:
27 def get_topology_id(test_id: str) -> str:
36 def convert_test_name(test_name: str) -> str:
52 def __init__(self, iface_alias: str, iface_name: str):
79 def set_vnet(self, vnet_name: str):
91 def setup_loopback(cls, vnet_name: str):
98 def create_iface(cls, alias_name: str, iface_name: str) -> List["VnetInterface"]:
107 def setup_addr(self, _addr: str):
121 def delete_addr(self, _addr: str):
157 def _register_iface(self, iface_name: str):
171 def create_iface(self, alias_name: str, iface_name: str) -> List[VnetInterface]:
179 def is_autodeleted(iface_name: str) -> bool:
185 def cleanup_vnet_interfaces(self, vnet_name: str) -> List[str]:
208 self, vnet_alias: str, vnet_name: str, jid: int, ifaces: List[VnetInterface]
256 def __init__(self, topology_id: str):
261 def _register_vnet(self, vnet_name: str):
267 def _wait_interfaces(vnet_name: str, ifaces: List[str]) -> List[str]:
281 def create_vnet(self, vnet_alias: str, ifaces: List[VnetInterface]):
341 def _get_vnet_handler(self, vnet_alias: str):
405 def setup_topology(self, topo: Dict, topology_id: str):
494 def cleanup(self, test_id: str):