Skip to content

route_installation_test

Github Action edited this page Mar 7, 2023 · 6 revisions

RT-1.2: BGP Policy & Route Installation

Summary

Base BGP policy configuration and route installation.

Procedure

  • Establish BGP sessions between:
    • ATE port-1 and DUT port-1
  • For IPv4 and IPv6 routes:
    • Advertise IPv4 prefixes over IPv4 neighbor from ATE port-1, observe received prefixes at ATE port-2.
    • Similarly advertise IPv6 prefixes over IPv6 neighbor from ATE port-1, observe received prefixes at ATE port-2.
    • Specify table based policy configuration to cover:
      • Default accept for policies.
      • Default deny for policies.
      • Explicitly specifying local preference.
      • TODO: Explicitly specifying MED value.
      • Explicitly prepending AS for advertisement with a specified AS number.
    • Validate that traffic can be forwarded to all installed routes between ATE port-1 and ATE port-2, validate that flows between all denied routes cannot be forwarded.
    • Validate that traffic is not forwarded to withdrawn routes between ATE port-1 and ATE port-2.

Config Parameter Coverage

  • /routing-policy/policy-definitions/policy-definition/config/name
  • /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-local-pref
  • /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-med
  • /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/config/repeat-n

Telemetry Parameter Coverage

For prefixes:

  • /network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor
  • /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group

Paths:

  • afi-safis/afi-safi/apply-policy/state/export-policy
  • afi-safis/afi-safi/apply-policy/state/import-policy
  • afi-safis/afi-safi/state/prefixes/installed
  • afi-safis/afi-safi/state/prefixes/received
  • afi-safis/afi-safi/state/prefixes/received-pre-policy
  • afi-safis/afi-safi/state/prefixes/sent
Clone this wiki locally