You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add consumer vzAny shared-services check for rule expansion (#282)
Add `consumer_vzany_shared_services_check()`:
- Warns when a vzAny consumer in VRF-A uses a contract provided from a different VRF-B and the upgrade path triggers a new rule expansion
- If the contract has PBR and the target version doesn't support Policy Compression (i.e. < 6.1.4), warn about it as well because the potential workaround (policy compression) is not available.
---------
Co-authored-by: Amit Kulkarni <amitkul2@cisco.com>
Co-authored-by: tkishida <tkishida@cisco.com>
[Shared Service with vzAny Consumer][c24] | :white_check_mark: | :no_entry_sign:
134
135
135
136
136
137
[c1]: #vpc-paired-leaf-switches
@@ -156,6 +157,7 @@ Items | Faults | This Script
156
157
[c21]: #global-aes-encryption
157
158
[c22]: #service-graph-bd-forceful-routing
158
159
[c23]: #ave-end-of-life
160
+
[c24]: #shared-service-with-vzany-consumer
159
161
160
162
### Defect Condition Checks
161
163
@@ -2207,6 +2209,19 @@ As outlined in the [End-of-Sale and End-of-Life Announcement for Cisco Applicati
2207
2209
If planning an upgrade to 6.0+, review the [Cisco ACI Virtual Edge Migration Guide][56] and complete a domain migration prior to performing the upgrade.
2208
2210
2209
2211
2212
+
### Shared Service with vzAny Consumer
2213
+
A shared service (VRF Route Leaking) contract with vzAny as a consumer may use more policy TCAM space after an upgrade depending on the release version and provider type due to a behavior change called "Rule Expansion":
2214
+
2215
+
* In the case of EPG/External EPG providers, 5.3(2d) and later or 6.0(3) and later releases may use more policy TCAM space than releases older than 5.3(2d) or 6.0(3).
2216
+
* In the case of ESG providers, 6.1(2) and later releases may use more policy TCAM space than releases older than 6.1(2).
2217
+
2218
+
When Rule Expansion takes place after an upgrade, the increase in the TCAM space may result in TCAM overflow which can lead to traffic disruption because contracts that used to work may stop working.
2219
+
2220
+
See [Inter-VRF contract with vzAny as the consumer][60] in Cisco ACI Contract Guide for details about Rule Expansion and calculate the potential TCAM space usage when the Rule Expansion takes place. If there is a risk of TCAM overflow, consider enabling the policy compression directive on contract filters to mitigate the increase of TCAM usage. However, note that enabling the policy compression directive will result in loss of the statistics capability for those rules. Also, note that policy compression for contracts with PBR is supported only from 6.1(4).
2221
+
2222
+
See [Enable Policy Compression in Cisco ACI Contract Guide][61] for details about Policy Compression.
2223
+
2224
+
2210
2225
## Defect Check Details
2211
2226
2212
2227
### EP Announce Compatibility
@@ -2648,4 +2663,6 @@ If any instances of `configpushShardCont` are flagged by this script, Cisco TAC
0 commit comments