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

nxos_config and nxos_pim_interface fix #31343

Merged
merged 2 commits into from
Oct 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ansible/modules/network/nxos/nxos_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
- name: diff the running-config against a provided config
nxos_config:
diff_against: intended
intended: "{{ lookup('file', 'master.cfg') }}"
intended_config: "{{ lookup('file', 'master.cfg') }}"

- nxos_config:
lines:
Expand Down
2 changes: 2 additions & 0 deletions lib/ansible/modules/network/nxos/nxos_pim_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,14 @@ def get_pim_interface(module, interface):
pim_interface['hello_interval'] = str(hello_interval_msec)

border = get_data.get('is-border')
border = border.lower() if border else border
if border == 'true':
pim_interface['border'] = True
elif border == 'false':
pim_interface['border'] = False

isauth = get_data.get('isauth-config')
isauth = isauth.lower() if isauth else isauth
if isauth == 'true':
pim_interface['isauth'] = True
elif isauth == 'false':
Expand Down