Skip to main content

Create Route Map (v2.3)

POST 

/v2.3/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/routing_routemaps

Create a route map.

Request

Path Parameters

    tenant_id stringrequired

    The tenant ID.

    site_id stringrequired

    The ID of the site.

    element_id stringrequired

    The ID of the element.

Body

Details of the route map to be created

    auto_generated boolean

    The value true or false for auto-generated route map for an element.

    description

    The description of the route map. Max size = 1024.

    id string

    The ID of the route map.

    name stringrequired

    The name of the route map. Max size = 128.

    route_map_entries RoutingRouteMapEntryV2N3[]

    The details of the route map entries.

  • Array [
  • continue_entry string

    To continue to use the rule that the route matches.

    match RoutingRouteMapEntryMatchClause

    The details of route match.

    as_path_id string

    As Path Id

    community_list_id string

    Community List Id

    ip_next_hop_id string

    Ip Next Hop Id

    ip_prefix_list_id string

    Ip Prefix List Id

    metric int64

    Metric

    tag int32

    Tag

    order int32

    Enter an order number from 1 to 65535 to define the order in which this route map will be used.

    permit boolean

    It allow routes to be advertised or Deny to block the routes from being advertised.

    set RoutingRouteMapEntrySetClause

    The details of the route map set.

    additive_community boolean

    Additive Community

    as_path_prepend string

    As Path Prepend

    community string

    Community

    ip_next_hop string

    Ip Next Hop

    ip_v6_next_hop string

    Ip V6 Next Hop

    local_preference int64

    Local Preference

    metric int64

    Metric

    tag int32

    Tag

    type string

    Possible values: [type-1, type-2]

    Type

    weight int64

    Weight

  • ]
  • tags string[]

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

    used_for string

    Possible values: [bgp, ospf]

    Routing used for BGP or OSPF.

Responses

Successful Operation

Schema
    auto_generated boolean

    The value true or false for auto-generated route map for an element.

    description

    The description of the route map. Max size = 1024.

    id string

    The ID of the route map.

    name stringrequired

    The name of the route map. Max size = 128.

    route_map_entries RoutingRouteMapEntryV2N3[]

    The details of the route map entries.

  • Array [
  • continue_entry string

    To continue to use the rule that the route matches.

    match RoutingRouteMapEntryMatchClause

    The details of route match.

    as_path_id string

    As Path Id

    community_list_id string

    Community List Id

    ip_next_hop_id string

    Ip Next Hop Id

    ip_prefix_list_id string

    Ip Prefix List Id

    metric int64

    Metric

    tag int32

    Tag

    order int32

    Enter an order number from 1 to 65535 to define the order in which this route map will be used.

    permit boolean

    It allow routes to be advertised or Deny to block the routes from being advertised.

    set RoutingRouteMapEntrySetClause

    The details of the route map set.

    additive_community boolean

    Additive Community

    as_path_prepend string

    As Path Prepend

    community string

    Community

    ip_next_hop string

    Ip Next Hop

    ip_v6_next_hop string

    Ip V6 Next Hop

    local_preference int64

    Local Preference

    metric int64

    Metric

    tag int32

    Tag

    type string

    Possible values: [type-1, type-2]

    Type

    weight int64

    Weight

  • ]
  • tags string[]

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

    used_for string

    Possible values: [bgp, ospf]

    Routing used for BGP or OSPF.

Loading...