Defining the Cleaner Class

The cleaners section in the Clean YAML file is where the cleaner module and class is defined.

For pyATS Clean, the cleaner module is genie.libs.clean and the cleaner class is PyatsDeviceClean. Add the highlighted text below into your Clean YAML.

1cleaners:
2    # This means to use the cleaner class `PyatsDeviceClean`
3    PyatsDeviceClean:
4        # The module is where the cleaner class above can be found
5        module: genie.libs.clean