Filter ADOM discovery for the Fortinet Service Graph Connector
Restrict which Fortinet ADOMs the SGC discovers by activating the predefined Vodafone filter or by providing your own implementation of the ADOM filter extension point.
Before you begin
Role required: tsom_visibility_admin
About this task
By default, the SGC for Fortinet discovers all ADOMs returned by FortiManager. To restrict
discovery to a subset of ADOMs based on their properties, use the
sn_sgc_fortinet.FortinetCustomizedAdomFilter extension point. An
implementation defines a shouldIncludeAdom(adom) handler that returns
true to discover the ADOM or false to skip it,
where adom is the ADOM object returned by the Fortinet API.
A predefined implementation, FortinetDefaultAdomFilter, is provided for
Vodafone deployments. It discovers only ADOMs where the VF SDWAN Service
Provided meta field equals yes and the
restricted_prds property equals fabric. This
implementation is inactive by default, so it doesn't affect discovery unless you
activate it.
Procedure
What to do next
To apply your own filtering logic instead, create an implementation of the
sn_sgc_fortinet.FortinetCustomizedAdomFilter extension point in your
own scope, define the shouldIncludeAdom(adom) handler, and activate its
extension instance. Leave the predefined FortinetDefaultAdomFilter
instance inactive.