Lines Matching refs:devices_type
196 def get_device_details(devices_type): argument
209 if device_type_match(dev, devices_type):
230 if devices_type == network_devices:
245 if not device_type_match(devices[d], devices_type):
253 if devices_type == network_devices:
277 def device_type_match(dev, devices_type): argument
278 for i in range(len(devices_type)):
280 [x for x in devices_type[i].values() if x is not None])
282 if dev["Class"][0:2] == devices_type[i]["Class"]:
284 for key in devices_type[i].keys():
285 if key != 'Class' and devices_type[i][key]:
286 value_list = devices_type[i][key].split(',')
542 def show_device_status(devices_type, device_name, if_field=False): argument
550 if device_type_match(devices[d], devices_type):