Dry run option into the task

Hi Guys,

Is someone can explain me the dry run functionnality available in the core functions please ?

I haven’t really understood how does it work and it’s implementation. is it Napalm functionality oriented ?

Thanks,

regards,
Sam

Yes, and it’s passed to the napalm_configure task.

    task.run(
        task=napalm_configure,
        configuration=task.host["config"],
        dry_run=True #can be True, False 
    )
1 Like

Thanks, @jchristopher327 I would have appreciate that such function could be available for the other plugins saving me some time in my code :slight_smile:

Anyway I’ll do it by my own.

Regards ,

Sam