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

LAG interfaces module is outdated #356

Open
aaronmehar opened this issue Oct 16, 2024 · 0 comments
Open

LAG interfaces module is outdated #356

aaronmehar opened this issue Oct 16, 2024 · 0 comments

Comments

@aaronmehar
Copy link

The module to creae LAG interfaces needs updating as it's using an old CLI syntax from 1.1 days

I have a playbook using this task

- name: Create bond interfaces
  vyos.vyos.vyos_lag_interfaces:
    config:
      - name: "{{ item.name }}"
        mode: "{{ item.mode }}"
        members:
          - member: "{{ item.members[0] }}"
          - member: "{{ item.members[1] }}"
        hash_policy: "{{ item.hash_policy }}"
  when: item.members is defined
  loop: "{{ lag_interfaces }}"

but it errors out with this error

  module_stderr: |-
    set interfaces ethernet eth0 bond-group 'bond0'

      Configuration path: interfaces ethernet eth0 [bond-group] is not valid
      Set failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant