cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
844
Views
0
Helpful
1
Replies

LMS 4.0 Prequisites of baseline templates are ignored if used for direct deploy

m.kafka
Level 4
Level 4

Hi all,

I'm want to use baseline templates for conditionally configuring several hundert access-switches.

What I expect to work:

Write a baseline template with prerequisites and parameters and use

Configuration> Compliance> Compliance Templates> Direct Deploy

The baseline template works perfect for

Configuration> Compliance> Compliance Templates> Compliance Check

if I use regex instead of parameters

- compliant devices are detected

- commands are generated only for non compliant devices

But I don't want to enter several hundert parameters manually if

I want to deploy the job after compliance chek...

If I change the regex into a parameter then direct deploy will unconditionally

generate the commands, regardless whether the prerequisites are met or not.

Is this by design or a bug?

My task is simple:

If interface Vlan1 has an IP address matching a certain pattern I want to deploy the global command

ip default gateway [same-prefix-as-interface-vlan1].1

Like I mentioned above: the regexes are OK: compliance check works as expected

When the regexes are changed to a parameter the command ip default-gateway will

always be generated regardles wether the prequisite is met or not.

Any thoughts or insight?

Regards, MiKa

1 Reply 1

m.kafka
Level 4
Level 4

Solution was simple:

In one of the old release notes (Cisco Ressource Manager Essentials, around 2009) I found a note that prerequisites in templates are not supported with direct deploy. There are no notes for newer releases but the behaviour is exactly like described.

Another documentation error...

Rgds, MiKa