CiscoDevNet/terraform-provider-iosxe

resource iosxe_policy_map_event - action_numbers missing options

Closed this issue · 0 comments

In a policy map for e.g. type control, there can be under events and the respective class, actions defined. The current resource is missing some of the typical actions that can be used.

Example IOS-XE CLI config

!
policy-map type control subscriber dot1x_policy
 event session-started match-all
  10 class always do-until-failure
   10 authenticate using dot1x retries 2 retry-time 0 priority 10
 event authentication-failure match-first
  10 class DOT1X_FAILED do-until-failure
   10 terminate dot1x
   20 authenticate using mab priority 20
  20 class AAA_SVR_DOWN_UNAUTHD_HOST do-until-failure
   10 clear-authenticated-data-hosts-on-port                                   <<<< currently not available

Asking to add all the existing possible actions from /native/policy/ios-policy:policy-map/ios-policy:event/ios-policy:class-number/ios-policy:action-number

  • clear-authenticated-data-hosts-on-port
  • authentication-restart
  • clear-session
  • resume.reauthentication
  • ...