blob: 6d832496f9d05db49701e31d0ca60a7e1ec937d5 [file] [log] [blame]
#!/usr/bin/env python
"""
Usage: ./print_host_labels.py IP.or.hostname.here
"""
import sys
import common
from autotest_lib.server.hosts import factory
host = factory.create_host(sys.argv[1])
labels = host.get_labels()
print '\n\n\nLabels:\n'
print labels