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.
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)
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).
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.
This is currently scheduled to be part of Spectrum 10.3.