-
- Downloads
Rework of check_optical levels
Added parsers to get optical values per lane for both Junos and SROS. Junos: getting output in JSON, then parsing is easy. SROS: no option to get output in JSON, hence need to parse using `ansible.utils.cli_parse`. `templates/sros_show_port_optical.yaml` is part of SROS parsing. For the "remaining" side of a trunk: Because it will be the same router/vendor in PRE and POST, we can produce the diff on PRE/POST. So then all the PRE and POST results are saved in individual files and the final task would be to produce the diff. However, the optical levels always fluctuate a little, so there always be a diff on wide range of values.
parent
52daeed3
No related branches found
No related tags found
Showing
- geant/gap_ansible/roles/iptrunk_checks/tasks/check_optical_levels.yaml 51 additions, 20 deletions...ible/roles/iptrunk_checks/tasks/check_optical_levels.yaml
- geant/gap_ansible/roles/iptrunk_checks/tasks/diff_optical_results.yaml 27 additions, 0 deletions...ible/roles/iptrunk_checks/tasks/diff_optical_results.yaml
- geant/gap_ansible/roles/iptrunk_checks/tasks/main.yml 30 additions, 3 deletionsgeant/gap_ansible/roles/iptrunk_checks/tasks/main.yml
- geant/gap_ansible/roles/iptrunk_checks/templates/sros_show_port_optical.yaml 8 additions, 0 deletions...oles/iptrunk_checks/templates/sros_show_port_optical.yaml
Please register or sign in to comment