Skip to content
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

Develop backend module for iCAIR Arista 100g switch with EOS4. #30

Draft
wants to merge 55 commits into
base: master
Choose a base branch
from

Conversation

CsCdanNyx
Copy link

Goal

Replace OpenNSA with SuPA in iCAIR.

Description

  • Backend: Arista 100G with EOS4.
  • Uses Containerlab emulation tool with Arista cEOS4 image.

hanstrompert and others added 30 commits June 30, 2023 09:31
- Adapt paristaEOS4 backend for Arista cEOS4.
- Arista cEOS4 runs on Containerlab with Docker.
- Arista cEOS image version: 4.30.1F .
- Change the port_id to Arista cEOS interface name.
- Tests run on Containerlab.
- Fix _create_delete_commands interface string encoding.
- Pass test_release_job_release_confirmed_auto_start pytest.
- Create a 3 Arista cEOS routers linear topology.
- Ignore changes of containerlab runtime data.
- env file finding according to filename.
- Thorogh switch commands description for VLAN setup and teardown.
- Add pytest.ini to ignore test_data folder for pytest config in vscode.
- Change the image locations in docker-compose.yml to the existing ones.
- Expose document_server_port (4321) in Dockerfile.
…age.

- The test_data directory is for storing development test data.
- Turn on DEBUG log in supa.env.
- Log the content of db_session when ActivateJob is called.
- Implement topology function which configs STPs from a YAML of STPs list configuration.
- Re-organize the clab_aristaCEOS4 env and stps_config file to a directory.
- Skip pytest targets in "test_dataplane.py" and "test_provision.py" that require a backend device for unittests in Github actions.
…ta Switches.

- Goal: Run pytest with CLI input of VLAN and port parameters, testing set and removal of any VLAN on any port in Arista Switch Backend.
- Use isort reformat clab_aristaCEOS4.py .
… setup.cfg .

- PyYAML is used in  clab_aristaCEOS4 backend for loading STPs config YAML file.
- Without fixing it, supa running on Docker cannot correctly load the clab_aristaCEOS4 backend.
… setup.cfg .

- PyYAML is used in  clab_aristaCEOS4 backend for loading STPs config YAML file.
- Without fixing it, supa running on Docker cannot correctly load the clab_aristaCEOS4 backend.
- Log info for backend activate, deactivate and topology.
- Better distinguished from built-in backend.
- Flake8 moved their repo from gitlab to github.
- According to PolyNSI's Dockerfile, polynsi.jar executed without any debug parameters `java -jar polynsi.jar`. In order to load the application.properties, file should be mounted in the same folder.
- Fix folder location for polynsi.jar according to PolyNSI's Dockerfile.
* update grpc and protobuf dependencies
* install types-setuptools in dev environment
* fix various linting errors
hanstrompert and others added 25 commits March 27, 2024 22:36
- Adapt paristaEOS4 backend for Arista cEOS4.
- Arista cEOS4 runs on Containerlab with Docker.
- Arista cEOS image version: 4.30.1F .
- Change the port_id to Arista cEOS interface name.
- Tests run on Containerlab.
- Fix _create_delete_commands interface string encoding.
- Pass test_release_job_release_confirmed_auto_start pytest.
- Create a 3 Arista cEOS routers linear topology.
- Ignore changes of containerlab runtime data.
- env file finding according to filename.
- Thorogh switch commands description for VLAN setup and teardown.
- Add pytest.ini to ignore test_data folder for pytest config in vscode.
- Change the image locations in docker-compose.yml to the existing ones.
- Expose document_server_port (4321) in Dockerfile.
…age.

- The test_data directory is for storing development test data.
- Turn on DEBUG log in supa.env.
- Log the content of db_session when ActivateJob is called.
- Implement topology function which configs STPs from a YAML of STPs list configuration.
- Re-organize the clab_aristaCEOS4 env and stps_config file to a directory.
- Skip pytest targets in "test_dataplane.py" and "test_provision.py" that require a backend device for unittests in Github actions.
…ta Switches.

- Goal: Run pytest with CLI input of VLAN and port parameters, testing set and removal of any VLAN on any port in Arista Switch Backend.
- Use isort reformat clab_aristaCEOS4.py .
… setup.cfg .

- PyYAML is used in  clab_aristaCEOS4 backend for loading STPs config YAML file.
- Without fixing it, supa running on Docker cannot correctly load the clab_aristaCEOS4 backend.
… setup.cfg .

- PyYAML is used in  clab_aristaCEOS4 backend for loading STPs config YAML file.
- Without fixing it, supa running on Docker cannot correctly load the clab_aristaCEOS4 backend.
- Log info for backend activate, deactivate and topology.
- Better distinguished from built-in backend.
- Flake8 moved their repo from gitlab to github.
- According to PolyNSI's Dockerfile, polynsi.jar executed without any debug parameters `java -jar polynsi.jar`. In order to load the application.properties, file should be mounted in the same folder.
- Fix folder location for polynsi.jar according to PolyNSI's Dockerfile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants