def _ssid_inventory(self, inventory, ssid):
matching_hosts = {}<EOL>for host in inventory:<EOL><INDENT>if inventory[host]['<STR_LIT>'] == ssid:<EOL><INDENT>matching_hosts[host] = inventory[host]<EOL><DEDENT><DEDENT>return matching_hosts<EOL>
Filters an inventory to only return servers matching ssid