{ "additionalProperties": false, "id": "BgpNeighborLocalAsConfig", "module_id": "PolicyConnectivity", "properties": { "as_path_modifier_type": { "description": "Optional parameter. If this property is not set, by default BGP prepends neighbor's local_as_num value to the AS_PATH for BOTH outgoing and incoming route advertisements from the peer neighbor. By setting one of the following value, user can modify the default prepend action on the AS_PATH in both inbound and outbound direction. NO_PREPEND: If type is NO_PREPEND, then the local router will NOT prepend the incoming advertisement from that peer with neighbor's local_as_num, so the AS path advertised will now prepend only the BGP local-as of the router. NO_PREPEND_REPLACE_AS - If type is \"NO_PREPEND_REPLACE_AS\", then the local routes will be advertised with the neighbor's local-as instead of the BGP's local-as to peer router.", "enum": [ "NO_PREPEND", "NO_PREPEND_REPLACE_AS" ], "required": false, "title": "AS_PATH modifier type for BGP local AS", "type": "string" }, "local_as_num": { "description": "Specify local-as number for Tier-0 to advertize to BGP peer. This overrides local_as_num configured in the BgpRoutingConfig object. AS number can be specified in ASPLAIN (e.g., \"65546\") or ASDOT (e.g., \"1.10\") format. It is supported for BgpNeighborConfig under both default tier0 and vrf tier0. When this capability is configured, it enables the BGP to prepend \"local_as_num\" value to the beginning of AS_PATH for BOTH outgoing and incoming route advertisements from the configured neighbor. After prepend, AS_PATH contains both \"neighbor's <local_as_num>\" and BGP's <local_as_num>.", "required": true, "title": "BGP neighbor local-as number in ASPLAIN/ASDOT Format", "type": "string" } }, "title": "BGP neighbor local-as configuration", "type": "object" }