Public key infrastructure (PKI): Internal and trusted CA
and internal and external certs
Y
e
s
Route map N
o
Community list N
o
Creating a Network
A network object represents one or more IP addresses.
We use network objects and groups in other objects,
including access control policies, network variables,
identity rules, network discovery rules, event searches,
and reports. Example 11-11 shows how to generate a
token, assign it in the header, and then create a network
object.
Note that the Firepower Management Center instance in
Example 11-11 uses the DevNet Sandbox instance
(https://fmcrestapisandbox.cisco.com/) of the FMC,
which requires reservation. If you use this example,
make sure that you modify the definition of the network
object; otherwise, the object creation may fail because
the object will be already present. Example 11-11 uses the
POST method and the
API /api/fmc_config/v1/domain/" + uuid +
"/object/networks.
Example 11-11 Generating a Session Token and
Creating a New Network Object
Click here to view code image
""" generate a session token and create a new
network object """
import json
import requests