Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/vrf/test_vrf_attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from test_vrf import partial_ptf_runner # lgtm[py/unused-import]

from tests.ptf_runner import ptf_runner
from tests.common.fixtures.ptfhost_utils import copy_ptftests_directory

pytestmark = [
pytest.mark.topology('t0')
Expand All @@ -22,7 +23,7 @@ def setup_vrf_attr_src_mac(self, duthosts, rand_one_dut_hostname, ptfhost, dut_f
# -------- Setup ----------
extra_vars = { 'router_mac': self.new_vrf1_router_mac }
duthost.host.options['variable_manager'].extra_vars.update(extra_vars)
duthost.template(src="vrf_attr_src_mac.j2", dest="/tmp/vrf_attr_src_mac.json")
duthost.template(src="vrf/vrf_attr_src_mac.j2", dest="/tmp/vrf_attr_src_mac.json")

duthost.shell("config load -y /tmp/vrf_attr_src_mac.json")

Expand Down