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

Add module for mgmt:OOB to contract binding (mgmtRsOoBProv) (DCNE-212) #696

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Black formatting with proper line length
Eduardo Pozo committed Oct 17, 2024
commit e61930aa9a95d5998a83b686a5a648d852bee0f5
12 changes: 6 additions & 6 deletions plugins/modules/aci_oob_epg_to_contract.py
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

__metaclass__ = type

DOCUMENTATION = r'''
DOCUMENTATION = r"""
---
module: aci_oob_epg_to_contract
short_description: Manage out-of-band contract association with an out-of-band management EPG.
@@ -43,9 +43,9 @@

author:
- Eduardo Pozo (@edudppaz)
'''
"""

EXAMPLES = r'''
EXAMPLES = r"""
- name: Associate contract to an out-of-band EPG
cisco.aci.aci_oob_epg_to_contract:
epg: default
@@ -72,9 +72,9 @@
contract: default
state: absent
delegate_to: localhost
'''
"""

RETURN = r'''
RETURN = r"""
current:
description: The existing configuration from the APIC after the module has finished
returned: success
@@ -177,7 +177,7 @@
returned: failure or debug
type: str
sample: https://10.11.12.13/api/mo/uni/tn-production.json
'''
"""

from ansible.module_utils.basic import AnsibleModule
from ansible_collections.cisco.aci.plugins.module_utils.aci import ACIModule, aci_argument_spec, aci_annotation_spec