summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/network/aci/aci_interface_policy_ospf.py')
-rw-r--r--lib/ansible/modules/network/aci/aci_interface_policy_ospf.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py b/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py
index c207c80a95..d1639f30b2 100644
--- a/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py
+++ b/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py
@@ -17,12 +17,6 @@ module: aci_interface_policy_ospf
short_description: Manage OSPF interface policies (ospf:IfPol)
description:
- Manage OSPF interface policies on Cisco ACI fabrics.
-seealso:
-- name: APIC Management Information Model reference
- description: More information about the internal APIC class B(ospf:IfPol).
- link: https://developer.cisco.com/docs/apic-mim-ref/
-author:
-- Dag Wieers (@dagwieers)
version_added: '2.7'
options:
tenant:
@@ -135,6 +129,12 @@ options:
choices: [ absent, present, query ]
default: present
extends_documentation_fragment: aci
+seealso:
+- name: APIC Management Information Model reference
+ description: More information about the internal APIC class B(ospf:IfPol).
+ link: https://developer.cisco.com/docs/apic-mim-ref/
+author:
+- Dag Wieers (@dagwieers)
'''
EXAMPLES = r'''
@@ -285,15 +285,15 @@ url:
sample: https://10.11.12.13/api/mo/uni/tn-production.json
'''
-from ansible.module_utils.network.aci.aci import ACIModule, aci_argument_spec
from ansible.module_utils.basic import AnsibleModule
+from ansible.module_utils.network.aci.aci import ACIModule, aci_argument_spec
def main():
argument_spec = aci_argument_spec()
argument_spec.update(
- tenant=dict(type='str', required=False, aliases=['tenant_name']), # Not required for querying all objects
- ospf=dict(type='str', required=False, aliases=['ospf_interface', 'name']), # Not required for querying all objects
+ tenant=dict(type='str', aliases=['tenant_name']), # Not required for querying all objects
+ ospf=dict(type='str', aliases=['ospf_interface', 'name']), # Not required for querying all objects
description=dict(type='str', aliases=['descr']),
network_type=dict(type='str', choices=['bcast', 'p2p']),
cost=dict(type='int'),