summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/pim.py
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-06-08 02:42:32 -0400
committerChristian Hopps <chopps@labn.net>2023-06-08 04:55:32 -0400
commitefedb1897616c6de76aaaff7a51f443dbbe93e31 (patch)
treea32d9ad199c86c991882931aabec1167a0e52990 /tests/topotests/lib/pim.py
parent71231d304f257aed9a086fcf6c2146052574b2f4 (diff)
tests: fixing pim6 topotest bugs
- Remove use of bespoke socat - Use ipv6 support in mcast-tester.py - do not run processes in the background behind munet/micronet's back with `&` (ever) -- use popen or the helper class Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/lib/pim.py')
-rw-r--r--tests/topotests/lib/pim.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/topotests/lib/pim.py b/tests/topotests/lib/pim.py
index e26bdb3af3..f69718a5bd 100644
--- a/tests/topotests/lib/pim.py
+++ b/tests/topotests/lib/pim.py
@@ -1,35 +1,35 @@
+# -*- coding: utf-8 eval: (blacken-mode 1) -*-
# SPDX-License-Identifier: ISC
# Copyright (c) 2019 by VMware, Inc. ("VMware")
# Used Copyright (c) 2018 by Network Device Education Foundation, Inc.
# ("NetDEF") in this file.
import datetime
+import functools
import os
import re
import sys
import traceback
-import functools
from copy import deepcopy
from time import sleep
-from lib import topotest
-
# Import common_config to use commomnly used APIs
from lib.common_config import (
- create_common_configurations,
HostApplicationHelper,
InvalidCLIError,
create_common_configuration,
- InvalidCLIError,
+ create_common_configurations,
+ get_frr_ipv6_linklocal,
retry,
run_frr_cmd,
validate_ip_address,
- get_frr_ipv6_linklocal,
)
from lib.micronet import get_exec_path
from lib.topolog import logger
from lib.topotest import frr_unicode
+from lib import topotest
+
####
CWD = os.path.dirname(os.path.realpath(__file__))