def iterbridges():
net_files = os.listdir(SYSFS_NET_PATH)<EOL>for d in net_files:<EOL><INDENT>path = os.path.join(SYSFS_NET_PATH, d)<EOL>if not os.path.isdir(path):<EOL><INDENT>continue<EOL><DEDENT>if os.path.exists(os.path.join(path, b"<STR_LIT>")):<EOL><INDENT>yield Bridge(d)<EOL><DEDENT><DEDENT>
Iterate over all the bridges in the system.