While navigating the Networking >> Tier-1 Gateways >> Static route >> Next hops >> Scope, the route-based IPSec sessions are not present in the dropdown list, and the scope only lists the Tier-1 segments.
VMware NSX-T Data Center
The Search Aggregate query to fetch the Scope for Next Hops of Tier1 Static Routes has the wrong mapping for IPSecVpnService.parent_path to tier1
This issue is resolved in VMware NSX-T Data Center 3.2.4
Workaround:
The scope of the route-based IPSec session can be configured using the PUT API call following the following steps:
GET https://<nsx-manager-ip>/policy/api/v1/infra/tier-1s/<T1-gateway-ID>/static-routes/<static-route-id>
PUT https://<nsx-manager-ip>/policy/api/v1/infra/tier-1s/<T1-gateway-ID>/static-routes/<static-route-id>
"next_hops": [
{
"admin_distance": 1,
"scope": [
"/infra/tier-1s/<T1-gateway-id>/ipsec-vpn-services/<IPSec-VPN>/sessions/<session-id>"
]
}
],
GET https://<nsx-manager-ip>/policy/api/v1/infra/tier-1s/<T1-gateway-ID>/static-routes/<static-route-id>