- def ipv6_ping_port(nodes_ip, src_node, dst_node, port, cnt=3,
- size=56, timeout=1):
- """Send IPv6 ping to the node port.
-
- :param nodes_ip: Nodes IPv6 addresses.
- :param src_node: Node where ping run.
- :param dst_node: Destination node.
- :param port: Port on the destination node.
- :param cnt: Number of echo requests. (Optional)
- :param size: Number of the data bytes. (Optional)
- :param timeout: Time to wait for a response, in seconds. (Optional)
- :type nodes_ip: dict
- :type src_node: dict
- :type dst_node: dict
- :type port: str
- :type cnt: int
- :type size: int
- :type timeout: int
- :return: Number of lost packets.
- :rtype: int
- """
- dst_ip = IPv6Util.get_node_port_ipv6_address(dst_node, port, nodes_ip)
- return IPv6Util.ipv6_ping(src_node, dst_ip, cnt, size, timeout)
+ def vpp_ra_send_after_interval(node, interface, interval=2):
+ """Setup vpp router advertisement(RA) in such way it sends RA packet
+ after every interval value.