cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
144
Views
0
Helpful
0
Replies
Highlighted
Beginner

Scripts to create and delete hosts via Firepower Manager (FMC) API from csv file

I recently created python scripts that can create or delete host objects.

I received a lot of help from this community in getting them working. Therefore I'm making them available to the community to say thanks. Hopefully they will help someone in return.

 

The scripts are:

post-csv-hosts

This script creates network host objects for use in FMC policies via API POST operation.


get-hosts-for-csv

This script collects all network host objects in FMC via API GET operation and returns them to a csv formatted text file containing the Object ID which is required in delete an object.

 

delete-hosts-from-csv
This script deletes all network hosts within a csv via the FMC API DELETE operation

 

The scripts can be found at:

FMC API Script Repo 

 

0 REPLIES 0
Content for Community-Ad
Cisco Community August2020 Spotlight Award Winners
This widget could not be displayed.