Skip to content
Snippets Groups Projects

Nokia optical parser updated

Merged Aleksandr Kurbatov requested to merge bugfix/nat-618-opt-checks into develop
2 files
+ 4
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -57,7 +57,7 @@
- name: Parse SROS port optical output
ansible.utils.cli_parse:
text: "{{ out.output['rpc-reply']['nokiaoper:results']['nokiaoper:md-cli-output-block'] }}"
text: "{{ out.stdout }}"
parser:
name: ansible.netcommon.native
template_path: "{{ role_path }}/templates/sros_show_port_optical.yaml"
@@ -68,7 +68,3 @@
ae_result: "{{ ae_result | combine({item.key: item.value}) }}"
with_items:
- { key: "{{ ae_member.interface_name }}", value: "{{ lanes }}" }
- name: Empty lanes variable for the next cycle
ansible.builtin.set_fact:
lanes: []
Loading