Closed lowstar closed 1 year ago
nxos_bgp_template: send_community not supported
send_community
nxos_bgp_template
ansible [core 2.15.3] config file = /Users/xxx/scratch/ansible/ansible.cfg configured module search path = ['/Users/xxx/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /Users/xxx/scratch/ansible/venv/lib/python3.11/site-packages/ansible ansible collection location = /Users/xxx/.ansible/collections:/usr/share/ansible/collections executable location = /Users/xxx/scratch/ansible/venv/bin/ansible python version = 3.11.5 (main, Aug 24 2023, 15:18:16) [Clang 14.0.3 (clang-1403.0.22.14.1)] (/Users/xxx/scratch/ansible/venv/bin/python3.11) jinja version = 3.1.2 libyaml = True
# /Users/xxx/.ansible/collections/ansible_collections Collection Version ---------- ------- cisco.nxos 5.1.0 # /Users/xxx/scratch/ansible/venv/lib/python3.11/site-packages/ansible_collections Collection Version ---------- ------- cisco.nxos 4.4.0
CONFIG_FILE() = /Users/xxx/scratch/ansible/ansible.cfg DEFAULT_HOST_LIST(/Users/xxx/scratch/ansible/ansible.cfg) = ['/Users/xxx/scratch/ansible/inventory.yml'] DEPRECATION_WARNINGS(/Users/xxx/scratch/ansible/ansible.cfg) = False EDITOR(env: EDITOR) = nvim PAGER(env: PAGER) = less
Tested against NXOS: version 9.3(10)
NXOS: version 9.3(10)
- name: BGP peer template cisco.nxos.nxos_bgp_templates: config: as_number: "{{ asn }}" neighbor: - name: template remote_as: "{{ asn }}" update_source: Loopback0 address_family: - afi: ipv4 safi: unicast route_reflector_client: True send_community: both: True
send_community should be a valid parameter under within address_family parameter (same as in cisco.nxos.nxos_bgp_neighbor_address_family)
cisco.nxos.nxos_bgp_neighbor_address_family
TASK [spine : BGP peer template] **************************************************************************************************************************************************** fatal: [spine1]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (cisco.nxos.nxos_bgp_templates) module: config.neighbor.address_family.send_community. Supported parameters include: advertise_map, advertisement_interval, afi, allowas_in, as_override, capability, default_originate, disable_peer_as_check, filter_list, inherit, maximum_prefix, next_hop_self, next_hop_third_party, prefix_list, route_map, route_reflector_client, safi, soft_reconfiguration_inbound, soo, suppress_inactive, unsuppress_map, weight."}
SUMMARY
nxos_bgp_template:
send_community
not supportedISSUE TYPE
COMPONENT NAME
nxos_bgp_template
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Tested against
NXOS: version 9.3(10)
STEPS TO REPRODUCE
EXPECTED RESULTS
send_community
should be a valid parameter under within address_family parameter (same as incisco.nxos.nxos_bgp_neighbor_address_family
)ACTUAL RESULTS