Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Serhan_Mammadov
Explorer

Route Fetch Limits: Gaia API vs CPMI (show-routes)

Hi, I wanted to confirm a couple of things:

  1. We're currently using the CPMI method to fetch routes.
    Is there a limitation on the number of routes that can be retrieved using CPMI?
    If yes  is there any way to increase that limit?

  2. We're considering switching to the Gaia API:
    POST https://<server-ip>:<port>/gaia_api/v1.8/show-routes
    Are there any limitations here on the number of routes that can be retrieved?
    From what I understand, we would need to handle pagination manually using limit and offset.
     If the gateway has 10K+ routes, we should still be able to retrieve all of them in chunks, right?

Thanks!

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

Please elaborate on the "CPMI Method" you are using to fetch routes.

Meanwhile, the Gaia API should support what you need.

0 Kudos
Serhan_Mammadov
Explorer

show-generic-objects request with the relevant classes 

for example : 

 com.checkpoint.objects.classes.dummy.CpmiGatewayCkp
 com.checkpoint.objects.classes.dummy.CpmiGatewayCluster
 com.checkpoint.objects.classes.dummy.CpmiVsClusterNetobj
 com.checkpoint.objects.classes.dummy.CpmiVsxClusterNetobj

body : 

{
 "limit" : 200,
 "offset" : 0,
 "details-level" : "full",
 "class-name": "<class-name>"
}
0 Kudos
PhoneBoy
Admin
Admin

If you're using the generic-object API, perhaps it also supports the limit/offset parameters.
However, the generic-object API is not supported.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events