import napalm


def main():
    driver = napalm.get_network_driver('ios')
    device_information = {'hostname': '10.18.10.51', 'username': 'cisco',
        'password': 'cisco'}
    with driver(**device_information) as device:
        print(device.ping('10.18.10.52'))


if __name__ == '__main__':
    main()

d50155c411d86139196b1d6e4fc7c306327ef416
<mask token>

<mask token>


def main():
    driver = napalm.get_network_driver('ios')
    device_information = {'hostname': '10.18.10.51', 'username': 'cisco',
        'password': 'cisco'}
    with driver(**device_information) as device:
        print(device.ping('10.18.10.52'))


<mask token>

<mask token>


def main():
    driver = napalm.get_network_driver('ios')
    device_information = {'hostname': '10.18.10.51', 'username': 'cisco',
        'password': 'cisco'}
    with driver(**device_information) as device:
        print(device.ping('10.18.10.52'))


if __name__ == '__main__':
    main()

import napalm


def main():
    driver = napalm.get_network_driver('ios')
    device_information = {'hostname': '10.18.10.51', 'username': 'cisco',
        'password': 'cisco'}
    with driver(**device_information) as device:
        print(device.ping('10.18.10.52'))


if __name__ == '__main__':
    main()
