09-20-2007 09:04 AM
Hi,
I am having some issues when using slightly complex Rule expressions in the Customizable groups (DFM). I then checked the documentation and even the example provided does not work and DFM complains
++++++++++++++++
(AccessPort.Mode equals "" OR
AccessPort.Mode contains "BACKUP" OR
AccessPort.Mode contains "NORMAL") AND
(AccessPort.DuplexMode contains "HALFDUPLEX" OR
AccessPort.DuplexMode contains "FULLDUPLEX")
+++++++++++++++++
When using the above example from the documentation, DFM complains that
"Encountered "AccessPort" at line 1, column 2. Was expecting one of: "(" ... ":" ... "/" ..."
Am I missing something here ?
Thanks,
Naman
09-20-2007 09:20 AM
Looks like complex rules are broken. You should open a TAC service request and report this. It's broken for both DFM 2.0.9 and DFM 3.0.
09-20-2007 09:31 AM
Created 606889083 , if you also want to track.
09-20-2007 01:29 PM
Apparently when defining complex rules you have to use the complete Object ID (this info is available in the User Guide but wasn't described in DFM On-line help), which is different for each application.
:Campus:OGS:Device
:DFM:VASA:DFMObject
:CMF:DCR:Device
:RME:INVENTORY:Device
So the below filter works..
(:DFM:VASA:DFMObject:AccessPort.Mode contains "BACKUP" OR
:DFM:VASA:DFMObject:AccessPort.Mode contains "NORMAL") AND
(:DFM:VASA:DFMObject:AccessPort.DuplexMode contains "HALFDUPLEX" OR
:DFM:VASA:DFMObject:AccessPort.DuplexMode contains "FULLDUPLEX")
Thanks,
Naman
09-20-2007 01:42 PM
This is still a bug. The class names should have been removed for LMS 2.6 as they were confusing. At the very least, the documentation needs to be updated to reflect the proper syntax.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: