diff --git a/plugins/modules/aci_cloud_subnet.py b/plugins/modules/aci_cloud_subnet.py index bfdad0a33..4eb03d0d1 100644 --- a/plugins/modules/aci_cloud_subnet.py +++ b/plugins/modules/aci_cloud_subnet.py @@ -28,6 +28,7 @@ description: - The name of the Cloud Subnet. type: str + aliases: [subnet] description: description: - Description of the Cloud Subnet. @@ -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. @@ -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), diff --git a/plugins/modules/aci_interface_description.py b/plugins/modules/aci_interface_description.py index 387acd54a..97471ed98 100644 --- a/plugins/modules/aci_interface_description.py +++ b/plugins/modules/aci_interface_description.py @@ -289,6 +289,7 @@ def main(): class_name = "infraSHPathS" children = ["infraRsSHPathAtt"] rn = None + child_configs = None if node_id and interface: if fex_id: