Home | History | Annotate | Download | only in cli

Lines Matching refs:labels

36             locked=False, lock_reason='', labels=[], acls=[],
50 @param labels: A list of labels as strings.
66 obj.labels = labels
83 # If there are labels avaliable for host, use them.
85 labels = set(self.labels)
86 if host_info.labels:
87 labels.update(host_info.labels)
93 labels.add(platform)
95 if len(labels):
96 self.execute_rpc('host_add_labels', id=host, labels=list(labels))
105 # Check to see if the platform or any other labels can be grabbed from
132 # We need to check if these labels & ACLs exist,
149 labels_to_check_and_create = self.labels[:]
151 labels_to_check_and_create = (host_info.labels +
170 def __init__(self, hostname, platform, labels):
173 self.labels = labels