Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Employee
Employee

Get Topology Interfaces with WEB API

Hi all,

i need to automate a process that define a vlan interface and routing on Gateway, gets topology of the gateway, add an object with nat and add a policy rule.

For Interface and routing i can use Gaia WEB API, for the rest i can use WEB Api on the management.

My problem is how can i get the new topology after interface creation? 

Thank you

 

Oronzo

0 Kudos
3 Replies
Highlighted

It doesn't look like the "Get interfaces (with Topology)" function is available through the API, probably because it is still handled by the fwm process on the SMS/MDS.  Assuming this turns out to be the case, I'll need to update this list that describes what cannot be accomplished through the API:

https://community.checkpoint.com/t5/API-CLI-Discussion-and-Samples/Functionality-API-vs-SmartConsole...

Book "Max Power 2020: Check Point Firewall Performance Optimization" Third Edition
Now Available at www.maxpowerfirewalls.com
0 Kudos
Highlighted
Employee
Employee

Thank you Timothy,

isn't there a possibility to edit cluster/gateway object and add interface via WEB API?

BR

Oronzo

0 Kudos
Highlighted

Yes, for simple gateways the ability to manipulate interface topologies has been available in the API since the beginning.  However the capability to do this on gateway cluster objects was not added until API v 1.6 (R80.40).

Book "Max Power 2020: Check Point Firewall Performance Optimization" Third Edition
Now Available at www.maxpowerfirewalls.com
0 Kudos