Support for AlaxalA AX switch series #3411
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I further added support for the AlaxalA AX switch series.
https://www.alaxala.com/en/
Only AX3600S series and AX2600S series box switches are supported by this code.
Some command structures are different for chassis-type switches.
Test configuration:
test_devices.yml
commands.yml
responses.yml
alaxala_ax36s_commands.txt
This code is based on the class CiscoBaseConnection because the prompt output from the device resembles Cisco IOS.
However, when modifying the configuration, an "!" is outputted at the beginning of the prompt.
Therefore, the acquisition of base_prompt is adjusted.
example_device_output.log
I will send the test results.
test_result.log
I also conducted tests for autodetection.
test-code-autodetect.py
terminal_output.log
I look forward to having these codes reviewed.
Thank you!