'Revert the candidate configuration to the currently running configuration.
Any uncommitted changes are discarded.'

@ensure_connected
def discard_changes(self, *args, **kwargs):

    return self.m.discard_changes(*args, **kwargs).data_xml
