def get_fabric_ip_networks(cfmclient, fabric_uuid=None):
    """
    Get a list of IP networks from the Composable Fabric.
    :param cfmclient:
    :param fabric_uuid: UUID of fabric
    :return: list of IP address dict objects
    :rtype: list
    """
    path = 'v1/fabric_ip_networks'
    if fabric_uuid:
        path += '/{}'.format(fabric_uuid)
    return cfmclient.get(path).json().get('result')