ansible/test/integration/targets/ios_lag_interfaces/vars/main.yaml
Sumit Jaiswal 04ef376ab2
Resource module for ios_lag_interfaces (#60672)
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-19 20:41:00 +05:30

93 lines
2 KiB
YAML

---
merged:
before:
- name: GigabitEthernet0/0
- name: GigabitEthernet0/1
- name: GigabitEthernet0/2
commands:
- "interface GigabitEthernet0/1"
- "channel-group 1 mode active"
- "interface GigabitEthernet0/2"
- "channel-group 1 mode passive"
after:
- name: GigabitEthernet0/0
- members:
- member: GigabitEthernet0/1
mode: active
- member: GigabitEthernet0/2
mode: passive
name: Port-channel1
replaced:
before:
- name: GigabitEthernet0/0
- members:
- member: GigabitEthernet0/1
mode: active
- member: GigabitEthernet0/2
mode: passive
name: Port-channel1
commands:
- "interface GigabitEthernet0/1"
- "channel-group 2 mode active"
- "interface GigabitEthernet0/2"
- "channel-group 40 mode active"
after:
- name: GigabitEthernet0/0
- members:
- member: GigabitEthernet0/1
mode: active
name: Port-channel2
- members:
- member: GigabitEthernet0/2
mode: active
name: Port-channel40
overridden:
before:
- name: GigabitEthernet0/0
- members:
- member: GigabitEthernet0/1
mode: active
- member: GigabitEthernet0/2
mode: passive
name: Port-channel1
commands:
- "interface GigabitEthernet0/1"
- "no channel-group"
- "interface GigabitEthernet0/2"
- "channel-group 10 mode passive"
after:
- name: GigabitEthernet0/0
- name: GigabitEthernet0/1
- members:
- member: GigabitEthernet0/2
mode: passive
name: Port-channel10
deleted:
before:
- name: GigabitEthernet0/0
- members:
- member: GigabitEthernet0/1
mode: active
- member: GigabitEthernet0/2
mode: passive
name: Port-channel1
commands:
- "interface GigabitEthernet0/1"
- "no channel-group"
- "interface GigabitEthernet0/2"
- "no channel-group"
after:
- name: GigabitEthernet0/0
- name: GigabitEthernet0/1
- name: GigabitEthernet0/2