- mac_address = adj_int['mac_address']
- get_node(node).set_arp(interface_name, ip_address, mac_address)
\ No newline at end of file
+ mac_address = Topology.get_interface_mac(adj_node, adj_int)
+ get_node(node).set_arp(iface_key, ip_address, mac_address)
+
+ @staticmethod
+ def add_arp_on_dut(node, iface_key, ip_address, mac_address):
+ """Set ARP cache entree on DUT node.
+
+ :param node: VPP Node in the topology.
+ :param iface_key: Interface key.
+ :param ip_address: IP address of the interface.
+ :param mac_address: MAC address of the interface.
+ :type node: dict
+ :type iface_key: str
+ :type ip_address: str
+ :type mac_address: str
+ """
+ get_node(node).set_arp(iface_key, ip_address, mac_address)