Skip to content

Commit

Permalink
Updates needed to start using execution environments
Browse files Browse the repository at this point in the history
This change starts the process of adding support for execution
environments for running sanity / unit tests.

Depends-On: ansible/ansible-zuul-jobs#742
Depends-On: ansible/network-ee#27
Depends-On: ansible-collections#154
Depends-On: ansible/ansible-zuul-jobs#745
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
  • Loading branch information
pabelanger committed Jan 22, 2021
1 parent 4890dad commit 34f8388
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
- project:
templates:
- network-ee-container-image-jobs
- network-ee-tests
4 changes: 4 additions & 0 deletions changelogs/fragments/requires-ansible.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
bugfixes:
- Uncap required ansible version in our collection.
- Fix yaml formatting errors in documentation.
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
requires_ansible: '>=2.9.10,<2.11'
requires_ansible: '>=2.9.10'
plugin_routing:
action:
eos_acl_interfaces:
Expand Down
14 changes: 10 additions & 4 deletions plugins/modules/eos_l3_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,20 @@
- name: Set IP addresses on aggregate
arista.eos.eos_l3_interface:
aggregate:
- {name: ethernet1, ipv4: 192.168.2.10/24}
- {name: ethernet1, ipv4: 192.168.3.10/24, ipv6: fd5d:12c9:2201:1::1/64}
- name: ethernet1
ipv4: 192.168.2.10/24
- name: ethernet1
ipv4: 192.168.3.10/24
ipv6: fd5d:12c9:2201:1::1/64
- name: Remove IP addresses on aggregate
arista.eos.eos_l3_interface:
aggregate:
- {name: ethernet1, ipv4: 192.168.2.10/24}
- {name: ethernet1, ipv4: 192.168.3.10/24, ipv6: fd5d:12c9:2201:1::1/64}
- name: ethernet1
ipv4: 192.168.2.10/24
- name: ethernet1
ipv4: 192.168.3.10/24
ipv6: fd5d:12c9:2201:1::1/64
state: absent
"""

Expand Down
6 changes: 4 additions & 2 deletions plugins/modules/eos_vrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@
- name: Create aggregate of VRFs with purge
arista.eos.eos_vrf:
aggregate:
- {name: test4, rd: 1:204}
- {name: test5, rd: 1:205}
- name: test4
rd: 1:204
- name: test5
rd: 1:205
state: present
purge: yes
Expand Down
1 change: 1 addition & 0 deletions tests/sanity/ignore-2.11.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plugins/action/eos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local`

0 comments on commit 34f8388

Please sign in to comment.