def arp(interface='', ipaddr='', macaddr=''):

    proxy_output = __proxy__['napalm.call'](
        'get_arp_table',
        **{
        }
    )

    if not proxy_output.get('result'):
        return proxy_output

    arp_table = proxy_output.get('out')

    if interface:
        arp_table = _filter_list(arp_table, 'interface', interface)

    if ipaddr:
        arp_table = _filter_list(arp_table, 'ip', ipaddr)

    if macaddr:
        arp_table = _filter_list(arp_table, 'mac', macaddr)

    proxy_output.update({
        'out': arp_table
    })

    return proxy_output
Test test expected directory finder/creator, test 2.
dataset/ETHPy150Open saltstack/salt/salt/modules/napalm_network.py/arp--crossover with--dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_dbutil.py/TestUtilityFunctions.test_expected_directory_2