Skip to content

ImperatorRuscal/fmcapi-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fmcapi-examples

Example Scripts using the fmcapi

rmv_objects

rmv_objects removes objects from the FMC with the fmcapi library. You can specify the type of object you want to remove and a regular expression to match on object names you want to delete. This script will not delete objects that are in use.

Usage

python rmv_objects.py -h usage: rmv_objects.py [-h] server username password object_type regex

Get arguments for rmv_objects script.

positional arguments:
server IP or DNS of the FMC Server
username Username for FMC.
password Password for FMC.
object_type Object type to remove. protocolport, ipnetwork, networkgroup are supported today.
regex The regular expression to match objects to remove. Use double quotes around the pattern.

About

Example Scripts using the fmcapi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%