Layer 2 Forwarding Enhancements#529
Conversation
- validate vlan id for vlan creation - verify that port is not part of vlan when assigning IP address and vice versa - verify that portchannel has no member and portchannel is not member of vlan when deleting the portchannel - verify that port is not already untagged member of vlan when adding the port as untagged member of a vlan -
|
I'm not sure if these validations must be here. There is an design discussion for overall Config validator and I don't think we need to scatter these checks in multiple places. |
'show mac' was taking a lot of time to display the fdb entries when a large number of entries are present. Using redis pipeline, reduced the time significantly. Earlier it used to take about 10 minutes to show 32K MAC. After the fix it takes about 17-20 seconds.
revert changes
stcheng
left a comment
There was a problem hiding this comment.
could you resolve the conflicts? and also remove the .DS_Store file in the pull request?
reverted changes made as part of validations
|
retest this please |
|
Retest this please |
1 similar comment
|
Retest this please |
Layer 2 Forwarding Enhancements
|
Added code changes related to Layer 2 Forwarding Enhancements |
|
This pull request introduces 1 alert when merging 2a9ab88 into d414970 - view on LGTM.com new alerts:
|
added more tests for vlan range and fdb config commands
|
This pull request introduces 2 alerts when merging a8c651e into 9419627 - view on LGTM.com new alerts:
|
|
retest this please |
1 similar comment
|
retest this please |
scripts/fdbshow
Outdated
| from natsort import natsorted | ||
| from swsssdk import port_util | ||
| from swsscommon.swsscommon import SonicV2Connector | ||
| from swsssdk import SonicV2Connector, port_util |
There was a problem hiding this comment.
we should not use swsssdk, it is deprecating.
|
This pull request introduces 2 alerts when merging 2fcd83d into 474bdbf - view on LGTM.com new alerts:
|
|
This pull request introduces 2 alerts when merging b037b7d into 8a8577b - view on LGTM.com new alerts:
|
|
/azp run |
|
Commenter does not have sufficient privileges for PR 529 in repo Azure/sonic-utilities |
|
retest this please |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Hi all |
- What I did
Added the following commands: