Spectrum Policy Manager: Unable to create a new policy using the same attribute twice
search cancel

Spectrum Policy Manager: Unable to create a new policy using the same attribute twice

book

Article ID: 219012

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

We're creating a new policy in Policy Manager to update a Global Collection of sites that need a 60 sec polling interval. 

During the setting creation a pop-up message informs us that polling interval is already being used in another policy which is correct, but it's setting a 120 sec interval. 

Why can't an attribute be used twice in PM when create a new unique policy?

Environment

Release : 10.4.x

Component : Spectrum Core / SpectroSERVER

Resolution

These restrictions are in place to help prevent conflicts in your policy definitions.

The following solution allows you to create multiple rules within the same policy that will have the same attribute but with different values:

Example:

Policy: Enforce Poll Interval

   Rule1:  poll_interval = 60 ~~> Global Collection TEST
   Rule2:  poll_interval = 120 ~~> Global Collection TEST2

Additional Information

Restrictions in Policy Definitions