NSX-T Data Center REST API

Download Latest Geo IP Bundle

Using this API, with request parameter
download_now - User can request on demand to download latest Geo IP bundle to be used on the edge nodes.
This will try to get latest bundle regardless auto_download is ON or OFF.
If new bundle available, it will download the latest bundle.
If no new bundle, it will indicate in message.
check_latest - User can check the latest Geo IP bundle available.

Request:

Method:
POST
URI Path(s):
/policy/api/v1/infra/geo-ip/bundle
Request Headers:
n/a
Query Parameters:
GeoIpBundleActionQueryParameters+
Request Body:
n/a

Example Request:

POST https://<policy-mgr>/policy/api/v1/infra/geo-ip/bundle?action=download_now POST https://<policy-mgr>/policy/api/v1/infra/geo-ip/bundle?action=check_latest

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
GeoIpBundleInfo+

Example Response:

For action=download_now { "last_bundle_download_time": 1704871832, "geo_ip_bundle_version": "1|645|0", "download_status": "complete", "message": "Latest Geo IP Bundle downloaded successfully", "path": "/infra/geo-ip/bundle" } For action=check_latest { "geo_ip_bundle_version": "1|664|0", "latest_available_geo_ip_bundle_version": "1|665|0" }

Required Permissions:

crud

Feature:

policy_edge_fw

Additional Errors: