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

Fix rest of ios_interface issues #32257

Merged
merged 1 commit into from
Oct 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions test/integration/targets/ios_interface/tests/cli/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
- name: Add interface aggregate
ios_interface:
aggregate:
- { name: "{{ test_interface }}", mtu: 1800, description: test-interface-1 }
- { name: "{{ test_interface }}", mtu: 2000, description: test-interface-1 }
- { name: "{{ test_interface2 }}", mtu: 2000, description: test-interface-2 }
speed: 1000
state: present
Expand All @@ -152,15 +152,15 @@
that:
- 'result.changed == true'
- '"interface {{ test_interface }}" in result.commands'
- '"mtu 1800" in result.commands'
- '"mtu 2000" in result.commands'
- '"interface {{ test_interface2 }}" in result.commands'
- '"description test-interface-2" in result.commands'
- '"mtu 2000" in result.commands'

- name: Add interface aggregate (idempotent)
ios_interface:
aggregate:
- { name: "{{ test_interface }}", mtu: 1800, description: test-interface-1 }
- { name: "{{ test_interface }}", mtu: 2000, description: test-interface-1 }
- { name: "{{ test_interface2 }}", mtu: 2000, description: test-interface-2 }
speed: 1000
state: present
Expand All @@ -174,8 +174,8 @@
- name: Disable interface aggregate
ios_interface:
aggregate:
- "name: {{ test_interface }}"
- "name: {{ test_interface2 }}"
- { name: "{{ test_interface }}" }
- { name: "{{ test_interface2 }}" }
enabled: False
state: present
authorize: yes
Expand All @@ -192,8 +192,8 @@
- name: Enable interface aggregate
ios_interface:
aggregate:
- "name: {{ test_interface }}"
- "name: {{ test_interface2 }}"
- { name: "{{ test_interface }}" }
- { name: "{{ test_interface2 }}" }
enabled: True
state: present
authorize: yes
Expand Down