Update documentation for aci_interface_policy_cdp (#58395)

* Update documentation for aci_interface_policy_cdp

##### SUMMARY
Documentation only changes. Improved the examples and changed the `version_added` from 2.8 to 2.9.

* Update lib/ansible/modules/network/aci/aci_interface_policy_cdp.py

Co-Authored-By: Sandra McCann <samccann@redhat.com>

* Converted from mixed indentation to spaces
pull/58407/head
Kevin Breit 6 years ago committed by Alicia Cozine
parent db689f7221
commit 4613c74074

@ -18,7 +18,7 @@ module: aci_interface_policy_cdp
short_description: Manage CDP interface policies (cdp:IfPol) short_description: Manage CDP interface policies (cdp:IfPol)
description: description:
- Manage CDP interface policies on Cisco ACI fabrics. - Manage CDP interface policies on Cisco ACI fabrics.
version_added: '2.8' version_added: '2.9'
options: options:
cdp_policy: cdp_policy:
description: description:
@ -52,16 +52,30 @@ author:
- Tim Knipper (@tknipper11) - Tim Knipper (@tknipper11)
''' '''
# FIXME: Add more, better examples
EXAMPLES = r''' EXAMPLES = r'''
- aci_interface_policy_cdp: - name: Create CDP Test Policy
host: '{{ hostname }}' aci_interface_policy_cdp:
username: '{{ username }}' name: Ansible_CDP_Test_Policy
password: '{{ password }}' host: apic.example.com
cdp_policy: '{{ cdp_policy }}' username: admin
description: '{{ description }}' password: adminpass
admin_state: '{{ admin_state }}' state: present
delegate_to: localhost
- name: Remove CDP Test Policy
aci_interface_policy_cdp:
name: Ansible_CDP_Test_Policy
host: apic.example.com
username: admin
password: adminpass
output_level: debug
state: absent
- name: Query CDP Policy
aci_interface_policy_cdp:
host: apic.example.com
username: admin
password: adminpass
state: query
''' '''
RETURN = r''' RETURN = r'''

Loading…
Cancel
Save