mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
sub-interface support for nxos module (#37392)
* nxos sub-interface support Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * update l3_interface test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Add integration test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -30,6 +30,14 @@
|
||||
provider: "{{ cli }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Setup - Ensure interfaces are layer3
|
||||
nxos_interface:
|
||||
aggregate:
|
||||
- name: "{{ testint2 }}"
|
||||
- name: "{{ testint3 }}"
|
||||
mode: layer3
|
||||
provider: "{{ cli }}"
|
||||
|
||||
- name: Configure ipv4 address to interface
|
||||
nxos_l3_interface: &conf
|
||||
name: "{{ testint2 }}"
|
||||
|
||||
Reference in New Issue
Block a user