Closed joewesch closed 1 year ago
Currently when running the default get_config we need to send in a file path to backup_file so it can save the config to a file:
get_config
backup_file
https://github.com/nautobot/nornir-nautobot/blob/5f1236ed5c1e2ac33fc980c65c4c9b360b7e25d1/nornir_nautobot/plugins/tasks/dispatcher/default.py#L79-L82
If we want to get the configuration but not save it we should be able to send in an empty string to disable this functionality.
Currently when running the default
get_config
we need to send in a file path tobackup_file
so it can save the config to a file:https://github.com/nautobot/nornir-nautobot/blob/5f1236ed5c1e2ac33fc980c65c4c9b360b7e25d1/nornir_nautobot/plugins/tasks/dispatcher/default.py#L79-L82
If we want to get the configuration but not save it we should be able to send in an empty string to disable this functionality.