Lines Matching refs:label_name
678 def add_moblab_label(ipaddress, label_name):
682 @param label_name: The label name.
689 label = models.Label.add_object(name=label_name)
691 label = models.Label.smart_get(label_name)
701 return (True, 'Added label %s to DUT %s' % (label_name, ipaddress))
703 'Failed to add label %s to DUT %s' % (label_name, ipaddress))
707 def remove_moblab_label(ipaddress, label_name):
711 @param label_name: The label name.
716 label = models.Label.smart_get(label_name)
724 return (True, 'Removed label %s from DUT %s' % (label_name, ipaddress))