+
+ @staticmethod
+ def vpp_get_dhcp_proxy(node, ip_version):
+ """Retrieve DHCP relay configuration.
+
+ :param node: VPP node.
+ :param ip_version: IP protocol version: ipv4 or ipv6.
+ :type node: dict
+ :type ip_version: str
+ :returns: DHCP relay data.
+ :rtype: list
+ """
+
+ return VatExecutor.cmd_from_template(
+ node, "dhcp_proxy_dump.vat",
+ ipv6="ipv6" if ip_version == "ipv6" else "")