The discovery filter does not return the expected results based on the included description that the filter should always be an exclude filter.

Document ID : KB000006197
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When using the discovery filter from the Spectrum discovery console with the <Not Equal To> comparison type, the results are not being returned in the manner expected.  The usage notes displayed in the discovery console, Modeling Options, under filter mentions “Filter discovery results to exclude certain devices from modeling.”

When the expression set of the filter is evaluated to FALSE the returned results are correct, however if you set the filter to evaluate to TRUE the results are not returned as expected.

 

Examples:

Vendor Name <Equal To> Cisco Systems, Inc.

 

Will not create devices from Cisco Systems, Inc.  (as expected)

 

System Description <Not Equal To> SysEDGE

Does not create, but should (based upon the description of the discovery filter)

Environment:
Any
Cause:

From the description of the discovery filter, it is expected that this filter is to exclude certain devices from modeling in case of the expression set in the filter is evaluated to TRUE. (Which is not correct).

 

After Engineering, has examined and debugged the code they have determined that this is not actually an exclude filter when expression evaluates to true (meaning, if it passes the filter condition).

Resolution:

The correct usage of the discovery filter is as follows:

If we set filter expression as : System Description <Equal To> "SystemEDGE for Windows", then expression evaluates to TRUE and Device should get modeled.

If we set filter expression as : System Description <Not Equal To> "SystemEDGE for Windows", then expression evaluates to FALSE and Device should not get modeled.

 

The description of the discovery filter will be updated in a future Spectrum release to more accurately describe its function.

Additional Information:

This is currently scheduled to be part of Spectrum 10.3 and can be tracked under DE241092.