diff --git a/CISCO/IOS/.meta_policy_map.xml b/CISCO/IOS/.meta_policy_map.xml index 6efde225..5aabd870 100755 --- a/CISCO/IOS/.meta_policy_map.xml +++ b/CISCO/IOS/.meta_policy_map.xml @@ -7,7 +7,7 @@ DATE_MODIFICATION - 1646387684463 + 1653918129487 REPOSITORY @@ -15,7 +15,7 @@ DATE_CREATION - 1646387684437 + 1653918129446 MODEL diff --git a/CISCO/IOS/policy_map.xml b/CISCO/IOS/policy_map.xml index 5bc2c078..f93cf39d 100644 --- a/CISCO/IOS/policy_map.xml +++ b/CISCO/IOS/policy_map.xml @@ -25,115 +25,155 @@ params._order - - - - - + + + + + bandwidth - + bandwidth - + bandwidth - + police - + police - + police - + police - + police - + police - + + + police + + + + + police + + + + + police + + + + + police + + + + + police + + + + + police + + + + + police + + + + + police + + + action - + action - + action - + priority - + priority - + priority - + priority - + priority - - - - - + + + + + random-detect - + random-detect - + random-detect - + random-detect @@ -143,7 +183,7 @@ - +
@\s*policy-map\s+(?<object_id>\S+).*$@ @@ -170,7 +210,7 @@ - @^\s*police ((rate\s*(?<police_rate>\d+))?|(rate percent\s*(?<police_rate_percent>\d+))?|(cir percent\s*(?<police_cir_percent>\d+))?)\s*(conform-action (?<conform_action>((?!exceed-action).)*))?\s*(exceed-action (?<exceed_action>((?!violate-action).)*))?\s*(violate-action (?<violate_action>.*))?$@ + @^\s*police ((rate\s*(?<police_rate>\d+)\s?(?<police_rate_unit>bps))?|(rate percent\s*(?<police_rate_percent>\d+))?|(cir percent\s*(?<police_cir_percent>\d+))?)\s*(conform-action (?<conform_action>((?!exceed-action).)*))?\s*(exceed-action (?<exceed_action>((?!violate-action).)*))?\s*(violate-action (?<violate_action>.*))?$@ @@ -228,6 +268,16 @@ @^\s*(?<priority>priority)$@ + + + @^\s*police rate\s*(?<police_rate>\d+)\s?(?<police_rate_unit>bps)?(\s?burst\s(?<police_rate_burst>\d+)\s?(?<police_rate_burst_unit>bytes))?(\s?peak-burst\s(?<police_rate_peak_burst>\d+)\s?(?<police_rate_peak_burst_unit>bytes))?@ + + + + + @^\s*police\s*(?<police_target_bit_rate>\d+)(\s?conform-action\s(?<police_conform_action>(set-(\S+)|drop|transmit)\s?(af\d+|cs\d+|\d+|default)?))?(\s?exceed-action\s(?<police_exceed_action>\S+))?@ + + @^\s+class\s+(?<class_name>\S+)@ diff --git a/CISCO/IOS_XR/.meta_policy_map.xml b/CISCO/IOS_XR/.meta_policy_map.xml index 13b586d7..d187311a 100755 --- a/CISCO/IOS_XR/.meta_policy_map.xml +++ b/CISCO/IOS_XR/.meta_policy_map.xml @@ -7,7 +7,7 @@ DATE_MODIFICATION - 1653032348974 + 1653924596976 REPOSITORY @@ -15,7 +15,7 @@ DATE_CREATION - 1653032348909 + 1653924596961 MODEL diff --git a/CISCO/IOS_XR/policy_map.xml b/CISCO/IOS_XR/policy_map.xml index 1f7efd06..15b480f8 100644 --- a/CISCO/IOS_XR/policy_map.xml +++ b/CISCO/IOS_XR/policy_map.xml @@ -25,25 +25,30 @@ params._order - + + - - + bandwidth - + bandwidth - + bandwidth + + + police + + police @@ -64,19 +69,76 @@ police + + + police + + police - + police - - - + + + police + + + + + police + + + + + police + + + + + action + + + + + action + + + + + action + + + + + priority + + + + + priority + + + + + priority + + + + + priority + + + + + priority + + @@ -96,7 +158,7 @@ random-detect - + random-detect @@ -222,13 +284,23 @@ policy-map {$params.object_id} {if isset($pmap_class.queue_limit) && $pmap_class.queue_limit} queue-limit {$pmap_class.queue_limit} {/if} + {if isset($pmap_class.priority) && $pmap_class.priority} {$pmap_class.priority} - {/if} - {if isset($pmap_class.police_cir_burst) && $pmap_class.police_cir_burst}police rate {$pmap_class.police_cir_burst} {/if}{if isset($pmap_class.police_bc_burst) && $pmap_class.police_bc_burst}burst {$pmap_class.police_bc_burst} {/if}{if isset($pmap_class.police_be_burst) && $pmap_class.police_be_burst} peak-burst {$pmap_class.police_be_burst} {/if} + + {* police CIR *} + {*if isset($pmap_class.police_cir_burst) && $pmap_class.police_cir_burst}police rate {$pmap_class.police_cir_burst} {/if}{if isset($pmap_class.police_bc_burst) && $pmap_class.police_bc_burst}burst {$pmap_class.police_bc_burst} {/if}{if isset($pmap_class.police_be_burst) && $pmap_class.police_be_burst} peak-burst {$pmap_class.police_be_burst} + {/if*} + + {* police rate *} {if isset($pmap_class.police_cir_percent)} police rate percent {$pmap_class.police_cir_percent} {/if} + + {if isset($pmap_class.police_rate)} police rate {$pmap_class.police_rate} {if isset($pmap_class.police_rate_unit)}{$pmap_class.police_rate_unit} {/if} + {/if} + + {* service policy *} {if isset($pmap_class.service_policy) && $pmap_class.service_policy} service-policy {$pmap_class.service_policy} {/if} diff --git a/LINUX/CISCO_IOS_emulation/.meta_policy_map.xml b/LINUX/CISCO_IOS_emulation/.meta_policy_map.xml index 182542d0..9b4319ab 100755 --- a/LINUX/CISCO_IOS_emulation/.meta_policy_map.xml +++ b/LINUX/CISCO_IOS_emulation/.meta_policy_map.xml @@ -7,7 +7,7 @@ DATE_MODIFICATION - 1645640298302 + 1653921019678 REPOSITORY @@ -15,7 +15,7 @@ DATE_CREATION - 1645640298286 + 1653921019647 MODEL diff --git a/LINUX/CISCO_IOS_emulation/policy_map.xml b/LINUX/CISCO_IOS_emulation/policy_map.xml index ff0a6276..0457ebdd 100644 --- a/LINUX/CISCO_IOS_emulation/policy_map.xml +++ b/LINUX/CISCO_IOS_emulation/policy_map.xml @@ -25,152 +25,155 @@ params._order - - + + + + + + + bandwidth + - - + + + bandwidth + - - + + + bandwidth + - - + + + police + - - + - bandwidth + police - - + - bandwidth + police - - + - bandwidth + police + + + + + police + + + + + police + + + + + police + + + + + police - - + police - - + police - - + police - - + police - - + police - - + police - - + action - - + action - - + action - - + priority - - + priority - - + priority - - + priority - - + priority - - - - - - - - - - - - - - + + + + + random-detect - - + random-detect - - + random-detect - - + random-detect @@ -207,7 +210,7 @@ - @^\s*police ((rate\s*(?<police_rate>\d+))?|(rate percent\s*(?<police_rate_percent>\d+))?|(cir percent\s*(?<police_cir_percent>\d+))?)\s*(conform-action (?<conform_action>((?!exceed-action).)*))?\s*(exceed-action (?<exceed_action>((?!violate-action).)*))?\s*(violate-action (?<violate_action>.*))?$@ + @^\s*police ((rate\s*(?<police_rate>\d+)\s?(?<police_rate_unit>bps))?|(rate percent\s*(?<police_rate_percent>\d+))?|(cir percent\s*(?<police_cir_percent>\d+))?)\s*(conform-action (?<conform_action>((?!exceed-action).)*))?\s*(exceed-action (?<exceed_action>((?!violate-action).)*))?\s*(violate-action (?<violate_action>.*))?$@ @@ -265,6 +268,16 @@ @^\s*(?<priority>priority)$@ + + + @^\s*police rate\s*(?<police_rate>\d+)\s?(?<police_rate_unit>bps)?(\s?burst\s(?<police_rate_burst>\d+)\s?(?<police_rate_burst_unit>bytes))?(\s?peak-burst\s(?<police_rate_peak_burst>\d+)\s?(?<police_rate_peak_burst_unit>bytes))?@ + + + + + @^\s*police\s*(?<police_target_bit_rate>\d+)(\s?conform-action\s(?<police_conform_action>(set-(\S+)|drop|transmit)\s?(af\d+|cs\d+|\d+|default)?))?(\s?exceed-action\s(?<police_exceed_action>\S+))?@ + + @^\s+class\s+(?<class_name>\S+)@