- def ipv6_ping_port(nodes_ip, src_node, dst_node, port, cnt=3,
- size=56, timeout=1):
- """Send IPv6 ping to the node port.
-
- Args:
- nodes_ip (Dict): Nodes IPv6 adresses.
- src_node (Dict): Node where ping run.
- dst_node (Dict): Destination node.
- port (str): Port on the destination node.
- cnt (Optional[int]): Number of echo requests.
- size (Optional[int]): Number of the data bytes.
- timeout (Optional[int]): Time to wait for a response, in seconds.
-
- Returns:
- Number of lost packets.
+ 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.
+
+ :param node: VPP node.
+ :param interface: Interface name.
+ :param interval: Interval in seconds for RA resend.
+ :type node: dict
+ :type interface: str
+ :type interval: int