def enable_support_autoupload(self, **kwargs):
        """Set Spanning Tree state.

        Args:
            enabled (bool): Is Autoupload enabled? (True, False).
            callback (function): A function executed upon completion of the
                method.  The only parameter passed to `callback` will be the
                ``ElementTree`` `config`.

        Returns:
            Return value of `callback`.
        Examples:
                >>> import pynos.device
                >>> switches = ['10.24.39.211', '10.24.39.203']
                >>> auth = ('admin', 'password')
                >>> for switch in switches:
                ...     conn = (switch, '22')
                ...     with pynos.device.Device(conn=conn, auth=auth) as dev:
                ...         enabled = True
                ...         output = dev.ras.enable_support_autoupload(
                ...         enabled=enabled)
                ...         enabled = False
                ...         output = dev.ras.enable_support_autoupload(
                ...         enabled=enabled)
        """
        enabled = kwargs.pop('enabled')
        callback = kwargs.pop('callback', self._callback)

        if not isinstance(enabled, bool):
            raise ValueError('%s must be `True` or `False`.' % repr(enabled))

        state_args = dict()
        autoupload_state = getattr(self._ras, 'support_autoupload_enable')
        config = autoupload_state(**state_args)
        if not enabled:
            shutdown = config.find('.//*enable')
            shutdown.set('operation', 'delete')
        return callback(config)
Set Spanning Tree state.

        Args:
            enabled (bool): Is Autoupload enabled? (True, False).
            callback (function): A function executed upon completion of the
                method.  The only parameter passed to `callback` will be the
                ``ElementTree`` `config`.

        Returns:
            Return value of `callback`.
        Examples:
                >>> import pynos.device
                >>> switches = ['10.24.39.211', '10.24.39.203']
                >>> auth = ('admin', 'password')
                >>> for switch in switches:
                ...     conn = (switch, '22')
                ...     with pynos.device.Device(conn=conn, auth=auth) as dev:
                ...         enabled = True
                ...         output = dev.ras.enable_support_autoupload(
                ...         enabled=enabled)
                ...         enabled = False
                ...         output = dev.ras.enable_support_autoupload(
                ...         enabled=enabled)