Aller au contenu principal

Cette page est disponible uniquement en anglais (This page is only available in English).

get routingPolicy

GET 

/v1/projects/:projectId/zones/:zoneName/routingpolicies/:routingPolicyId

get routingPolicy

Request

Path Parameters

    projectId stringrequired

    Project Identifier

    zoneName stringrequired

    Zone name

    routingPolicyId stringrequired

Header Parameters

    Authorization string

    Bearer access token authentication if you use this API through Orange Developer or Orange Developer Inside.

    X-API-KEY string

    Your SIU token if you use this API through Orange Developer.

    X-Requester-Id string

    Your SIU Id if you use this API through Orange Developer Inside.

Responses

Ok

Schema
    namestringrequired

    Unique resource name. This attribute can not be updated.

    Possible values: Value must match regular expression [A-Za-z0-9-]

    descriptionstring

    Resource description

    tags object

    Tags associated with the resource

    property name*string
    iduuidrequired

    Resource identifier.

    hRefurirequired

    Hypertext reference of the resource.

    createdDatedate-timerequired

    Creation date of the resource.

    lastModifiedDatedate-timerequired

    Date of the last modification of the resource.

    lastRequesterIdstringrequired

    Identifier of the user of the last create/update/delete operation requested on the resource.

    provisioningStateBasicStateEnum (string)required

    Provisioning state of the resource. Possible state:

    • creating: resource creation in progress
    • updating: resource update in progress
    • deleting: resource deletion in progress
    • active: resource created/updated successfully
    • error: resource in error because the last creation/update/deletion failed

    Possible values: [creating, updating, deleting, active, error]

    rules object[]required

    List of rules of the routing policy.

  • Array [
  • hRefstringrequired

    hRef to the Routing Policy rule details.

    namestringrequired

    Name of the routing policy rule. Must be unique within routing policy.

    descriptionstring

    Description of the routing policy rule.

    matchCommunityTagsstring[]

    List of Community Tags to match. Possible values: community tag or 'encapsulation:udp'

    Possible values: <= 10

    matchAllCommunityTagsboolean

    Match only if all Community Tags are present.

    matchExtCommunityVpns object[]

    List of VPN whose extended communities must be matched.

    Possible values: <= 99

  • Array [
  • vpnNamestringrequired

    VPN name. This attribute can not be updated.

    vnRoleVPNRoleEnum (string)required

    VN role in the VPN.

    Possible values: [any-to-any, client, server]

  • ]
  • matchAllExtCommunityVpnsboolean

    Match only if all extended communities are present.

    matchProtocolsRoutingPolicyProtocolsEnum (string)[]

    List of protocols to match.

    Possible values: [bgpaas, bgp-bb, direct, static-interface-route, static-network-route], <= 9

    matchExactSubnetIpsstring[]

    List of subnets to match (exact match only)

    Possible values: <= 10

    matchOrlongerSubnetIpsstring[]

    List of subnets to match (exact match or longer subnets)

    Possible values: <= 10

    matchLongerSubnetIpsstring[]

    Subnet to match list (longer subnets only)

    Possible values: <= 10

    setCommunityTagsstring[]

    List of Community Tags to set on the routes (this will replace the original list of Community Tags on the routes). NB: some Community Tags are protected and could be rejected. Possible values: community tag or ‘no-export’, ‘no-advertise’

    Possible values: <= 10

    addCommunityTagsstring[]

    List of Community Tags to add on the routes. NB: some Community Tags are protected and could be rejected. Possible values: community tag or ‘no-export’, ‘no-advertise’

    Possible values: <= 10

    removeCommunityTagsstring[]

    List of Community Tags to remove from the routes (does not apply to the Community Tags added by the same rule). Possible values: community tag or ‘no-export’, ‘no-advertise’

    Possible values: <= 10

    setExtCommunityVpns object[]

    List of VPN whose extended communities must be set on the routes.

    Possible values: <= 99

  • Array [
  • vpnNamestringrequired

    VPN name. This attribute can not be updated.

    vnRoleVPNRoleEnum (string)required

    VN role in the VPN.

    Possible values: [any-to-any, client, server]

  • ]
  • addExtCommunityVpns object[]

    List of VPN whose extended communities must be added to the routes.

    Possible values: <= 99

  • Array [
  • vpnNamestringrequired

    VPN name. This attribute can not be updated.

    vnRoleVPNRoleEnum (string)required

    VN role in the VPN.

    Possible values: [any-to-any, client, server]

  • ]
  • removeExtCommunityVpns object[]

    List of VPN whose extended communities must be removed from the routes list.

    Possible values: <= 99

  • Array [
  • vpnNamestringrequired

    VPN name. This attribute can not be updated.

    vnRoleVPNRoleEnum (string)required

    VN role in the VPN.

    Possible values: [any-to-any, client, server]

  • ]
  • expandAutonomousSystemsstring[]

    List of Autonomous Systems (2 or 4 bytes) to add at the beginning of the Autonomous System path list (AS append).

    Possible values: <= 99

    setLocalPreferenceint32

    Local preference to set.

    Possible values: <= 100000

    setMedint32

    MED to set

    Possible values: <= 100000

    actionActionEnum (string)

    Action on the flow

    Possible values: [reject, next, accept]

  • ]

Request Collapse all
Base URL
/v1
Parameters
— pathrequired
— pathrequired
— pathrequired
— header
— header
— header