Check mirror ingress/egress capability before configuring it or setting it to SAI#2088
Conversation
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
No pipelines are associated with this pull request. |
|
@stephenxs Can you help me understand why do we need this change since we already have switch level capability check? |
Hi @bingwang-ms |
|
@bingwang-ms , @prsunny are we good to go? |
| 2. **CLI Validation**: Early validation checks are performed | ||
| 3. **Capability Check**: System queries STATE_DB for mirror capabilities | ||
| 4. **Decision Point**: | ||
| - If supported: Proceed to OrchAgent |
There was a problem hiding this comment.
Will the configuration be written into config_db if not supported?
There was a problem hiding this comment.
why it should? this was not done to other capabilities check. this is not the actual arch for other features.
|
/easycla |
|
@prsunny @bingwang-ms any further comments? if not, this should be merged and PRs should be reviewed as well |
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
4d539bc to
5ca2b0a
Compare
|
/azp run |
|
No pipelines are associated with this pull request. |
|
Rebase to resolve the conflict (the document is moved to a sub folder) |
Check mirror capability before configuring it or setting it to SAI
PORT_INGRESS_MIRROR_CAPABLEandPORT_EGRESS_MIRROR_CAPABLEinSTATE_DBtableSWITCH_CAPABILITY.PORT_INGRESS_MIRROR_CAPABLEandPORT_EGRESS_MIRROR_CAPABLEinSTATE_DBtableSWITCH_CAPABILITYbefore conifiguring CONFIG_DBImplementation PRs
Signed-off-by: Stephen Sun stephens@nvidia.com