I've encountered strange problem.
when I try to touch a LAG interface its members are shut down
The task is ultra simple:
tasks:
- name: Configure lag1
aoscx_l2_interface:
interface: lag1
vlan_mode: trunk
vlan_trunks: ['1','160','400','420']
native_vlan_id: '1'
It is executing properly
tommyd@ansibe:~/ansible/aruba-test$ ansible-playbook switch-setup-test.yml
PLAY [aoscx_sw1] *******************************************************************************************************************************************
TASK [Configure lag1] *******************************************************************************************************************************************
ok: [aoscx_sw1]
PLAY RECAP *******************************************************************************************************************************************
aoscx_sw1 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
tommyd@ansibe:~/ansible/aruba-test$
But after execution both lag1 member interfaces are in shutdown state. What I am doing wrong
The LAG config is also basic
aoscx_sw1# show run interface 1/1/51-1/1/52
interface 1/1/51
shutdown
lag 1
exit
interface 1/1/52
shutdown
lag 1
exit
aoscx_sw1# show run interface lag1
interface lag 1
no shutdown
vlan trunk native 1
vlan trunk allowed 1,160,400,420
lacp mode active
exit