Rules Expressions in Customizable Groups - Not Working

Unanswered Question
Sep 20th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Thu, 09/20/2007 - 09:20

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.

mnlatif Thu, 09/20/2007 - 13:29

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

Joe Clarke Thu, 09/20/2007 - 13:42

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.

Actions

This Discussion