-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch Port Modes and VLAN CLI Enhancement #2419
Commits on Oct 1, 2022
-
Modification of Vlan.py and creation of switchport.py
- What I did Modified config/vlan.py to add new commands with multiple and range options Creation of config/switchport.py which will deal with default Vlan1 Modified the show interface command so it will show the status of port being access or trunk. Before it did not show about access mode only trunk. Modified the Command-Reference.md file to add new commands in it with usage and examples Added new utility functions in utilities_common/cli.py for new Vlan.py and switchport.py commands - How I did Added new commands and modified the existing commands in config/vlan.py for example to accept multiple vids and range of vids in add|del vlan and add|del vlan member as well as except flag in vlan member command Creation of config/switchport.py file to add commands which will deal only with Default Vlan1 which was unable to be defined or assigned in SONiC before New utility functions in utilities_common/cli.py changes in scripts/intfutil. Modified the existing function and now it will display if an interface is in access mode or trunk mode with routed mode. - How to verify it New commands have been added in Command-Reference.md All the syntax and examples have been added there and they can be verified by running the specific command Signed-off-by: Muhammad Umar Asad <umarasad20@gmail.com> < xFlow Research Inc. >
Configuration menu - View commit details
-
Copy full SHA for 330b101 - Browse repository at this point
Copy the full SHA 330b101View commit details
Commits on Oct 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d4ba163 - Browse repository at this point
Copy the full SHA d4ba163View commit details
Commits on Oct 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0ddb795 - Browse repository at this point
Copy the full SHA 0ddb795View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b3ac13 - Browse repository at this point
Copy the full SHA 6b3ac13View commit details
Commits on Oct 23, 2022
-
Modified switchport.py functionality removing default Vlan from it
Modified './config/vlan.py' and added switchport mode checks in it as well as other small checks Modified './scripts/intfutil/' to show correct port mode with access option for 'show interfaces status' command and its subfunctions Added utilities functions in './utilities_common/cli.py' for './config/switchport.py' Updated mocktables according to the tests and addded 'Mode' attribute in PORT table as well as 'Vlan' to 'Mode' in intfutil and multi_asic tests expected outputs of vlan_test.py
Configuration menu - View commit details
-
Copy full SHA for 930630c - Browse repository at this point
Copy the full SHA 930630cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa5d756 - Browse repository at this point
Copy the full SHA fa5d756View commit details
Commits on Nov 4, 2022
-
Modification in vlan.py and switchport.py
Fixed config_db_vlan_port_keys_get() in intfutil to show correct port mode updated test cases in '/tests/vlan_test.py' for enhanced vlan commands and new switchport commands which are used with vlan member commands Signed-off-by: Muhammad Umar Asad <umarasad20@gmail.com> xFlow Research Inc.
Configuration menu - View commit details
-
Copy full SHA for 02b1e8a - Browse repository at this point
Copy the full SHA 02b1e8aView commit details
Commits on Dec 10, 2022
-
Added support for mode attribute in IP config commands and updated the
related testcase removed the fucntionality for checking vlan status to assign IP Address It will now assign IP Address if the port is in 'routed' mode else it won't assign Signed-off-by: Muhammad Umar Asad <umar.asad@xflowresearch.com> xFlow Research Inc.
Configuration menu - View commit details
-
Copy full SHA for cd13da3 - Browse repository at this point
Copy the full SHA cd13da3View commit details
Commits on Dec 16, 2022
-
Added switchport mode support for PORTCHANNEL
updated the Command-Reference.md for PortChannel switchport commands as well Updated the test cases for Portchnnel for switchport
Configuration menu - View commit details
-
Copy full SHA for 519324d - Browse repository at this point
Copy the full SHA 519324dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca0d24 - Browse repository at this point
Copy the full SHA 0ca0d24View commit details
Commits on Feb 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5fea7b8 - Browse repository at this point
Copy the full SHA 5fea7b8View commit details -
updated the merger conflicts in the multi_asic_intfutil_test.py
Configuration menu - View commit details
-
Copy full SHA for 2fd4c09 - Browse repository at this point
Copy the full SHA 2fd4c09View commit details
Commits on Feb 11, 2023
-
Resolved Merge Conflicts with #2669
The vlan.py and other files were modified to add DHCPv4 and DHCPv6 relay tables so the PR was needed to be updated
Configuration menu - View commit details
-
Copy full SHA for 22888f1 - Browse repository at this point
Copy the full SHA 22888f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99609dd - Browse repository at this point
Copy the full SHA 99609ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4176fec - Browse repository at this point
Copy the full SHA 4176fecView commit details
Commits on Feb 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b4e46db - Browse repository at this point
Copy the full SHA b4e46dbView commit details
Commits on Feb 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6ea6025 - Browse repository at this point
Copy the full SHA 6ea6025View commit details -
Configuration menu - View commit details
-
Copy full SHA for a007d20 - Browse repository at this point
Copy the full SHA a007d20View commit details -
Configuration menu - View commit details
-
Copy full SHA for d77508f - Browse repository at this point
Copy the full SHA d77508fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d64ddd6 - Browse repository at this point
Copy the full SHA d64ddd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a18655 - Browse repository at this point
Copy the full SHA 5a18655View commit details -
changes in db migrator for switchport
if vlan member table empty, do not migrate any settings
Configuration menu - View commit details
-
Copy full SHA for 499b6d5 - Browse repository at this point
Copy the full SHA 499b6d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63e28aa - Browse repository at this point
Copy the full SHA 63e28aaView commit details -
updated migrate_config_db_port_table_for_switchport_mode to migrate_c…
…onfig_db_port_portchannel_table_for_switchport_mode and added support for portchannel
Configuration menu - View commit details
-
Copy full SHA for b4197b9 - Browse repository at this point
Copy the full SHA b4197b9View commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0df0f34 - Browse repository at this point
Copy the full SHA 0df0f34View commit details
Commits on Feb 23, 2023
-
updated config vlan del command for DHCP relay restart services since…
… its giving error rn
Configuration menu - View commit details
-
Copy full SHA for 8bc5493 - Browse repository at this point
Copy the full SHA 8bc5493View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046fc2e - Browse repository at this point
Copy the full SHA 046fc2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f8a2c - Browse repository at this point
Copy the full SHA 92f8a2cView commit details -
updated db_migrator tests for switchport mode with PORTCHANNEL input …
…and expected output
Configuration menu - View commit details
-
Copy full SHA for dd4828a - Browse repository at this point
Copy the full SHA dd4828aView commit details
Commits on Feb 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 478a3a6 - Browse repository at this point
Copy the full SHA 478a3a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5a1ea1 - Browse repository at this point
Copy the full SHA c5a1ea1View commit details -
Revert "db_migrator test cases"
This reverts commit c5a1ea1.
Configuration menu - View commit details
-
Copy full SHA for 9547b95 - Browse repository at this point
Copy the full SHA 9547b95View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7bc359 - Browse repository at this point
Copy the full SHA f7bc359View commit details -
Configuration menu - View commit details
-
Copy full SHA for d856425 - Browse repository at this point
Copy the full SHA d856425View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6861d63 - Browse repository at this point
Copy the full SHA 6861d63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1458610 - Browse repository at this point
Copy the full SHA 1458610View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae00297 - Browse repository at this point
Copy the full SHA ae00297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ccc73b - Browse repository at this point
Copy the full SHA 5ccc73bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddabf32 - Browse repository at this point
Copy the full SHA ddabf32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9411196 - Browse repository at this point
Copy the full SHA 9411196View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3fab6d - Browse repository at this point
Copy the full SHA c3fab6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for da65f41 - Browse repository at this point
Copy the full SHA da65f41View commit details
Commits on Feb 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4c03ff1 - Browse repository at this point
Copy the full SHA 4c03ff1View commit details -
updated migrate_config_db_switchport_mode in db_migrator and updated …
…the expected output for test case
Configuration menu - View commit details
-
Copy full SHA for e347a61 - Browse repository at this point
Copy the full SHA e347a61View commit details
Commits on Mar 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 43d7b05 - Browse repository at this point
Copy the full SHA 43d7b05View commit details -
updated the db_migrator and vlan.py for merge conflicts and removed p…
…rint prompts while adding or deleting vlans or assigning vlan members will only show prompt for errors
Configuration menu - View commit details
-
Copy full SHA for 55dbfb3 - Browse repository at this point
Copy the full SHA 55dbfb3View commit details
Commits on Mar 22, 2023
-
updated vlan test cases. Removed Assertion of vlan addition|deletion …
…print statements wrt to changes in code
Configuration menu - View commit details
-
Copy full SHA for f4b130c - Browse repository at this point
Copy the full SHA f4b130cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e980471 - Browse repository at this point
Copy the full SHA e980471View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1836cd8 - Browse repository at this point
Copy the full SHA 1836cd8View commit details -
removed some leftover print asserrtion vlan member deletion statement…
… from test cases
Configuration menu - View commit details
-
Copy full SHA for 7998123 - Browse repository at this point
Copy the full SHA 7998123View commit details
Commits on May 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 485b4c8 - Browse repository at this point
Copy the full SHA 485b4c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2273103 - Browse repository at this point
Copy the full SHA 2273103View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba7b72d - Browse repository at this point
Copy the full SHA ba7b72dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57f1c99 - Browse repository at this point
Copy the full SHA 57f1c99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70cbfe5 - Browse repository at this point
Copy the full SHA 70cbfe5View commit details -
Signed-off-by: RoRonoa <umarasad20@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ebc14ca - Browse repository at this point
Copy the full SHA ebc14caView commit details
Commits on May 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5b1063c - Browse repository at this point
Copy the full SHA 5b1063cView commit details
Commits on Jun 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3faca88 - Browse repository at this point
Copy the full SHA 3faca88View commit details
Commits on Jun 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7177585 - Browse repository at this point
Copy the full SHA 7177585View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2672a99 - Browse repository at this point
Copy the full SHA 2672a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for f87a7e7 - Browse repository at this point
Copy the full SHA f87a7e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ccb817 - Browse repository at this point
Copy the full SHA 7ccb817View commit details -
added pass statement instead of error when running switchport mode co…
…mmand for routed when it is already in routed mode
Configuration menu - View commit details
-
Copy full SHA for 43a5e17 - Browse repository at this point
Copy the full SHA 43a5e17View commit details
Commits on Jun 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 76b4f81 - Browse repository at this point
Copy the full SHA 76b4f81View commit details
Commits on Jul 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a70fd53 - Browse repository at this point
Copy the full SHA a70fd53View commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cba8e2e - Browse repository at this point
Copy the full SHA cba8e2eView commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dd11b3c - Browse repository at this point
Copy the full SHA dd11b3cView commit details
Commits on Jul 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 300b353 - Browse repository at this point
Copy the full SHA 300b353View commit details
Commits on Jul 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 95912ba - Browse repository at this point
Copy the full SHA 95912baView commit details
Commits on Jul 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f63f960 - Browse repository at this point
Copy the full SHA f63f960View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b7fd96 - Browse repository at this point
Copy the full SHA 7b7fd96View commit details
Commits on Jul 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6d67b53 - Browse repository at this point
Copy the full SHA 6d67b53View commit details