quickstart¶
Install nornir_pyfgt:
pip install nornir_pyfgt
Import the Task you like:
from nornir_pyfgt.plugins.tasks import pyfgt_address
Use in a script:
from nornir_pyfgt.plugins.tasks import pyfgt_address from nornir_utils.plugins.functions import print_result from nornir import InitNornir nr = InitNornir(config_file="your/config") results = nr.run(task=pyfgt_address) print_result(results)