|
|
|
@ -110,9 +110,9 @@ EXAMPLES = '''
|
|
|
|
|
- nxos_pim_interface:
|
|
|
|
|
interface: eth1/33
|
|
|
|
|
state: absent
|
|
|
|
|
host: {{ inventory_hostname }}
|
|
|
|
|
username: {{ un }}
|
|
|
|
|
password: {{ pwd }}
|
|
|
|
|
host: "{{ inventory_hostname }}"
|
|
|
|
|
username: "{{ un }}"
|
|
|
|
|
password: "{{ pwd }}"
|
|
|
|
|
|
|
|
|
|
# ensure the interface has pim-sm enabled with the appropriate priority and hello interval
|
|
|
|
|
- nxos_pim_interface:
|
|
|
|
@ -120,9 +120,9 @@ EXAMPLES = '''
|
|
|
|
|
dr_prio: 10
|
|
|
|
|
hello_interval: 40
|
|
|
|
|
state: present
|
|
|
|
|
host: {{ inventory_hostname }}
|
|
|
|
|
username: {{ un }}
|
|
|
|
|
password: {{ pwd }}
|
|
|
|
|
host: "{{ inventory_hostname }}"
|
|
|
|
|
username: "{{ un }}"
|
|
|
|
|
password: "{{ pwd }}"
|
|
|
|
|
|
|
|
|
|
# ensure join-prune policies exist
|
|
|
|
|
- nxos_pim_interface:
|
|
|
|
@ -131,17 +131,17 @@ EXAMPLES = '''
|
|
|
|
|
jp_policy_out: JPOUT
|
|
|
|
|
jp_type_in: routemap
|
|
|
|
|
jp_type_out: routemap
|
|
|
|
|
host: {{ inventory_hostname }}
|
|
|
|
|
username: {{ un }}
|
|
|
|
|
password: {{ pwd }}
|
|
|
|
|
host: "{{ inventory_hostname }}"
|
|
|
|
|
username: "{{ un }}"
|
|
|
|
|
password: "{{ pwd }}"
|
|
|
|
|
|
|
|
|
|
# ensure defaults are in place
|
|
|
|
|
- nxos_pim_interface:
|
|
|
|
|
interface: eth1/33
|
|
|
|
|
state: default
|
|
|
|
|
host: {{ inventory_hostname }}
|
|
|
|
|
username: {{ un }}
|
|
|
|
|
password: {{ pwd }}
|
|
|
|
|
host: "{{ inventory_hostname }}"
|
|
|
|
|
username: "{{ un }}"
|
|
|
|
|
password: "{{ pwd }}"
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
RETURN = '''
|
|
|
|
|