@mlnx.command('sniffer')
def sniffer_status():
    ' Show sniffer status '
    components = ['sdk']
    env_variable_strings = [ENV_VARIABLE_SX_SNIFFER]
    for index in range(len(components)):
        enabled = sniffer_status_get(env_variable_strings[index])
        if (enabled is True):
            click.echo((components[index] + ' sniffer is enabled'))
        else:
            click.echo((components[index] + ' sniffer is disabled'))
Show sniffer status
@mlnx.command('sniffer')
def sniffer_status():
    '  '
    components = ['sdk']
    env_variable_strings = [ENV_VARIABLE_SX_SNIFFER]
    for index in range(len(components)):
        enabled = sniffer_status_get(env_variable_strings[index])
        if (enabled is True):
            click.echo((components[index] + ' sniffer is enabled'))
        else:
            click.echo((components[index] + ' sniffer is disabled'))