Lines Matching refs:platform
92 2. Conversion of label ids to label names, and retrieval of platform
106 platform = host.platform()
107 # Platform needs to be a method, not an attribute, for
109 self.platform_name = platform.name if platform else None
253 """Get the platform and labels on this host.
255 @return: A tuple containing a list of label names and the platform name.
257 platform = self.platform_name
258 labels = [label for label in self.labels if label != platform]
259 return platform, labels
262 def platform(self):
263 """Get the name of the platform of this host.
265 @return: A string representing the name of the platform.