Skip to main content

Query DB for Prefix Lists (v2.1)

POST 

/v2.1/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/routing_prefixlists/query

Queries the DB for limit number of prefix lists that match the query parameters.

Request

Path Parameters

    tenant_id stringrequired

    ID of the tenant.

    site_id stringrequired

    The ID of the site.

    element_id stringrequired

    The ID of the element.

Body

Query details for access lists

    aggregate Aggregate

    The aggregate number of access/prefix lists that match the query parameters.

    data AggregateData[]

    The details of the aggregate data.

  • Array [
  • value number

    Value of the aggregate data.

    view object

    View the aggregate date.

  • ]
  • field string

    Field

    name string

    The name of the query response.

    operator string

    Possible values: [max, count, min, avg, sum]

    Operator

    statistic string

    QoS application aggregate statistics.

    unit string

    The unit.

    dest_page int32

    The destination page.

    getDeleted boolean

    The number of access/prefix lists deleted for a time frame.

    group_by string[]

    Group the access/prefix lists for the query.

    id string

    Lists the access/prefix lists by ID.

    last_query_ts int64

    Return the ID of a specified query in the current session.

    limit int32

    The query limit.

    next_query object

    The limit.

    query_params object
    retrieved_fields string[]

    Retrieve information from a field.

    retrieved_fields_mask boolean

    List the fields to query.

    sort_params object
    total_count int64

    The total number of query parameters.

Responses

Successful Operation

Schema
    count int32

    The actual count.

    deleted_count int64

    The deleted number.

    deleted_ids string[]

    The deleted IDs.

    description

    Description of the query. Max size = 256.

    id string

    The ID.

    next_query object

    Details of the next query.

    tenant_id string

    The tenant ID.

    total_count int64

    Total number.

    items RoutingPrefixListQueryFilterV2N1[]
  • Array [
  • auto_generated boolean

    The value true or false for auto-generated prefix list for an element.

    description

    The description of the prefix filter list. Max size = 1024.

    id string

    The ID of the prefix list.

    name stringrequired

    The name of the prefix filter list. Max size = 128.

    prefix_filter_list RoutingPrefixFilterV2N1[]

    The details of the prefix filter list used to filter routes.

  • Array [
  • ge int32

    The prefix filter value for ge operator should be within the range 1-32.

    ipv6_prefix string

    The IPv4 prefixes.

    le int32

    The prefix filter value for le operator should be within the range 1-32.

    order int32

    The order of the prefix filter.

    permit boolean

    The permit of the IP community string = Permit or Deny.

    prefix string

    The valid prefix filters.

  • ]
  • tags string[]

    A information field that can be added to identify the prefix filter list. Maximum 10 unique tags of length 1024 each are allowed.

  • ]
Loading...