from nornir import InitNornir
from nornir_utils.plugins.functions import print_result
from nornir_scrapli.tasks import send_configs_from_file


nr = InitNornir(config_file="config.yaml")

def enable_features(task):
    task.run(task=send_configs_from_file, file="basepusher.txt")


results = nr.run(task=enable_features)
print_result(results)

ae76a20a1105e7ffabde8e3fe4ce4d1a60ed4f52
<mask token>


def enable_features(task):
    task.run(task=send_configs_from_file, file='basepusher.txt')


<mask token>

<mask token>


def enable_features(task):
    task.run(task=send_configs_from_file, file='basepusher.txt')


<mask token>
print_result(results)

<mask token>
nr = InitNornir(config_file='config.yaml')


def enable_features(task):
    task.run(task=send_configs_from_file, file='basepusher.txt')


results = nr.run(task=enable_features)
print_result(results)

from nornir import InitNornir
from nornir_utils.plugins.functions import print_result
from nornir_scrapli.tasks import send_configs_from_file
nr = InitNornir(config_file='config.yaml')


def enable_features(task):
    task.run(task=send_configs_from_file, file='basepusher.txt')


results = nr.run(task=enable_features)
print_result(results)

from nornir import InitNornir
from nornir_utils.plugins.functions import print_result
from nornir_scrapli.tasks import send_configs_from_file


nr = InitNornir(config_file="config.yaml")

def enable_features(task):
    task.run(task=send_configs_from_file, file="basepusher.txt")


results = nr.run(task=enable_features)
print_result(results)
