Network Change & Configuration Management

Reply

Policy rule check fails due to "Invalid Indent On Line"

Expert
Posts: 263
1394     0
I have a simple policy consisting of one rule which I wrote with the CPD Editor. The purpose is to check for "Required" statements in the configs of wireless controllers (Cisco 5508 or WiSM2). Regardless of the rule content, it always errors with: Invalid Indent On Line '802.11h channelswitch enable 0' It seems to be tripping up because of this pattern in the config file formatting: etc. 802.11h channelswitch enable 0 <=== no leading space etc. I have tried making that statement a required one, and a few other combinations, but nothing changes. I'm inferring that the parser doesn't like all of the indented commands not preceded by a non-indented one. That's how it would be in IOS syntax, but this is not IOS. Can anyone suggest a workaround that will make it happy? TIA.

Marty,

Adviser
Posts: 420
1395     0

Marty,

  Try putting a .+ at the start of the line.  If that fails open a case with support.

Sif

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

The updated policy engine in

Adviser
Posts: 357
1395     0

The updated policy engine in NetMRI 6.9 has a new XML element called ConfigBlockCheck which is much more flexible than the CPD mechanism and will not suffer from this sort of issue. 

Indentation sensitivity was fixed in 6.8.6

Expert
Posts: 263
1395     0

Thanks for the tip on the new policy engine in 6.9.1.  From the help file, it does look much more powerful (and complicated...).

Our issue with indentation was solved in 6.8.6 when the behavior prior to 6.8.3 was restored.

Showing results for 
Search instead for 
Do you mean 

Recommended for You