Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Bob_Zimmerman
Advisor

Access rule action inconsistency

I'm working on updating my tool to be able to change access rule actions, and just noticed when you get a rule, the action is an object (vaguely irritating, but not a big deal), and when you set a rule's action you have to pass a string with the name of the action. Unfortunately, the action which passes matching traffic to another layer appears to have two names.

When you get a rule from the API, the action's name is "Inner Layer". When you write a rule action via the API, the name you have to pass is "Apply Layer".

Is this intended? It would be nice if the names were consistent.

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

0 Kudos