Skip to content

Commit

Permalink
Merge branch 'master' into feature/pagination_rest
Browse files Browse the repository at this point in the history
  • Loading branch information
edudppaz committed Dec 15, 2024
2 parents 8f0db6a + 7272ad6 commit 8807df1
Show file tree
Hide file tree
Showing 19 changed files with 61 additions and 60 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
# * is a special character in YAML so you have to quote this string
- cron: '0 8 * * *'
env:
python_version: '3.10'
python_version: '3.11'
jobs:
build:
name: Build collection
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ansible: [v2.15.11, v2.16.6, stable-2.16, stable-2.17]
ansible: [v2.16.6, stable-2.16, stable-2.17, stable-2.18]
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ansible: [stable-2.17]
ansible: [stable-2.18]
steps:
- name: Set up Python ${{ env.python_version }}
uses: actions/setup-python@v5
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansible: [v2.15.11, v2.16.6, stable-2.16, stable-2.17]
ansible: [v2.16.6, stable-2.16, stable-2.17, stable-2.18]
steps:
- name: Set up Python ${{ env.python_version }}
uses: actions/setup-python@v5
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansible: [v2.15.11, v2.16.6, stable-2.16, stable-2.17]
ansible: [v2.16.6, stable-2.16, stable-2.17, stable-2.18]
steps:
- name: Set up Python ${{ env.python_version }}
uses: actions/setup-python@v5
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ansible: [stable-2.17]
ansible: [stable-2.18]
env:
MUTEX_URL: https://8v7s765ibh.execute-api.us-west-1.amazonaws.com
steps:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ See the [cisco.aci collection index](https://galaxy.ansible.com/ui/repo/publishe

## Requirements

- Ansible v2.15 or newer
- Python v3.10 or newer
- Ansible v2.16 or newer
- Python v3.11 or newer

Follow the [Installing Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) guide for detailed instructions.

Expand Down
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.15.0'
requires_ansible: '>=2.16.0'
action_groups:
all:
- aci_aaa_certificate_authority
Expand Down
5 changes: 3 additions & 2 deletions plugins/modules/aci_cloud_subnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
description:
- The name of the Cloud Subnet.
type: str
aliases: [subnet]
description:
description:
- Description of the Cloud Subnet.
Expand All @@ -36,7 +37,7 @@
description:
- Ip address of the Cloud Subnet.
type: str
aliases: [subnet]
aliases: [ip]
name_alias:
description:
- An alias for the name of the current object. This relates to the nameAlias field in ACI and is used to rename object without changing the DN.
Expand Down Expand Up @@ -255,7 +256,7 @@ def main():
argument_spec.update(
name=dict(type="str", aliases=["subnet"]),
description=dict(type="str"),
address=dict(type="str"),
address=dict(type="str", aliases=["ip"]),
name_alias=dict(type="str"),
vnet_gateway=dict(type="bool", default=False),
tenant=dict(type="str", required=True),
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/aci_epg_to_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
aliases: [ type ]
encap:
description:
- The VLAN encapsulation for the EPG when binding a VMM Domain with static C(encap_mode).
- The VLAN encapsulation for the EPG when binding a VMM Domain in static VLAN mode.
- The VLAN mode in UI is set to static when O(encap) is not set.
- This acts as the secondary encap when using useg.
- Accepted values range between C(1) and C(4096).
type: int
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/aci_interface_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def main():
class_name = "infraSHPathS"
children = ["infraRsSHPathAtt"]
rn = None
child_configs = None

if node_id and interface:
if fex_id:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/aci_interface_policy_hsrp.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
- The C(tenant) must exist before using this module in your playbook.
The M(cisco.aci.aci_tenant) can be used for this.
seealso:
- module: aci_tenant
- module: cisco.aci.aci_tenant
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(hsrp:IfPol).
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/aci_l2out_logical_interface_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
- cisco.aci.annotation
seealso:
- module: aci_l2out
- module: aci_l2out_logical_node_profile
- module: aci_l2out_logical_interface_profile
- module: aci_l2out_extepg
- module: cisco.aci.aci_l2out
- module: cisco.aci.aci_l2out_logical_node_profile
- module: cisco.aci.aci_l2out_logical_interface_profile
- module: cisco.aci.aci_l2out_extepg
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(l2ext:RsPathL2OutAtt).
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/aci_l2out_logical_interface_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
- cisco.aci.owner
seealso:
- module: aci_l2out
- module: aci_l2out_logical_node_profile
- module: aci_l2out_logical_interface_path
- module: aci_l2out_extepg
- module: cisco.aci.aci_l2out
- module: cisco.aci.aci_l2out_logical_node_profile
- module: cisco.aci.aci_l2out_logical_interface_path
- module: cisco.aci.aci_l2out_extepg
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(l2ext:LIfP).
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/aci_l2out_logical_node_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
- cisco.aci.owner
seealso:
- module: aci_l2out
- module: aci_l2out_logical_interface_profile
- module: aci_l2out_logical_interface_path
- module: aci_l2out_extepg
- module: cisco.aci.aci_l2out
- module: cisco.aci.aci_l2out_logical_interface_profile
- module: cisco.aci.aci_l2out_logical_interface_path
- module: cisco.aci.aci_l2out_extepg
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(l2ext:LNodeP).
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/aci_l3out_bgp_peer.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@
- cisco.aci.annotation
seealso:
- module: aci_l3out
- module: aci_l3out_logical_node_profile
- module: cisco.aci.aci_l3out
- module: cisco.aci.aci_l3out_logical_node_profile
- name: APIC Management Information Model reference
description: More information about the internal APIC classes B(bgp:peerP) and B(bgp:InfraPeerP)
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
10 changes: 5 additions & 5 deletions plugins/modules/aci_l3out_hsrp_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
your playbook. The M(cisco.aci.aci_tenant), M(cisco.aci.aci_l3out), M(cisco.aci.aci_l3out_logical_node_profile),
M(cisco.aci.aci_l3out_logical_interface_profile) and M(cisco.aci.aci_l3out_hsrp_interface_profile) can be used for this.
seealso:
- module: aci_tenant
- module: aci_l3out
- module: aci_l3out_logical_node_profile
- module: aci_l3out_logical_interface_profile
- module: aci_l3out_hsrp_interface_profile
- module: cisco.aci.aci_tenant
- module: cisco.aci.aci_l3out
- module: cisco.aci.aci_l3out_logical_node_profile
- module: cisco.aci.aci_l3out_logical_interface_profile
- module: cisco.aci.aci_l3out_hsrp_interface_profile
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(hsrp:IfP).
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
10 changes: 5 additions & 5 deletions plugins/modules/aci_l3out_hsrp_interface_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
- If C(hsrp_policy) is used, it must exist before using this module in your playbook.
The M(cisco.aci.aci_interface_policy_hsrp) can be used for this.
seealso:
- module: aci_tenant
- module: aci_l3out
- module: aci_l3out_logical_node_profile
- module: aci_l3out_logical_interface_profile
- module: aci_interface_policy_hsrp
- module: cisco.aci.aci_tenant
- module: cisco.aci.aci_l3out
- module: cisco.aci.aci_l3out_logical_node_profile
- module: cisco.aci.aci_l3out_logical_interface_profile
- module: cisco.aci.aci_interface_policy_hsrp
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(hsrp:IfP).
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
12 changes: 6 additions & 6 deletions plugins/modules/aci_l3out_hsrp_secondary_vip.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
M(cisco.aci.aci_l3out_logical_interface_profile), M(cisco.aci.aci_l3out_hsrp_interface_profile) and M(cisco.aci.aci_l3out_hsrp_group) can be used for
this.
seealso:
- module: aci_tenant
- module: aci_l3out
- module: aci_l3out_logical_node_profile
- module: aci_l3out_logical_interface_profile
- module: aci_l3out_hsrp_interface_profile
- module: aci_l3out_hsrp_group
- module: cisco.aci.aci_tenant
- module: cisco.aci.aci_l3out
- module: cisco.aci.aci_l3out_logical_node_profile
- module: cisco.aci.aci_l3out_logical_interface_profile
- module: cisco.aci.aci_l3out_hsrp_interface_profile
- module: cisco.aci.aci_l3out_hsrp_group
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(hsrp:SecVip).
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/aci_l3out_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@
The M(cisco.aci.aci_tenant), M(cisco.aci.aci_l3out), M(cisco.aci.aci_l3out_logical_node_profile) and
M(cisco.aci.aci_l3out_logical_interface_profile) can be used for this.
seealso:
- module: aci_tenant
- module: aci_l3out
- module: aci_l3out_logical_node_profile
- module: aci_l3out_logical_interface_profile
- module: cisco.aci.aci_tenant
- module: cisco.aci.aci_l3out
- module: cisco.aci.aci_l3out_logical_node_profile
- module: cisco.aci.aci_l3out_logical_interface_profile
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(l3ext:RsPathL3OutAtt)
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
10 changes: 4 additions & 6 deletions plugins/modules/aci_l3out_interface_secondary_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,11 @@
- cisco.aci.aci
- cisco.aci.annotation
notes:
- This is a test
seealso:
- module: aci_l3out
- module: aci_l3out_logical_node_profile
- module: aci_l3out_logical_interface_profile
- module: aci_l3out_logical_interface
- module: cisco.aci.aci_l3out
- module: cisco.aci.aci_l3out_logical_node_profile
- module: cisco.aci.aci_l3out_logical_interface_profile
- module: cisco.aci.aci_l3out_logical_interface
- name: APIC Management Information Model reference
description: More information about the internal APIC class B(l3ext:Ip)
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/aci_l3out_logical_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
- cisco.aci.annotation
seealso:
- module: aci_l3out
- module: aci_l3out_logical_node_profile
- module: cisco.aci.aci_l3out
- module: cisco.aci.aci_l3out_logical_node_profile
- name: APIC Management Information Model reference
description: More information about the internal APIC classes B(l3ext:RsNodeL3OutAtt)
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/aci_l3out_logical_node_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
- cisco.aci.owner
seealso:
- module: aci_l3out
- module: cisco.aci.aci_l3out
- name: APIC Management Information Model reference
description: More information about the internal APIC classes B(l3ext:LNodeP).
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/aci_l3out_static_routes_nexthop.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
- cisco.aci.annotation
seealso:
- module: aci_l3out
- module: aci_l3out_logical_node_profile
- module: aci_l3out_logical_node_profile_to_node
- module: aci_l3out_static_routes
- module: cisco.aci.aci_l3out
- module: cisco.aci.aci_l3out_logical_node_profile
- module: cisco.aci.aci_l3out_logical_node_profile_to_node
- module: cisco.aci.aci_l3out_static_routes
- name: APIC Management Information Model reference
description: More information about the internal APIC classes B(ip:NexthopP)
link: https://developer.cisco.com/docs/apic-mim-ref/
Expand Down

0 comments on commit 8807df1

Please sign in to comment.