Closed summed closed 11 months ago
this policy will not work if either the 'police_conform_action_transmit' or 'police_exceed_action_drop' is true
policy-map INGRESS-POLICE-39-PERCENT class class-default police rate percent 39 conform-action transmit exceed-action drop ! ! end-policy-map
example:
resource "iosxr_policy_map_qos" "policy_maps" { name = "INGRESS-POLICE-39-PERCENT" classes = [ { name : class-default police_conform_action_transmit: true police_exceed_action_drop : true police_rate_unit : percent police_rate_value : 39 type : qos } ]
error:
│ Set request failed, got error: rpc error: code = Internal desc = { │ "cisco-grpc:errors": { │ "error": [ │ { │ "error-type": "application", │ "error-tag": "operation-failed", │ "error-severity": "error", │ "error-path": "Cisco-IOS-XR-um-policymap-classmap-cfg:policy-map/type/qos[policy-map-name = 'INGRESS-POLICE-39-PERCENT']/policy-map-name", │ "error-message": "Qos verification failed for policy-map.: Policy-map INGRESS-POLICE-39-PERCENT class class-default failed: Number of actions for 'police conform' exceeds limit 0" │ } │ ] │ } │ }
Closing this, as it simply seems to be a defektive original cisco configuration, and not something that is actually possible.
this policy will not work if either the 'police_conform_action_transmit' or 'police_exceed_action_drop' is true
example:
error: