Skip to main content

update routingPolicyRule

PUT 

/projects/:projectId/zones/:zoneName/routingpolicies/:routingPolicyId/rules/:ruleName

update routingPolicyRule

Request

Path Parameters

    projectId stringrequired

    Project Identifier

    zoneName stringrequired

    Zone name

    routingPolicyId stringrequired
    ruleName stringrequired

    Name of the Routing Policy Rule

Body

required

    name stringrequired

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

    description string

    Description of the routing policy rule.

    matchCommunityTags string[]

    Possible values: <= 10

    List of Community Tags to match.

    matchAllCommunityTags boolean

    Match only if all Community Tags are present.

    matchExtCommunityVpns

    object[]

    Possible values: <= 99

    List of VPN whose extended communities must be matched.

  • Array [

  • vpnName stringrequired

    VPN name. This attribute can not be updated.

    vnRole VPNRoleEnum (string)required

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

    VN role in the VPN.

  • ]

  • matchAllExtCommunityVpns boolean

    Match only if all extended communities are present.

    matchProtocols RoutingPolicyProtocolsEnum (string)[]

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

    List of protocols to match.

    matchExactSubnetIps string[]

    Possible values: <= 10

    List of subnets to match (exact match only)

    matchOrlongerSubnetIps string[]

    Possible values: <= 10

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

    matchLongerSubnetIps string[]

    Possible values: <= 10

    Subnet to match list (longer subnets only)

    setCommunityTags string[]

    Possible values: <= 10

    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.

    addCommunityTags string[]

    Possible values: <= 10

    List of Community Tags to add on the routes. NB: some Community Tags are protected and could be rejected.

    removeCommunityTags string[]

    Possible values: <= 10

    List of Community Tags to remove from the routes (does not apply to the Community Tags added by the same rule).

    setExtCommunityVpns

    object[]

    Possible values: <= 99

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

  • Array [

  • vpnName stringrequired

    VPN name. This attribute can not be updated.

    vnRole VPNRoleEnum (string)required

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

    VN role in the VPN.

  • ]

  • addExtCommunityVpns

    object[]

    Possible values: <= 99

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

  • Array [

  • vpnName stringrequired

    VPN name. This attribute can not be updated.

    vnRole VPNRoleEnum (string)required

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

    VN role in the VPN.

  • ]

  • removeExtCommunityVpns

    object[]

    Possible values: <= 99

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

  • Array [

  • vpnName stringrequired

    VPN name. This attribute can not be updated.

    vnRole VPNRoleEnum (string)required

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

    VN role in the VPN.

  • ]

  • expandAutonomousSystems string[]

    Possible values: <= 99

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

    setLocalPreference int32

    Possible values: <= 100000

    Local preference to set.

    setMed int32

    Possible values: <= 100000

    MED to set

    action ActionEnum (string)

    Possible values: [reject, next, accept]

    Action on the flow

Responses

Ok

Schema

    hRef stringrequired

    hRef to the Routing Policy rule details.

    name stringrequired

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

    description string

    Description of the routing policy rule.

    matchCommunityTags string[]

    Possible values: <= 10

    List of Community Tags to match.

    matchAllCommunityTags boolean

    Match only if all Community Tags are present.

    matchExtCommunityVpns

    object[]

    Possible values: <= 99

    List of VPN whose extended communities must be matched.

  • Array [

  • vpnName stringrequired

    VPN name. This attribute can not be updated.

    vnRole VPNRoleEnum (string)required

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

    VN role in the VPN.

  • ]

  • matchAllExtCommunityVpns boolean

    Match only if all extended communities are present.

    matchProtocols RoutingPolicyProtocolsEnum (string)[]

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

    List of protocols to match.

    matchExactSubnetIps string[]

    Possible values: <= 10

    List of subnets to match (exact match only)

    matchOrlongerSubnetIps string[]

    Possible values: <= 10

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

    matchLongerSubnetIps string[]

    Possible values: <= 10

    Subnet to match list (longer subnets only)

    setCommunityTags string[]

    Possible values: <= 10

    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.

    addCommunityTags string[]

    Possible values: <= 10

    List of Community Tags to add on the routes. NB: some Community Tags are protected and could be rejected.

    removeCommunityTags string[]

    Possible values: <= 10

    List of Community Tags to remove from the routes (does not apply to the Community Tags added by the same rule).

    setExtCommunityVpns

    object[]

    Possible values: <= 99

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

  • Array [

  • vpnName stringrequired

    VPN name. This attribute can not be updated.

    vnRole VPNRoleEnum (string)required

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

    VN role in the VPN.

  • ]

  • addExtCommunityVpns

    object[]

    Possible values: <= 99

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

  • Array [

  • vpnName stringrequired

    VPN name. This attribute can not be updated.

    vnRole VPNRoleEnum (string)required

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

    VN role in the VPN.

  • ]

  • removeExtCommunityVpns

    object[]

    Possible values: <= 99

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

  • Array [

  • vpnName stringrequired

    VPN name. This attribute can not be updated.

    vnRole VPNRoleEnum (string)required

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

    VN role in the VPN.

  • ]

  • expandAutonomousSystems string[]

    Possible values: <= 99

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

    setLocalPreference int32

    Possible values: <= 100000

    Local preference to set.

    setMed int32

    Possible values: <= 100000

    MED to set

    action ActionEnum (string)

    Possible values: [reject, next, accept]

    Action on the flow

Loading...