configure_tier0_bgp
Set up BGP on a Tier-0 gateway: specify local AS number, enable ECMP and inter-SR iBGP, or disable BGP.
Instructions
[WRITE] Configure BGP settings on a Tier-0 gateway's locale-service.
Note: This configures BGP settings (local AS, ECMP, graceful restart). BGP neighbor creation is a separate Policy API object and not exposed here.
Args: tier0_id: The Tier-0 gateway ID. local_as_num: Local AS number as a string (e.g. "65001"). enabled: Enable or disable BGP on the locale-service (default True). ecmp: Enable ECMP for BGP routes (default True). inter_sr_ibgp: Enable inter-SR iBGP (default True). locale_service_id: Locale-service identifier (default "default"). target: Optional NSX Manager target name from config. Uses default if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecmp | No | ||
| target | No | ||
| enabled | No | ||
| tier0_id | Yes | ||
| local_as_num | Yes | ||
| inter_sr_ibgp | No | ||
| locale_service_id | No | default |