Skip to content

Variable swap

Julien D requested to merge barajus-master-patch-64059 into dev

Yo.

I am working on the firewall/edge integration and I need to delete the mlag subsection in hosts configs, so I can create L3 (sub)interfaces connected to fw1.

ex: host_vars/border01

-mlag:
-  sysmac: "{{mlag_sysmac_prefix}}:FF"
-  priority: primary
-  peerlinks: [ swp49, swp50 ]
-  backup: "{{vxlan_local_loopback_subnet}}.64"
-  bonds:
-    - { profile: mlagBondProfileFW, name: bond3, ports: [swp3], id: 1 }

Problem is, hwaddress for L3VNI rely on this mlag.sysmac, which is now undefined if I delete the mlag blocs.

  - name: vlan4002
    id: 4002
    vrf: BLUE
    hwaddress: "{{ mlag.sysmac }}"

Merge request reports