def main():
    print(pydoc.plain(pydoc.render_doc(topology.capability)))
    # Create list of mounted devices that are in our settings.config
    mounted_devices = [ name for name in topology.mounted_nodes() if name in settings.config['network_device'] ]
    if not mounted_devices:
        print('There are no devices mounted on the Controller.')
    else:
        device_name = mounted_devices[0]
        for capability_name in topology.capability(device_name):
            print(device_name, capability_name)
def main():
    print(pydoc.plain(pydoc.render_doc(topology.capability)))
    # Create list of mounted devices that are in our settings.config
    mounted_devices = [
        name for name in topology.mounted_nodes()
        if name in settings.config['network_device']
    ]
    if not mounted_devices:
        print('There are no devices mounted on the Controller.')
    else:
        device_name = mounted_devices[0]
        for capability_name in topology.capability(device_name):
            print(device_name, capability_name)
def main():
    for device_name in topology.connected_nodes():
        for capability_name in topology.capability(device_name):
            print(device_name, capability_name)
def main():
    for device_name in topology.connected_nodes():
        for capability_name in topology.capability(device_name):
            print(device_name, capability_name)