summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/nxos
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/cisco/nxos')
-rw-r--r--ansible_collections/cisco/nxos/.flake867
-rw-r--r--ansible_collections/cisco/nxos/.github/workflows/check_label.yml (renamed from ansible_collections/cisco/nxos/.github/workflows/ack.yml)10
-rw-r--r--ansible_collections/cisco/nxos/.github/workflows/codecoverage.yml3
-rw-r--r--ansible_collections/cisco/nxos/.github/workflows/draft_release.yml18
-rw-r--r--ansible_collections/cisco/nxos/.github/workflows/integration-test.yml38
-rw-r--r--ansible_collections/cisco/nxos/.github/workflows/push.yml27
-rw-r--r--ansible_collections/cisco/nxos/.github/workflows/release.yml4
-rw-r--r--ansible_collections/cisco/nxos/.github/workflows/tests.yml22
-rw-r--r--ansible_collections/cisco/nxos/.pre-commit-config.yaml11
-rw-r--r--ansible_collections/cisco/nxos/CHANGELOG.rst73
-rw-r--r--ansible_collections/cisco/nxos/FILES.json10244
-rw-r--r--ansible_collections/cisco/nxos/MANIFEST.json6
-rw-r--r--ansible_collections/cisco/nxos/README.md12
-rw-r--r--ansible_collections/cisco/nxos/changelogs/changelog.yaml68
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acl_interfaces_module.rst146
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acls_module.rst76
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bfd_interfaces_module.rst48
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_address_family_module.rst70
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_global_module.rst54
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_neighbor_address_family_module.rst38
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_command_module.rst24
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_config_module.rst20
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_devicealias_module.rst24
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_evpn_vni_module.rst4
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_facts_module.rst10
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_fc_interfaces_module.rst94
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_gir_profile_management_module.rst4
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_hsrp_interfaces_module.rst36
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_igmp_interface_module.rst4
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_install_os_module.rst3
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_interfaces_module.rst60
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l2_interfaces_module.rst54
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l3_interfaces_module.rst70
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lacp_interfaces_module.rst40
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lag_interfaces_module.rst40
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lldp_interfaces_module.rst28
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_global_module.rst4
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_module.rst458
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_auth_module.rst224
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_global_module.rst44
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_module.rst314
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_options_module.rst192
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospf_interfaces_module.rst183
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv2_module.rst278
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv3_module.rst242
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_route_maps_module.rst128
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_snmp_server_module.rst90
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_static_routes_module.rst126
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_system_module.rst8
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_telemetry_module.rst82
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_user_module.rst4
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vlans_module.rst42
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_af_module.rst53
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_module.rst38
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vsan_module.rst38
-rw-r--r--ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_zone_zoneset_module.rst96
-rw-r--r--ansible_collections/cisco/nxos/meta/runtime.yml363
-rw-r--r--ansible_collections/cisco/nxos/platform_guide.rst170
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/aaa_server.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/aaa_server_host.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/acl.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/acl_interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/acl_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/acls.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/banner.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bfd_global.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bfd_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bgp.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bgp_address_family.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bgp_af.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bgp_global.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bgp_neighbor.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_address_family.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_af.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/command.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/config.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/devicealias.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/evpn_global.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/evpn_vni.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/facts.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/feature.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/file_copy.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/gir.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/gir_profile_management.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/hostname.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/hsrp.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/hsrp_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/igmp.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/igmp_interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/igmp_snooping.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/install_os.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/interface_ospf.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/l2_interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/l2_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/l3_interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/l3_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/lacp.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/lacp_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/lag_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/linkagg.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/lldp.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/lldp_global.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/lldp_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/logging.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/logging_global.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ntp.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ntp_auth.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ntp_global.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ntp_options.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/nxapi.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/nxos.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ospf.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ospf_interfaces.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ospf_vrf.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ospfv2.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ospfv3.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/overlay_global.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/pim.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/pim_interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/pim_rp_address.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/ping.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/prefix_lists.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/reboot.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/rollback.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/route_maps.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/rpm.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/smu.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/snapshot.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/snmp_community.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/snmp_contact.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/snmp_host.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/snmp_location.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/snmp_server.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/snmp_traps.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/snmp_user.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/static_route.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/static_routes.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/system.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/telemetry.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/udld.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/udld_interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/user.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vlan.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vlans.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vpc.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vpc_interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vrf.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vrf_af.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vrf_interface.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vrrp.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vsan.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vtp_domain.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vtp_password.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vtp_version.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vxlan_vtep.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/vxlan_vtep_vni.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/action/zone_zoneset.py43
-rw-r--r--ansible_collections/cisco/nxos/plugins/cliconf/nxos.py6
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/acl_interfaces/acl_interfaces.py19
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/interfaces/interfaces.py4
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/l2_interfaces/l2_interfaces.py2
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acl_interfaces/acl_interfaces.py6
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acls/acls.py11
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/legacy/base.py67
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/lldp_interfaces/lldp_interfaces.py6
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/rm_templates/ospfv2.py28
-rw-r--r--ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/utils/telemetry/telemetry.py7
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_aaa_server_host.py5
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_acl_interfaces.py147
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_acls.py76
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_bfd_interfaces.py48
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_address_family.py72
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_global.py56
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_neighbor_address_family.py44
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_command.py25
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_config.py58
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_devicealias.py58
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_evpn_vni.py8
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_facts.py10
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_fc_interfaces.py98
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_gir_profile_management.py4
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_hostname.py1
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_hsrp_interfaces.py37
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_igmp_interface.py18
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_install_os.py7
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_interfaces.py62
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_l2_interfaces.py54
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_l3_interfaces.py70
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_lacp_interfaces.py40
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_lag_interfaces.py40
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_lldp_interfaces.py30
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_logging.py940
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_logging_global.py4
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_ntp.py446
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_auth.py336
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_global.py44
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_options.py173
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_ospf_interfaces.py197
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv2.py278
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv3.py278
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_route_maps.py128
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_snmp_server.py90
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_static_routes.py126
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_system.py8
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_telemetry.py84
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_user.py4
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_vlans.py42
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_vrf.py46
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_vrf_af.py74
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_vsan.py62
-rw-r--r--ansible_collections/cisco/nxos/plugins/modules/nxos_zone_zoneset.py226
-rw-r--r--ansible_collections/cisco/nxos/plugins/netconf/nxos.py1
-rw-r--r--ansible_collections/cisco/nxos/pyproject.toml6
-rw-r--r--ansible_collections/cisco/nxos/test-requirements.txt10
-rw-r--r--ansible_collections/cisco/nxos/tests/__init__.py (renamed from ansible_collections/cisco/nxos/tests/unit/compat/__init__.py)0
-rw-r--r--ansible_collections/cisco/nxos/tests/config.yml2
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/__init__.py0
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/labs/single.yaml241
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/remove_config.yaml6
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/rtt.yml3
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_facts/tests/common/interface_facts.yaml62
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_file_copy/tests/cli/sanity.yaml12
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/defaults/main.yaml2
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/meta/main.yaml3
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/cli.yaml31
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/main.yaml19
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/nxapi.yaml31
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tests/common/basic.yaml485
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tests/common/purge.yaml111
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/defaults/main.yaml2
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/meta/main.yml3
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/cli.yaml31
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/main.yaml12
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/nxapi.yaml31
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tests/common/sanity.yaml114
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/defaults/main.yaml2
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/meta/main.yml3
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/cli.yaml31
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/main.yaml10
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/nxapi.yaml31
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tests/common/sanity.yaml133
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/defaults/main.yaml2
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/meta/main.yml3
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/cli.yaml31
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/main.yaml10
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/nxapi.yaml31
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tests/common/sanity.yaml99
-rw-r--r--ansible_collections/cisco/nxos/tests/integration/test_integration.py43
-rw-r--r--ansible_collections/cisco/nxos/tests/sanity/ignore-2.10.txt34
-rw-r--r--ansible_collections/cisco/nxos/tests/sanity/ignore-2.11.txt34
-rw-r--r--ansible_collections/cisco/nxos/tests/sanity/ignore-2.12.txt36
-rw-r--r--ansible_collections/cisco/nxos/tests/sanity/ignore-2.18.txt (renamed from ansible_collections/cisco/nxos/tests/sanity/ignore-2.13.txt)0
-rw-r--r--ansible_collections/cisco/nxos/tests/sanity/ignore-2.9.txt55
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/compat/mock.py127
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/compat/unittest.py41
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/mock/path.py4
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/mock/procenv.py5
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos.py15
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acl_interfaces.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acls.py48
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_banner.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_global.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_interfaces.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_address_family.py4
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_global.py6
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_neighbor_address_family.py4
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_templates.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_command.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_config.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_devicealias.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_global.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_vni.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_fc_interfaces.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_feature.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hostname.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp_interfaces.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_interfaces.py4
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_l3_interfaces.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lacp_interfaces.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lldp_interfaces.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_logging_global.py8
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ntp_global.py4
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_nxapi.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospf_interfaces.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv2.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv3.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_overlay_global.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_interface.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_rp_address.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ping.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_prefix_lists.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_route_maps.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_snmp_server.py23
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_static_routes.py2
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_system.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_telemetry.py149
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_user.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vlans.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc_interface.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf_af.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vsan.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep_vni.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_zone_zoneset.py3
-rw-r--r--ansible_collections/cisco/nxos/tests/unit/modules/utils.py8
-rw-r--r--ansible_collections/cisco/nxos/tox-ansible.ini10
-rw-r--r--ansible_collections/cisco/nxos/tox.ini31
313 files changed, 11385 insertions, 14902 deletions
diff --git a/ansible_collections/cisco/nxos/.flake8 b/ansible_collections/cisco/nxos/.flake8
new file mode 100644
index 000000000..9a7fc1251
--- /dev/null
+++ b/ansible_collections/cisco/nxos/.flake8
@@ -0,0 +1,67 @@
+[flake8]
+
+builtins = _
+
+# Print the total number of errors:
+count = true
+
+# Don't even try to analyze these:
+extend-exclude =
+ # No need to traverse egg info dir
+ *.egg-info,
+ # tool cache dirs
+ *_cache
+ # project env vars
+ .env,
+ # GitHub configs
+ .github,
+ # Cache files of MyPy
+ .mypy_cache,
+ # Cache files of pytest
+ .pytest_cache,
+ # Temp dir of pytest-testmon
+ .tmontmp,
+ # Occasional virtualenv dir
+ .venv
+ # VS Code
+ .vscode,
+ # Temporary build dir
+ build,
+ # This contains sdists and wheels of ansible-navigator that we don't want to check
+ dist,
+ # Metadata of `pip wheel` cmd is autogenerated
+ pip-wheel-metadata,
+ # adjacent venv
+ venv
+ # ansible won't let me
+ __init__.py
+
+# IMPORTANT: avoid using ignore option, always use extend-ignore instead
+# Completely and unconditionally ignore the following errors:
+extend-ignore =
+ F841,
+ # line-length
+ E501,
+ # module level import not at top of file
+ E402
+
+# Accessibility/large fonts and PEP8 unfriendly:
+max-line-length = 120
+
+# Allow certain violations in certain files:
+# Please keep both sections of this list sorted, as it will be easier for others to find and add entries in the future
+per-file-ignores =
+ # The following ignores have been researched and should be considered permanent
+ # each should be preceeded with an explanation of each of the error codes
+ # If other ignores are added for a specific file in the section following this,
+ # these will need to be added to that line as well.
+
+
+ # S101: Allow the use of assert within the tests directory, since tests require it.
+ tests/**.py: S101
+
+ # The following were present during the initial implementation.
+ # They are expected to be fixed and unignored over time.
+
+# Count the number of occurrences of each error/warning code and print a report:
+statistics = true
diff --git a/ansible_collections/cisco/nxos/.github/workflows/ack.yml b/ansible_collections/cisco/nxos/.github/workflows/check_label.yml
index fda595dc5..b120bfa32 100644
--- a/ansible_collections/cisco/nxos/.github/workflows/ack.yml
+++ b/ansible_collections/cisco/nxos/.github/workflows/check_label.yml
@@ -1,15 +1,11 @@
---
-# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/ack.yml
-name: ack
-
+name: "Check label"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
-
on: # yamllint disable-line rule:truthy
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
-
jobs:
- ack:
- uses: ansible/devtools/.github/workflows/ack.yml@main
+ check_label:
+ uses: ansible/ansible-content-actions/.github/workflows/check_label.yaml@main
diff --git a/ansible_collections/cisco/nxos/.github/workflows/codecoverage.yml b/ansible_collections/cisco/nxos/.github/workflows/codecoverage.yml
index be2018590..034589bc1 100644
--- a/ansible_collections/cisco/nxos/.github/workflows/codecoverage.yml
+++ b/ansible_collections/cisco/nxos/.github/workflows/codecoverage.yml
@@ -1,8 +1,9 @@
---
-name: Code Coverage
+name: "Code coverage"
on: # yamllint disable-line rule:truthy
push:
+ branches: [main]
pull_request:
branches: [main]
diff --git a/ansible_collections/cisco/nxos/.github/workflows/draft_release.yml b/ansible_collections/cisco/nxos/.github/workflows/draft_release.yml
new file mode 100644
index 000000000..618f8a379
--- /dev/null
+++ b/ansible_collections/cisco/nxos/.github/workflows/draft_release.yml
@@ -0,0 +1,18 @@
+---
+name: "Draft release"
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+on: # yamllint disable-line rule:truthy
+ workflow_dispatch:
+env:
+ NAMESPACE: ${{ github.repository_owner }}
+ COLLECTION_NAME: nxos
+ ANSIBLE_COLLECTIONS_PATHS: ./
+jobs:
+ update_release_draft:
+ uses: ansible/ansible-content-actions/.github/workflows/draft_release.yaml@main
+ with:
+ repo: ${{ github.event.pull_request.head.repo.full_name }}
+ secrets:
+ BOT_PAT: ${{ secrets.BOT_PAT }}
diff --git a/ansible_collections/cisco/nxos/.github/workflows/integration-test.yml b/ansible_collections/cisco/nxos/.github/workflows/integration-test.yml
new file mode 100644
index 000000000..31375e1ca
--- /dev/null
+++ b/ansible_collections/cisco/nxos/.github/workflows/integration-test.yml
@@ -0,0 +1,38 @@
+name: Integration
+on:
+ pull_request_target:
+ branches: [main]
+ types:
+ - labeled
+ - opened
+ - reopened
+ - synchronize
+ paths:
+ - "plugins/**"
+ - "tests/integration/**"
+ workflow_dispatch:
+
+jobs:
+ safe-to-test:
+ if: >-
+ github.event.label.name == 'safe to test' ||
+ github.event.action != 'labeled'
+ uses: ansible-network/github_actions/.github/workflows/safe-to-test.yml@main
+ secrets:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ integration:
+ uses: ansible-network/github_actions/.github/workflows/integration.yml@main
+ needs:
+ - safe-to-test
+ with:
+ lab_title: cisco_nxos
+ network_os: cisco.nxos.nxos
+ pytest_addopts: "--color=yes -n 2 --log-level WARNING -vvv --role-excludes=snmp_server"
+ collection_pre_install: >-
+ git+https://github.com/ansible-collections/ansible.utils.git
+ git+https://github.com/ansible-collections/ansible.netcommon.git
+ secrets:
+ cml_ssh_password: ${{ secrets.CML_SSH_PASSWORD }}
+ virl_host: ${{ secrets.VIRL_HOST }}
+ virl_password: ${{ secrets.VIRL_PASSWORD }}
diff --git a/ansible_collections/cisco/nxos/.github/workflows/push.yml b/ansible_collections/cisco/nxos/.github/workflows/push.yml
deleted file mode 100644
index 771dd857a..000000000
--- a/ansible_collections/cisco/nxos/.github/workflows/push.yml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-# push workflow is shared and expected to perform actions after a merge happens
-# on a maintenance branch (default or release). For example updating the
-# draft release-notes.
-# based on great work from
-# https://github.com/T-Systems-MMS/ansible-collection-icinga-director
-name: push
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
- cancel-in-progress: true
-
-on: # yamllint disable-line rule:truthy
- workflow_dispatch:
-
-env:
- NAMESPACE: cisco
- COLLECTION_NAME: nxos
- ANSIBLE_COLLECTIONS_PATHS: ./
-
-jobs:
- update_release_draft:
- uses: ansible/devtools/.github/workflows/push_network.yml@main
- with:
- repo: ansible-collections/cisco.nxos
- secrets:
- BOT_PAT: ${{ secrets.BOT_PAT }}
diff --git a/ansible_collections/cisco/nxos/.github/workflows/release.yml b/ansible_collections/cisco/nxos/.github/workflows/release.yml
index eb04259d1..6dbb1aa39 100644
--- a/ansible_collections/cisco/nxos/.github/workflows/release.yml
+++ b/ansible_collections/cisco/nxos/.github/workflows/release.yml
@@ -1,12 +1,12 @@
---
-name: release
+name: "Release collection"
on: # yamllint disable-line rule:truthy
release:
types: [published]
jobs:
release:
- uses: ansible/devtools/.github/workflows/release_collection.yml@main
+ uses: ansible/ansible-content-actions/.github/workflows/release.yaml@main
with:
environment: release
secrets:
diff --git a/ansible_collections/cisco/nxos/.github/workflows/tests.yml b/ansible_collections/cisco/nxos/.github/workflows/tests.yml
index e9f92a2a0..5e8d914d4 100644
--- a/ansible_collections/cisco/nxos/.github/workflows/tests.yml
+++ b/ansible_collections/cisco/nxos/.github/workflows/tests.yml
@@ -1,5 +1,5 @@
---
-name: CI
+name: "CI"
concurrency:
group: ${{ github.head_ref || github.run_id }}
@@ -12,17 +12,18 @@ on: # yamllint disable-line rule:truthy
schedule:
- cron: '0 0 * * *'
-
jobs:
- ansible-lint:
- uses: ansible-network/github_actions/.github/workflows/ansible-lint.yml@main
changelog:
- uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
+ uses: ansible/ansible-content-actions/.github/workflows/changelog.yaml@main
if: github.event_name == 'pull_request'
+ build-import:
+ uses: ansible/ansible-content-actions/.github/workflows/build_import.yaml@main
+ ansible-lint:
+ uses: ansible/ansible-content-actions/.github/workflows/ansible_lint.yaml@main
sanity:
- uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
+ uses: ansible/ansible-content-actions/.github/workflows/sanity.yaml@main
unit-galaxy:
- uses: ansible-network/github_actions/.github/workflows/unit_galaxy.yml@main
+ uses: ansible/ansible-content-actions/.github/workflows/unit.yaml@main
unit-source:
uses: ansible-network/github_actions/.github/workflows/unit_source.yml@main
with:
@@ -32,19 +33,20 @@ jobs:
all_green:
if: ${{ always() }}
needs:
- - ansible-lint
- changelog
+ - build-import
- sanity
- unit-galaxy
- unit-source
+ - ansible-lint
runs-on: ubuntu-latest
steps:
- run: >-
python -c "assert 'failure' not in
set([
- '${{ needs.ansible-lint.result }}',
'${{ needs.changelog.result }}',
'${{ needs.sanity.result }}',
- '${{ needs.unit-galaxy.result }}',
+ '${{ needs.unit-galaxy.result }}'
+ '${{ needs.ansible-lint.result }}'
'${{ needs.unit-source.result }}'
])"
diff --git a/ansible_collections/cisco/nxos/.pre-commit-config.yaml b/ansible_collections/cisco/nxos/.pre-commit-config.yaml
index ac716f311..6db6f7ece 100644
--- a/ansible_collections/cisco/nxos/.pre-commit-config.yaml
+++ b/ansible_collections/cisco/nxos/.pre-commit-config.yaml
@@ -22,7 +22,7 @@ repos:
- id: add-trailing-comma
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: "v3.1.0"
+ rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
entry: env CI=1 bash -c "prettier --list-different . || ec=$? && prettier --loglevel=error --write . && exit $ec"
@@ -33,13 +33,18 @@ repos:
- prettier-plugin-toml
- repo: https://github.com/PyCQA/isort
- rev: 5.12.0
+ rev: 5.13.2
hooks:
- id: isort
name: Sort import statements using isort
args: ["--filter-files"]
- repo: https://github.com/psf/black
- rev: 23.11.0
+ rev: 23.12.1
hooks:
- id: black
+
+ - repo: https://github.com/pycqa/flake8
+ rev: 7.0.0
+ hooks:
+ - id: flake8
diff --git a/ansible_collections/cisco/nxos/CHANGELOG.rst b/ansible_collections/cisco/nxos/CHANGELOG.rst
index a23f4bf80..7f8bda1e5 100644
--- a/ansible_collections/cisco/nxos/CHANGELOG.rst
+++ b/ansible_collections/cisco/nxos/CHANGELOG.rst
@@ -4,6 +4,79 @@ Cisco Nxos Collection Release Notes
.. contents:: Topics
+v8.0.0
+======
+
+Major Changes
+-------------
+
+- Updated the minimum required ansible.netcommon version to 6.1.0 to support the cli_restore module.
+
+Minor Changes
+-------------
+
+- Add support for cli_restore functionality.
+- Please refer the PR to know more about core changes (https://github.com/ansible-collections/ansible.netcommon/pull/618).
+ The cli_restore module is a part of ansible.netcommon.
+
+Bugfixes
+--------
+
+- nxos_facts - correct parse JSON output when multiple interfaces have IPv6 address assigned (https://github.com/ansible-collections/cisco.nxos/issues/771).
+
+v7.0.0
+======
+
+Major Changes
+-------------
+
+- This release removes four previously deprecated modules from this collection. Please refer to the **Removed Features** section for details.
+
+Removed Features (previously deprecated)
+----------------------------------------
+
+- The nxos_logging module has been removed with this release.
+- The nxos_ntp module has been removed with this release.
+- The nxos_ntp_auth module has been removed with this release.
+- The nxos_ntp_options module has been removed with this release.
+
+v6.0.3
+======
+
+Bugfixes
+--------
+
+- nxos_acls - Fix parsing of ace entries with range in it. (https://github.com/ansible-collections/cisco.nxos/issues/788)
+
+v6.0.2
+======
+
+Bugfixes
+--------
+
+- nxos_interfaces - Correctly enable L3 interfaces on supported N3K platforms (https://github.com/ansible-collections/cisco.nxos/issues/749).
+
+v6.0.1
+======
+
+Bugfixes
+--------
+
+- Prevents module_defaults from were being incorrectly applied to the platform action, instead of the concerned module.
+- nxos_file_copy - correctly set file_pull_timeout/persistent_command_timeout value.
+
+v6.0.0
+======
+
+Release Summary
+---------------
+
+Starting from this release, the minimum `ansible-core` version this collection requires is `2.14.0`. The last known version compatible with ansible-core<2.14 is `v5.3.0`.
+
+Major Changes
+-------------
+
+- Bumping `requires_ansible` to `>=2.14.0`, since previous ansible-core versions are EoL now.
v5.3.0
======
diff --git a/ansible_collections/cisco/nxos/FILES.json b/ansible_collections/cisco/nxos/FILES.json
index 4f62ba841..b7d4211ca 100644
--- a/ansible_collections/cisco/nxos/FILES.json
+++ b/ansible_collections/cisco/nxos/FILES.json
@@ -8,1725 +8,1781 @@
"format": 1
},
{
- "name": "codecov.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "4aa7e485dd4db6f8a55b046088c745def2b3145d9499ccda4e9a3336467dcea2",
+ "name": "docs",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "LICENSE",
+ "name": "docs/cisco.nxos.nxos_snmp_location_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
+ "chksum_sha256": "321530eb77aa27eecab0eb6090a189eee7b9a7431cc94750c1f0f38718058d4d",
"format": 1
},
{
- "name": "requirements.txt",
+ "name": "docs/cisco.nxos.nxos_user_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "70053744bf8f5b698f82ad59a6daec106188d9b63c6d1246f860f21ab8cb6ac5",
+ "chksum_sha256": "5987398411ee888f2b8e148be96c318e831a7b712b0de344d456fba46825197f",
"format": 1
},
{
- "name": "meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "docs/cisco.nxos.nxos_ping_module.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "74122faa018ba84c3628abadef990f3888d58a72897d4b56ec41882348a12141",
"format": 1
},
{
- "name": "meta/runtime.yml",
+ "name": "docs/cisco.nxos.nxos_igmp_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "022e45d02e5b6967bacc2ff1a60c93012a7df35561c44404c9835128e9134aeb",
+ "chksum_sha256": "9f12f1c5cb360aa1634964c6343e14141cfce7fc49e37e0062c2957b20459399",
"format": 1
},
{
- "name": "meta/__init__.py",
+ "name": "docs/cisco.nxos.nxos_prefix_lists_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "e411c76a91d77aac63c31c51864f7247f91fb48226b134bbb1b2cbc29029bfa3",
"format": 1
},
{
- "name": "README.md",
+ "name": "docs/cisco.nxos.nxos_vrf_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ea385f1a3bb47260949ad5a2ba1421a0c068d3a91574b9cce468fd4b49e48c0c",
+ "chksum_sha256": "33c9e1a06961e0785265c7b132c9caf7fa33c4cff00f15ef479787531d56f122",
"format": 1
},
{
- "name": "plugins",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "docs/cisco.nxos.nxos_banner_module.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f33242bd0d3b632cb5e97dc9ce3e6a9029060e204c87a3554aff1ed36a7d19f0",
"format": 1
},
{
- "name": "plugins/terminal",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "docs/cisco.nxos.nxos_aaa_server_module.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ae7d06f89fb79b0ff5b7dbb41b289db70e8c602a08c1baac5b059adc72775665",
"format": 1
},
{
- "name": "plugins/terminal/__init__.py",
+ "name": "docs/cisco.nxos.nxos_overlay_global_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "c8362ed52554894dd979a332e946ede7fa0834c17d8980a08a282320a2a18391",
"format": 1
},
{
- "name": "plugins/terminal/nxos.py",
+ "name": "docs/cisco.nxos.nxos_install_os_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e49e9c495e05b71317fa3d2c462cb085ce5827874235484d735f470e7afa5059",
+ "chksum_sha256": "a2ad6d9178006558a46f6ef8038621cebd25eb937493f76503fbde8f65f9a6c6",
"format": 1
},
{
- "name": "plugins/inventory",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "docs/cisco.nxos.nxos_feature_module.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e31d99494f87afad1ecdce42d483a32e523e8e978f42b1955de1f3b0033bcf80",
"format": 1
},
{
- "name": "plugins/inventory/__init__.py",
+ "name": "docs/cisco.nxos.nxos_hsrp_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "41fd5b3b6c57a33c8ce81d03798b35d598496b89d13327c18dfe27dedaf99ae4",
"format": 1
},
{
- "name": "plugins/netconf",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "docs/cisco.nxos.nxos_command_module.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "8414812954c669abeb7370516fd50ea893bccd1a5e804d81d3174cafc441aad6",
"format": 1
},
{
- "name": "plugins/netconf/__init__.py",
+ "name": "docs/cisco.nxos.nxos_ospfv2_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "d2704aec625f078e9b8c03b949dec0b6ce33ee85efc5e495b37f0c27339b20c8",
"format": 1
},
{
- "name": "plugins/netconf/nxos.py",
+ "name": "docs/cisco.nxos.nxos_vlans_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c00660150bfe527dd71eeeb961c9e08da9ac65faa7e1852f4737a47305e723bc",
+ "chksum_sha256": "e60a339f8dbb48eaed5188761be6c6b375f5f6641ff322d3904e45f199f5ee0f",
"format": 1
},
{
- "name": "plugins/httpapi",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "docs/cisco.nxos.nxos_config_module.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d4ad6ef9b747b454824d16ca0cd7c56fdde289a6cc8c93c9ecf3bf1d23db5f84",
"format": 1
},
{
- "name": "plugins/httpapi/__init__.py",
+ "name": "docs/cisco.nxos.nxos_logging_global_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "7794e28520082d477a17b1e52ac8feeacf092bd98b7e4c11e832cfb67aa49b3b",
"format": 1
},
{
- "name": "plugins/httpapi/nxos.py",
+ "name": "docs/cisco.nxos.nxos_vtp_version_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "acfbda7df81189f8211a3d8af3d7e567bc719328e075531c154671cd97bd92be",
+ "chksum_sha256": "c27cc4c99dbad288216a917b46c9949f1cc2ed72a4268e79ef61e708d6a1edff",
"format": 1
},
{
- "name": "plugins/cliconf",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "docs/cisco.nxos.nxos_snmp_user_module.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "0ebfbf6a1bdda73a9f3e5943dc33bbb38d636865ab213c2e79501baca180a6ef",
"format": 1
},
{
- "name": "plugins/cliconf/__init__.py",
+ "name": "docs/cisco.nxos.nxos_lldp_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "b14e490bedd8b115c8beebe5ec81fda4a7db93457f546fbca91fe2bce3887e76",
"format": 1
},
{
- "name": "plugins/cliconf/nxos.py",
+ "name": "docs/cisco.nxos.nxos_devicealias_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d4f94f69919d7d494652e191f1a5074a1022c120da62d68eb992c4879f9b505",
+ "chksum_sha256": "ff0660c7a4fa99aabb1c0c1d59d33fc923d3cdc50d2be391fc79bdeef13ae66b",
"format": 1
},
{
- "name": "plugins/modules",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "docs/cisco.nxos.nxos_snmp_host_module.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "738d6be19ec9aea9158035e6f1a2302d3484500ee9b3148e2d01628bf2f9fcdc",
"format": 1
},
{
- "name": "plugins/modules/nxos_vpc.py",
+ "name": "docs/cisco.nxos.nxos_evpn_vni_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "edd715fc9e823dbf37a31a16de8f680132e0cc9b2feea46ab073d34f8098acf5",
+ "chksum_sha256": "1d69d440ff1844c0ffcf234f50c4cbaccafd2a5dd56481e14aeecac6c80e94a1",
"format": 1
},
{
- "name": "plugins/modules/nxos_reboot.py",
+ "name": "docs/cisco.nxos.nxos_snmp_traps_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "826e076559d7143fc03a3de9f0e5ec125241fd3196037f2a1a524e033e75b8de",
+ "chksum_sha256": "25326502a9e485b1bfe99093b316af67686f797fb8ce8d972c9ae914d8e9da27",
"format": 1
},
{
- "name": "plugins/modules/nxos_lag_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_pim_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d74c13af260252c75c2fce4b20ac3e8d85c14d45bec8a7ea04016a448b3a8b48",
+ "chksum_sha256": "f974bc3ca8293d0e60b7dd26ef3babfc02003702ea5632feee97fbba59fc59a0",
"format": 1
},
{
- "name": "plugins/modules/nxos_nxapi.py",
+ "name": "docs/cisco.nxos.nxos_ntp_global_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cf44a3e80959a805238202c49a5a639d6a1ecf5f6d8191b93b3f6db314a80c15",
+ "chksum_sha256": "07810bf5a6fb659d294c956436bb3527b4506c7a07642997af02f1cf717d97d9",
"format": 1
},
{
- "name": "plugins/modules/nxos_logging.py",
+ "name": "docs/cisco.nxos.nxos_vsan_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3a99d36431853d5cf83e4dcc3602302c2a48415123ff93066ac0fd54ed079538",
+ "chksum_sha256": "f7557df9a0b6bef895a8f935bd24979b7e279cc0768e8109973a7dc3b9c5dc29",
"format": 1
},
{
- "name": "plugins/modules/nxos_zone_zoneset.py",
+ "name": "docs/cisco.nxos.nxos_aaa_server_host_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "34d94bcc1af5752a00ada15b62428af97cd8ea28fe48a8b0760b90105a93ff31",
+ "chksum_sha256": "e8d1dc8303a82ca59e70c37d6852f8dd1ba6b002e896a9f4f2182148a6944ef7",
"format": 1
},
{
- "name": "plugins/modules/nxos_snmp_server.py",
+ "name": "docs/cisco.nxos.nxos_snmp_community_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fee45cc5653eb0c0148e2213a8d2de129410f2a001496d684b2538c3a8e294f9",
+ "chksum_sha256": "273905bc36e919c6f348d146018b77d4b028457714b0f3b4b2fad6a078680fe7",
"format": 1
},
{
- "name": "plugins/modules/nxos_vlans.py",
+ "name": "docs/cisco.nxos.nxos_bgp_templates_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3d37e3cbddfb07ede884e014bcd1edaa6fb20366953c3e8de40c2872d63ea8cf",
+ "chksum_sha256": "00bb83305a1e55e1fa99e7008ff4131123f6702514a66409c524e6ca1374c00e",
"format": 1
},
{
- "name": "plugins/modules/nxos_snmp_host.py",
+ "name": "docs/cisco.nxos.nxos_udld_interface_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ae6e69d2c2af158c70e81aed0f2a6dbccca2c69033861bd697af4dba0c5183c7",
+ "chksum_sha256": "7786920d50729a8a8a73a20bcd0d4296af8095f52590076177511dc0c696dda5",
"format": 1
},
{
- "name": "plugins/modules/nxos_igmp_snooping.py",
+ "name": "docs/cisco.nxos.nxos_bfd_global_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ee94035d9f4a71393a16670f8e269064476b6da5d99071a4f23cfc253da13703",
+ "chksum_sha256": "1ff1d376f71be1de3dc5e97bfae1ea331e92430adb9e31b61e6fdde8da710538",
"format": 1
},
{
- "name": "plugins/modules/nxos_vtp_password.py",
+ "name": "docs/cisco.nxos.nxos_static_routes_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e6cb79ae92bdf1ab82291e4b331dfeb53b42f004a416908268380813905b8215",
+ "chksum_sha256": "744ec8723ea44a3b9514b823ad0d2803bc153654f4e831d33e2fad5522f4d3a9",
"format": 1
},
{
- "name": "plugins/modules/nxos_snmp_location.py",
+ "name": "docs/cisco.nxos.nxos_vxlan_vtep_vni_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a11d2a363173b645bdf9c8cd1cdb80e77b94d4c169069614deae90a441a1de22",
+ "chksum_sha256": "7aebad3ad5c1c53036df468c782c366a17fea865b15a189f99aff17c171e464b",
"format": 1
},
{
- "name": "plugins/modules/nxos_snmp_contact.py",
+ "name": "docs/cisco.nxos.nxos_vrf_interface_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "936a5e9b00d8c46ed39a8818f5806971f16fc8cebd3f5106e6909b7ed8395ac1",
+ "chksum_sha256": "64296c4de9145ceec2a49e4f09b2573fd163bbe33247b395769cb6833cdd16ba",
"format": 1
},
{
- "name": "plugins/modules/nxos_vtp_domain.py",
+ "name": "docs/cisco.nxos.nxos_gir_profile_management_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e76836b4b68b3c32d5a146bcb6738009872e3e69d3afffe269e50846d4a84058",
+ "chksum_sha256": "63332c56149477772d1571d4884f3dd7d99c11f8119942426c1b22898d63dcc8",
"format": 1
},
{
- "name": "plugins/modules/nxos_snapshot.py",
+ "name": "docs/cisco.nxos.nxos_snapshot_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5cf9eab5ad1ae6953579860b7365ce6e6d604f69fe00389f656c63f99cb3b24f",
+ "chksum_sha256": "a0e3fad000d677b7f24bf64090f02742004a9cf100306a97f51aff9594fe8d9f",
"format": 1
},
{
- "name": "plugins/modules/nxos_bfd_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_rollback_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "87e8b096568e3d9be77c6a3b26c865f06dd2f842ddef22a8ac7edd095482f664",
+ "chksum_sha256": "04cf041066c5d09e1a5317b7cb7cc1eb2504f0d1faeb9a28d3d59f3ae98c783f",
"format": 1
},
{
- "name": "plugins/modules/nxos_vrf_af.py",
+ "name": "docs/cisco.nxos.nxos_rpm_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c2029b042fc0e83b5b6298dcd6242aa7f5b014653eed4e703860ba6baddb3155",
+ "chksum_sha256": "e928284ecee7ed27ef75a660db2e02900d8de4cf0d255bfd31a819f4e2abe036",
"format": 1
},
{
- "name": "plugins/modules/nxos_ntp_auth.py",
+ "name": "docs/cisco.nxos.nxos_vtp_password_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3ebfe534e67975d2e35170269fefaadc7b9327c3d4b2c754e09bf9d61b0a744e",
+ "chksum_sha256": "aba8c49ea83acf4e1ad8de779ebc06e21940537ce459b53bcfbdabdf72dacd06",
"format": 1
},
{
- "name": "plugins/modules/nxos_install_os.py",
+ "name": "docs/cisco.nxos.nxos_vrrp_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5c750b05a78eefb2b014b339ef86a02de8a1cf8daa31bc7c8e68ccdd7be589c4",
+ "chksum_sha256": "26a52da59610c540242b40091c3fc689cf5b1672a4f36084202ebba38f5589e0",
"format": 1
},
{
- "name": "plugins/modules/nxos_vrrp.py",
+ "name": "docs/cisco.nxos.nxos_igmp_interface_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a261501d6200ac9685d544c2dd29f284377da8592864f7ad26e74ef4e55d5567",
+ "chksum_sha256": "1e5c432e7e272efb56ee80dda73b66a13b1a74e16f14bd48d38681023f710b7f",
"format": 1
},
{
- "name": "plugins/modules/nxos_vpc_interface.py",
+ "name": "docs/cisco.nxos.nxos_facts_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7361c2f7afeaedada1c42037a5f54d16b934ef5993f155819e0edb731c21de1f",
+ "chksum_sha256": "6ef51706f5729ece09bdcce4c7e1ab04ec7d58d4ae6c3a7e12ebf275b5d792ad",
"format": 1
},
{
- "name": "plugins/modules/nxos_user.py",
+ "name": "docs/cisco.nxos.nxos_lldp_global_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f4dfc0cd9bc2a5d54075d68829c8129792633525fae273a4185710584b563981",
+ "chksum_sha256": "6994ab2f365796541f268d6d3051e4a192e2b911495e12342d6d3cad12016f2b",
"format": 1
},
{
- "name": "plugins/modules/nxos_command.py",
+ "name": "docs/cisco.nxos.nxos_cliconf.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5fd4119bed0074064b1158cbb231f3e2277576902d6fa9fb5bc42cc6ffd09d48",
+ "chksum_sha256": "546fc754b81109404a33285c90c3bba565b1a2529e00b7284609b62bb25b4d8b",
"format": 1
},
{
- "name": "plugins/modules/nxos_hsrp_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_ospf_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9dd94e0d4d52a8ac424b30ec631b550f2438af36e3109c2da875d89a74f65d9e",
+ "chksum_sha256": "808523316e7aa23425653e4c2caed8ea2732ebb51fb3aa0f15dddd416d049725",
"format": 1
},
{
- "name": "plugins/modules/nxos_aaa_server.py",
+ "name": "docs/cisco.nxos.nxos_zone_zoneset_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c7d0ba90c00bef7d014ca922ce5e66ea10fe116bb9af88bfdf671402527b404b",
+ "chksum_sha256": "2b25696dcecfa3f12cf9a899132d4b220dcc774df51e1aea5fdecd422ca3a36a",
"format": 1
},
{
- "name": "plugins/modules/nxos_ospfv2.py",
+ "name": "docs/cisco.nxos.nxos_vpc_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "889e9341133658eadea7cf2516361d1de0998baa8b2c08d203ea157977482530",
+ "chksum_sha256": "0aeb5a090773bcf219cb3ab181424bde284e9669ccc3ace93175b739fec4f81a",
"format": 1
},
{
- "name": "plugins/modules/nxos_lldp_global.py",
+ "name": "docs/cisco.nxos.nxos_gir_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "485b35aeac40cd9d3dfaf18a7f5481fc14796ce054387af3dca72160677f6dd7",
+ "chksum_sha256": "2969b2a880bc98f5272720086059bc55d861fc1ce00c8854c75aa061ba3aa8bf",
"format": 1
},
{
- "name": "plugins/modules/nxos_banner.py",
+ "name": "docs/cisco.nxos.nxos_bfd_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a98cf0828178ff3233b836f7a1d1478ad4f5020143b0a6435630737a82b4110e",
+ "chksum_sha256": "bcc5883c369f37ac683991364855f247f77299f2decc72a5e5c794e681a92fbc",
"format": 1
},
{
- "name": "plugins/modules/nxos_pim_interface.py",
+ "name": "docs/cisco.nxos.nxos_pim_rp_address_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "62a33fbb98411f4b017a3d884645f48f8e79049f27e0f3d87698b3bcb7f0c48c",
+ "chksum_sha256": "94630c630affe8dedd940b41d0fcdab02712ade527964334956ca5698280d13d",
"format": 1
},
{
- "name": "plugins/modules/nxos_overlay_global.py",
+ "name": "docs/cisco.nxos.nxos_lacp_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f2e7bc1eff3259825c6eae134d87e92ee922cc3fd423b63fac821c659ea891d8",
+ "chksum_sha256": "81829e369c84802f5cc2fdbf88d380007da8d326106cafaacb981d86f38be6e1",
"format": 1
},
{
- "name": "plugins/modules/__init__.py",
+ "name": "docs/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/modules/nxos_pim.py",
+ "name": "docs/cisco.nxos.nxos_vxlan_vtep_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a06919bdfbaab64ef58295c408def23dc36336b630e12d80a2a80e3a31a53a85",
+ "chksum_sha256": "920cbc7cf6b2d9736bbeacbf6751674c6b8985af13183432f027070235ed745e",
"format": 1
},
{
- "name": "plugins/modules/nxos_snmp_traps.py",
+ "name": "docs/cisco.nxos.nxos_acl_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "73ef124bdd93a1b8d6d7d55870e04c99bb29cde93c0c400884f06c4972057f75",
+ "chksum_sha256": "03a8274fb4992504f056b15b84a7c7f98b08a9d3160a12ea038a1a700039e04a",
"format": 1
},
{
- "name": "plugins/modules/nxos_file_copy.py",
+ "name": "docs/cisco.nxos.nxos_system_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8418e53de9a83561d6c4b60b2d5d8115863d210376acbebf4f4c41a6489cd2a5",
+ "chksum_sha256": "7701830b6698de0515fb009aa9b2c01256f3144d62909b760ccf23e749ec7422",
"format": 1
},
{
- "name": "plugins/modules/nxos_ospf_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_snmp_server_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "07b1a4fda6c81b24e016828d5a21d49cb141cd969e32e18e7713e31206eb5afb",
+ "chksum_sha256": "2c41210552496035bd6ba8eed6ec9d37ad4445b724438207a50bb4ce9e8fb6bb",
"format": 1
},
{
- "name": "plugins/modules/nxos_vsan.py",
+ "name": "docs/cisco.nxos.nxos_bgp_neighbor_address_family_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ffc52ffc10befe666ce3cc43cac66a47a5b76ed5465cb691c888f5847a1b3468",
+ "chksum_sha256": "1fe6fe7be307fe262e49165038677e55a79be75ce8a1eaa0edf1617aa0b8c4e9",
"format": 1
},
{
- "name": "plugins/modules/nxos_facts.py",
+ "name": "docs/cisco.nxos.nxos_httpapi.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb1ae146c9df5aac3b721750a8074dd112b0397bb50ada4cc8d7629af8e52e1c",
+ "chksum_sha256": "eb7f6fd0b46ad4b478746f0518b8d443e541f44ba8d77f999a42a760671ea015",
"format": 1
},
{
- "name": "plugins/modules/nxos_hsrp.py",
+ "name": "docs/cisco.nxos.nxos_reboot_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8e0bccf6fb0aa7ce0cbacacb8acf9821015472213a2319df618e7eef4d03a52f",
+ "chksum_sha256": "194778e502ec450e673e2562baf84d459a9d844c3c3f281cd6ed2f2bc2618087",
"format": 1
},
{
- "name": "plugins/modules/nxos_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_vpc_interface_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e748cfa29b6be827349f09c36e08c66c5e13d53ace6aff9412ebbc49b7218234",
+ "chksum_sha256": "941e607951f2fe1347329a6f68d9303ff04fcebedfd0792fe5ab181625e120d3",
"format": 1
},
{
- "name": "plugins/modules/nxos_ospfv3.py",
+ "name": "docs/cisco.nxos.nxos_hsrp_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0eee52b5452442a4a30eb75456593d85eb35c58e80b603bd94d43951f3fec0d8",
+ "chksum_sha256": "6cbf7b6611599b267ed05be736c19303ecc74c696750ea3b7b27bf97f942644f",
"format": 1
},
{
- "name": "plugins/modules/nxos_lacp.py",
+ "name": "docs/cisco.nxos.nxos_igmp_snooping_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bf38b4169e3605546f6f4d7138529c1ba3effb60f74ea844f205ef2160e800c1",
+ "chksum_sha256": "a31b9e7cac6c66069bc1b9a46fbf4f3e778fec3cdbdb55f4b6d672abeaf7d795",
"format": 1
},
{
- "name": "plugins/modules/nxos_gir_profile_management.py",
+ "name": "docs/cisco.nxos.nxos_udld_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "38cc5881a72e0809fd023188435ecae1085b0e568f06865359e65bdd49853ef8",
+ "chksum_sha256": "26d0773b5cbd658f39b2c08b9949e45ae5aa8a94405c4f1ef9ed0708c682c4a3",
"format": 1
},
{
- "name": "plugins/modules/nxos_config.py",
+ "name": "docs/cisco.nxos.nxos_l3_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4ffbbb1233a6cd3811690832fdffc2ebbdea61c291f168b04995e3ed1f8dab62",
+ "chksum_sha256": "01adb1dc48dfbe1a73cf269060e1f83310d5e05b813dd109770e5e335abcb436",
"format": 1
},
{
- "name": "plugins/modules/nxos_ping.py",
+ "name": "docs/cisco.nxos.nxos_route_maps_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9d2648ff85a7fee59b9b0b099afde09e1f7f11c7e5d9f033d27a2af0953e854e",
+ "chksum_sha256": "2041055670405961112eb26ef06db6afda07055ef02a81026f1f0293144c7331",
"format": 1
},
{
- "name": "plugins/modules/nxos_telemetry.py",
+ "name": "docs/cisco.nxos.nxos_acls_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e518a2c46e0bd074881b5dc60092154d8a1438a26a979dae60d98411288a5247",
+ "chksum_sha256": "2869249548f0b1aaf9f1d7c8b3d24a5301a7ffa88fadb82dda595aca2374ccb2",
"format": 1
},
{
- "name": "plugins/modules/nxos_snmp_user.py",
+ "name": "docs/cisco.nxos.nxos_ospfv3_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d16699e2fd607da804183e1fe29c6981095303d22b836f865f2046dc2c50ecf0",
+ "chksum_sha256": "041dd0262265b58cbe0bf6e505a7f676eb6b2d4a5fc59681f1e4b5e6c463de56",
"format": 1
},
{
- "name": "plugins/modules/nxos_vxlan_vtep_vni.py",
+ "name": "docs/cisco.nxos.nxos_netconf.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "00cc8a5f8826d10b27cbea4c1523a5dc48a57d174ae7ecfd918e02d506902b80",
+ "chksum_sha256": "da11bd9904bba75e1ca0484cf6ddc0ebcd0a2ffc12b1e9132d60f8a0bc54705c",
"format": 1
},
{
- "name": "plugins/modules/nxos_udld_interface.py",
+ "name": "docs/cisco.nxos.nxos_fc_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2346b5a0aec6682e11c7ee21cf5f77fd1b53bd4839d11a7da4e23e8378049aaa",
+ "chksum_sha256": "865bcbc040c3370de4f47a6b8e68c1339f8ba54dbbaa362b0ceeae8cecd86cc8",
"format": 1
},
{
- "name": "plugins/modules/nxos_l3_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_lag_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "38db1135b557e314d88cdba25450ecf71c91d2269f2d2da9cf37d1f1229b688c",
+ "chksum_sha256": "4980199790b302fc46982df8e0c2fa5f5d81ef50ebae4d9961ebbfe6cb62eb0c",
"format": 1
},
{
- "name": "plugins/modules/nxos_fc_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_bgp_address_family_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a746fdd004b73000fb8f37565758330710a9b3012f5a4e46362a33434bcec9e7",
+ "chksum_sha256": "9706519c8d06db723b98f3c2ed78ffda4ca604b08215be80461fad2defd9507c",
"format": 1
},
{
- "name": "plugins/modules/nxos_igmp.py",
+ "name": "docs/cisco.nxos.nxos_hostname_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ec8870d4fb6ecf6089717936138d43fc5fe54381994a0a7d5e8299a94f9ade67",
+ "chksum_sha256": "2cc61e3ea5053c4ee1bb14f41a85e67e4790010b7142e21bb72fcc88a5e715aa",
"format": 1
},
{
- "name": "plugins/modules/nxos_devicealias.py",
+ "name": "docs/cisco.nxos.nxos_telemetry_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "24e26ab14bb905ab26db440ceec24bad795a13186ad2af2eec0325637dd3814b",
+ "chksum_sha256": "70e0841739f0a1ab237624a5f5f6fbbebbeb61244a9fe00e9ae6a6af936d94a9",
"format": 1
},
{
- "name": "plugins/modules/nxos_rollback.py",
+ "name": "docs/cisco.nxos.nxos_evpn_global_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7fec43544c7cb26eb84d9cdd22e74a4f042de04943e5896fcd45a1020f003e82",
+ "chksum_sha256": "993ea85ff1bf02311f55646f0c5dcadc2d216a2819b7902f43470a645d1b90d7",
"format": 1
},
{
- "name": "plugins/modules/nxos_acls.py",
+ "name": "docs/cisco.nxos.nxos_lacp_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "eb0a7f4add18a48fd542770f1d96e02ccfc64653a6b99f765969419c3abdd177",
+ "chksum_sha256": "bf3920fe2dbbd42f322d4a0f4dd23c875d01f6a5545dbc648ae5ae3aa62320de",
"format": 1
},
{
- "name": "plugins/modules/nxos_vrf_interface.py",
+ "name": "docs/cisco.nxos.nxos_vtp_domain_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a2876512450aa2920f88a2d408eb72cd7976ec4124a95b058d57427d0f939fb1",
+ "chksum_sha256": "18a52103976ba1d930a98e0e7fa45de34d95a86ca222e59b0ffc9629585cdf6a",
"format": 1
},
{
- "name": "plugins/modules/nxos_lldp_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_l2_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b7bfa2021d5f29528789e26074483fdc4b98187dd3a618dcbe38e14a06439e88",
+ "chksum_sha256": "8b94e0fc5aeaa2d80e755b774c097970fead1ddb156eb018bc852516de3ca877",
"format": 1
},
{
- "name": "plugins/modules/nxos_l2_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_interfaces_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0e3ec947b751771f318eccdf3b086fad8ae9615deee632f00055081f594a3318",
+ "chksum_sha256": "ab3f38f88a8fbc5884c3694784ba4991c29c7690f21725706603dfe83c35e6e4",
"format": 1
},
{
- "name": "plugins/modules/nxos_hostname.py",
+ "name": "docs/cisco.nxos.nxos_snmp_contact_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d5e7ce46e1d1143211af0f5747253b429eaa78c68993852703861cf469ccad10",
+ "chksum_sha256": "cbb715723ead144ae09062bf77f7f4a73e4a5035a81a7ecec925b00410e8579b",
"format": 1
},
{
- "name": "plugins/modules/nxos_system.py",
+ "name": "docs/cisco.nxos.nxos_nxapi_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e6797e5f93cb99da4c135b809da1eea5e9b8363caa5c49b830cd70ffbd66c1db",
+ "chksum_sha256": "7e1d3a6d1f0ab8c170068321f77ab36c1161892773c9efa90dfff711664bfdb3",
"format": 1
},
{
- "name": "plugins/modules/nxos_vrf.py",
+ "name": "docs/cisco.nxos.nxos_file_copy_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "118fd73f988199e74b0e6d5924fe9fd2ad995da9f9c6024485b4042f234aeab8",
+ "chksum_sha256": "c38e717848ddfc093b17245d08c45e6beda5d7b1c263453ef0a43171d5008f47",
"format": 1
},
{
- "name": "plugins/modules/nxos_lacp_interfaces.py",
+ "name": "docs/cisco.nxos.nxos_bgp_global_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "efe09b0a78ee09528820134c160e70776659f1eae9aaf8cfd713d91011cccf4b",
+ "chksum_sha256": "83bf0acc036ccd3a7508746b650720220d208e5c8ff4894fff982b151af3689f",
"format": 1
},
{
- "name": "plugins/modules/nxos_aaa_server_host.py",
+ "name": "docs/cisco.nxos.nxos_vrf_af_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d59827f8eb3a10657b2dab79a121d44e976b207ed70c9b39f1fa343d67f1e328",
+ "chksum_sha256": "3719fa178c08c4d172a9a0307f402b45434931b395cc57f2451cc810bd45a786",
"format": 1
},
{
- "name": "plugins/modules/nxos_bgp_address_family.py",
+ "name": "docs/cisco.nxos.nxos_pim_interface_module.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9155dc8d46358457d800c604aa29fa38137af884caf9839e5139d5cc53d69015",
+ "chksum_sha256": "b7fa1c8e28a128af94059b3d66e3e40c97e7d748a858ff74e77a0e313641c3ff",
"format": 1
},
{
- "name": "plugins/modules/nxos_vxlan_vtep.py",
+ "name": "LICENSE",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9aefbaf9557a93bafc8de522a59e3246967964e658c9ee7631fa202e0b5215fa",
+ "chksum_sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"format": 1
},
{
- "name": "plugins/modules/nxos_prefix_lists.py",
+ "name": ".github",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": ".github/release-drafter.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fbc6db3871917b6239c2e37caede67c3a6f69e2c578357f5831bf74173c09bd5",
+ "chksum_sha256": "7cbc785c8661033cd9dd7a60897484fce731cbe3dc124a689fc3e934b1d974fb",
"format": 1
},
{
- "name": "plugins/modules/nxos_udld.py",
+ "name": ".github/workflows",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": ".github/workflows/integration-test.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f9d531c20f551d644be87cf218c7bf8175f531a3190c60c7a20ae281203fbe8d",
+ "chksum_sha256": "84eed17fdcd3b69533dc7f9f6400611d3bd9fd59bc91eb4a4db491d0361c0020",
"format": 1
},
{
- "name": "plugins/modules/nxos_ntp_global.py",
+ "name": ".github/workflows/check_label.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6159f7b3f74c36fdae3eff740202f9db87d92eaae9ecd0bcc69d790312daacb9",
+ "chksum_sha256": "9eb6abad2038b10cd6ea70310aa88d163f10c374d1728df29bb553eff2acfaba",
"format": 1
},
{
- "name": "plugins/modules/nxos_acl_interfaces.py",
+ "name": ".github/workflows/codecoverage.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "721b0093fc696b7208b679f9c640e9828874f9cf049e0fc7799d12f3c4a29786",
+ "chksum_sha256": "9f229f5c0dd8649678fef5a0fcb616d83c26579b541b772de4b2832172678f06",
"format": 1
},
{
- "name": "plugins/modules/nxos_logging_global.py",
+ "name": ".github/workflows/release.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ddff9047c280d4e9d13643386551dc85c161dfd3f356a486e28930d7cae28477",
+ "chksum_sha256": "2e3f90a3147d93b97347d8418352f23e201417e05539a466399dd258a65d699c",
"format": 1
},
{
- "name": "plugins/modules/nxos_feature.py",
+ "name": ".github/workflows/draft_release.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8b8a6deea08ebeae462e2fefbcc4762dd67b71bc5a5d0f51e3ea3595375888da",
+ "chksum_sha256": "b582d81b8bbcfb8d0f077f40ff65463c0803c2a2713664aa9f28ff167c48e483",
"format": 1
},
{
- "name": "plugins/modules/nxos_static_routes.py",
+ "name": ".github/workflows/tests.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "af380095fd7d243c8f9509b1abd065097b0e0e0df449d9d6da4e932987992550",
+ "chksum_sha256": "5e5d8797ac2c34af1b5cf6e9dd3c760655623bb9d7c40cff83958202066f69f6",
"format": 1
},
{
- "name": "plugins/modules/nxos_bfd_global.py",
+ "name": ".github/dependabot.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e2121178e29e5e34ca77f7ed2dc78e7fdcf6ddbe7a9ab16545c39c11dc00f7ce",
+ "chksum_sha256": "c4d7b4c429faafe0eb46a070eafcd3d8d84d9083b5fe72943d627b5f4ccf0dd8",
"format": 1
},
{
- "name": "plugins/modules/nxos_evpn_global.py",
+ "name": "README.md",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3cb0c7e66e32783f346744b3b08edd63f2d3ac82b67addb55597a19b48db7e9c",
+ "chksum_sha256": "95f172f0a54c78871ccb1230fb692ef79368765c2cc63d7d86c3a3f781e0f5ff",
"format": 1
},
{
- "name": "plugins/modules/nxos_vtp_version.py",
+ "name": "bindep.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2c822abea7b871b5781dcf46856c07f0214793bc3768743d45966ae5a0b6e779",
+ "chksum_sha256": "f0e2709e0a523d84f824ccfb6883f62e9d27f70bd7a38be0d18506223ccfe60e",
"format": 1
},
{
- "name": "plugins/modules/nxos_evpn_vni.py",
+ "name": "plugins",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/modules",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/modules/nxos_bgp_neighbor_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d4efeefbc3a4324d2b692ece1149289d2f249c8f338fc9e15d8adabf15ab71e8",
+ "chksum_sha256": "f2861a072c7f54bdf90fa0fca06b8ce0af964f3073e27a4ac00940a7fdfeb26a",
"format": 1
},
{
- "name": "plugins/modules/nxos_ntp.py",
+ "name": "plugins/modules/nxos_vrrp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3d68b52173945d37cf18fa5253ab87d00efc2f77374821e8e22c82260fa04b38",
+ "chksum_sha256": "a261501d6200ac9685d544c2dd29f284377da8592864f7ad26e74ef4e55d5567",
"format": 1
},
{
- "name": "plugins/modules/nxos_route_maps.py",
+ "name": "plugins/modules/nxos_zone_zoneset.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f9206f344d091d6c3bc996ee2b961b2f52611be676b3d790a257e513faad2838",
+ "chksum_sha256": "44ead6bd11cb8112b667ecc6f7d1fd0751941737d6fc1154c73501e4abdd42a0",
"format": 1
},
{
- "name": "plugins/modules/nxos_bgp_templates.py",
+ "name": "plugins/modules/nxos_l2_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "955e3860781eef5083a0fa88e80d95803645ca485edd357b5867d3706bbc45bb",
+ "chksum_sha256": "06d0406435fadc33d78bdc5dc2b541d3cdb08b972497a7fd86357354638056a7",
"format": 1
},
{
- "name": "plugins/modules/nxos_igmp_interface.py",
+ "name": "plugins/modules/nxos_gir.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e971debe6199b397fefb3ebdb296851c2200f444d11bc1aec9e705e3f142dd40",
+ "chksum_sha256": "05675c570b78691538eaa20c62f548b41885b8db20018e5805a6ced813eaff40",
"format": 1
},
{
- "name": "plugins/modules/nxos_bgp_global.py",
+ "name": "plugins/modules/nxos_igmp_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2f5f28fab53dae03299c208d2e851fdd0ef1baa1deda374ea26043722c0aedd6",
+ "chksum_sha256": "c8cbb9aec6383daa0e4a82c2c4c3d29ef313c078404d70413301abdd98513c17",
"format": 1
},
{
- "name": "plugins/modules/nxos_rpm.py",
+ "name": "plugins/modules/nxos_lacp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e2ba7d2ec024a075a96be051996d4eba6f6e370058c6df454b89ac7c36759f58",
+ "chksum_sha256": "bf38b4169e3605546f6f4d7138529c1ba3effb60f74ea844f205ef2160e800c1",
"format": 1
},
{
- "name": "plugins/modules/nxos_gir.py",
+ "name": "plugins/modules/nxos_vrf_af.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "05675c570b78691538eaa20c62f548b41885b8db20018e5805a6ced813eaff40",
+ "chksum_sha256": "bcddf538b58de6ee3355af3f5af10af8b95268b4a2bdd7166d2c451a7484228d",
"format": 1
},
{
- "name": "plugins/modules/nxos_bgp_neighbor_address_family.py",
+ "name": "plugins/modules/nxos_overlay_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a3641e84afc1182c7e1aaf3ea229317ec8e4901fdc54ffbe4bb446bb2297f50e",
+ "chksum_sha256": "f2e7bc1eff3259825c6eae134d87e92ee922cc3fd423b63fac821c659ea891d8",
"format": 1
},
{
- "name": "plugins/modules/nxos_ntp_options.py",
+ "name": "plugins/modules/nxos_bfd_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d569feceac1e9a09090b5e039d89cee9be55d3d3f60e8c1e63bf963c80655be7",
+ "chksum_sha256": "dd7b49293300983b1bfe085206f30ad341bf3af6ee17aad238186ad5d1bec86a",
"format": 1
},
{
- "name": "plugins/modules/nxos_pim_rp_address.py",
+ "name": "plugins/modules/nxos_ping.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "048f2a6e71622db905600dbc6f0862564275c438ac0a401aca0b2c792605d10f",
+ "chksum_sha256": "9d2648ff85a7fee59b9b0b099afde09e1f7f11c7e5d9f033d27a2af0953e854e",
"format": 1
},
{
- "name": "plugins/modules/nxos_snmp_community.py",
+ "name": "plugins/modules/nxos_vlans.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4225f8c4053ec681cb9fadb841f3b0660771879e740d13858c459fedbfc5aa3c",
+ "chksum_sha256": "d603737717f0b6a697fac057acf07a763f002aa641026cd6436b2bc3e4611d3b",
"format": 1
},
{
- "name": "plugins/doc_fragments",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_gir_profile_management.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e5c49276a499ef2988a7047ec75a5464f13e5b458f0a7d6af46c8fd8e3f71c89",
"format": 1
},
{
- "name": "plugins/doc_fragments/__init__.py",
+ "name": "plugins/modules/nxos_udld_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "2346b5a0aec6682e11c7ee21cf5f77fd1b53bd4839d11a7da4e23e8378049aaa",
"format": 1
},
{
- "name": "plugins/doc_fragments/nxos.py",
+ "name": "plugins/modules/nxos_vxlan_vtep.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b71c234b0886b9a8c7cb54e9b1a2de2e433f8a19608a3ba45e67037c942943",
+ "chksum_sha256": "9aefbaf9557a93bafc8de522a59e3246967964e658c9ee7631fa202e0b5215fa",
"format": 1
},
{
- "name": "plugins/filter",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_config.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "160aa4af3ddc22a3a35d277eded9a0bf54df4a0b7b44a11fa2c077b5cca71db5",
"format": 1
},
{
- "name": "plugins/filter/__init__.py",
+ "name": "plugins/modules/nxos_lacp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "dc1a726578647a2b3f08a76ca542daa557960de383812b9b4067af37a49359d1",
"format": 1
},
{
- "name": "plugins/module_utils",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_route_maps.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "3daed656349f74ca544cca0df90fe653384af61e5109235c2a0643e67593ddbf",
"format": 1
},
{
- "name": "plugins/module_utils/__init__.py",
+ "name": "plugins/modules/nxos_devicealias.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "8fcfa22b50abdddab25a9235c03d8ef41055a7f98dfa6ab1af4a4e86fa6c1e10",
"format": 1
},
{
- "name": "plugins/module_utils/network",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_pim_rp_address.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "048f2a6e71622db905600dbc6f0862564275c438ac0a401aca0b2c792605d10f",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_bgp_templates.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "955e3860781eef5083a0fa88e80d95803645ca485edd357b5867d3706bbc45bb",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_file_copy.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "8418e53de9a83561d6c4b60b2d5d8115863d210376acbebf4f4c41a6489cd2a5",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/bgp_global.py",
+ "name": "plugins/modules/nxos_snmp_community.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ed671f6023709bf21f4a311d5b4d0d691d80ff73705eb81c6d20e7770da771f1",
+ "chksum_sha256": "4225f8c4053ec681cb9fadb841f3b0660771879e740d13858c459fedbfc5aa3c",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/fc_interfaces.py",
+ "name": "plugins/modules/nxos_acls.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f64b8a82076d44e2d84bb8e519e867de1be52eea91daa677a5e542f0a0d3429b",
+ "chksum_sha256": "283955d63ab51126d854605578e07115bb252047205fe90749563bf343bdb00a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/bgp_address_family.py",
+ "name": "plugins/modules/nxos_snmp_location.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "13f0286247895225a98082e385e0024eb4b177acc5d8fcadb26e3ae4df75bd25",
+ "chksum_sha256": "a11d2a363173b645bdf9c8cd1cdb80e77b94d4c169069614deae90a441a1de22",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/bgp_neighbor_address_family.py",
+ "name": "plugins/modules/nxos_vrf_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4c67e25a48908cf9c5567c09db909e2fb0223acd6cca1a737bb18101f0a6d2de",
+ "chksum_sha256": "a2876512450aa2920f88a2d408eb72cd7976ec4124a95b058d57427d0f939fb1",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/static_routes.py",
+ "name": "plugins/modules/nxos_vpc.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ccf265de0d70717436fd47a40647609558cba7a1d6407849f1b3e2577bd115b3",
+ "chksum_sha256": "edd715fc9e823dbf37a31a16de8f680132e0cc9b2feea46ab073d34f8098acf5",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/hostname.py",
+ "name": "plugins/modules/nxos_hostname.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dd7353433ed688982b69d5f12378ff56bb0b399f0734e27b1571a86a14384253",
+ "chksum_sha256": "c6e80d807e983caef125de3683283634a0fb850861b4c240a7446c36660b8a22",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/ntp_global.py",
+ "name": "plugins/modules/nxos_logging_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9c68f8b3e3e2fbe7a95f3520b0b2b785c4b88f706bfd12ed7f57d8d8e0747861",
+ "chksum_sha256": "1493bf17b72bd52b2f045a3d3c8767b2e414600762fadf79c065dda1b99e47d2",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/snmp_server.py",
+ "name": "plugins/modules/nxos_aaa_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "32cba948b16c3a3f53d2340958523c4b62de76300df58506c094fdf244d9cda6",
+ "chksum_sha256": "c7d0ba90c00bef7d014ca922ce5e66ea10fe116bb9af88bfdf671402527b404b",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/__init__.py",
+ "name": "plugins/modules/nxos_igmp_snooping.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "ee94035d9f4a71393a16670f8e269064476b6da5d99071a4f23cfc253da13703",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/ospfv3.py",
+ "name": "plugins/modules/nxos_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f1d51e9d1880df627d5d8c3f2cb483c1d6acb9e71919fd88ee7d0d2dc79e0682",
+ "chksum_sha256": "5535b8856eb027aabcd9885c29602a14a92c40554ca777b553879ae1bd8b18b6",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/route_maps.py",
+ "name": "plugins/modules/nxos_rollback.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1e4d7751215f3d2c175f957ec2f8f667f547b3f59c4c4eb6b0e52559740a060a",
+ "chksum_sha256": "7fec43544c7cb26eb84d9cdd22e74a4f042de04943e5896fcd45a1020f003e82",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/bgp_templates.py",
+ "name": "plugins/modules/nxos_vtp_password.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "539774203fdf45d1b73fc4e4acfdfe38e86c43f285c18b873c03238c2bba01fc",
+ "chksum_sha256": "e6cb79ae92bdf1ab82291e4b331dfeb53b42f004a416908268380813905b8215",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/ospfv2.py",
+ "name": "plugins/modules/nxos_lldp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "743e72c4c99c023a2a4feee6c57cb7af7f8cd67643738af5ebedbb7ffa2aa2b7",
+ "chksum_sha256": "b444c878e0d7289fb705e56985724155c15dd9f5b8de4ad2fa581ddc77b29e0e",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/ospf_interfaces.py",
+ "name": "plugins/modules/nxos_prefix_lists.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "619993ad1e730c0263a72547114d501d22cad1cc30a1ea614ad10f463ec3292c",
+ "chksum_sha256": "fbc6db3871917b6239c2e37caede67c3a6f69e2c578357f5831bf74173c09bd5",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/logging_global.py",
+ "name": "plugins/modules/nxos_bfd_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2f67d7522c05494210bc06984c76e11b9053b9c3e6c13aa10bafcafa527de814",
+ "chksum_sha256": "e2121178e29e5e34ca77f7ed2dc78e7fdcf6ddbe7a9ab16545c39c11dc00f7ce",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/rm_templates/prefix_lists.py",
+ "name": "plugins/modules/nxos_rpm.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c61c5caf3fd680763a367ee1d24dd318c773a6e390ab26a28eb28aff0176a1b2",
+ "chksum_sha256": "e2ba7d2ec024a075a96be051996d4eba6f6e370058c6df454b89ac7c36759f58",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/__init__.py",
+ "name": "plugins/modules/nxos_vtp_version.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "2c822abea7b871b5781dcf46856c07f0214793bc3768743d45966ae5a0b6e779",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_nxapi.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "cf44a3e80959a805238202c49a5a639d6a1ecf5f6d8191b93b3f6db314a80c15",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_address_family",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_command.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "19c20fdbf3d421a6a487cb76e85904fcfc62dfe26569000e370e6d829c0fb838",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_address_family/bgp_address_family.py",
+ "name": "plugins/modules/nxos_snmp_contact.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9dceb9b1618124325de42f3625419e16b34dfa1b118f41d24742d16d188bd952",
+ "chksum_sha256": "936a5e9b00d8c46ed39a8818f5806971f16fc8cebd3f5106e6909b7ed8395ac1",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_address_family/__init__.py",
+ "name": "plugins/modules/nxos_aaa_server_host.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "b7560a2b37d9b93af17d9d0241db8cc701778ff974fcc4f16204fcaa991c1f2a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/static_routes",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_ntp_global.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "48f03d894a18905e2934f7f22c43b8b78e66e8f3b2a39770e94b45907977a0a0",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/static_routes/static_routes.py",
+ "name": "plugins/modules/nxos_feature.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d158d7985a673c37a6a92d24c32f7fac372f8082b7aebc0f95215760c2891c8f",
+ "chksum_sha256": "8b8a6deea08ebeae462e2fefbcc4762dd67b71bc5a5d0f51e3ea3595375888da",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/static_routes/__init__.py",
+ "name": "plugins/modules/nxos_vxlan_vtep_vni.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "00cc8a5f8826d10b27cbea4c1523a5dc48a57d174ae7ecfd918e02d506902b80",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/prefix_lists",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/__init__.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/prefix_lists/__init__.py",
+ "name": "plugins/modules/nxos_pim_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "62a33fbb98411f4b017a3d884645f48f8e79049f27e0f3d87698b3bcb7f0c48c",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/prefix_lists/prefix_lists.py",
+ "name": "plugins/modules/nxos_snmp_traps.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bdd9700bbce8280fc77f1fe6c2cb02ae15fd4680ab4076c50bb53c7ea0b35a69",
+ "chksum_sha256": "73ef124bdd93a1b8d6d7d55870e04c99bb29cde93c0c400884f06c4972057f75",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/hostname",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_reboot.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "826e076559d7143fc03a3de9f0e5ec125241fd3196037f2a1a524e033e75b8de",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/hostname/hostname.py",
+ "name": "plugins/modules/nxos_vsan.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3c3330ec64341ba82a3d65827a9f33c088b95f64fd79f859db5b16334be443d9",
+ "chksum_sha256": "7a775ad1dba4b6997070b43beb0eff5a71f94cf0d7462c64d7761710663cb865",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/hostname/__init__.py",
+ "name": "plugins/modules/nxos_pim.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "a06919bdfbaab64ef58295c408def23dc36336b630e12d80a2a80e3a31a53a85",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lldp_interfaces",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_banner.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "a98cf0828178ff3233b836f7a1d1478ad4f5020143b0a6435630737a82b4110e",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lldp_interfaces/__init__.py",
+ "name": "plugins/modules/nxos_vpc_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "7361c2f7afeaedada1c42037a5f54d16b934ef5993f155819e0edb731c21de1f",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lldp_interfaces/lldp_interfaces.py",
+ "name": "plugins/modules/nxos_system.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "26ea3b86085c974b67392b30142f605fd5efcace1c13044ba38a32c1b77d3069",
+ "chksum_sha256": "34a51f70bb99431fadc63a66270533d88d97d3a6eb422578a78c1f59da7c89e8",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lacp",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_hsrp_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "5b9cea1b4a4a770fdf3b6dad829247384c19aefeaf5d300f8730ebbeb8c7bc0d",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lacp/lacp.py",
+ "name": "plugins/modules/nxos_vrf.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b0f05127c1e721158123ed8ef3ddd6259eebdb4226a2b289ee70a8237d167c8a",
+ "chksum_sha256": "6145ff3c78f13d4bcd3d338da62805a3a1e594b80c8a72de7ff83059d3d5eb04",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lacp/__init__.py",
+ "name": "plugins/modules/nxos_vtp_domain.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "e76836b4b68b3c32d5a146bcb6738009872e3e69d3afffe269e50846d4a84058",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospfv2",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_snmp_host.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ae6e69d2c2af158c70e81aed0f2a6dbccca2c69033861bd697af4dba0c5183c7",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospfv2/__init__.py",
+ "name": "plugins/modules/nxos_fc_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "2b7cb927469f1aab619f06daa2442fd6c4267898dfd7f9f471d58b9970eb5b27",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospfv2/ospfv2.py",
+ "name": "plugins/modules/nxos_user.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "52b55a9bc2c837c33f85f0d3a20c5a392fc26a589b7c8d61e433d173fee934cc",
+ "chksum_sha256": "3421c84ad96b685dce41814131c5e17d336d58fdaac332ea01b72606ffdae07c",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/telemetry",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_evpn_vni.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "cccbafbd724df1855a60cebf93e8429be7edc59582827b0ed6c5af84a877565a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/telemetry/__init__.py",
+ "name": "plugins/modules/nxos_install_os.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "5a8d563421835390e3d46ff4cf4feadd2ff33a43d58a6f8d828a8c9f1f79d951",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/telemetry/telemetry.py",
+ "name": "plugins/modules/nxos_evpn_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9b34d0128aee2e7a33355d4132f4a5ba31a0d5ac90ccc69d786c7bc2abec568c",
+ "chksum_sha256": "3cb0c7e66e32783f346744b3b08edd63f2d3ac82b67addb55597a19b48db7e9c",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/logging_global",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_static_routes.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2ef2625e9e8c20f8012c57596cf06ac0ac8b28662ee78e98e2911354dfea6f32",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/logging_global/__init__.py",
+ "name": "plugins/modules/nxos_facts.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "3d47e0e98adf0b507c6e725efcb94b573d9100679336c3beaf8193ee0247f24b",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/logging_global/logging_global.py",
+ "name": "plugins/modules/nxos_acl_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a5b8bd957449018ead97c56ab6c4c7b3945f6a176a9a6be0dee1bfaa02878939",
+ "chksum_sha256": "7d3aa83fa072e36c33233e8244b6d7f4b6b28eb355d5045dbffbb7ebd2cfbf8b",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospfv3",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_telemetry.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "5bf9c2cfa138af73b7d1e47a1d5345049dd93a00933eeb94e39a66d94ec759d0",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospfv3/__init__.py",
+ "name": "plugins/modules/nxos_ospfv2.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "ceba0e4676fb124fe23e8c0e3e9358e247f6cf34f4af0c2e09db648692b03262",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospfv3/ospfv3.py",
+ "name": "plugins/modules/nxos_lldp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "39f79531c9741bae023e8c9db926a5463c311093057a49422bd7e25536e6cab9",
+ "chksum_sha256": "485b35aeac40cd9d3dfaf18a7f5481fc14796ce054387af3dca72160677f6dd7",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_neighbor_address_family",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_hsrp.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "8e0bccf6fb0aa7ce0cbacacb8acf9821015472213a2319df618e7eef4d03a52f",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_neighbor_address_family/bgp_neighbor_address_family.py",
+ "name": "plugins/modules/nxos_l3_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a8658e63caa17970c687a6b260d8067ec1a83acc322b1efa0608ca9711b6a598",
+ "chksum_sha256": "b95b46e32c56259e36e705a3249140c51028bc43376257ef0913e93149918c1e",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_neighbor_address_family/__init__.py",
+ "name": "plugins/modules/nxos_ospfv3.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "5f7553546e438131fb6a81fb5c994270b900e30349f675a9f9ac77cb20b4a218",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/legacy",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_igmp.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ec8870d4fb6ecf6089717936138d43fc5fe54381994a0a7d5e8299a94f9ade67",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/legacy/base.py",
+ "name": "plugins/modules/nxos_bgp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "71495bdb43fae534b7a23edf9ec4d932386e4b19320014664203482f9a42de99",
+ "chksum_sha256": "66c33d7e478c4d39b8899962fc8f152cab6651220069cc2a89cef2e299d1547e",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/legacy/__init__.py",
+ "name": "plugins/modules/nxos_snmp_user.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "d16699e2fd607da804183e1fe29c6981095303d22b836f865f2046dc2c50ecf0",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/l2_interfaces",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_bgp_address_family.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "98ba4c208cb7259d49b76f7b48cd1baa8b6f049cac2e9f64142c5011e12c2eee",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/l2_interfaces/__init__.py",
+ "name": "plugins/modules/nxos_ospf_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "8ccbbc24a2038b70b2486f92b33ceaecf1932dbc2316167526855312dc6c599d",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/l2_interfaces/l2_interfaces.py",
+ "name": "plugins/modules/nxos_snmp_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "16e09269f14c79c8b4ec91aa5eccc89af3d385dd779dd37dc1434933d9e9bc72",
+ "chksum_sha256": "9ad2b68c98c78ad1082727d1997b52f29f03c4d8c9ee734ee40f7151bec58fd5",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/hsrp_interfaces",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/modules/nxos_udld.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f9d531c20f551d644be87cf218c7bf8175f531a3190c60c7a20ae281203fbe8d",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/hsrp_interfaces/hsrp_interfaces.py",
+ "name": "plugins/modules/nxos_lag_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0024b419e2bca58180d26c864588f59ce5941f5f5420c9df5ed7063e672f391a",
+ "chksum_sha256": "8aa8104d1be201ba069a75576473610d9a3d5e6e9778687b8f83121557d20a73",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/hsrp_interfaces/__init__.py",
+ "name": "plugins/modules/nxos_snapshot.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "5cf9eab5ad1ae6953579860b7365ce6e6d604f69fe00389f656c63f99cb3b24f",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospf_interfaces",
+ "name": "plugins/terminal",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospf_interfaces/__init__.py",
+ "name": "plugins/terminal/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ospf_interfaces/ospf_interfaces.py",
+ "name": "plugins/terminal/nxos.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6df58dfe3eba436f0b43a2f4f089d58de078ca53907811f49c6ff9295a36e7b5",
+ "chksum_sha256": "e49e9c495e05b71317fa3d2c462cb085ce5827874235484d735f470e7afa5059",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/route_maps",
+ "name": "plugins/module_utils",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/route_maps/__init__.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "name": "plugins/module_utils/network",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/route_maps/route_maps.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f15891603e1c71bcfee05df6fa749fc807f756b6a7413ac545b673ba76f57543",
+ "name": "plugins/module_utils/network/nxos",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/acl_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/acl_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/l3_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/argspec/l3_interfaces/l3_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "7082768644e0745bf790852b29aa7c0a05a1aa73e1038bbd65b115085ed981f6",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/acl_interfaces/acl_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/l3_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ac2e8ca4571619843fbe700e40af12f2205ba37dcae4e3ac8fc9552ab3f39c7f",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lldp_global",
+ "name": "plugins/module_utils/network/nxos/argspec/telemetry",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lldp_global/__init__.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
- "format": 1
- },
- {
- "name": "plugins/module_utils/network/nxos/facts/lldp_global/lldp_global.py",
+ "name": "plugins/module_utils/network/nxos/argspec/telemetry/telemetry.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5a4c38941c0836cfcbe5870de76c13b5e991772d2514d919b52a0eb8861b1b8b",
+ "chksum_sha256": "735fed6cdb3cf9f532186ddcbd9caeceae6c66e803344bacfba16aae44312018",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/telemetry/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/snmp_server",
+ "name": "plugins/module_utils/network/nxos/argspec/ospfv2",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/snmp_server/snmp_server.py",
+ "name": "plugins/module_utils/network/nxos/argspec/ospfv2/ospfv2.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "40b58f658b1b04583ed22216cb79b87040e113511d55c523c6dc17c8b1b9b103",
+ "chksum_sha256": "0a7bd0a029361af8e3f6355af52f8bbffdd6f6f31cb376a09574cbc248c63e4f",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/snmp_server/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/ospfv2/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/fc_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/lldp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/fc_interfaces/fc_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/lldp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cfe4284974d9e939b38db93c36988c773a5c75743b2754e734ad1a814617f232",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/fc_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/lldp_interfaces/lldp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "6dca4e69682508b76a0992a7ea9be015da7ecd322898e1a7f303ed45478586bc",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lacp_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/ospfv3",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lacp_interfaces/lacp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/ospfv3/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "023062f4e902d13603541dfa4ed7556aaf55c9f7e09624e82404ad99b375e1d3",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lacp_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/ospfv3/ospfv3.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "e6e093df4df247e1c4aa45fc6bfcdd4a5abbc8c2af26bfe0e3b4b7298be76081",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/acls",
+ "name": "plugins/module_utils/network/nxos/argspec/acls",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/acls/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/acls/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/acls/acls.py",
+ "name": "plugins/module_utils/network/nxos/argspec/acls/acls.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e24890d18962cbd1e2170a036f3628d3c8686243e641f865d66f52e90f3d9835",
+ "chksum_sha256": "62a096743b254ad70713007700d5c44ea26a00d69ff7fb8106e640ba4e25fced",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ntp_global",
+ "name": "plugins/module_utils/network/nxos/argspec/hostname",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ntp_global/ntp_global.py",
+ "name": "plugins/module_utils/network/nxos/argspec/hostname/hostname.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7a0e41e513e3e657d058c758de0f4f107cb10c35c806968552c6b0f42fea7377",
+ "chksum_sha256": "05b2c2b1670e7b5c0685f81d73c6a4f6176e9b659869554b51144e8311c62e56",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/ntp_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/hostname/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lag_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/vlans",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lag_interfaces/lag_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/vlans/vlans.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "59a72ebb6ded18c885dc7716f707873e9b2e4819c1f1af38d43d2f60d3ebb436",
+ "chksum_sha256": "1b23ecaded6b2b8fbcf578fd9bc5997cc3184037a70957a1dd17a772ab212f15",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/lag_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/vlans/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bfd_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_address_family",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bfd_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_address_family/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bfd_interfaces/bfd_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_address_family/bgp_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "85a308e34d42cc8d6a01e307d61f80aad2d3ebd4144654514b9855f96a1608f4",
+ "chksum_sha256": "37b88e6b28e3fae84e9403565021cf2bdcb54fb8c282b38a4ec095b1c25fcb4a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_templates",
+ "name": "plugins/module_utils/network/nxos/argspec/ntp_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_templates/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/ntp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_templates/bgp_templates.py",
+ "name": "plugins/module_utils/network/nxos/argspec/ntp_global/ntp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "019a61c240a5cc8c2177c4402ffecbfd035248efa3426db05f91d8c94da57246",
+ "chksum_sha256": "783602fd75a5c0ae5e6e5d966c292366b63a1b8c5806e5fe76163067f1442777",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/vlans",
+ "name": "plugins/module_utils/network/nxos/argspec/interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/vlans/vlans.py",
+ "name": "plugins/module_utils/network/nxos/argspec/interfaces/interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "02438c1af2fd68b76f7f368fcf8e1199bb61922c892a467ba78eb73dd081631a",
+ "chksum_sha256": "571184731dbbe433772733ec8f703954ad6b17777b20251a7ed12a6f7ab441a7",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/vlans/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/logging_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/interfaces/interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/logging_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3c4a7320158d21677a5bfa159a9c2138ffec2ce98996ed5573c061b163b8daad",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/logging_global/logging_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "70978913c9daeedc0fccb8b5f374e2a32bac7d5954841226aed6ff30aa6b3588",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/l3_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_neighbor_address_family",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/l3_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_neighbor_address_family/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/l3_interfaces/l3_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_neighbor_address_family/bgp_neighbor_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cd91ce2d24a35f39f37f8275196584b199f99d885a0f915fd32a02e70a1bac02",
+ "chksum_sha256": "8ca222317640163b92905c69d00da5f3cba1788125facfb63e3166e4a6ff4036",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_global",
+ "name": "plugins/module_utils/network/nxos/argspec/lldp_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_global/bgp_global.py",
+ "name": "plugins/module_utils/network/nxos/argspec/lldp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ef399135879accd85c0495e76be7c6fbf1a1141c57fe10ed98666d1f2cd174e4",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/bgp_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/lldp_global/lldp_global.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "c9b7fb9ecb6060e51efd1eb61649c055657aabac60fb4b28e20d8d8b12ea363c",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/argspec/acl_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/argspec/acl_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/facts/facts.py",
+ "name": "plugins/module_utils/network/nxos/argspec/acl_interfaces/acl_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0ca5196b5ac6835d5840ea9cbd58e2ed4b4554cd0b3f5a6625f30cde5ce03033",
+ "chksum_sha256": "bb0d056e85549d5ce2c3bbd3bc5330a3bd8ffb7562123dc8452d07a7999f1701",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/nxos.py",
+ "name": "plugins/module_utils/network/nxos/argspec/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "571d3839f5fdab7ee6046ccb1b7e3753877b862f7efd51d43973513910d60201",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec",
+ "name": "plugins/module_utils/network/nxos/argspec/ospf_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_address_family",
+ "name": "plugins/module_utils/network/nxos/argspec/ospf_interfaces/ospf_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "bf40cbc988c8bfd85f8f96409bc3a4246540e933527340e72cf19dfee0bca77b",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/argspec/ospf_interfaces/__init__.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/argspec/facts",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_address_family/bgp_address_family.py",
+ "name": "plugins/module_utils/network/nxos/argspec/facts/facts.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "37b88e6b28e3fae84e9403565021cf2bdcb54fb8c282b38a4ec095b1c25fcb4a",
+ "chksum_sha256": "3dbe3771e03c68a3144d8b70df7b0d5895c69dbec69a7f47e67f0396f18ae879",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_address_family/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/facts/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/static_routes",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/static_routes/static_routes.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_global/bgp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "01739405af9cd744f8a995dcad803834647bb933b5b65f238fe5d93fd35167f6",
+ "chksum_sha256": "4fbafd074800875e6855205cdc9797c6e9ede1d525aab97014a6aa60e59b3900",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/static_routes/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/prefix_lists",
+ "name": "plugins/module_utils/network/nxos/argspec/static_routes",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/prefix_lists/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/static_routes/static_routes.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "01739405af9cd744f8a995dcad803834647bb933b5b65f238fe5d93fd35167f6",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/prefix_lists/prefix_lists.py",
+ "name": "plugins/module_utils/network/nxos/argspec/static_routes/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "979b5710687e9fd4d0001ee92d070b9a24e5b22b4c622bb47ab6aa3da657c613",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/hostname",
+ "name": "plugins/module_utils/network/nxos/argspec/fc_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/hostname/hostname.py",
+ "name": "plugins/module_utils/network/nxos/argspec/fc_interfaces/fc_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "05b2c2b1670e7b5c0685f81d73c6a4f6176e9b659869554b51144e8311c62e56",
+ "chksum_sha256": "cde20eb7e720bd76c623eb69a11dccee251365a5c8c7b8b934d83f61338c2784",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/hostname/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/fc_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lldp_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/route_maps",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lldp_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/route_maps/route_maps.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "fc5a7ea360233ab48021b6513bca2b38467e94960b29c63945028e82e624702a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lldp_interfaces/lldp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/route_maps/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6dca4e69682508b76a0992a7ea9be015da7ecd322898e1a7f303ed45478586bc",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
@@ -1751,105 +1807,105 @@
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospfv2",
+ "name": "plugins/module_utils/network/nxos/argspec/hsrp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospfv2/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/hsrp_interfaces/hsrp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "78bff7e6897df616065eb94dab6e2aedf4cdef6106783c80c68e3a44b3641c30",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospfv2/ospfv2.py",
+ "name": "plugins/module_utils/network/nxos/argspec/hsrp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0a7bd0a029361af8e3f6355af52f8bbffdd6f6f31cb376a09574cbc248c63e4f",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/telemetry",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_templates",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/telemetry/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_templates/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/telemetry/telemetry.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bgp_templates/bgp_templates.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "735fed6cdb3cf9f532186ddcbd9caeceae6c66e803344bacfba16aae44312018",
+ "chksum_sha256": "186b8ce90e4f21c9b9ec38647e9d34bb5665c667b6b88fe042b7eede91d27bf3",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/logging_global",
+ "name": "plugins/module_utils/network/nxos/argspec/prefix_lists",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/logging_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/prefix_lists/prefix_lists.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "979b5710687e9fd4d0001ee92d070b9a24e5b22b4c622bb47ab6aa3da657c613",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/logging_global/logging_global.py",
+ "name": "plugins/module_utils/network/nxos/argspec/prefix_lists/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "70978913c9daeedc0fccb8b5f374e2a32bac7d5954841226aed6ff30aa6b3588",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospfv3",
+ "name": "plugins/module_utils/network/nxos/argspec/snmp_server",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospfv3/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/snmp_server/snmp_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "9ae7bf54bcbbd71a2eeec9fd2db8c3fdefa34af8162df5d5941c2e322c1c040d",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospfv3/ospfv3.py",
+ "name": "plugins/module_utils/network/nxos/argspec/snmp_server/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e6e093df4df247e1c4aa45fc6bfcdd4a5abbc8c2af26bfe0e3b4b7298be76081",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_neighbor_address_family",
+ "name": "plugins/module_utils/network/nxos/argspec/lag_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_neighbor_address_family/bgp_neighbor_address_family.py",
+ "name": "plugins/module_utils/network/nxos/argspec/lag_interfaces/lag_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8ca222317640163b92905c69d00da5f3cba1788125facfb63e3166e4a6ff4036",
+ "chksum_sha256": "ea53f8bfaffe46e9c184854c68f071da028b3e073d94c939438f5e66f0a9a5be",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_neighbor_address_family/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/lag_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
@@ -1863,2971 +1919,3069 @@
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/l2_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "ceeb10c6125b3efda9d04ac4d324e8025b291277400266b651c8b9e3b4f3f960",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/l2_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ceeb10c6125b3efda9d04ac4d324e8025b291277400266b651c8b9e3b4f3f960",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/hsrp_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/bfd_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/hsrp_interfaces/hsrp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bfd_interfaces/bfd_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "78bff7e6897df616065eb94dab6e2aedf4cdef6106783c80c68e3a44b3641c30",
+ "chksum_sha256": "bf82cfc30230fa91de7fbfc2e5dd98a765f17ce3b123cfb8dc78668d3934523a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/hsrp_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/bfd_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospf_interfaces",
+ "name": "plugins/module_utils/network/nxos/argspec/lacp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospf_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/argspec/lacp_interfaces/lacp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "73c1cb0cdb2fe7ddee5372b2ab1d2b9936248389c55e59ba3641a3cd7fd3a790",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ospf_interfaces/ospf_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/argspec/lacp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bf40cbc988c8bfd85f8f96409bc3a4246540e933527340e72cf19dfee0bca77b",
- "format": 1
- },
- {
- "name": "plugins/module_utils/network/nxos/argspec/route_maps",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/route_maps/__init__.py",
+ "name": "plugins/module_utils/network/nxos/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/route_maps/route_maps.py",
+ "name": "plugins/module_utils/network/nxos/nxos.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fc5a7ea360233ab48021b6513bca2b38467e94960b29c63945028e82e624702a",
+ "chksum_sha256": "571d3839f5fdab7ee6046ccb1b7e3753877b862f7efd51d43973513910d60201",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/acl_interfaces",
+ "name": "plugins/module_utils/network/nxos/rm_templates",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/acl_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/bgp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "ed671f6023709bf21f4a311d5b4d0d691d80ff73705eb81c6d20e7770da771f1",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/acl_interfaces/acl_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/static_routes.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb0d056e85549d5ce2c3bbd3bc5330a3bd8ffb7562123dc8452d07a7999f1701",
+ "chksum_sha256": "ccf265de0d70717436fd47a40647609558cba7a1d6407849f1b3e2577bd115b3",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lldp_global",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/module_utils/network/nxos/rm_templates/ospfv2.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f049139f75676305c98743a0efc940ea8a5fe481a0a9d37e99d5b7da9f5f6cb1",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lldp_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/route_maps.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "1e4d7751215f3d2c175f957ec2f8f667f547b3f59c4c4eb6b0e52559740a060a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lldp_global/lldp_global.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/hostname.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c9b7fb9ecb6060e51efd1eb61649c055657aabac60fb4b28e20d8d8b12ea363c",
+ "chksum_sha256": "dd7353433ed688982b69d5f12378ff56bb0b399f0734e27b1571a86a14384253",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/__init__.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/prefix_lists.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "c61c5caf3fd680763a367ee1d24dd318c773a6e390ab26a28eb28aff0176a1b2",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/snmp_server",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/module_utils/network/nxos/rm_templates/fc_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f64b8a82076d44e2d84bb8e519e867de1be52eea91daa677a5e542f0a0d3429b",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/snmp_server/snmp_server.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/snmp_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9ae7bf54bcbbd71a2eeec9fd2db8c3fdefa34af8162df5d5941c2e322c1c040d",
+ "chksum_sha256": "32cba948b16c3a3f53d2340958523c4b62de76300df58506c094fdf244d9cda6",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/snmp_server/__init__.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/ospf_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "619993ad1e730c0263a72547114d501d22cad1cc30a1ea614ad10f463ec3292c",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/rm_templates/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/fc_interfaces",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/module_utils/network/nxos/rm_templates/logging_global.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2f67d7522c05494210bc06984c76e11b9053b9c3e6c13aa10bafcafa527de814",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/fc_interfaces/fc_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/bgp_templates.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cde20eb7e720bd76c623eb69a11dccee251365a5c8c7b8b934d83f61338c2784",
+ "chksum_sha256": "539774203fdf45d1b73fc4e4acfdfe38e86c43f285c18b873c03238c2bba01fc",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/fc_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/bgp_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "13f0286247895225a98082e385e0024eb4b177acc5d8fcadb26e3ae4df75bd25",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/facts",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/module_utils/network/nxos/rm_templates/bgp_neighbor_address_family.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "4c67e25a48908cf9c5567c09db909e2fb0223acd6cca1a737bb18101f0a6d2de",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/facts/__init__.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/ntp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "9c68f8b3e3e2fbe7a95f3520b0b2b785c4b88f706bfd12ed7f57d8d8e0747861",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/facts/facts.py",
+ "name": "plugins/module_utils/network/nxos/rm_templates/ospfv3.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3dbe3771e03c68a3144d8b70df7b0d5895c69dbec69a7f47e67f0396f18ae879",
+ "chksum_sha256": "f1d51e9d1880df627d5d8c3f2cb483c1d6acb9e71919fd88ee7d0d2dc79e0682",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lacp_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lacp_interfaces/lacp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/l3_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/facts/l3_interfaces/l3_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "73c1cb0cdb2fe7ddee5372b2ab1d2b9936248389c55e59ba3641a3cd7fd3a790",
+ "chksum_sha256": "cd91ce2d24a35f39f37f8275196584b199f99d885a0f915fd32a02e70a1bac02",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lacp_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/l3_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/acls",
+ "name": "plugins/module_utils/network/nxos/facts/telemetry",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/acls/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/telemetry/telemetry.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "9b34d0128aee2e7a33355d4132f4a5ba31a0d5ac90ccc69d786c7bc2abec568c",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/acls/acls.py",
+ "name": "plugins/module_utils/network/nxos/facts/telemetry/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "62a096743b254ad70713007700d5c44ea26a00d69ff7fb8106e640ba4e25fced",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ntp_global",
+ "name": "plugins/module_utils/network/nxos/facts/ospfv2",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ntp_global/ntp_global.py",
+ "name": "plugins/module_utils/network/nxos/facts/ospfv2/ospfv2.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "783602fd75a5c0ae5e6e5d966c292366b63a1b8c5806e5fe76163067f1442777",
+ "chksum_sha256": "52b55a9bc2c837c33f85f0d3a20c5a392fc26a589b7c8d61e433d173fee934cc",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/ntp_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/ospfv2/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lag_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/lldp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lag_interfaces/lag_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/lldp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ea53f8bfaffe46e9c184854c68f071da028b3e073d94c939438f5e66f0a9a5be",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/lag_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/lldp_interfaces/lldp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "6a9af0b059926122015f40536c839c8dc3fbb14d14cfc6a6ae02d85d0de14a7a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bfd_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/ospfv3",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bfd_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/ospfv3/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bfd_interfaces/bfd_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/ospfv3/ospfv3.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bf82cfc30230fa91de7fbfc2e5dd98a765f17ce3b123cfb8dc78668d3934523a",
+ "chksum_sha256": "39f79531c9741bae023e8c9db926a5463c311093057a49422bd7e25536e6cab9",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_templates",
+ "name": "plugins/module_utils/network/nxos/facts/acls",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_templates/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/acls/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_templates/bgp_templates.py",
+ "name": "plugins/module_utils/network/nxos/facts/acls/acls.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "186b8ce90e4f21c9b9ec38647e9d34bb5665c667b6b88fe042b7eede91d27bf3",
+ "chksum_sha256": "d3bbdfc94cda205574023cea71125acc6b9511f3dcac5eb89aa9b6001c503c85",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/vlans",
+ "name": "plugins/module_utils/network/nxos/facts/hostname",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/vlans/vlans.py",
+ "name": "plugins/module_utils/network/nxos/facts/hostname/hostname.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1b23ecaded6b2b8fbcf578fd9bc5997cc3184037a70957a1dd17a772ab212f15",
+ "chksum_sha256": "3c3330ec64341ba82a3d65827a9f33c088b95f64fd79f859db5b16334be443d9",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/vlans/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/hostname/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/facts.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "0ca5196b5ac6835d5840ea9cbd58e2ed4b4554cd0b3f5a6625f30cde5ce03033",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/facts/vlans",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/interfaces/interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/vlans/vlans.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "571184731dbbe433772733ec8f703954ad6b17777b20251a7ed12a6f7ab441a7",
+ "chksum_sha256": "02438c1af2fd68b76f7f368fcf8e1199bb61922c892a467ba78eb73dd081631a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/vlans/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/l3_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/legacy",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/l3_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/legacy/base.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "31d68732e6e3dccbb6ce2dacba8a4497cfe827638587bcd5aa6a4f6418a34a93",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/l3_interfaces/l3_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/legacy/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7082768644e0745bf790852b29aa7c0a05a1aa73e1038bbd65b115085ed981f6",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_global",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_address_family",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_global/bgp_global.py",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_address_family/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4fbafd074800875e6855205cdc9797c6e9ede1d525aab97014a6aa60e59b3900",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/argspec/bgp_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_address_family/bgp_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
- "format": 1
- },
- {
- "name": "plugins/module_utils/network/nxos/config",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "9dceb9b1618124325de42f3625419e16b34dfa1b118f41d24742d16d188bd952",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_address_family",
+ "name": "plugins/module_utils/network/nxos/facts/ntp_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py",
+ "name": "plugins/module_utils/network/nxos/facts/ntp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ab2d098a5e4d9f5dfccc95ec69210831e191ce526eb08fb55029517f27bca8f2",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_address_family/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/ntp_global/ntp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "7a0e41e513e3e657d058c758de0f4f107cb10c35c806968552c6b0f42fea7377",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/static_routes",
+ "name": "plugins/module_utils/network/nxos/facts/interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/static_routes/static_routes.py",
+ "name": "plugins/module_utils/network/nxos/facts/interfaces/interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "329e8b628dae287612efa80e2ca7b5aaeefd530c19ddd8bd37a5b7774eb26aef",
+ "chksum_sha256": "3c4a7320158d21677a5bfa159a9c2138ffec2ce98996ed5573c061b163b8daad",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/static_routes/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/prefix_lists",
+ "name": "plugins/module_utils/network/nxos/facts/logging_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/prefix_lists/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/logging_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py",
+ "name": "plugins/module_utils/network/nxos/facts/logging_global/logging_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "445f9a55c8fd372fdbad1834ed7598d9281a376fd5de5e749218995310ccea81",
+ "chksum_sha256": "a5b8bd957449018ead97c56ab6c4c7b3945f6a176a9a6be0dee1bfaa02878939",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/hostname",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_neighbor_address_family",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/hostname/hostname.py",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_neighbor_address_family/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ab919426e1bd33f667ae875af49ed837d5f3f1e3598b878a290c3bc35004765d",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/hostname/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_neighbor_address_family/bgp_neighbor_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "a8658e63caa17970c687a6b260d8067ec1a83acc322b1efa0608ca9711b6a598",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lldp_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/lldp_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lldp_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/lldp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lldp_interfaces/lldp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/lldp_global/lldp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6c15204ad386b15117fcb44a6e62be71db4eb03b7f9aac53f7bbdd29020a4690",
+ "chksum_sha256": "5a4c38941c0836cfcbe5870de76c13b5e991772d2514d919b52a0eb8861b1b8b",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lacp",
+ "name": "plugins/module_utils/network/nxos/facts/acl_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lacp/lacp.py",
+ "name": "plugins/module_utils/network/nxos/facts/acl_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9612ac4a62de771ca9cef65d733373105e180a060227fff8330bc814d5cdde96",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lacp/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/acl_interfaces/acl_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "dcde32d987bef1d67842179d8e8dad0077899c8009893fbef7ef89ab1b09ed05",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/facts/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospfv2",
+ "name": "plugins/module_utils/network/nxos/facts/ospf_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospfv2/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/ospf_interfaces/ospf_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "6df58dfe3eba436f0b43a2f4f089d58de078ca53907811f49c6ff9295a36e7b5",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py",
+ "name": "plugins/module_utils/network/nxos/facts/ospf_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9294a53417222ea7bd4cf1b003780c5774924a288309b70bb353b0c64e74bd7e",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/telemetry",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/telemetry/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_global/bgp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "ef399135879accd85c0495e76be7c6fbf1a1141c57fe10ed98666d1f2cd174e4",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/telemetry/telemetry.py",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "727e58c53e65e0803777cc288930ceb07f415e2202e6cf5a8b58ebbdffbd46d8",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/logging_global",
+ "name": "plugins/module_utils/network/nxos/facts/static_routes",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/logging_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/static_routes/static_routes.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "d158d7985a673c37a6a92d24c32f7fac372f8082b7aebc0f95215760c2891c8f",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/logging_global/logging_global.py",
+ "name": "plugins/module_utils/network/nxos/facts/static_routes/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e7d1de04722e657bd71a3131e7bba17bc0178031c1c91cfa87df16e0eccc6878",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospfv3",
+ "name": "plugins/module_utils/network/nxos/facts/fc_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospfv3/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/fc_interfaces/fc_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "cfe4284974d9e939b38db93c36988c773a5c75743b2754e734ad1a814617f232",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py",
+ "name": "plugins/module_utils/network/nxos/facts/fc_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0ee78999cd1450377200ffd92fa3e925ecf413b3c1cb1a4f11e084facf5844d9",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_neighbor_address_family",
+ "name": "plugins/module_utils/network/nxos/facts/route_maps",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py",
+ "name": "plugins/module_utils/network/nxos/facts/route_maps/route_maps.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d8a658ac17e3b61cc0105d4567c8793adf8b2bd0cc0bcd68cf86353ac3116db3",
+ "chksum_sha256": "f15891603e1c71bcfee05df6fa749fc807f756b6a7413ac545b673ba76f57543",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/route_maps/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/l2_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/lacp",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/l2_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/lacp/lacp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "b0f05127c1e721158123ed8ef3ddd6259eebdb4226a2b289ee70a8237d167c8a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/l2_interfaces/l2_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/lacp/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44bae3bfcc74ec9e0328439391b1081d3fe54e6f3d3de17ff960c06b5e16e50c",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/hsrp_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/hsrp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/hsrp_interfaces/hsrp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/hsrp_interfaces/hsrp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5d5eb7ab8b3ff9d4c90321a6372a73f5087712b5d269eb1351380b93e5f1e207",
+ "chksum_sha256": "0024b419e2bca58180d26c864588f59ce5941f5f5420c9df5ed7063e672f391a",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/hsrp_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/hsrp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospf_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_templates",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospf_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_templates/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/bgp_templates/bgp_templates.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6a12a9c127ce960b84820ac79286672f458ab56934903abbfb52e74e2e9c98b6",
+ "chksum_sha256": "019a61c240a5cc8c2177c4402ffecbfd035248efa3426db05f91d8c94da57246",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/route_maps",
+ "name": "plugins/module_utils/network/nxos/facts/prefix_lists",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/route_maps/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/prefix_lists/prefix_lists.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "bdd9700bbce8280fc77f1fe6c2cb02ae15fd4680ab4076c50bb53c7ea0b35a69",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/route_maps/route_maps.py",
+ "name": "plugins/module_utils/network/nxos/facts/prefix_lists/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3f4b8b99ca2c2ad045886e77c5f0e412dd9d906cd801daf0e462b02e719e6d47",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/acl_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/snmp_server",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/acl_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/snmp_server/snmp_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "40b58f658b1b04583ed22216cb79b87040e113511d55c523c6dc17c8b1b9b103",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/acl_interfaces/acl_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/snmp_server/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e0da4ca8f06addf22f010bdcfbc5d8f5c26b9caad3a4f0d0653f9bf1b56511a7",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lldp_global",
+ "name": "plugins/module_utils/network/nxos/facts/lag_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lldp_global/__init__.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
- "format": 1
- },
- {
- "name": "plugins/module_utils/network/nxos/config/lldp_global/lldp_global.py",
+ "name": "plugins/module_utils/network/nxos/facts/lag_interfaces/lag_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1804e5abcd0b77a8b5c675c3bb4b90731e8932bf882f8445f01e839013660845",
+ "chksum_sha256": "59a72ebb6ded18c885dc7716f707873e9b2e4819c1f1af38d43d2f60d3ebb436",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/lag_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/snmp_server",
+ "name": "plugins/module_utils/network/nxos/facts/l2_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py",
+ "name": "plugins/module_utils/network/nxos/facts/l2_interfaces/l2_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "213fd101832e7b149113afc178eac76dbff00448cec80e65c6c3e6e0d434e914",
+ "chksum_sha256": "16e09269f14c79c8b4ec91aa5eccc89af3d385dd779dd37dc1434933d9e9bc72",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/snmp_server/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/l2_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/fc_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/bfd_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/fc_interfaces/fc_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/bfd_interfaces/bfd_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0438d7d1f23bc654fa0488e35002d8aff313dcf8afbef7412b0c68ee4e128f73",
+ "chksum_sha256": "85a308e34d42cc8d6a01e307d61f80aad2d3ebd4144654514b9855f96a1608f4",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/fc_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/bfd_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lacp_interfaces",
+ "name": "plugins/module_utils/network/nxos/facts/lacp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lacp_interfaces/lacp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/facts/lacp_interfaces/lacp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4a3ca5d6369f95058d8133277cfda2b0f04b6465bebce78756e6a4b45adf1d20",
+ "chksum_sha256": "023062f4e902d13603541dfa4ed7556aaf55c9f7e09624e82404ad99b375e1d3",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lacp_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/facts/lacp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/acls",
+ "name": "plugins/module_utils/network/nxos/utils",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/acls/__init__.py",
+ "name": "plugins/module_utils/network/nxos/utils/telemetry",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/utils/telemetry/telemetry.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "15cbafc9ce0f497e532fd5f677ac7fc847d0d94081f71d7538517699dcd59e30",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/utils/telemetry/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/acls/acls.py",
+ "name": "plugins/module_utils/network/nxos/utils/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b04b56fe6b5f62801329741e2707a9c0d2030ba1963590ad4608fb28eba36706",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ntp_global",
+ "name": "plugins/module_utils/network/nxos/utils/utils.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "061a3ad9eb413c3b48d2c4a77c060e11d499b21fa1830ab4a236f35d7f184fc9",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/cmdref",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ntp_global/ntp_global.py",
+ "name": "plugins/module_utils/network/nxos/cmdref/telemetry",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/cmdref/telemetry/telemetry.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6936bf5deb7b2708e4a6373b325c3155a14bbc454419ed7f516999e92946415c",
+ "chksum_sha256": "8da77084260edf236893c1758664c60ed4aa2a53f45d259db357712fb902c5cd",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/ntp_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/cmdref/telemetry/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lag_interfaces",
+ "name": "plugins/module_utils/network/nxos/cmdref/__init__.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/config",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lag_interfaces/lag_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/config/l3_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/module_utils/network/nxos/config/l3_interfaces/l3_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cb71721dc87b58474b79a72e3ef13d436c3cc5c65ddf79383e6a2a849c94bad9",
+ "chksum_sha256": "e63f600eb2827bdd4a6fd5d16a728fe5a179a1bb8e29baa6da806e21bcf9cac9",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/lag_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/l3_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bfd_interfaces",
+ "name": "plugins/module_utils/network/nxos/config/telemetry",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bfd_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/telemetry/telemetry.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "727e58c53e65e0803777cc288930ceb07f415e2202e6cf5a8b58ebbdffbd46d8",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bfd_interfaces/bfd_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/config/telemetry/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "149dfe5bc61c80053e6fc498e2b98b70d1482ef8dd51ebb8ae7f84776e3b69b6",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_templates",
+ "name": "plugins/module_utils/network/nxos/config/ospfv2",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_templates/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "9294a53417222ea7bd4cf1b003780c5774924a288309b70bb353b0c64e74bd7e",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_templates/bgp_templates.py",
+ "name": "plugins/module_utils/network/nxos/config/ospfv2/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dd3eb3ca52063455c3cbbb0fba6bdace21254000f3bd662466950098f82f72c1",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/vlans",
+ "name": "plugins/module_utils/network/nxos/config/lldp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/vlans/vlans.py",
+ "name": "plugins/module_utils/network/nxos/config/lldp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dd731a6f5a475a54f70cfc7f872737ebdc7b06e5a6b5f612ce2e92c0cc6bbfdc",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/vlans/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/lldp_interfaces/lldp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "6c15204ad386b15117fcb44a6e62be71db4eb03b7f9aac53f7bbdd29020a4690",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/interfaces",
+ "name": "plugins/module_utils/network/nxos/config/ospfv3",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/interfaces/interfaces.py",
+ "name": "plugins/module_utils/network/nxos/config/ospfv3/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bc036b0cfa2f0993c0a313334e3c849ef731671d917c75a9b0e5c2381bdbe5b4",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "0ee78999cd1450377200ffd92fa3e925ecf413b3c1cb1a4f11e084facf5844d9",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/l3_interfaces",
+ "name": "plugins/module_utils/network/nxos/config/acls",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/l3_interfaces/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/acls/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/l3_interfaces/l3_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/config/acls/acls.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e63f600eb2827bdd4a6fd5d16a728fe5a179a1bb8e29baa6da806e21bcf9cac9",
+ "chksum_sha256": "b04b56fe6b5f62801329741e2707a9c0d2030ba1963590ad4608fb28eba36706",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_global",
+ "name": "plugins/module_utils/network/nxos/config/hostname",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py",
+ "name": "plugins/module_utils/network/nxos/config/hostname/hostname.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e0d590ee1bf37a813910101a74b0d52709cfb6e174828990d34125a06a2ae570",
+ "chksum_sha256": "ab919426e1bd33f667ae875af49ed837d5f3f1e3598b878a290c3bc35004765d",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/config/bgp_global/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/hostname/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/cmdref",
+ "name": "plugins/module_utils/network/nxos/config/vlans",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/cmdref/telemetry",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/module_utils/network/nxos/config/vlans/vlans.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "dd731a6f5a475a54f70cfc7f872737ebdc7b06e5a6b5f612ce2e92c0cc6bbfdc",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/cmdref/telemetry/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/vlans/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/cmdref/telemetry/telemetry.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "8da77084260edf236893c1758664c60ed4aa2a53f45d259db357712fb902c5cd",
+ "name": "plugins/module_utils/network/nxos/config/bgp_address_family",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/cmdref/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/bgp_address_family/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/utils",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ab2d098a5e4d9f5dfccc95ec69210831e191ce526eb08fb55029517f27bca8f2",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/utils/telemetry",
+ "name": "plugins/module_utils/network/nxos/config/ntp_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/utils/telemetry/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/ntp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/utils/telemetry/telemetry.py",
+ "name": "plugins/module_utils/network/nxos/config/ntp_global/ntp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2f684bba2373a2a665e1b9ac34aa2822d33ab1a7f1e2919dd686a4395d07cab9",
+ "chksum_sha256": "6936bf5deb7b2708e4a6373b325c3155a14bbc454419ed7f516999e92946415c",
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/utils/__init__.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "name": "plugins/module_utils/network/nxos/config/interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/module_utils/network/nxos/utils/utils.py",
+ "name": "plugins/module_utils/network/nxos/config/interfaces/interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "061a3ad9eb413c3b48d2c4a77c060e11d499b21fa1830ab4a236f35d7f184fc9",
+ "chksum_sha256": "32368a2909b02f1b25206c7ee67e5e8da1ecfdc80800905a260decb71b2b873f",
"format": 1
},
{
- "name": "plugins/module_utils/network/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action",
+ "name": "plugins/module_utils/network/nxos/config/logging_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/feature.py",
+ "name": "plugins/module_utils/network/nxos/config/logging_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/udld_interface.py",
+ "name": "plugins/module_utils/network/nxos/config/logging_global/logging_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e7d1de04722e657bd71a3131e7bba17bc0178031c1c91cfa87df16e0eccc6878",
"format": 1
},
{
- "name": "plugins/action/bgp_af.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/bgp_neighbor_address_family",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/bgp_global.py",
+ "name": "plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/evpn_global.py",
+ "name": "plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "d8a658ac17e3b61cc0105d4567c8793adf8b2bd0cc0bcd68cf86353ac3116db3",
"format": 1
},
{
- "name": "plugins/action/vxlan_vtep_vni.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/lldp_global",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/lacp.py",
+ "name": "plugins/module_utils/network/nxos/config/lldp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/vlans.py",
+ "name": "plugins/module_utils/network/nxos/config/lldp_global/lldp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "1804e5abcd0b77a8b5c675c3bb4b90731e8932bf882f8445f01e839013660845",
"format": 1
},
{
- "name": "plugins/action/pim.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/acl_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/lag_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/config/acl_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/snmp_contact.py",
+ "name": "plugins/module_utils/network/nxos/config/acl_interfaces/acl_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "0fe0d6c19ce427a02332486d5c2b3d3905634d7eadc1f76b37ca21799e018bde",
"format": 1
},
{
- "name": "plugins/action/l2_interface.py",
+ "name": "plugins/module_utils/network/nxos/config/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/user.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/ospf_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/interfaces.py",
+ "name": "plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "6a12a9c127ce960b84820ac79286672f458ab56934903abbfb52e74e2e9c98b6",
"format": 1
},
{
- "name": "plugins/action/snapshot.py",
+ "name": "plugins/module_utils/network/nxos/config/ospf_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/nxapi.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/bgp_global",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/linkagg.py",
+ "name": "plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e0d590ee1bf37a813910101a74b0d52709cfb6e174828990d34125a06a2ae570",
"format": 1
},
{
- "name": "plugins/action/hsrp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/config/bgp_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/vsan.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/static_routes",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/snmp_user.py",
+ "name": "plugins/module_utils/network/nxos/config/static_routes/static_routes.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "329e8b628dae287612efa80e2ca7b5aaeefd530c19ddd8bd37a5b7774eb26aef",
"format": 1
},
{
- "name": "plugins/action/bgp_address_family.py",
+ "name": "plugins/module_utils/network/nxos/config/static_routes/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/bgp_neighbor_address_family.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/fc_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/system.py",
+ "name": "plugins/module_utils/network/nxos/config/fc_interfaces/fc_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "0438d7d1f23bc654fa0488e35002d8aff313dcf8afbef7412b0c68ee4e128f73",
"format": 1
},
{
- "name": "plugins/action/static_routes.py",
+ "name": "plugins/module_utils/network/nxos/config/fc_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/gir_profile_management.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/route_maps",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/l3_interface.py",
+ "name": "plugins/module_utils/network/nxos/config/route_maps/route_maps.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "3f4b8b99ca2c2ad045886e77c5f0e412dd9d906cd801daf0e462b02e719e6d47",
"format": 1
},
{
- "name": "plugins/action/install_os.py",
+ "name": "plugins/module_utils/network/nxos/config/route_maps/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/hostname.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/lacp",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/vxlan_vtep.py",
+ "name": "plugins/module_utils/network/nxos/config/lacp/lacp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "9612ac4a62de771ca9cef65d733373105e180a060227fff8330bc814d5cdde96",
"format": 1
},
{
- "name": "plugins/action/lacp_interfaces.py",
+ "name": "plugins/module_utils/network/nxos/config/lacp/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/ospf.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/hsrp_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/vtp_version.py",
+ "name": "plugins/module_utils/network/nxos/config/hsrp_interfaces/hsrp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "5d5eb7ab8b3ff9d4c90321a6372a73f5087712b5d269eb1351380b93e5f1e207",
"format": 1
},
{
- "name": "plugins/action/snmp_community.py",
+ "name": "plugins/module_utils/network/nxos/config/hsrp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/logging.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/bgp_templates",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/ntp_global.py",
+ "name": "plugins/module_utils/network/nxos/config/bgp_templates/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/hsrp.py",
+ "name": "plugins/module_utils/network/nxos/config/bgp_templates/bgp_templates.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "dd3eb3ca52063455c3cbbb0fba6bdace21254000f3bd662466950098f82f72c1",
"format": 1
},
{
- "name": "plugins/action/interface_ospf.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/prefix_lists",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/ntp.py",
+ "name": "plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "445f9a55c8fd372fdbad1834ed7598d9281a376fd5de5e749218995310ccea81",
"format": 1
},
{
- "name": "plugins/action/smu.py",
+ "name": "plugins/module_utils/network/nxos/config/prefix_lists/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/snmp_server.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/snmp_server",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/vpc.py",
+ "name": "plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "213fd101832e7b149113afc178eac76dbff00448cec80e65c6c3e6e0d434e914",
"format": 1
},
{
- "name": "plugins/action/__init__.py",
+ "name": "plugins/module_utils/network/nxos/config/snmp_server/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/interface.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/lag_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/ospfv3.py",
+ "name": "plugins/module_utils/network/nxos/config/lag_interfaces/lag_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "cb71721dc87b58474b79a72e3ef13d436c3cc5c65ddf79383e6a2a849c94bad9",
"format": 1
},
{
- "name": "plugins/action/devicealias.py",
+ "name": "plugins/module_utils/network/nxos/config/lag_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/file_copy.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/l2_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/telemetry.py",
+ "name": "plugins/module_utils/network/nxos/config/l2_interfaces/l2_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "30afeab2a5eff47a83411b870b078040d11cb84a5b0c094b5b7814bb69d2e831",
"format": 1
},
{
- "name": "plugins/action/nxos.py",
+ "name": "plugins/module_utils/network/nxos/config/l2_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/route_maps.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/bfd_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/aaa_server_host.py",
+ "name": "plugins/module_utils/network/nxos/config/bfd_interfaces/bfd_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "149dfe5bc61c80053e6fc498e2b98b70d1482ef8dd51ebb8ae7f84776e3b69b6",
"format": 1
},
{
- "name": "plugins/action/igmp_interface.py",
+ "name": "plugins/module_utils/network/nxos/config/bfd_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/zone_zoneset.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/module_utils/network/nxos/config/lacp_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/igmp_snooping.py",
+ "name": "plugins/module_utils/network/nxos/config/lacp_interfaces/lacp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "4a3ca5d6369f95058d8133277cfda2b0f04b6465bebce78756e6a4b45adf1d20",
"format": 1
},
{
- "name": "plugins/action/pim_interface.py",
+ "name": "plugins/module_utils/network/nxos/config/lacp_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/bgp.py",
+ "name": "plugins/module_utils/network/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/reboot.py",
+ "name": "plugins/module_utils/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/l2_interfaces.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/cliconf",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/gir.py",
+ "name": "plugins/cliconf/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "plugins/action/command.py",
+ "name": "plugins/cliconf/nxos.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "13c8aee982db809a18709e985a54757e2390122a5a27461c2fbfbcde1286c926",
"format": 1
},
{
- "name": "plugins/action/rpm.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "name": "plugins/action",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "plugins/action/snmp_location.py",
+ "name": "plugins/action/bgp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/ntp_options.py",
+ "name": "plugins/action/static_routes.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/bfd_global.py",
+ "name": "plugins/action/feature.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/ospf_vrf.py",
+ "name": "plugins/action/vxlan_vtep_vni.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/igmp.py",
+ "name": "plugins/action/smu.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/pim_rp_address.py",
+ "name": "plugins/action/ospfv2.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/acl_interfaces.py",
+ "name": "plugins/action/evpn_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/ospfv2.py",
+ "name": "plugins/action/route_maps.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/config.py",
+ "name": "plugins/action/hostname.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/vpc_interface.py",
+ "name": "plugins/action/l2_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/acls.py",
+ "name": "plugins/action/snmp_contact.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/udld.py",
+ "name": "plugins/action/devicealias.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/static_route.py",
+ "name": "plugins/action/ntp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/lldp.py",
+ "name": "plugins/action/pim.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/l3_interfaces.py",
+ "name": "plugins/action/acl.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/vrf_af.py",
+ "name": "plugins/action/interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/vrrp.py",
+ "name": "plugins/action/vrf_af.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/ping.py",
+ "name": "plugins/action/bfd_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/ospf_interfaces.py",
+ "name": "plugins/action/bgp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/lldp_interfaces.py",
+ "name": "plugins/action/logging.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/logging_global.py",
+ "name": "plugins/action/igmp_snooping.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/vtp_domain.py",
+ "name": "plugins/action/prefix_lists.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/ntp_auth.py",
+ "name": "plugins/action/vrf.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/prefix_lists.py",
+ "name": "plugins/action/lacp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/evpn_vni.py",
+ "name": "plugins/action/snapshot.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/bgp_neighbor.py",
+ "name": "plugins/action/vxlan_vtep.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/vrf_interface.py",
+ "name": "plugins/action/ping.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/vlan.py",
+ "name": "plugins/action/zone_zoneset.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/bfd_interfaces.py",
+ "name": "plugins/action/facts.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/bgp_neighbor_af.py",
+ "name": "plugins/action/gir.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/banner.py",
+ "name": "plugins/action/snmp_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/vrf.py",
+ "name": "plugins/action/system.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/rollback.py",
+ "name": "plugins/action/vpc.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/acl.py",
+ "name": "plugins/action/telemetry.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/aaa_server.py",
+ "name": "plugins/action/vlans.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/facts.py",
+ "name": "plugins/action/bgp_af.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/snmp_traps.py",
+ "name": "plugins/action/ospf_vrf.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/overlay_global.py",
+ "name": "plugins/action/aaa_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/vtp_password.py",
+ "name": "plugins/action/linkagg.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/lldp_global.py",
+ "name": "plugins/action/snmp_community.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/acl_interface.py",
+ "name": "plugins/action/ospf_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "plugins/action/snmp_host.py",
+ "name": "plugins/action/lldp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "75b42907b60d3bdcdfb868b4d2b6af3e99b7a3339dcc59d36f5bfb07d4f24661",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": ".ansible-lint",
+ "name": "plugins/action/snmp_location.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b47f72e159f93a5ff07ea2534752e0fa977b214e9ac05c667fa83ac13be4e50c",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "test-requirements.txt",
+ "name": "plugins/action/snmp_host.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ef11b7e31c53ed88a2352faacda33806dda00f45d4e9cce540a40e6a47ccbe73",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
- "format": 1
- },
- {
- "name": "tests/sanity",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/action/overlay_global.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.9.txt",
+ "name": "plugins/action/pim_rp_address.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5aed10757064babb8aa6dafee78f2c9f9aac004c2188c70ea3c0f018db82cbae",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.13.txt",
+ "name": "plugins/action/snmp_user.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.11.txt",
+ "name": "plugins/action/bgp_neighbor_af.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dffc0e474e545fd47798cbc252ee5836ff87b5f4eb0c7dfed83e78c29101d622",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.10.txt",
+ "name": "plugins/action/l3_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dffc0e474e545fd47798cbc252ee5836ff87b5f4eb0c7dfed83e78c29101d622",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.14.txt",
+ "name": "plugins/action/vtp_version.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.17.txt",
+ "name": "plugins/action/hsrp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.16.txt",
+ "name": "plugins/action/bgp_neighbor.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.12.txt",
+ "name": "plugins/action/evpn_vni.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9f183c744ea1c27c189e2d0da7a45ae3fb50f69e4c658e4aa55b023061181518",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/sanity/ignore-2.15.txt",
+ "name": "plugins/action/igmp_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/config.yml",
+ "name": "plugins/action/vtp_domain.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "de5087316490411841c67aa3307cfdd3acaea09875c9b4dee6852bca7c120764",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/action/file_copy.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/requirements.txt",
+ "name": "plugins/action/vrrp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "49ba996dc4735c3463e9af561344346dfae14bcc1a68096ce78364b377f0df1f",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/__init__.py",
+ "name": "plugins/action/install_os.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/mock",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/action/lag_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/mock/vault_helper.py",
+ "name": "plugins/action/rollback.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3bf7834d18bd34473d0f4b898253177229a131f14364874efba584ff985e4a41",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/mock/__init__.py",
+ "name": "plugins/action/rpm.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/mock/procenv.py",
+ "name": "plugins/action/lacp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a1e05e3b412bb02d16ec786919f6395c813a4e10d73ca7ca4d0ffcf5066e6947",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/mock/loader.py",
+ "name": "plugins/action/vsan.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2343d1f644250d4b616f0bf0a826fdee8fe306243d8412d44dd0e033352b262b",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/mock/yaml_helper.py",
+ "name": "plugins/action/ospf.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fc4f4d5d2968ced8e3a04653354945d720e7c6369aad67ba7724c5981c82b6ea",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/mock/path.py",
+ "name": "plugins/action/config.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e6daa1376aa9b171f37dbe2fed6cd37d7b4bacea09e4646953dbe77a7e65ee7c",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/action/hsrp_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/__init__.py",
+ "name": "plugins/action/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/conftest.py",
+ "name": "plugins/action/nxapi.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "354440d86f684a9641f329807a687fe71fc66ab901207f7a166ecfa648935488",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/utils.py",
+ "name": "plugins/action/nxos.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a0cf9489868d4ed6f549bf4133f50fd4f594850a6458e6c07a913078355c1385",
- "format": 1
- },
- {
- "name": "tests/unit/modules/network",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/action/l3_interface.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_evpn_vni.py",
+ "name": "plugins/action/pim_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a9dd476a29066efedb3611a768c18208a1cbaa9fb7b6664c1d3496e8b12033db",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_ospf_interfaces.py",
+ "name": "plugins/action/vtp_password.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a849b007bba2a9b83e993c51bae94cc56679256b94c0602d0f4dcebb09c2dacc",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos.py",
+ "name": "plugins/action/bfd_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "37e6224e4f77205d58782bae0080a5af3da05610062f7b378f38554ee7514de1",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_static_routes.py",
+ "name": "plugins/action/vpc_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8f6e383e73a654e461b447f8b5721c4d7ba491da63c1c9d6aa0ee4a25d402af0",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_lacp_interfaces.py",
+ "name": "plugins/action/command.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b8205f7e7b9840ded74d3476e1ed972bdfa75125b45024ffc1725e057690f120",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_lldp_interfaces.py",
+ "name": "plugins/action/banner.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "32d30a2580844412a612a3a35fc32bfa5c6f5231f841a16574cc125bc856e02d",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_hostname.py",
+ "name": "plugins/action/logging_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5b7cc39cad57438bf866e079c7efe0a9e0bd05ad2cbc7e1fdc4dd6016f7d7736",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_vrf_af.py",
+ "name": "plugins/action/user.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e420b96864806c431d47822e92410c0e12443ee856412e88037d83c7d8e7ec14",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_vpc_interface.py",
+ "name": "plugins/action/acl_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3abcf4a8badf2045283c90df190db8eb47d82df2be679b1318ac53ecb3cc42c7",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_feature.py",
+ "name": "plugins/action/bgp_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "04347076b23abb7bbb9225d1793e9c6faacea6e990f45cd6a3b2d8b0b3355eba",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_evpn_global.py",
+ "name": "plugins/action/lldp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "08fa4dafb774bcb34b593281550fa175b775bfa4e5c61befe0238b1bf9687179",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_command.py",
+ "name": "plugins/action/interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "339e1cb26b204a937d7ea377d020cf220ba8a7fb5cedcde9a6e5c20ff9d26087",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_hsrp.py",
+ "name": "plugins/action/ntp_options.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "32da41a469c83575c4db2f6b208286f9cf33df071d5a67c76a324ae8a1cb4f3d",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_interfaces.py",
+ "name": "plugins/action/aaa_server_host.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "decd7046f084f6472878cf81e7978691ad4cdca125dfebf5cc1ea7a8769a941d",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_vpc.py",
+ "name": "plugins/action/bgp_neighbor_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d75391e6c222c6569a0aa77d2c7d531add9a16ea060e03f0f81a6352786ef0cc",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_bgp_global.py",
+ "name": "plugins/action/static_route.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "726870e1bca5d80d7ffbc8f09e803e1444eafe633b8e2e32f1ef194666fb5200",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_ospfv3.py",
+ "name": "plugins/action/vlan.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e707825398974684fd4a51ba79bdb1b5a75eb4ba93ceccbbd063af538c4ed149",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_zone_zoneset.py",
+ "name": "plugins/action/lldp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "81675e55caa8a49026cd49db7ec69583a61553498db1b68b86596f491fa426d8",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_vrf.py",
+ "name": "plugins/action/vrf_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "897434515383d004c4de31606091235b2186d690bc28315959de42b1d11dc02e",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/__init__.py",
+ "name": "plugins/action/ntp_auth.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_bgp_neighbor_address_family.py",
+ "name": "plugins/action/udld.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "843eafd7ab9575c2f407e91f663efb88fa44c736c6724fead0c94438bee6e76d",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_bgp_templates.py",
+ "name": "plugins/action/acl_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "52063ec8838ba2d979b0df01dcbd4e66204a33e553ddf2bff9fdb1efafbae8cc",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_ospfv2.py",
+ "name": "plugins/action/udld_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c0edb9f7af075021504b7fa5c4ef73d7057c2edfe1aa4d3b773484e862555cf8",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_devicealias.py",
+ "name": "plugins/action/interface_ospf.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "61bdff16bffda8f4f31b03f02fd0047d1aac07af0898f9c60b41469b1e192622",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_nxapi.py",
+ "name": "plugins/action/igmp.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9ba8a07fd21828a268fdb90aa0921cdfe7b487de827db4c746228be2cc016e8c",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/nxos_module.py",
+ "name": "plugins/action/ntp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0d1a4eadc6d91ab91db07ea6ac3a5576e417f1339c1520079de065451b87fd3c",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_acl_interfaces.py",
+ "name": "plugins/action/l2_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3682b5a6e62c35584ca486d95f112ad99c2551e3fb5913ee3509f4682397566",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_telemetry.py",
+ "name": "plugins/action/snmp_traps.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2b3e8bf396743daed1d752588f7fadafcb1d9cc3cc562c2a40f36629f68b6f10",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_banner.py",
+ "name": "plugins/action/gir_profile_management.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d5e68392d403e4440a3e85556a968abce1e85ae58dfadf487bbd25f9c26c6095",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_prefix_lists.py",
+ "name": "plugins/action/acls.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c9c1c9c9d867611ee162f172041539ee6af3f8825af52cd2888c1623ed012603",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_ping.py",
+ "name": "plugins/action/reboot.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8eeed1361334dd9a92549debd17027fab40c293dbec6307cdc460b69cb448ee9",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_overlay_global.py",
+ "name": "plugins/action/ospfv3.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a59fd945009509ca8eec7fb78bc6000d692230ef505bcadf48e8b843904987af",
+ "chksum_sha256": "be7c78254555923b2a83bccadc6d71c48d5a84c1a67941ee3666222b163fc7a4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_vsan.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "5912485637b9720e5f61c4364e65aa9c52fe1f5f3c9f06516bde908bd4d28f1c",
+ "name": "plugins/doc_fragments",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_system.py",
+ "name": "plugins/doc_fragments/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bbd7e38463b30523fee2bda727e81518950dc70a423c0e8d4a26bfc96f3cf600",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_user.py",
+ "name": "plugins/doc_fragments/nxos.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8bdccd30ccc686e727cb486c80e3868097a43faeb27bc0d1b674acf77411c577",
+ "chksum_sha256": "75b71c234b0886b9a8c7cb54e9b1a2de2e433f8a19608a3ba45e67037c942943",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_hsrp_interfaces.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "da3a8f5c346182514bae4d4447628462c9b3271f1e36b27dd4b1372d44d6c46c",
+ "name": "plugins/filter",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_route_maps.py",
+ "name": "plugins/filter/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "007fc4813c28fa488eea78d446db221cba0d12b5bd80ef34160ee799acc85f70",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_ntp_global.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "03208457ac4c50b9400c38c3ab8ee060254142d253743a71666b182f087ade8b",
+ "name": "plugins/netconf",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_bfd_interfaces.py",
+ "name": "plugins/netconf/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dcb920f198f159f4c9c043913dcbb346ee07cc5c5524f747f064b09c5d25f1eb",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_vxlan_vtep_vni.py",
+ "name": "plugins/netconf/nxos.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bc31efebfb5c1f6c256006c77678efef031c5b1d289e8873460b998db795318c",
+ "chksum_sha256": "3dceb9254be3c61b493715b4d993f42ab9c088dd103eb6b59563832aec26c22e",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures",
+ "name": "plugins/httpapi",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "plugins/httpapi/__init__.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/show_interface_eth2_1",
+ "name": "plugins/httpapi/nxos.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "de922c7abca31dbb4d597cc485a02b9affe0c85fbaf1d268b15d38d8fe6ba069",
+ "chksum_sha256": "acfbda7df81189f8211a3d8af3d7e567bc719328e075531c154671cd97bd92be",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/show_ip_pim_interface_eth2_1",
+ "name": "plugins/inventory",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "plugins/inventory/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "88ad9b709dae48e373fcf04c158d6714de1f94e808fa033204d3b7b4e48bf8bb",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/config.cfg",
+ "name": ".flake8",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "25600ba56e8e7066889af660ff87eb22aec3ce587ad60c1a7eca25c627064a5c",
+ "chksum_sha256": "f357bc604a44fe8a5912ec2b9067b734a88d1026da98d5993905d7b34ab44357",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/__init__.py",
+ "name": "pyproject.toml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "82a737e4c91699b90905fc2d347acaf5c3eb4567cc0750cf122c859d0eed78ed",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/sh_run_interface_eth2_1_all",
+ "name": ".isort.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "3fc5fcc23727e7c5b9f1a7035303990229f796a171a84e21051dd1d242b90c52",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interface",
+ "name": "meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interface/show_running-config_aclmgr.txt",
+ "name": "meta/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "606d5b49ef095558924b32c6faa4e06f128f4655dddd57595e945cd33a4dbe72",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interface/__init__.py",
+ "name": "meta/runtime.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "40c6ab1595d2252393db7e834d0de46f776beddd1bd701a49a29a9d7b1a7c876",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan",
+ "name": "changelogs",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan/config.cfg",
+ "name": "changelogs/fragments",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "changelogs/fragments/.keep",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4cd4cba4fba8bd0ceca02c0cea325b38c65d82a1b01633f59776902dfc00010c",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan/__init__.py",
+ "name": "changelogs/config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "54c802c2ade537e8b71ba45d10c73a422778a62aab0093bc6805c75ab8c7f448",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan/show_vlan_brief.txt",
+ "name": "changelogs/changelog.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c60b1775765492c72f6cf744aa56574aeea9b6c57ac19c974ebc73146cf4920a",
+ "chksum_sha256": "679e0f7cfe3b1161eb8979912c5997848b879a8b3fa353578f61d866b1b9490e",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan/agg_show_vlan_brief.txt",
+ "name": ".pre-commit-config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a6ad270b50167f7b13c3e7f40f83ebc812ceb7ef7d3455c0ce7b404ede9d6238",
+ "chksum_sha256": "395482dc9117c2fbc52da3a2d5b78a06f526834f5959ff6091229f4e2d0035b2",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc_interface",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "CHANGELOG.rst",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "138c9116b2e12a0f7804969ae129d2281aa64a30a36003593458731678e35da7",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc_interface/__init__.py",
+ "name": "requirements.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "70053744bf8f5b698f82ad59a6daec106188d9b63c6d1246f860f21ab8cb6ac5",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc_interface/show_vpc_brief",
+ "name": ".prettierignore",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1901ac7c063992cfcebb4ba110637bc241aa0fb122959d9af40be8957b47bf54",
+ "chksum_sha256": "fe21cf5ca4606d16ccedb1bccc85ef06771ee697924ca50ecd8ca4c98acce5cc",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc_interface/show_port-channel_summary",
+ "name": "platform_guide.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bc24581fc9c635989ae2926270c03c4c85c642b768f6685cff7cfdcd924e70f6",
+ "chksum_sha256": "48467b2534cf719f3925b1b62e10a587eb68c1afbc19bf69d801dbec119a9277",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_telemetry",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": ".gitignore",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "179a6d0780422c32653a71b9395a3ecb8b3859346ffa3e38ca3c8d90f8063fd2",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_telemetry/N9K_SGs.cfg",
+ "name": "test-requirements.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "af042e9ae8d0a2e6b6ddc28f13ce438e7b49050385ca546bdb5f1a1b51c1da1e",
+ "chksum_sha256": "cf0a6736e79a79f5ea107f0b74c38957ece4a6e4b5c00b01d2c1ea679d876089",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_telemetry/__init__.py",
+ "name": ".ansible-lint",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "b47f72e159f93a5ff07ea2534752e0fa977b214e9ac05c667fa83ac13be4e50c",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_telemetry/N9K.cfg",
+ "name": "codecov.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8d4c2bff81ce036402bf1bfc5a01191ead2507ea6deb7e7d4930ceb35965b1e5",
+ "chksum_sha256": "4aa7e485dd4db6f8a55b046088c745def2b3145d9499ccda4e9a3336467dcea2",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi",
+ "name": "tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n7k",
+ "name": "tests/config.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "4129945061440c8d8c281590b8054b194f5958833c722aa40e878b09038c380e",
+ "format": 1
+ },
+ {
+ "name": "tests/sanity",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n7k/__init__.py",
+ "name": "tests/sanity/ignore-2.15.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n7k/show_run_all",
+ "name": "tests/sanity/ignore-2.17.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0f487063d9698ed988f461a0f1d90be2406db893a1881d162720dd0587a0ddd9",
+ "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/__init__.py",
+ "name": "tests/sanity/ignore-2.18.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n3k",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/sanity/ignore-2.16.txt",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n3k/__init__.py",
+ "name": "tests/sanity/ignore-2.14.txt",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "935199601f3c767ca623e1a8c6f73032f3cfee0536e4aed1cf5842b157956671",
+ "format": 1
+ },
+ {
+ "name": "tests/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n3k/show_run_all",
+ "name": "tests/.gitignore",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "db42fd8881e10bf436a6712d228152f2ca6e627e0aa07531751009df2153fc3d",
+ "chksum_sha256": "b5726d3ec9335a09c124469eca039523847a6b0f08a083efaefd002b83326600",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_system",
+ "name": "tests/unit",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_system/vrf_only",
+ "name": "tests/unit/modules",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_system/vrf_only/config.cfg",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "78c6c60ac86950ccc102c733222dc40ca42ae78622fecbee3af27f61bb015adb",
- "format": 1
- },
- {
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_system/config.cfg",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "c65fd0fea85d4421908dcb50a8778a562d62c2723ccb10520cb9c62c57f32977",
+ "name": "tests/unit/modules/network",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_rp_address",
+ "name": "tests/unit/modules/network/nxos",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_rp_address/config.cfg",
+ "name": "tests/unit/modules/network/nxos/test_nxos_acls.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "358b10ada00b4a323c671eaa193bc4c62bfa6e6600042382003a8efe5708bddf",
+ "chksum_sha256": "5a7acd1fa7f58e389510c0b12262c3ccad13fdbfa263a052df7ced07b51ae4a0",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_rp_address/__init__.py",
+ "name": "tests/unit/modules/network/nxos/test_nxos_snmp_server.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "894022761947d303c8f275cdd907dd987a18b092589e069a7719332f9efc3180",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
- "format": 1
- },
- {
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport/__init__.py",
+ "name": "tests/unit/modules/network/nxos/test_nxos_overlay_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "84c43269ad7e4c30ec87b50598018aa176ecc5fa6a5cf83c04163549df700c11",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport/show_vlan",
+ "name": "tests/unit/modules/network/nxos/test_nxos_vrf.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "864e06b1e9befc20919e723ee5f9bcb2f51a88e524e8ce8e112ac9ec12bf38fc",
+ "chksum_sha256": "ce6b30fdf5ea958858abea77348d845b53c2430333dbd879d9d8dbcf3f438432",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport/show_interface_ethernet_switchport",
+ "name": "tests/unit/modules/network/nxos/test_nxos_bfd_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8b266354ff8d44bc8987e97565cba41afedb2fbe282c577c8d371516e84d01bc",
+ "chksum_sha256": "5c791a5a862edc717ae75ce62fcd53f8f2f2c629f267194482909a8350946457",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport/show_interface_ethernet",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "3eba930c712f346d62428fc829d411a3c7f3b32d00ac0b54bee3e25f5a239876",
+ "name": "tests/unit/modules/network/nxos/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_bgp",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_bgp/config_32_bits_as.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "deed874c21f6472915657eed44c550ff438995b132d365fedb8b94deb510c856",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_bgp/config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/show_running-config",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f971230c61be923533c3ea1eb63e9938cdf701f3884d511105d551d7ee531554",
+ "chksum_sha256": "6b793f9fc0770084b8babcdd914c4c42b2d1d3256be53d0cba3a78c19a616dec",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_bgp/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/show_vlan",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "6ac358cca25afd3bbc1aa11515f5e31ea9d548abdbcdf0563949e446d76f0c3c",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/show_vlan_no_facts",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf_af",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/show_running-config_no_facts",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "783b64a65f752ecfbf2ab084cb164df5d5a818d3dc9980856037a47853bcbfd8",
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf_af/config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a11a202b4b688d09c6b7cb78a74d139f2b599c85973dd068b1ec18892926cbf4",
+ "chksum_sha256": "cea4ee76cbd062bd53302a5c1f37bc78584c8677950c99eb145c106a8852b278",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf_af/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_3.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_run_all",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3fee2a63052400d50f93de5abc0dfd7897a48269d71af99f53182139461c3bb0",
+ "chksum_sha256": "f2a24625313932312f1d5e1c1d2c3935f99e5ab28880315c7dd39698df72daf8",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/show_zone_vsan.out",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_default_interface",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "74aee6c5327fabe2de027ca0907e76be2628510e125976c8918575bbf09ea703",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_0.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_management_interface",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "010172dc57589c93d51b95aa50feecbda06ee706fd623422a088de23ccc9e723",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzone_1.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_management",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "abb9d2504120327f0b55c36a6c130c9180a0f455ae397737ecfaaa4e6f891ef5",
+ "chksum_sha256": "ca2359ed30a431281f356f0bb15f8bc2abb7169e21a6022034d8a4411fc413f6",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzoneset_0.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_ntc",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cae1aca46b8d82f44a8f728182fafd1030040360725fb7367040392c1d52c018",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_1.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "46c16cd03a600d15085abf2052ed33830fed61424a02004021ce4dd82f0086e2",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_default",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzone_2.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_ntc_interface",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6e109ddbe7ad8d251edbe3ebe5bf960c055ac9a1d3d5bc3865596bf0d65d83a5",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzoneset_1.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bcdd326b9710f2b1f56ac59ed3bdccaa6e853cfb24af1445743d3254ce458166",
+ "chksum_sha256": "25600ba56e8e7066889af660ff87eb22aec3ce587ad60c1a7eca25c627064a5c",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzone_bug339.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6c45bdddc81417a51bdb8256cc024efef8d8cf432083297902ef8fcda9850703",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/show_zoneset_active_vsan.out",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/show_interface_eth2_1",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "eef09bfcfaae85faa6c0b10f2ac4207c73947496c77783c7aa6bac45a9d02d3a",
+ "chksum_sha256": "de922c7abca31dbb4d597cc485a02b9affe0c85fbaf1d268b15d38d8fe6ba069",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzoneset_2.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/sh_run_interface_eth2_1_all",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "08f7f3dc2d44ed61e7002bc417cea69f8407d7f4b0a62634c1f449f5338f7384",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_2.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_interface/show_ip_pim_interface_eth2_1",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "171f743817a7ffe74398b6d78a0600ec0126dc2fe0890694a62eb6db89225a58",
+ "chksum_sha256": "88ad9b709dae48e373fcf04c158d6714de1f94e808fa033204d3b7b4e48bf8bb",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/show_zoneset_vsan.out",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_interface_loopback0",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fc71e64aa30f5e4da11b419ac36c9b36cae8057bd8bef47b2da5bc293ebaaebb",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzone_0.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_interface_Ethernet2_1",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "13fa7bba46e2967e5c1bc2254620c4cd5337daab92a23d8aa6d6dec1ea7905ae",
+ "chksum_sha256": "de922c7abca31dbb4d597cc485a02b9affe0c85fbaf1d268b15d38d8fe6ba069",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/show_zone_status_vsan.out",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_run_interface_Ethernet2_1",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "42ca86dc445e87a4cba4d08cbd217173af42f60181eb44017d852837c17e9a47",
+ "chksum_sha256": "6fda3eb0c249234e367f3e6d981a9957902f3443ff892ee35c3fbb87f8b2760b",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_4.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5005380753639cd3afd7e1b4ed90452d5d9492bb05c0852563009949e285db0e",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonesetactive_0.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_run_interface_loopback0",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1836db8862dd990ea4008e3c10d16d7a5563561ac27a8f846f2d2bfee8d805f0",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_global",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_interface",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "3152065a242771a7e158ce7a8a6da2f5e62f0a35807389d62d0b927830d2ab04",
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc_interface",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_global/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc_interface/show_port-channel_summary",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "bc24581fc9c635989ae2926270c03c4c85c642b768f6685cff7cfdcd924e70f6",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_global/unconfigured.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc_interface/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "84f47e5f6bde50931928544ec35970db216f2bffd80cff2d7b7350903d86a5c1",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_global/configured.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc_interface/show_vpc_brief",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "53ca3e78de8cd1b9ec6e040ece7bec23ea29663d1eebd1aed66a2980e832dc19",
+ "chksum_sha256": "1901ac7c063992cfcebb4ba110637bc241aa0fb122959d9af40be8957b47bf54",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep_vni",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep_vni/config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9676910539593a9a50989e688d7848de6074092a58e720ebbb437fa02859bd5f",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep_vni/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl/show_ip_access-list.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "61de402089db40d19ac51c2e8a52894c45d9002156027c09ab17d0cc3fea635d",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_command",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_system",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_command/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_system/vrf_only",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_system/vrf_only/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "78c6c60ac86950ccc102c733222dc40ca42ae78622fecbee3af27f61bb015adb",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_command/show_version.txt",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_system/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c45a343dc5192f50ef68b6bebee3da8cb980be9ec3cd5b75b00a20658fde6748",
+ "chksum_sha256": "c65fd0fea85d4421908dcb50a8778a562d62c2723ccb10520cb9c62c57f32977",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_bfd_global",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_feature",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_bfd_global/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_feature/show_feature.txt",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d7be73f626f2d19d384bda2c214b58505da78232c84a1b5c971495510e950db8",
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_feature/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_bfd_global/N7K.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_feature/show_feature_mds.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "406c13868678145de8fa80ab6540d805084b62c191a928a466fd44e6e59ccd78",
+ "chksum_sha256": "aca22131f56ec81f704e0b11d93c03bec037cd2b33a9964143b8c7bf53fa7878",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_bfd_global/N9K.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_overlay_global_config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9089fae22c9d5b25f815c43f8de1b95041c2fd012d721e29e009e47f64fa66ff",
+ "chksum_sha256": "aeb566110f15e114259185610a7e1a17ba8a4a8380f590120292eceab885bccd",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf_af",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/show_vrf_all",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf_af/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a690233a51aeef35190bd4fd440a65fd819bc0153ea20b1b362c25392329e04c",
+ "chksum_sha256": "a11a202b4b688d09c6b7cb78a74d139f2b599c85973dd068b1ec18892926cbf4",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_show_inventory",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf_af/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3d501010723eb3675a96a954862a0210ac023095947f8e09ea951e15faa96545",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/__init__.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_bfd_global",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_vpc_config",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_bfd_global/N9K.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f68fa10ece2a3162e69d8bc6ae207437f76b07a956782d6637214ae088346557",
+ "chksum_sha256": "9089fae22c9d5b25f815c43f8de1b95041c2fd012d721e29e009e47f64fa66ff",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_show_vpc",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_bfd_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d5e079e4fa7499d1ee8e1f0ef98ba4908b5abe9bb146f2d07909c5e139940ff7",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_show_vrf_all",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_bfd_global/N7K.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f9b34cc87b238b789fa2c54dd008597f37aa0a859cf06c25e5ce60aefdd0ed12",
+ "chksum_sha256": "406c13868678145de8fa80ab6540d805084b62c191a928a466fd44e6e59ccd78",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_show_hardware",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_command",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_command/show_version.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cf21f74cb2df54e19dae270c2b973eea492c3d9925ad7a1b8b59ff9f0e575287",
+ "chksum_sha256": "c45a343dc5192f50ef68b6bebee3da8cb980be9ec3cd5b75b00a20658fde6748",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/show_vpc",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_command/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4876569ce50a9bb5a00412d9e0e3bd17aed2d739613b28796c3224ae5397b705",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
@@ -4880,11049 +5034,10545 @@
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_feature",
+ "name": "tests/unit/modules/network/nxos/fixtures/_nxos_ip_interface.cfg",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ce28d8e36e6ed0776c23f9d57050b68a3dd4cace82f8d3909de89bf98c2b3401",
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interface",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_feature/show_feature_mds.txt",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interface/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "aca22131f56ec81f704e0b11d93c03bec037cd2b33a9964143b8c7bf53fa7878",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_feature/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interface/show_running-config_aclmgr.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "606d5b49ef095558924b32c6faa4e06f128f4655dddd57595e945cd33a4dbe72",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_feature/show_feature.txt",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_static_route.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d7be73f626f2d19d384bda2c214b58505da78232c84a1b5c971495510e950db8",
+ "chksum_sha256": "8787db2297394f70dfa9ea3550d604fcaef84c40d973c498b147d346422b8585",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vsan",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep_vni",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vsan/__init__.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
- "format": 1
- },
- {
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vsan/shvsanmem.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep_vni/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "91b604b4bdd22922dfbfb776dc40a760428806a2f845e8c9e76d42beef14bbb8",
+ "chksum_sha256": "9676910539593a9a50989e688d7848de6074092a58e720ebbb437fa02859bd5f",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vsan/shvsan.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep_vni/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "63e5ef2ff7dfbb786b21f77d0e047b16a5af1477901433189032c59f0d2e4988",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_config",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_rp_address",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_config/config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_rp_address/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "03abdcaedc2f739a12fd1c31f37164f02ed471aff024ad8e654a0d7ec3e611e6",
+ "chksum_sha256": "358b10ada00b4a323c671eaa193bc4c62bfa6e6600042382003a8efe5708bddf",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_config/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim_rp_address/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_config/candidate.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_vni_config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3352c8002ead9454c96fa97e82bc2bf245ac57a69edbf8a934bed4ef809de3de",
+ "chksum_sha256": "f12c0f2a38e284dde284dd4042cda86d71671289619456a3438a58f88ab929e7",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_bgp",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep/config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_bgp/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cea4ee76cbd062bd53302a5c1f37bc78584c8677950c99eb145c106a8852b278",
+ "chksum_sha256": "f971230c61be923533c3ea1eb63e9938cdf701f3884d511105d551d7ee531554",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vxlan_vtep/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_bgp/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_bgp/config_32_bits_as.cfg",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "deed874c21f6472915657eed44c550ff438995b132d365fedb8b94deb510c856",
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_run_interface_Ethernet2_1",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface/ethernet_noshut_multiple_ipv6",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6fda3eb0c249234e367f3e6d981a9957902f3443ff892ee35c3fbb87f8b2760b",
+ "chksum_sha256": "93f0654869c15b0670ae97f78615662b35f5f3aefccfb3c1e2e463ae3759a6d0",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_run_interface_loopback0",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_interface_Ethernet2_1",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "de922c7abca31dbb4d597cc485a02b9affe0c85fbaf1d268b15d38d8fe6ba069",
- "format": 1
- },
- {
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface/ethernet_noshut",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "96a17611067db53f8bdee41ec48055b8ec808b2968d4f3dd784dfae1d6d85d4e",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_interface",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface/ethernet_noshut_ipv4_ipv6",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3152065a242771a7e158ce7a8a6da2f5e62f0a35807389d62d0b927830d2ab04",
+ "chksum_sha256": "9b65b76df737c6da986a8850a5874d6f6733c26b8209c778d7d861ce0b5cb894",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface/show_interface_loopback0",
+ "name": "tests/unit/modules/network/nxos/fixtures/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface_ospf",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface_ospf/config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_vpc_config",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5251c622e0f68d8c94e0215bd6a9f8c5d7ab755fc8879ceff8a9cac9b09caf9c",
+ "chksum_sha256": "f68fa10ece2a3162e69d8bc6ae207437f76b07a956782d6637214ae088346557",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface_ospf/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/show_vrf_all",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "a690233a51aeef35190bd4fd440a65fd819bc0153ea20b1b362c25392329e04c",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_vni_config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_show_vpc",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f12c0f2a38e284dde284dd4042cda86d71671289619456a3438a58f88ab929e7",
+ "chksum_sha256": "d5e079e4fa7499d1ee8e1f0ef98ba4908b5abe9bb146f2d07909c5e139940ff7",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_show_vrf_all",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f9b34cc87b238b789fa2c54dd008597f37aa0a859cf06c25e5ce60aefdd0ed12",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_ntc",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/show_vpc",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "4876569ce50a9bb5a00412d9e0e3bd17aed2d739613b28796c3224ae5397b705",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_management_interface",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_show_inventory",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "3d501010723eb3675a96a954862a0210ac023095947f8e09ea951e15faa96545",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_management",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vpc/vrf_test_show_hardware",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ca2359ed30a431281f356f0bb15f8bc2abb7169e21a6022034d8a4411fc413f6",
+ "chksum_sha256": "cf21f74cb2df54e19dae270c2b973eea492c3d9925ad7a1b8b59ff9f0e575287",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_default_interface",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_global",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_global/configured.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "53ca3e78de8cd1b9ec6e040ece7bec23ea29663d1eebd1aed66a2980e832dc19",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_default",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_global/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_run_all",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_evpn_global/unconfigured.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f2a24625313932312f1d5e1c1d2c3935f99e5ab28880315c7dd39698df72daf8",
+ "chksum_sha256": "84f47e5f6bde50931928544ec35970db216f2bffd80cff2d7b7350903d86a5c1",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vrf/show_vrf_ntc_interface",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_static_route.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8787db2297394f70dfa9ea3550d604fcaef84c40d973c498b147d346422b8585",
+ "chksum_sha256": "c0c10e6761048c3f05f7143dc844703c76c41ed38e9f0175479874c183cef2ac",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/_nxos_ip_interface.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ce28d8e36e6ed0776c23f9d57050b68a3dd4cace82f8d3909de89bf98c2b3401",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/shdastatus_mansi.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n3k",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n3k/show_run_all",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b47fe27d3b8f630988803930db4eb009b8ef93e5f7838e4d3a49adf1859d43f5",
+ "chksum_sha256": "db42fd8881e10bf436a6712d228152f2ca6e627e0aa07531751009df2153fc3d",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n3k/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/shdastatus.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5426bfb2d55edf2003ff250d0730cf4ea9ace4f44da02ce6664ed3bc77c7867d",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/shdastatuslock.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n7k",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n7k/show_run_all",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ba24a69173bd06b6a025d176427b5619878da807c2a2b8a42aced27ac16d607c",
+ "chksum_sha256": "0f487063d9698ed988f461a0f1d90be2406db893a1881d162720dd0587a0ddd9",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/shdadatabse.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_nxapi/n7k/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2e912812c9084c8676a32afd1e2522f00bfd75d164fbb86113f01a88f164ebb8",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface_ospf",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim/config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface_ospf/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c0c10e6761048c3f05f7143dc844703c76c41ed38e9f0175479874c183cef2ac",
+ "chksum_sha256": "5251c622e0f68d8c94e0215bd6a9f8c5d7ab755fc8879ceff8a9cac9b09caf9c",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_pim/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_interface_ospf/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_telemetry",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface/__init__.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
- "format": 1
- },
- {
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface/ethernet_noshut",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_telemetry/N9K_SGs.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "96a17611067db53f8bdee41ec48055b8ec808b2968d4f3dd784dfae1d6d85d4e",
+ "chksum_sha256": "af042e9ae8d0a2e6b6ddc28f13ce438e7b49050385ca546bdb5f1a1b51c1da1e",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface/ethernet_noshut_ipv4_ipv6",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_telemetry/N9K.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9b65b76df737c6da986a8850a5874d6f6733c26b8209c778d7d861ce0b5cb894",
+ "chksum_sha256": "8d4c2bff81ce036402bf1bfc5a01191ead2507ea6deb7e7d4930ceb35965b1e5",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_l3_interface/ethernet_noshut_multiple_ipv6",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_telemetry/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "93f0654869c15b0670ae97f78615662b35f5f3aefccfb3c1e2e463ae3759a6d0",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_config",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_config/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "03abdcaedc2f739a12fd1c31f37164f02ed471aff024ad8e654a0d7ec3e611e6",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/show_running-config",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_config/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6b793f9fc0770084b8babcdd914c4c42b2d1d3256be53d0cba3a78c19a616dec",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/show_running-config_no_facts",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_config/candidate.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "783b64a65f752ecfbf2ab084cb164df5d5a818d3dc9980856037a47853bcbfd8",
+ "chksum_sha256": "3352c8002ead9454c96fa97e82bc2bf245ac57a69edbf8a934bed4ef809de3de",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/show_vlan",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "6ac358cca25afd3bbc1aa11515f5e31ea9d548abdbcdf0563949e446d76f0c3c",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlans/show_vlan_no_facts",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport/show_interface_ethernet",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356",
+ "chksum_sha256": "3eba930c712f346d62428fc829d411a3c7f3b32d00ac0b54bee3e25f5a239876",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interfaces",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport/show_interface_ethernet_switchport",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "8b266354ff8d44bc8987e97565cba41afedb2fbe282c577c8d371516e84d01bc",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interfaces/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interfaces/nxos_acl_interfaces.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_switchport/show_vlan",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "764024b1837b2491a2e87e60ba305df48bc64541f6caf244fe4eea63653ee340",
+ "chksum_sha256": "864e06b1e9befc20919e723ee5f9bcb2f51a88e524e8ce8e112ac9ec12bf38fc",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzoneset_2.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "08f7f3dc2d44ed61e7002bc417cea69f8407d7f4b0a62634c1f449f5338f7384",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl/show_ip_access-list.txt",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/show_zoneset_vsan.out",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "61de402089db40d19ac51c2e8a52894c45d9002156027c09ab17d0cc3fea635d",
+ "chksum_sha256": "fc71e64aa30f5e4da11b419ac36c9b36cae8057bd8bef47b2da5bc293ebaaebb",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/fixtures/nxos_overlay_global_config.cfg",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/show_zoneset_active_vsan.out",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "aeb566110f15e114259185610a7e1a17ba8a4a8380f590120292eceab885bccd",
+ "chksum_sha256": "eef09bfcfaae85faa6c0b10f2ac4207c73947496c77783c7aa6bac45a9d02d3a",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_pim_interface.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_1.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7c5937f68440ccc096dd950939c41e9dd41a824489a76043b332c1cf7be3e35f",
+ "chksum_sha256": "46c16cd03a600d15085abf2052ed33830fed61424a02004021ce4dd82f0086e2",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_l3_interfaces.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/show_zone_vsan.out",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "92733ffae6656acc3fe5a549f92b8380cef8870e0cc1c8048dda5d10da856fbb",
+ "chksum_sha256": "74aee6c5327fabe2de027ca0907e76be2628510e125976c8918575bbf09ea703",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_vlans.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzoneset_0.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5bbc41cc6074ab22083413658f1ff7b3e1880add6b03be2d0ef30dc2a85bf163",
+ "chksum_sha256": "cae1aca46b8d82f44a8f728182fafd1030040360725fb7367040392c1d52c018",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_pim.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzone_2.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fe1f59aa59b32a791b714b6ba94f5db95d63ecb36919a976fece5768c620de26",
+ "chksum_sha256": "6e109ddbe7ad8d251edbe3ebe5bf960c055ac9a1d3d5bc3865596bf0d65d83a5",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_vxlan_vtep.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_4.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1fb26930f7397caf4e73360e986af9a6bdce38f9109603afa5688907b2a46719",
+ "chksum_sha256": "5005380753639cd3afd7e1b4ed90452d5d9492bb05c0852563009949e285db0e",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_acls.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonesetactive_0.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3a022041902a02465149c84cdd3bdee33f6d54a5d161a9e1a7aca79e49c43ba2",
+ "chksum_sha256": "1836db8862dd990ea4008e3c10d16d7a5563561ac27a8f846f2d2bfee8d805f0",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_fc_interfaces.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_0.cfg",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "010172dc57589c93d51b95aa50feecbda06ee706fd623422a088de23ccc9e723",
+ "format": 1
+ },
+ {
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f50d2c6c59efc438903a2064d09bdd734468f6e001a1ca31a460268bcff5e8bf",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_config.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/show_zone_status_vsan.out",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "31ba29ac58679593dc02bb181382bee8b76f4728eb007ba2291681b64dfb783e",
+ "chksum_sha256": "42ca86dc445e87a4cba4d08cbd217173af42f60181eb44017d852837c17e9a47",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_logging_global.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_2.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ba671c099009dae25cf68d105fcada6f520d1c1becf042270df92a2b42e17218",
+ "chksum_sha256": "171f743817a7ffe74398b6d78a0600ec0126dc2fe0890694a62eb6db89225a58",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_pim_rp_address.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzone_0.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e451350df730941297d3a8b19b3464a5dc0f1a6265e9528fff50165972eca894",
+ "chksum_sha256": "13fa7bba46e2967e5c1bc2254620c4cd5337daab92a23d8aa6d6dec1ea7905ae",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_bfd_global.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzone_1.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6810dbdbe6eca1cb36fe8b377e9a51e7d4604a019db7ec3f1d7c44f8ad53bceb",
+ "chksum_sha256": "abb9d2504120327f0b55c36a6c130c9180a0f455ae397737ecfaaa4e6f891ef5",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_snmp_server.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzonestatus_3.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "762a88d4f3946c107d8dc3738799fefa5d6e1647531aedfc7ce27ab01122838b",
+ "chksum_sha256": "3fee2a63052400d50f93de5abc0dfd7897a48269d71af99f53182139461c3bb0",
"format": 1
},
{
- "name": "tests/unit/modules/network/nxos/test_nxos_bgp_address_family.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzoneset_1.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f7060edef96542abbf9e9eefd25477e5599dfb63c1e5360e6c8eeb9d3cda9bb6",
+ "chksum_sha256": "bcdd326b9710f2b1f56ac59ed3bdccaa6e853cfb24af1445743d3254ce458166",
"format": 1
},
{
- "name": "tests/unit/modules/network/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_zone_zoneset/shzone_bug339.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "chksum_sha256": "6c45bdddc81417a51bdb8256cc024efef8d8cf432083297902ef8fcda9850703",
"format": 1
},
{
- "name": "tests/unit/compat",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/unit/compat/unittest.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interfaces/nxos_acl_interfaces.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "727203a3846be41893b78a4b77852a1658925e936fb19539551958a5d8e8fb81",
+ "chksum_sha256": "764024b1837b2491a2e87e60ba305df48bc64541f6caf244fe4eea63653ee340",
"format": 1
},
{
- "name": "tests/unit/compat/__init__.py",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_acl_interfaces/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/unit/compat/mock.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d000c79c38a69b736cdc65ac48952cbb7ec574ab2e3b13f81bb213b8381b8f8c",
- "format": 1
- },
- {
- "name": "tests/integration",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/network-integration.requirements.txt",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/shdastatus_mansi.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "234d0353684f5a41c84eabb03e13539abf602dc0de061a90e129618976b3c106",
- "format": 1
- },
- {
- "name": "tests/integration/targets",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "b47fe27d3b8f630988803930db4eb009b8ef93e5f7838e4d3a49adf1859d43f5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/shdastatus.cfg",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "5426bfb2d55edf2003ff250d0730cf4ea9ace4f44da02ce6664ed3bc77c7867d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/__init__.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tasks/main.yaml",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/shdastatuslock.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "40fe4fe85031868241ac9845115f925a1c7be1ad8c4f932f4896fdaad51da36c",
+ "chksum_sha256": "ba24a69173bd06b6a025d176427b5619878da807c2a2b8a42aced27ac16d607c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tasks/cli.yaml",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_devicealias/shdadatabse.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2eacf5012e1fb8a88bd7663844178dc5f6b617535d4bc2ddf0037ce474a33b1e",
+ "chksum_sha256": "2e912812c9084c8676a32afd1e2522f00bfd75d164fbb86113f01a88f164ebb8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/meta",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vsan",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/meta/main.yml",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vsan/shvsan.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_static_routes/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "63e5ef2ff7dfbb786b21f77d0e047b16a5af1477901433189032c59f0d2e4988",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/defaults/main.yaml",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vsan/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vsan/shvsanmem.cfg",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "91b604b4bdd22922dfbfb776dc40a760428806a2f845e8c9e76d42beef14bbb8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/_remove_config.yaml",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan/show_vlan_brief.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "244c13d831c6419ec7e7a46e3e00e82fc1be5a476e5204561deae0efce659d93",
+ "chksum_sha256": "c60b1775765492c72f6cf744aa56574aeea9b6c57ac19c974ebc73146cf4920a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/parsed.yml",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan/agg_show_vlan_brief.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4a2cd09da60d6b0bc0904e3f313e959fc3efbba7979d14309764e11aaefab96d",
+ "chksum_sha256": "a6ad270b50167f7b13c3e7f40f83ebc812ceb7ef7d3455c0ce7b404ede9d6238",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/gathered.yml",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan/config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f58a5e229e9cb4a2cd367d9bd3d36dfc7b8a03598bd35d77c19ea701e70b8976",
+ "chksum_sha256": "4cd4cba4fba8bd0ceca02c0cea325b38c65d82a1b01633f59776902dfc00010c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/merged.yml",
+ "name": "tests/unit/modules/network/nxos/fixtures/nxos_vlan/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d8a7a44814c334c50589139d3473b014a953fda361f2d88075fe1538f65a580e",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/replaced.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_bgp_templates.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5c23e4c252c1cd1583fd56550d8d702f0b09b867eb03c50886e83f3c24197690",
+ "chksum_sha256": "9ef2f97c111f9f0a6155a7353fde97cf4cbea592f715578a4df20893bad2e7ff",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/deleted.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_ntp_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "10271b66076c4d1659a13c85ae4ba02c903ba2eb771ba8a2e31f0910c46de739",
+ "chksum_sha256": "21b73c3764e98cb997bfd28ed8b5ce52bd4b3fa3f499feab3802ca37e5de012f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/rtt.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_ospfv2.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ac26dd65c91afd1fd0e3734c2d3b9c361904f6af8fed0fbce8ee7746c96b64bf",
+ "chksum_sha256": "fae6c56a4916171573a12ad3ab0071c82488062af9e6562078262a50c699b83f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/overridden.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_lldp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ff14829c4bb5758e9c2bcce36a6a134e5fd2d02af7586147e25ce45f5d3c6197",
+ "chksum_sha256": "d61028deb5268fdf63e8cfa7bcfa10f99738fb475e42f31911e3e264360eda34",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/_populate_config.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_nxapi.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d486bec06fd92b15f491fc77298d00447520a955e2dbf3d84a5a739d1a2703c2",
+ "chksum_sha256": "c79a89af6839dbb8a41461dd0c68ff33e88b2d8ed3447f3b4fc7fd1be0419394",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/tests/common/rendered.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_hostname.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b9734f5468d080e059ad191471f78497c2ce42fa6d87de56f9f2e273bc0d8e28",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_static_routes/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "0c65ec8fcd4ddd139ae9947a00ec54a04c2c4da5a5376b0d106d903c2f37a9a1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_static_routes/vars/main.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_telemetry.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3eda3cf170b296ca5e5f4996c8b03c030d87a4e3e6197f7770e2b14e739e4ab3",
+ "chksum_sha256": "d5a38ca859e81c05061d9ee2f6cceefe3beccaa0587eb427a040be3c1e7e00f3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/nxos_module.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "0d1a4eadc6d91ab91db07ea6ac3a5576e417f1339c1520079de065451b87fd3c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_feature.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "62fc7da4353d2dd07ee8ec9822b06cd244ef12c93c65a7e53b12b9f57105a7b2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/tasks/nxapi.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_vlans.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "320bd35df7abc52ebbb1a9cbb5286dcaed02a736d1051666fe5adcdf1a57a043",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/tasks/main.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_pim_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "caa9723150e6b388c6ac57ac58e581317fe3b31757c2da99e00b1695d362358a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/tasks/cli.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_vpc.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "fd868cf29e78bcc57d8d983ff6fcd4bbfcd1d0e34c63ab99737878827ec83d7c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_devicealias.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "213ce495ad35b863cf252fa9bf4362db85fa8f2ab2916dfa76da754661d37e4d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/meta/main.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "e983acf04cb96f85df2b16c5ad63601cb4b87de6e74f5003751d4090e5350ced",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_route_maps.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "4ac86722ca4d5b62b0d586b4df8c59a207c76932b7b0596003de9722359d7872",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/defaults/main.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_vxlan_vtep_vni.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "eb233dc0fead25086cf7310ea386b8e51b17bf00468ab2a1dbb08f44a1aa03b7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_zone_zoneset.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f746132b73f02acee61de5e52f37e03ee6591a3410d6ec01948416009d36e441",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_evpn_vni.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "71aa392dfc446e9f3fe0af4c32cba761151a0bae41be4831d6b560e332b2bea9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_interface/tests/common/sanity.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_bgp_address_family.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "acc020ce7729ff57e637de9f3cd1f3aae98af404b208386a852c6c804d0006fd",
+ "chksum_sha256": "b94c2ad86ce7c380e6080a791526f868016e43350612dfd321a92964c8f9a04a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_banner.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "491dacb2d554279466c694b6c0266fcc0dc9be308b3bfe338cb1312ea0f2488c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_hsrp.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "cd0ecfc4be320078a8b5b73873598f3311e9d5b5848092a1b24b41029dde5dff",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tasks/nxapi.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_vpc_interface.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "d6e27d691e0dc50b4659403bb76593fef84cfa193d36933dd299a1e486525fe0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tasks/main.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_hsrp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "c9bd24f31dec735e5b7f5862c3e9cd48d692b6b528dcfa0114830aedcad227e5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tasks/cli.yaml",
+ "name": "tests/unit/modules/network/nxos/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tasks/platform",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_ospfv3.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2759b15fdeec5305cbf7fb599142511bd89e5af0c772b3739c39c28880a49e1b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tasks/platform/n7k",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_fc_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "320e6449e95a55c156623eaaeeb69f81a2c66c66ec1d8a5c06702040595ec95e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tasks/platform/n7k/cleanup.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_pim_rp_address.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6fe5dccac28d950d4f93db2d5dd8d2d53f974b51a0c07a9371165a7fd9b20585",
+ "chksum_sha256": "aba5914ef5c9e367924aaafd1b555e2200d2f6c0aeaad5d5a2170880bd8f2cdf",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tasks/platform/n7k/setup.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_lacp_interfaces.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1f41e716a6ee3d52141e15b1cf8d8a62a6656066f9761e5438f18b03b64148ba",
+ "chksum_sha256": "8b284eb5232ddef43ad1619acb13d73a7c48f20d736372b212a4d7352bd1e420",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_bgp_neighbor_address_family.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f23808fbf9f008c689f4e1c02b7916bd261d6118037deb6fa58977cf805cee8f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/meta/main.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_prefix_lists.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "123c5209374533c41d593eba1f82b63089145ea660be4c913f197a43a434c342",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_ping.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "3fd816ad49427c17166246df05ec36c188e3caead4e04285d11815d31daa9999",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/defaults/main.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_vxlan_vtep.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "92d1ef64dfcf0ea45c5294814d45a84bebce3070c429a57bda7f8f428a82f44b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_l3_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "9dd8c9037bd8ec303989a242280805dd82718f3a12b91f8ea34d323c819137a8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_bgp_global.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "df17a538471e85b869a2d0fb40789d01afdf232e7dd781977d34d1e062120268",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_overlay_global/tests/common/sanity.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_vsan.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "10d3d02705dac2e31ab7424914f1dc74d20c5cf799141c26ac2e47ec2c68e1b4",
+ "chksum_sha256": "8af4c5d2ddc4255350bdeea291e5661e3b5f07f5fd6cb755c9151cd8751394c5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2d93cfe3962b0a2c9ba309e973bf3db9087727c2459fa64f1c2fe0c4dfe61627",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_ospf_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "19c4359cb20e2df0f649d97f3207a5861ebcdc6a2430db3ff94019ba14a38c73",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/tasks/nxapi.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_command.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "d2a3122d72313abb8ad6da5ba19c9070e95def315019bcc16cbc8ff835428411",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/tasks/main.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_user.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "1e084a512bff94fcf880a610ec5dd779c64ad7a3feea58bbc10e141e5eaf282c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/tasks/cli.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_system.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "a7ea6f26526b9e4ead960a1c161b83de2581ca9d8a90d95925340e2fa8e17c8b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_pim.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "7e108bcc18c5b82ce1cb4cd46d8996147683f30a2f18d2a9eab8367dddb07bb1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/meta/main.yml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_logging_global.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "569405484ee944ef07a45c205f8588b8a00e4b626f64ad52c2da5f13d1d599b3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_bfd_global.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "642bb2c06d13b8c2354bd9e46c01bef3beccde28fdbe5efa8af16cef2dc2a21f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/defaults/main.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_vrf_af.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "25bca3233974b76c3830c4d3b603c73dcb0032036a1752e0804c8cbc473a9973",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_config.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f1acec58b3eaf968e8273380ab7d9170e37605cf1a1b5f66e08e568bf7d94e04",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_acl_interfaces.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "6c9f9ef53093b66901ca6deaacd5cb8eeb43f20bf80782d5ce721a57290a7288",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_community/tests/common/sanity.yaml",
+ "name": "tests/unit/modules/network/nxos/test_nxos_static_routes.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7a31444a04409e8b5f9d58864e5405ec3ded7ec744e6e731b3ca0d22ec1a6ee0",
+ "chksum_sha256": "319d8c2d4417de66f5a808ab30acbe1e9edf6cbe6d9c3a26c78f891031d2a233",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/nxos/test_nxos_evpn_global.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "7cb868c9311b9810788e13862c9b74c809e19a9f9b57ad9e46ff4124fef884dd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/modules/network/__init__.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tasks/nxapi.yaml",
+ "name": "tests/unit/modules/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "280d285e1a9b531b25d8b880d3a032933d7135004c4658b7f1eb4872c60cc666",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tasks/main.yaml",
+ "name": "tests/unit/modules/utils.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dc2e669d7f6ccc6f6bd958fc52376105ef28a808ec084c11f2dfcecf1471760a",
+ "chksum_sha256": "414c272e9a403bb6009460ec9502c5acfaa9c80b2159c742f6cb2e225938be3e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tasks/cli.yaml",
+ "name": "tests/unit/modules/conftest.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c57c3ff656bb8daf9febb3c7a7bff934b952d1ccb83604d93e23ccfc3ea88724",
+ "chksum_sha256": "354440d86f684a9641f329807a687fe71fc66ab901207f7a166ecfa648935488",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/meta",
+ "name": "tests/unit/mock",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/meta/main.yml",
+ "name": "tests/unit/mock/loader.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_acls/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "2343d1f644250d4b616f0bf0a826fdee8fe306243d8412d44dd0e033352b262b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/defaults/main.yaml",
+ "name": "tests/unit/mock/path.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "5561a16a302e55ea79227591afefc3a93f33001fc80155dd29b068b90502a446",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/mock/vault_helper.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "3bf7834d18bd34473d0f4b898253177229a131f14364874efba584ff985e4a41",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/unit/mock/__init__.py",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/remove_config.yaml",
+ "name": "tests/unit/mock/yaml_helper.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6b36b668815324ab75f641e80f9341c4f7b4f264585d07409b01704c5f8a018d",
+ "chksum_sha256": "fc4f4d5d2968ced8e3a04653354945d720e7c6369aad67ba7724c5981c82b6ea",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/populate_config.yaml",
+ "name": "tests/unit/mock/procenv.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ea179f0b4974165f1ad36daff838b34a663eb136543c6a908df7b8fe73027eaa",
+ "chksum_sha256": "3ff983479d7aa4b90efe73337f723c14224edabcdfde4efe49f24cd905f45f1a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/parsed.yml",
+ "name": "tests/unit/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9c6e2f1a0b9c9d9dc2c33b7906490f5acde968592b9257f095b4cfc38eee3dd9",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/gathered.yml",
+ "name": "tests/unit/requirements.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8c6126ef877c72fdb6e19f6499e4c3ac4219a5fb4cde44f4529306aac3fd7966",
+ "chksum_sha256": "49ba996dc4735c3463e9af561344346dfae14bcc1a68096ce78364b377f0df1f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/merged.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "fc2db360c49a4f960de158645c43115dec175da832363eeaba86a8ea97d1e62b",
+ "name": "tests/integration",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/replaced.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "2b9ce3eb07fb30eb390fc555830b61b4118c485523bf85538a805feb06ea0fb0",
+ "name": "tests/integration/labs",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/deleted.yml",
+ "name": "tests/integration/labs/single.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "14f12dadd4d09d23feee07007209b1eae18bc9c013a50f79ed39ae022e652226",
+ "chksum_sha256": "fe76aae4b59ac2c628191394f5cfce79e8564ecb72be6157e14f32c7e8a97093",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/rtt.yml",
+ "name": "tests/integration/network-integration.requirements.txt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4912e31a951706d32e6682e65095ad1794df0cdedeeeec3d5e9ba139e14a0409",
+ "chksum_sha256": "234d0353684f5a41c84eabb03e13539abf602dc0de061a90e129618976b3c106",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/overridden.yml",
+ "name": "tests/integration/__init__.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9e261e0e1a8b1778739d5bb1c17c75a378186c5c2efd72a351d604e0d7560318",
+ "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acls/tests/common/rendered.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "aa791c7d2f4a1989dd888e3880d230146cee3a448116cb224c31066a7f7573fe",
+ "name": "tests/integration/targets",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user",
+ "name": "tests/integration/targets/nxos_vlans",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tasks",
+ "name": "tests/integration/targets/nxos_vlans/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/meta",
+ "name": "tests/integration/targets/nxos_vlans/fixtures",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/meta/main.yaml",
+ "name": "tests/integration/targets/nxos_vlans/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "9d00aff551522b3a0a61d5ba2b38944de36985bd3353dc67987d76d650ccbea3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/defaults",
+ "name": "tests/integration/targets/nxos_vlans/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vlans/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "ec4fa30fc4a7b9e002d1c7b3932286ace72ba36e4f532e2cc79f49d07e0794c3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tests",
+ "name": "tests/integration/targets/nxos_vlans/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tests/common",
+ "name": "tests/integration/targets/nxos_vlans/defaults/main.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vlans/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tests/common/auth.yaml",
+ "name": "tests/integration/targets/nxos_vlans/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "db7a57ed2e804cae9aea360123df898848cc2e772fcab84d843aac01ca0b6b61",
+ "chksum_sha256": "fd3723c027909807b1d6ef73222d5bfc96f98c680a9f86f3e89c0366bdd22116",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vlans/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vlans/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bd39b32f02401670bfda98c14839d0da9c76ae8446c151dc7f10131c9531ded6",
+ "chksum_sha256": "fe16be9cd5316c7526ea489bad81d693f40c2f2351c01f60a4074802f208164e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_user/tests/common/basic.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ba9e801ff2ad1ae02085f83753b4f2e51565888a0fa5822ea0f671ee8a54229f",
+ "chksum_sha256": "6f9623efb3904d185246e618c1cb0726553a5556941e5c2e91b7c9025de0e89c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_vlans/tests/common/deleted.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e2964f468cfe2c92dbee0504a71845636d76ff4e079dd07ad7f8656cba328221",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_vlans/tests/common/replaced.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "1f1efb47f41f82d4be94cca66acf388791ed71b63f1f3897f769f7e4110f1be6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "c70b2b7642402aeef4772a4a8cc7b7abde208bfedd65fbdcf95231b2ab5a74db",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "9d0b9b581e3e45b412907eecbc4ba5ad1632595e8cb58f397365287ce091bee0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tests/common/rtt.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "65b9276bee903c86af57ed5a6afee1d84461bf6c7bf3a3cf95aa8369e0c7df57",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_vlans/tests/common/gathered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "87888ec93930b5630192fd9f60d931700a43910cfe6a3d092b04099ac88eb612",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vlans/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "69cfb989d7be0b980e8fc3eb9d33154c66e2cde5df1a9f8b17b1ea0894879212",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_vlans/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "5745013bf8f6e23f513cea1bb8878e4ca80ba61a331a5a5d2a7097673b786ed2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vlans/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "0fef283f3a139da74d869920dfc1b12b127b20e505c060d30b893d457ea980bc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/tests",
+ "name": "tests/integration/targets/nxos_vxlan_vtep",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/tests/common",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir_profile_management/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d0237be40a79468b006b7bc99f59a3b8b9227b61b780adcd94fef59ea697e6fb",
+ "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/main.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/platform",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/tasks",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/platform/n7k",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/platform/n7k/cleanup.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "6fe5dccac28d950d4f93db2d5dd8d2d53f974b51a0c07a9371165a7fd9b20585",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/platform/n7k/setup.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "b569f1de86c96331c196b935a58a716b5314f80ebd5b9130aeaa56f44c45f047",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/meta",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/defaults",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/tests",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/tests/common",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e73dcd5a6b36e1b9d5a9dccbe433f93ed19375686c161e0045ca92ccf2ca7053",
+ "chksum_sha256": "6f5876cdb7e7636f06c87e462e6002cd2694520079c83f7103450520ff14b3b9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global",
+ "name": "tests/integration/targets/nxos_vxlan_vtep/tests/common/multisite.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "6e9df57ea06843b691dc030437dd9190193ddb70664dd0254133417e3a8b5cdc",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vrf",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tasks",
+ "name": "tests/integration/targets/nxos_vrf/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vrf/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vrf/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2396a1bb62aa2d673208deb59766a787971d061630b8467afa525b7fdcb2e95e",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vrf/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/meta",
+ "name": "tests/integration/targets/nxos_vrf/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vrf/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/defaults",
+ "name": "tests/integration/targets/nxos_vrf/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vrf/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests",
+ "name": "tests/integration/targets/nxos_vrf/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common",
+ "name": "tests/integration/targets/nxos_vrf/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_vrf/tests/common/intent.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2a828ee760fb0dfc1ce2906e7498216901248da978df3b7a90ce842c1041a157",
+ "chksum_sha256": "b49015c20a19ae1f270a3b5e69d370744549a23915fb03c23f6e84ad40f8ef74",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_vrf/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e4c2d740371ba62f8ce9a298147acad6ef15cb6b851a8ea32e7682934e5c4294",
+ "chksum_sha256": "b8fb2d6249a8d9311ec67a31c87ad94a8184c7351dbf190d833bb1d7bafd4e7a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/gathered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "060aecc4cf5c2f2c7d5785001728b97f6913dd3900aa2dcb0c37436509d9d92e",
+ "name": "tests/integration/targets/nxos_banner",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/empty_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f836d5207479f29e09d0669ff7c58dd23bde729eda06dce4649cdc3e60be53a9",
+ "name": "tests/integration/targets/nxos_banner/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_banner/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "159d739b15a17d8f62cbb4c9dfcd2fa3b7ede51f02fa6e9ac2bde196643b60fd",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_banner/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1581f91ffd8c1c23bb4676eab5c8b75109777725856083ae7e8f3f2e0993b3be",
+ "chksum_sha256": "c35d2ac52b14846e9fb2bba91ef7ba5f946b1cd2e47ed10c0b30941d6f9de766",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_banner/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "08e70b7bf07e9f6621e1389be04c654a23a2f975aa49fc4aabc7ecb593bc5cfa",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/fixtures",
+ "name": "tests/integration/targets/nxos_banner/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_banner/meta/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f7771e974db6ccc58fcb0a69ff17e00e208d57c09d96c7b8dfe8f5ecae8c879b",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/replaced.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "6b602368f7b9b4aba2e9a3e88b73abf107d658eb335fe4ce1a4cd4c0dca3a4c6",
+ "name": "tests/integration/targets/nxos_banner/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_banner/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9bcba4c729094da821fbbcce077fce21c817d1f560df1dc97ede6c6ff9cc4565",
+ "chksum_sha256": "665288590cd4226da42511817f09ccdfc92df36c9621583cd2c82919af295c5a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/tests/common/rendered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "eb766ac5e824552d743eb36cfc738ad9abd7985d945bdea3d22a0d9130f839ca",
+ "name": "tests/integration/targets/nxos_banner/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/vars",
+ "name": "tests/integration/targets/nxos_banner/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_global/vars/main.yml",
+ "name": "tests/integration/targets/nxos_banner/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2c37457ec8af62c1519304e787a4e2ca6be4c156f8cf7bc2293106f38aaa2957",
+ "chksum_sha256": "dcccaebec31acf1f9adfe71c2e5067fcb6c1416a7c63b077490beedfff6078ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user",
+ "name": "tests/integration/targets/nxos_snmp_location",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/tasks",
+ "name": "tests/integration/targets/nxos_snmp_location/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_snmp_location/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_snmp_location/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_snmp_location/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/meta",
+ "name": "tests/integration/targets/nxos_snmp_location/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/meta/main.yml",
+ "name": "tests/integration/targets/nxos_snmp_location/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/defaults",
+ "name": "tests/integration/targets/nxos_snmp_location/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_snmp_location/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/tests",
+ "name": "tests/integration/targets/nxos_snmp_location/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/tests/common",
+ "name": "tests/integration/targets/nxos_snmp_location/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_user/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_snmp_location/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cc18bce3cf7f8a257784f7d4e432ef00b535bfe73b057d661756f364bcc9d176",
+ "chksum_sha256": "3e00a1c43687d39e22e8835b039f398d7bdebbcc45399d8cd01d6ca7d4ef6e96",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp",
+ "name": "tests/integration/targets/nxos_pim_interface",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/tasks",
+ "name": "tests/integration/targets/nxos_pim_interface/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_pim_interface/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_pim_interface/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_pim_interface/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/meta",
+ "name": "tests/integration/targets/nxos_pim_interface/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/meta/main.yml",
+ "name": "tests/integration/targets/nxos_pim_interface/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/defaults",
+ "name": "tests/integration/targets/nxos_pim_interface/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_pim_interface/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/tests",
+ "name": "tests/integration/targets/nxos_pim_interface/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/tests/common",
+ "name": "tests/integration/targets/nxos_pim_interface/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_pim_interface/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e3f3aa30512b55460b5e6c82887f66d7642c56b86c7eabd5801148a945ce2ef4",
+ "chksum_sha256": "acc020ce7729ff57e637de9f3cd1f3aae98af404b208386a852c6c804d0006fd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces",
+ "name": "tests/integration/targets/nxos_ospf_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c0ff0c24a2fb4a8aa58a6356c5029065acb6cf1aba1e14add135ff69c8d1387b",
+ "chksum_sha256": "e9eff3b2082e2a94e384711077fcb0a67b0410a72a0d7425367798c7fe1c4c75",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/meta",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "254903ea468078a13337c27e4ffbfe0aad84710a36cdfeca8027eba5a16b48bf",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "3644170fb7b4322fa4d272cd5d5e351480018b485a065fa7131fb3f6f5e2f353",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c58134a7c574f9d19d3012c238b2be0d4983d6d856a11e9f6ee089c3df5ec6b4",
+ "chksum_sha256": "77f5af82eeb76922d66d564b1b3b713644b5154cd160ed32686613453f6ffb08",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6c1ffa21ffa7a57ae8edbb0a72820f4ec4e7947ba1ee5a1548473e81efec8724",
+ "chksum_sha256": "aa4d4d9ae4687f27e044a7c2ba6c6ffe31491031d9cfb724c69a54e4a1248b2e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a2a0ff901006be504934a514a2f337a699091eef58ab871fb32e426af1d6f6fa",
+ "chksum_sha256": "6563a046c325a1872e9c20c3a80658c02bc684d828e1d8c0dbfbfb23ede1da1c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/rtt.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "148ed76eb41828c2417439c0b443097a6f2f9d1fa88a4abad48bd8e62de30c4e",
+ "chksum_sha256": "3e19f34c70b0982c9c03cc96e3fcf57b88c084597eae9036b3e4c6bbd0860dc1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6d84fa1c22c5e2d37b017a18ed59903fab43314717b4d632a46200d745318c0",
+ "chksum_sha256": "22709a3fdba9d6c94de7e53132bf6178989f0ea494f7779069913fc918ffa131",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/_setup.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "aeb7c65908e1aee314df87a9afe8c2f4dc1e1b21e41ca8a03f2991597dfd0685",
+ "chksum_sha256": "5153443ed073b0cc035110ac96d297361e22abe390c84014d0a7dbc83ede74e4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b9322c7dd05de65b972eb0bb02c699c4368fc68bb97dd155a05ed98dd304448f",
+ "chksum_sha256": "f4d88bbce44a9ca14508aebf3a495f3ced56b859aa74951b92922d613d0addbd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9e1b2b7044a678c22cccca3dcc5c677fccf40a509764b7ecf5c8dfeecf4781d8",
+ "chksum_sha256": "b76239c8dec85299b177fa8a11a790932f64db53e155a64222321eff524af8b7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3c30f97c6ae729fd7b3d88a3e7b6671c761ea07061ead87487979c013835b99c",
+ "chksum_sha256": "772abaa4b30e45bb3a3e0b168b9b50f62e75e5db9d1ee54915707631af8bc3a9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f018dcb8d9a42d8930b0d10f62ed931546d66f2998aa42ce95f655d299dbb35b",
+ "chksum_sha256": "b880b29ecb1b59489b0d82bfaf1ebecc35e47cc4ae7d860d616a0e1c4c17b8f6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "df5bdd37b5f9ceac0c9cba9185dfd3c1c3d13d839447eca07daca2717b7261f0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l2_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "80f38875da077b4094678a1b0d5fa1dbb55a586037c541d4daec3b3b8adca944",
+ "chksum_sha256": "947100dd1e56c9ebd17cb32e1caa66f7c5a540d038dd36f4d0482271627ffa10",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface",
+ "name": "tests/integration/targets/nxos_bfd_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/tasks",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8d37308cf2225418b5fab604f2b171a1aafbaa84be0c933a48ec0f153d7119ad",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/meta",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/meta/main.yml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/defaults",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vpc_interface/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/tests/common",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc_interface/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "03b61d6df7de21547cead303ca85a6e4139660eb2df5e5e2af81ddfefc206951",
+ "chksum_sha256": "ab74ba6b07626a0723ca4ba193159ba14bc7011f11acd94ca9b5f13f817def19",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/tasks",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "c7ce5887a89b7e2b67eb2b4bae794a1e0a77c77c2c98c1fbd123bca9ecbf78f3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "b7125a5bf2a88b3a35ff6aa0d06f3afd1474431c753306f1390613c7892f8217",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "1ef608de6174de4a28060255b4f85b5c00beb4bf2c8c4083a85d4132fe06341f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/replaced.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "57b05a37ab33678d00ceac9fa16256aa5ce862265fb330cf2045a6f06bd40331",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/meta/main.yml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "903605fdce930f7ab623ddda18bc721d07632ae35cede2608f93d0178fffff86",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/_remove_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "35032ab6b2376156d9cc4386e0c3ae950aeea92146c89106e92963e5d9f30abd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "e8b8f05c67f53717f791d5fa39768a09589083927c1b288181a9a2b28d3f19fd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/empty_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "a07b5658b8543fad6adbc03cc3dedf24b925d6c15ab96cba887e4057adde9af4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "879575bd8531da7b1f7752bc36e8b1d92d654dadebf3ac9e372c71ead2cd75d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_options/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "21d676594b169612943330f80f0fc7f0caafca537c991d9671fee07e9639a30d",
+ "chksum_sha256": "febb1078f232f6b64f4600db4e81e08b293f9c1b5959937b92458ea3228ac8ce",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp",
+ "name": "tests/integration/targets/nxos_install_os",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp/tasks",
+ "name": "tests/integration/targets/nxos_install_os/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp/tasks/nxapi.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vrrp/tasks/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vrrp/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tasks/httpapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "1c9ccfa8d43479520eb4cffae188c452027a694dd86a02bd92d31b5843301ad5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp/meta",
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp/meta/main.yml",
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/install_os.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vrrp/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "d774b3f202b5780184d96cdb5ac41b3db3540d09f575f0c8b0840a3509fd75bb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/delete_files.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "f770f6c4e52488ddd7b0c1dd5c61ef6f7f2dfb329cbae4337e0845567fa3e113",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/clear_persistent_sockets.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2fcf3f5178da21851bf3cd61610f645b242d841bb553acc94fa88c003c8849e5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/main_os_install.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "bc3281050236443452b55b83c4c3f32be752eb802c09c730e36e06ee7ef7ca31",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrrp/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/install_with_kick.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a7766c42cc22f1bb7cc7fa396978f2db1df0d1c744e3241f371f55912f3cd610",
+ "chksum_sha256": "bf39d3606053aeface47d66b776a0f8ed281c130cf0258ac09e8a0a759076df4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/enable_scp_server.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2f94537521756c0171b570da8d8012aa47441ed01f2085c5e0c4ce1c80d6dbf3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/copy_kick_system_images.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "71f8a18402f8b4c95d4bdcb1f4fc6542ce6b9671ea246c44fe9acac70bbd562d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/install_system.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "d7225266ebf0be4737420a6d63a5cd3c77d3b6cfde7bd0f1c7eded1ebfad70b7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tasks/network_cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e9eff3b2082e2a94e384711077fcb0a67b0410a72a0d7425367798c7fe1c4c75",
+ "chksum_sha256": "29b863033e05757e739075e995a668f9bcc014a0e214ac894ffa9af68bd781ce",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "5a0047c8f02776d1bffe8d2ced68ea4c0f823708554f48419af32b1b7172a1a9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/meta",
+ "name": "tests/integration/targets/nxos_install_os/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_install_os/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "efb275d54a7c21fd007e1d1c8b10b65d148a9121af425a4e7fbd60abacd23fc8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_install_os/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_install_os/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "a79b77c93a1982c2682c177681bfcef5f3fb3421e3ef10be452fc81dc3ce8871",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests",
+ "name": "tests/integration/targets/nxos_install_os/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_install_os/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n7k_helsinki.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b76239c8dec85299b177fa8a11a790932f64db53e155a64222321eff524af8b7",
+ "chksum_sha256": "c023ec2f8677adcd41bd418bb5e35d3c82dc0636d9d41c45a2074b32891214be",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n5k_730_N11.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3e19f34c70b0982c9c03cc96e3fcf57b88c084597eae9036b3e4c6bbd0860dc1",
+ "chksum_sha256": "744e3327618fd03cced8667aa2dee9cd691c358777ecb1dc741abf3c8dc18484",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n7k_atherton.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "772abaa4b30e45bb3a3e0b168b9b50f62e75e5db9d1ee54915707631af8bc3a9",
+ "chksum_sha256": "f72c407c1bedf043f2a763f9db8de4c28cb40cd3f55a99180c0b54f46bc9910c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n9k_greensboro.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b880b29ecb1b59489b0d82bfaf1ebecc35e47cc4ae7d860d616a0e1c4c17b8f6",
+ "chksum_sha256": "7a09f37097e9dbedf717f83715339eb5397073ac3909bfd0cae6f874d3cd6342",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n3172_u61a.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6563a046c325a1872e9c20c3a80658c02bc684d828e1d8c0dbfbfb23ede1da1c",
+ "chksum_sha256": "147279cb89618d50352ab1e86d4e939a3f3e0594cf28aec862eb867e1bdfc307",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n9k_hamilton.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f4d88bbce44a9ca14508aebf3a495f3ced56b859aa74951b92922d613d0addbd",
+ "chksum_sha256": "669ba59d9d909f0d42d6e69ae0ef3e6e1d4c33995a4658761f0b2884113cc041",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n35_greensboro.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "947100dd1e56c9ebd17cb32e1caa66f7c5a540d038dd36f4d0482271627ffa10",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "bf8414d8d1327c0db9056739e1b39b673abe37e939356efd1ef96ade985ccffc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n3172_u63a.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "77f5af82eeb76922d66d564b1b3b713644b5154cd160ed32686613453f6ffb08",
+ "chksum_sha256": "c37931cb7c45570fe30f100fb278e26b7b94b7848d59ad8b6dbdda0670534452",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/_setup.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n3172_u62a.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5153443ed073b0cc035110ac96d297361e22abe390c84014d0a7dbc83ede74e4",
+ "chksum_sha256": "9ee1eb9e5b4f1fea2c930c8a7c48eaf4708576b9af88c29f280f3dabcec163fb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n35_62a88.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "22709a3fdba9d6c94de7e53132bf6178989f0ea494f7779069913fc918ffa131",
+ "chksum_sha256": "c041886e29ede3a58d17f0e6d281d5dd458095369130bed0e617ffb200824743",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n5k_733_N11.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "aa4d4d9ae4687f27e044a7c2ba6c6ffe31491031d9cfb724c69a54e4a1248b2e",
+ "chksum_sha256": "7efa46e2021391e0fc9114f1b132861cd3614b7ec0064425b46ed876c81ea0f1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n3172_greensboro.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "df5bdd37b5f9ceac0c9cba9185dfd3c1c3d13d839447eca07daca2717b7261f0",
+ "chksum_sha256": "f26347411b88b126bce20f80dca17f5726cc830996a1d8bd6119b73647bea681",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n9k_greensboro_force.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "13e87f23b456e285da0593775bfe2b876d167922ce61a4ba47a668cb0b0d82bb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospf_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "254903ea468078a13337c27e4ffbfe0aad84710a36cdfeca8027eba5a16b48bf",
+ "chksum_sha256": "ee3909a9cbc7c9f42f3b146f122a61bdc2adada843b80ee111fe024dfa5c0d33",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact",
+ "name": "tests/integration/targets/nxos_hsrp",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/tasks",
+ "name": "tests/integration/targets/nxos_hsrp/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_hsrp/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_hsrp/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_hsrp/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/meta",
+ "name": "tests/integration/targets/nxos_hsrp/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/meta/main.yml",
+ "name": "tests/integration/targets/nxos_hsrp/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/defaults",
+ "name": "tests/integration/targets/nxos_hsrp/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_hsrp/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/tests",
+ "name": "tests/integration/targets/nxos_hsrp/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/tests/common",
+ "name": "tests/integration/targets/nxos_hsrp/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_contact/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_hsrp/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "21c997106ed806dbad5a3cdba01f5e201161020b6498a5d92ac003b702fa579a",
+ "chksum_sha256": "a9c0076bb37472ad1bcf0815ed5845032be77683ffc6e967f2577c29cc28f8a8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry",
+ "name": "tests/integration/targets/nxos_igmp_interface",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tasks",
+ "name": "tests/integration/targets/nxos_igmp_interface/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_igmp_interface/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_igmp_interface/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4fe8ec88364fed45512b5f8e5687038986edd9b03ab1962afa6476aed1ab2f5a",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_igmp_interface/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/meta",
+ "name": "tests/integration/targets/nxos_igmp_interface/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/meta/main.yml",
+ "name": "tests/integration/targets/nxos_igmp_interface/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/defaults",
+ "name": "tests/integration/targets/nxos_igmp_interface/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_igmp_interface/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests",
+ "name": "tests/integration/targets/nxos_igmp_interface/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests/common",
+ "name": "tests/integration/targets/nxos_igmp_interface/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d231b07bd5ab608ddebbdbbdbbcbed5e4648ac7ad05dfbbf1df4e2a21c063389",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_telemetry/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_igmp_interface/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0f66a09ea372c1fa2c05027c0a2097da33a0912daf4355ff6cab34a77e057acd",
+ "chksum_sha256": "3f1f412736c7af33d14c2be45d461f6f96778bc221e6abdabdc579247c32d72d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests/common/merged.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "b1ac88fec698b51b1f358987e65b5793cd9488ea085606963409a7b9d9b2b4cc",
+ "name": "tests/integration/targets/nxos_vpc_interface",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests/common/fixtures",
+ "name": "tests/integration/targets/nxos_vpc_interface/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests/common/fixtures/new_server.crt",
+ "name": "tests/integration/targets/nxos_vpc_interface/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d761bf530e78d0752a7d9f05dfd5084e106245c7cecac49ca75c0c76ba495fc1",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests/common/fixtures/local_server.crt",
+ "name": "tests/integration/targets/nxos_vpc_interface/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "29437b8420b999138ca0947aef901533fd9affbc7ae98a39b13fb6bfa0ae29cd",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests/common/fixtures/server.crt",
+ "name": "tests/integration/targets/nxos_vpc_interface/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9248b8354ba01bd1fecb1d24494a6098ee9547fa34a9d8840068abbb9a80fd92",
+ "chksum_sha256": "8d37308cf2225418b5fab604f2b171a1aafbaa84be0c933a48ec0f153d7119ad",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_vpc_interface/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vpc_interface/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "00736c9321f59eb87d3655075f655cf2244ba30caed17b3175c3f0171c94bd9f",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/vars",
+ "name": "tests/integration/targets/nxos_vpc_interface/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/vars/main.yaml",
+ "name": "tests/integration/targets/nxos_vpc_interface/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "90ee74a6d8158f5b1a5e92b16e0e044a5fae636e2742931b542355cb71ed2da4",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/templates",
+ "name": "tests/integration/targets/nxos_vpc_interface/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_telemetry/templates/populate_config.cfg",
+ "name": "tests/integration/targets/nxos_vpc_interface/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vpc_interface/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "160c96e0f5f10f0cd536d1fcd93fad3b60a8eac159a64755ac8617a702f032b7",
+ "chksum_sha256": "03b61d6df7de21547cead303ca85a6e4139660eb2df5e5e2af81ddfefc206951",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global",
+ "name": "tests/integration/targets/nxos_prefix_lists",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tasks",
+ "name": "tests/integration/targets/nxos_prefix_lists/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "05625917ea950a0b177ebb25c692ba215e247b2f17a15309a86430a5871f5672",
+ "chksum_sha256": "2396a1bb62aa2d673208deb59766a787971d061630b8467afa525b7fdcb2e95e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/meta",
+ "name": "tests/integration/targets/nxos_prefix_lists/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/meta/main.yml",
+ "name": "tests/integration/targets/nxos_prefix_lists/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/defaults",
+ "name": "tests/integration/targets/nxos_prefix_lists/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests",
+ "name": "tests/integration/targets/nxos_prefix_lists/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common",
+ "name": "tests/integration/targets/nxos_prefix_lists/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f869515b8a1ec55c8346c13f87eff1b4bef627722f02ba89f143fec41ea52254",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_prefix_lists/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/.DS_Store",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c07047642c717ad5e564697143a11e7cc93a18376d91ee56dc5f44f3d19e22b5",
+ "chksum_sha256": "af891bb95ebcc39dfd38131bf64fba6eb7bb8e84f59a428b6af5477588fbc6b6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "bf494eb0d9629da4381465012ca762ab8ec270ac5b9270f7b2206f6e50eb2df6",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/.DS_Store",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d96baf5dc0a51ac1a75147a0591b62dd0d0429b6f48ed375f6e41e73d43a21ed",
+ "chksum_sha256": "5b8c3589c79b71429938a827331899d13ac16c156374f8c45ec59068bd2d2060",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/empty_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "b605ca79e5cc2cdb7f664f1aec94711594f2f485adfc760cbcea01b01e2b25f9",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/replaced_af.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bf31728c79fcf0b446ffd43fe431bc399513af80a6e363931a9f16fc611bf921",
+ "chksum_sha256": "f7f1e53d17acf3059197aa476e1715028d571930c8cff8eabada2af3da2e7819",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e6dc32ce625064b12bbb4bf361b4b9a56df6792af52c16d6bcda508de05bea6f",
+ "chksum_sha256": "53a49d08552e563da400b6c13475d9e2a020cc039eee9985b1c5a3e930fb3843",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "35205173a9b4c2cdbf46f89706c24e10a7db1671892f25e7598957b6cd5424c2",
+ "chksum_sha256": "b63842b6c47d71229bd8ad567bce61e119a9da6f44fb987d22a5348d9b67f1e7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "acd7172ee28b6a88b6f7a8a95548988e2c6ed27804288daec18676481280cb08",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "8c7dfc255e4fdc2e873e375b7b4a24b1098f63ebc6f80b18ddaf4bb4e62a9a46",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "52efea9c016168ecd2fcd4012748fdd81f2753c77b4cd322e5628278cf36a227",
+ "chksum_sha256": "7bf73d5bf1f98884b2c8dedfcdc762af1c6542276fc649a04bf360fe10400cff",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "73a38ab49a6c4f73b8e5d6b5ff301846e40a8d55b18fe61d0647b6c54cac5688",
+ "chksum_sha256": "56599df6259a9ed56f2794f1171dba7cd811995b228ee29610d679201d7094f0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5ad0de011701b4094ceef2432d855f96f3441d92e71e69dcd959cb05e86ba9ef",
+ "chksum_sha256": "b94ddd8f6e3aef1be0b00d88c934c971a436d3595b760e10dd388b6dacfac7d3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/purged.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "43b3e83056042eb41ac0a74dc11eca0c07bec178548807f56d79e5d211f75360",
+ "chksum_sha256": "c10395ec2b03209c79681dd09690cb615195b8adaae1cdfa3fabc0fd68ef0565",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ff3eb25121425c6e970238566923eca969ba8f67f60e6fa8ef5c1516ca5757bd",
+ "chksum_sha256": "56b14e2fd373b2211c65f09454a4c39137bb1f1a06ad96f007e377d8b2b51851",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/tests/common/deleted_af.yaml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ef14541859231625e08fe2b53fbf4b8f6e64bcea02d4bb987038b915725abeab",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bgp_global/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "742244e5eb090968dbbab6b3bce1d5d52404f476371439bf2404e4467534b488",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_global/vars/main.yml",
+ "name": "tests/integration/targets/nxos_prefix_lists/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5664e0d1a4c541d53f188ff988aafdf4f1802b97ff08c51fc128574ae38ce63b",
+ "chksum_sha256": "2233813d83a2cf367f99e9348cfb36ea295efcebe61d310a4580abbab8836d5c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi",
+ "name": "tests/integration/targets/prepare_nxos_tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks",
+ "name": "tests/integration/targets/prepare_nxos_tests/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/prepare_nxos_tests/tasks/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7022927c86a437ced8d1f9058b25af83150ab1d87223183b1c61bbf4c0d6523f",
+ "chksum_sha256": "8d49ed36175f83090c361ca918f66c751d9a55d3e57ed4097366dda3f04434ff",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/main.yaml",
+ "name": "tests/integration/targets/prepare_nxos_tests/tasks/prepare.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "6dc1745aa3d09766233e4522d935898ecfdf07caf0b7d2a3ab7e20e40bbdc4a5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/cli.yaml",
+ "name": "tests/integration/targets/prepare_nxos_tests/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/prepare_nxos_tests/meta/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "851860fe2ed1258710d7fcf89ac5b7d8c3c87755e89ca56fdd79bea022eb2b92",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform",
+ "name": "tests/integration/targets/nxos_rollback",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k",
+ "name": "tests/integration/targets/nxos_rollback/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k/assert_changes_https.yaml",
+ "name": "tests/integration/targets/nxos_rollback/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d826b7762b3ab39ad7d294ca171272d1ff3213c35f8040c3657228f259d331d5",
+ "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k/assert_changes_https_http.yaml",
+ "name": "tests/integration/targets/nxos_rollback/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "97089a108cc1eac9afae028c6da9bf6f7017afcfc3f1a85776cfe6af31f2c6af",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k/assert_changes_http.yaml",
+ "name": "tests/integration/targets/nxos_rollback/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "35222b27a54a701db0042dd5fb6069d48d9e27a70821a1707a4aad0d19bc227f",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k/assert_changes_https_http_ports.yaml",
+ "name": "tests/integration/targets/nxos_rollback/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_rollback/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5d5a7bc39789b15cf95dd49af7ab1636f3a4589a2be3ee5ca341dbb4414eb95b",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k",
+ "name": "tests/integration/targets/nxos_rollback/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k/assert_changes_https.yaml",
+ "name": "tests/integration/targets/nxos_rollback/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4f99598e0507cfb4e0e625a4075deabb91c5de5e1c0e5531846b9467a6faeaa9",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k/assert_changes_https_http.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "79ee713da7a48ad0b493f6e07690138be3eb4d04d890126aec488e2242e7a442",
+ "name": "tests/integration/targets/nxos_rollback/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k/assert_changes_http.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "ed763ee2de2c730ea2783225dc132f5c28f22ea272213a36b9b3bb4471492e08",
+ "name": "tests/integration/targets/nxos_rollback/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k/assert_changes_https_http_ports.yaml",
+ "name": "tests/integration/targets/nxos_rollback/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3cef9d277e717f6956a9d5136862c72616d866eb04d8f8c0da44c0777739c92c",
+ "chksum_sha256": "394570f3e6f1edf503b6782dd89ffa589499a778fc5336c8c610b01d473a7bb8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default",
+ "name": "tests/integration/targets/nxos_system",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default/assert_changes_https.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "bfae052c7df36024a59df89f314dc7e03019ad1649f4132cb34bb2a8f50fe903",
+ "name": "tests/integration/targets/nxos_system/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default/assert_changes_https_http.yaml",
+ "name": "tests/integration/targets/nxos_system/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b055af4a4779d412640cee585ef493e52c3937782e095218164d2719d5223d29",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default/assert_changes_http.yaml",
+ "name": "tests/integration/targets/nxos_system/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "db4865169c3dc97c5ca5e24083550b243b685cfaeaaba16333b1f55754dd265a",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default/assert_changes_https_http_ports.yaml",
+ "name": "tests/integration/targets/nxos_system/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "04e8b8ae8842f40c777282e979ea824c7c886f3e8ae1d9e2710ff466d1fc2ae0",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/meta",
+ "name": "tests/integration/targets/nxos_system/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/meta/main.yml",
+ "name": "tests/integration/targets/nxos_system/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/defaults",
+ "name": "tests/integration/targets/nxos_system/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_system/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tests",
+ "name": "tests/integration/targets/nxos_system/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tests/cli",
+ "name": "tests/integration/targets/nxos_system/tests/nxapi",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tests/cli/nxapi_ssl.yaml",
+ "name": "tests/integration/targets/nxos_system/tests/nxapi/set_domain_name.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dae84b45affca730b7c9158216bf18dc9ab9c92bbce4701b6ba881f192ae47f4",
+ "chksum_sha256": "c3c9fe4f41326a05c53fb03a14ab15d9aca59b0cd5276ca5e28b7c7b7e24e1a5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tests/cli/enable.yaml",
+ "name": "tests/integration/targets/nxos_system/tests/nxapi/set_domain_list.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "abdd34478d7db89533c9d3d8cc0fb2f26a5324ab85212086aa1fecc220e7d1c8",
+ "chksum_sha256": "4f58661081e4b16a1b96f55d176abaa163d8eeb2d530a96420da6d15de4bb0ac",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tests/cli/configure.yaml",
+ "name": "tests/integration/targets/nxos_system/tests/nxapi/set_name_servers.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b4853e02af108065809baebdb1f8e957bc48184f9a24e3510826d28f734d17a6",
+ "chksum_sha256": "bbee414220275ff9a13a61bb40c3f4aa127cf63ebb07221abf01f8995b22b252",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tests/cli/disable.yaml",
+ "name": "tests/integration/targets/nxos_system/tests/cli",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_system/tests/cli/set_domain_name.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "94889efb465f8b55120a28becc23705cd11dc1bc9aebc91204105ba9f8207302",
+ "chksum_sha256": "fa3289fe04fe5f8a8259ca69cee34e575e690589e3c4b5a1e8ade6a724c81246",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tests/nxapi",
+ "name": "tests/integration/targets/nxos_system/tests/cli/set_domain_list.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "494d4bd1f0afc278a5422adec3684980a21807274f3887cc64743335104fc95f",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_system/tests/cli/set_name_servers.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "634ccd651c5a3aff45209b99a311b488422098e96df88ca31e1f1f6e5fcc0e2f",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_system/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_nxapi/tests/nxapi/badtransport.yaml",
+ "name": "tests/integration/targets/nxos_system/tests/common/set_hostname.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "28a2dfdf7ba13f8dd757c8d9095797a0b91437b5bfd9d9c1c8bfe65508e15901",
+ "chksum_sha256": "1f80d47b8482b052d64571ffd74d3e08219c8180e0bdfd38785cbdcb80b4dc01",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot",
+ "name": "tests/integration/targets/nxos_system/tests/common/sanity.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "e76a24280e763ab2423dbd4062e39dd0c4b54131b361582bc4de92183c9fe32f",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_feature",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/tasks",
+ "name": "tests/integration/targets/nxos_feature/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_feature/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b93ca9bd41e9b2ddb1e47c5782c7104ad85b67441154a82ac8954fdaebc62cfc",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_feature/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0789afb380e4ee3da221b8e5904d1fc0309acaaf7afce7e63c9ba4c75c34ef57",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_feature/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/meta",
+ "name": "tests/integration/targets/nxos_feature/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/meta/main.yml",
+ "name": "tests/integration/targets/nxos_feature/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/defaults",
+ "name": "tests/integration/targets/nxos_feature/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_feature/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/tests",
+ "name": "tests/integration/targets/nxos_feature/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/tests/common",
+ "name": "tests/integration/targets/nxos_feature/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_reboot/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_feature/tests/common/invalid.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b4c67bb49d21e284b5a0589f01582abe664f16d3361279b26463e6db76fd2425",
+ "chksum_sha256": "9876fc00630984bf3f7c6a0ce6e7a75b67d4c2dc198fe91c2d4dcaef40fec816",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system",
+ "name": "tests/integration/targets/nxos_feature/tests/common/configure.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "89d6028b9ede5f5589b6786b029044d9cdf739f164d0a593ecacb564588acfe5",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vrf_interface",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tasks",
+ "name": "tests/integration/targets/nxos_vrf_interface/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vrf_interface/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vrf_interface/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vrf_interface/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/meta",
+ "name": "tests/integration/targets/nxos_vrf_interface/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vrf_interface/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/defaults",
+ "name": "tests/integration/targets/nxos_vrf_interface/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vrf_interface/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tests",
+ "name": "tests/integration/targets/nxos_vrf_interface/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tests/cli",
+ "name": "tests/integration/targets/nxos_vrf_interface/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tests/cli/set_domain_name.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "fa3289fe04fe5f8a8259ca69cee34e575e690589e3c4b5a1e8ade6a724c81246",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_system/tests/cli/set_name_servers.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "634ccd651c5a3aff45209b99a311b488422098e96df88ca31e1f1f6e5fcc0e2f",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_system/tests/cli/set_domain_list.yaml",
+ "name": "tests/integration/targets/nxos_vrf_interface/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "494d4bd1f0afc278a5422adec3684980a21807274f3887cc64743335104fc95f",
+ "chksum_sha256": "7f97e455b1bd40d8c37f4c473ba8a86d18cb742022dface71269898bcf9d6594",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tests/common",
+ "name": "tests/integration/targets/nxos_bgp_address_family",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tests/common/sanity.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e76a24280e763ab2423dbd4062e39dd0c4b54131b361582bc4de92183c9fe32f",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_system/tests/common/set_hostname.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "1f80d47b8482b052d64571ffd74d3e08219c8180e0bdfd38785cbdcb80b4dc01",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_system/tests/nxapi",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tests/nxapi/set_domain_name.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c3c9fe4f41326a05c53fb03a14ab15d9aca59b0cd5276ca5e28b7c7b7e24e1a5",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tests/nxapi/set_name_servers.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bbee414220275ff9a13a61bb40c3f4aa127cf63ebb07221abf01f8995b22b252",
+ "chksum_sha256": "918e266fd84500fc8a9d7958437789683bd47b7875371afaf4941b60f4594bc7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_system/tests/nxapi/set_domain_list.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4f58661081e4b16a1b96f55d176abaa163d8eeb2d530a96420da6d15de4bb0ac",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_interfaces",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_bgp_address_family/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tasks/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "64ca5b4de950cd0d788bdd92389f7741e663d949ee6b0e343f1038c573564b64",
+ "name": "tests/integration/targets/nxos_bgp_address_family/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/meta",
+ "name": "tests/integration/targets/nxos_bgp_address_family/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "528513c35a708d559281b5758e5c998565f110acf10803504b3cdbf2accf1988",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/defaults/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_interfaces/tests",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/fixtures",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a639b04de3b8a2a70660b4034c291526f9e1f4bee9e24e4e543bd719a4f65a50",
+ "chksum_sha256": "f6189829f4b10872e4553b8c55db04c742cca9c7598d067ddb3eea05e0ab2f0d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d5ba532156bd9771e2ec35bb085d404ed049b88e1da827ab9eb6d4dd38a3c871",
+ "chksum_sha256": "29d4c709454554edeef9e3a0e394a93ff71200d5ae09e04d855d8edcedc24549",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3f875bd8877a898338a0402b34179ad17f45b84d1623c72741490f52913eb064",
+ "chksum_sha256": "a6f21fe892ff7e532f40e0d7ecb6bba83f26bb1765ac4177b453d85f896dc633",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c5a2d4d2fa3245673307a06eb29fd3b751fad50fde2dac24f84aaff5498a5af7",
+ "chksum_sha256": "e76deb0ccd6d015af64ec4b54fc1da88ccf401b0aa373bda8d4cfabd23b9b1d9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/rtt.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0eb7659a55ab72845d72bf76bcac9618bf84c8d5d55c6fa8f04ff9c15c68a92a",
+ "chksum_sha256": "0a2cbefd9d104a0f9e0370a13ed7e87feb1e74175d922f33d786e604e775a498",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "49898e976fb440f5b1ebc404e489b6e2511049c950c8c0d8fe75e251dc5c3671",
+ "chksum_sha256": "ba2591fcb1bd54b023d7d45818463cb4d7efb6c7a918133129505ab24d3c9b7d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "52f0f66116a7b07a9bfd39bcc2cdabc5a2db68ed24d92751f3f53f08332f0ed0",
+ "chksum_sha256": "c07047642c717ad5e564697143a11e7cc93a18376d91ee56dc5f44f3d19e22b5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "eb7918401f281cb2d25ccebc214ac1fd9ae10975f3ca4f77f56a53f3cc485a40",
+ "chksum_sha256": "0aefe84d03b67ec239027816ac3522c7b7cfabac56bd979c781c74cab4b01955",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c8d1e0d8e50dd46dc84c73912990ffca760b0f5e1a8ad8ab2f10a90bce902369",
+ "chksum_sha256": "fed0782bb5669d310ba18f8a49c51be3b1c8b16b0951f388e2280ed4a1769b50",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e26569250511575d31ea2338e2abede7fda11240bd583ac7896adccb24abd7f2",
+ "chksum_sha256": "7121942f388ee7ab8d2484101d1a980b1d666be25f8388c6f00438f36a99736d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/purged.yaml",
+ "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "832b01df3053b44b5e69f7b1e62fede8df0291af913f7b4abd1d4545439ef718",
+ "chksum_sha256": "4ad5b3d3c16b81ea4fcf40639099f5191577136f0cf3ff4970ed630d8248ec66",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/tests/common/rendered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "454396b9f57fd4895a1d8063b565bde8a053291bc6f6e5f934397c75e99ac6cb",
+ "name": "tests/integration/targets/nxos_lacp_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/vars",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c7aa68e2e8b3bb1d6b4258ed279670b1a8e5fc5e6a63b446eab511c3963db1c1",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/prepare_nxos_tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tasks/main.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "c0ff0c24a2fb4a8aa58a6356c5029065acb6cf1aba1e14add135ff69c8d1387b",
"format": 1
},
{
- "name": "tests/integration/targets/prepare_nxos_tests/tasks",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tasks/cli.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_lacp_interfaces/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/prepare_nxos_tests/tasks/main.yml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8d49ed36175f83090c361ca918f66c751d9a55d3e57ed4097366dda3f04434ff",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/prepare_nxos_tests/tasks/prepare.yml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_lacp_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6dc1745aa3d09766233e4522d935898ecfdf07caf0b7d2a3ab7e20e40bbdc4a5",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/prepare_nxos_tests/meta",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/prepare_nxos_tests/meta/main.yaml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "851860fe2ed1258710d7fcf89ac5b7d8c3c87755e89ca56fdd79bea022eb2b92",
+ "chksum_sha256": "adb8824233c88430d3737a53e2cf1a939138f4f56b1aee31f730895793eb72b2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/tasks",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "3e5be532a772bae7c777ccff5a0bd7873f6d67fd9cfc19ee1148d34381a7e6a7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "7619a726b4e64d1bd47dadee8ec75a16d3b2bdc44b6d82d82bd56e38ada9c86b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_aaa_server_host/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "62ca1f227ad278d7c4554e39d7368212b7004426b9c43bcc2bf1456f27e6ab98",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/meta/main.yml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "7fba7cbbd3ce552b4dbe95b0929f2264f20fca017fd8d49dcbfcf704234fee03",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/overridden.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "0f9f2f61c2ed959758be49bd3a688b41c8a536d857d83e57cded8dbf1b1a72b2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "5ae69e8c5e516df2c81671c0360b711f53a426f7e2a4b1f7a24b422257f304a4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/gathered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ea101ba2a00ebe731b075245fdac99f96d8536a8dbd4b1f3f41aa0bf3863713e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/empty_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "c290a62babd394680c978ea09017b67507be0351b51e46c746a874320362e8ec",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b669c11c0bee9b899cb3075b446411bac7b4fd7c79396e5add683a2d5ab8b725",
+ "chksum_sha256": "d3e63a62df68b89bd619c1bd5632735df0c735ed4fa2cd9201bd1ba31faf87e7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server_host/tests/common/radius.yaml",
+ "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "10dec61711d8e2e9660491a3ac36bda92ef57264b44ce2fafd5c0512b2ecfd13",
+ "chksum_sha256": "d8f3f3ddd194db7f9b22519fac0e45a4c3529b3beaf85c2f15780daaa1cac4a0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface",
+ "name": "tests/integration/targets/nxos_vrf_af",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/tasks",
+ "name": "tests/integration/targets/nxos_vrf_af/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vrf_af/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vrf_af/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vrf_af/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "8d37308cf2225418b5fab604f2b171a1aafbaa84be0c933a48ec0f153d7119ad",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/meta",
+ "name": "tests/integration/targets/nxos_vrf_af/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vrf_af/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/defaults",
+ "name": "tests/integration/targets/nxos_vrf_af/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vrf_af/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/tests",
+ "name": "tests/integration/targets/nxos_vrf_af/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/tests/common",
+ "name": "tests/integration/targets/nxos_vrf_af/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld_interface/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_vrf_af/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3cd8d7eab5171ab6ad59ea7fd737a7de66bff01398491e83f7d3904da0c5e451",
+ "chksum_sha256": "df6d2b3a3d7a67ce3759464bf144b6a71d61afa348cfda6faea7707ab93acf21",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address",
+ "name": "tests/integration/targets/nxos_snmp_user",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/tasks",
+ "name": "tests/integration/targets/nxos_snmp_user/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_snmp_user/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_snmp_user/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_snmp_user/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/meta",
+ "name": "tests/integration/targets/nxos_snmp_user/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/meta/main.yml",
+ "name": "tests/integration/targets/nxos_snmp_user/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/defaults",
+ "name": "tests/integration/targets/nxos_snmp_user/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_snmp_user/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/tests",
+ "name": "tests/integration/targets/nxos_snmp_user/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/tests/common",
+ "name": "tests/integration/targets/nxos_snmp_user/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim_rp_address/tests/common/configure.yaml",
+ "name": "tests/integration/targets/nxos_snmp_user/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5860ed215f27147987c62a8541f96530427cfadc64b6ce13e849a6785275c8ca",
+ "chksum_sha256": "cc18bce3cf7f8a257784f7d4e432ef00b535bfe73b057d661756f364bcc9d176",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain",
+ "name": "tests/integration/targets/nxos_evpn_vni",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/tasks",
+ "name": "tests/integration/targets/nxos_evpn_vni/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_evpn_vni/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_evpn_vni/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_evpn_vni/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/meta",
+ "name": "tests/integration/targets/nxos_evpn_vni/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/meta/main.yml",
+ "name": "tests/integration/targets/nxos_evpn_vni/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/defaults",
+ "name": "tests/integration/targets/nxos_evpn_vni/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_evpn_vni/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/tests",
+ "name": "tests/integration/targets/nxos_evpn_vni/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/tests/common",
+ "name": "tests/integration/targets/nxos_evpn_vni/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_domain/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_evpn_vni/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d5ce98107789e4105c99fef3d305b6b7099cf14b564000fe960cc6861772e803",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "feb636a1cf337d091e427267dc9639d6fd2a5a481a9fd73cc830618990dc12af",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tasks",
+ "name": "tests/integration/targets/nxos_vtp_version",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tasks/network_cli.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "29b863033e05757e739075e995a668f9bcc014a0e214ac894ffa9af68bd781ce",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tasks/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "5a0047c8f02776d1bffe8d2ced68ea4c0f823708554f48419af32b1b7172a1a9",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade",
+ "name": "tests/integration/targets/nxos_vtp_version/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/main_os_install.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "bc3281050236443452b55b83c4c3f32be752eb802c09c730e36e06ee7ef7ca31",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/install_os.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d774b3f202b5780184d96cdb5ac41b3db3540d09f575f0c8b0840a3509fd75bb",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/copy_kick_system_images.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "71f8a18402f8b4c95d4bdcb1f4fc6542ce6b9671ea246c44fe9acac70bbd562d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/enable_scp_server.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "2f94537521756c0171b570da8d8012aa47441ed01f2085c5e0c4ce1c80d6dbf3",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/delete_files.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f770f6c4e52488ddd7b0c1dd5c61ef6f7f2dfb329cbae4337e0845567fa3e113",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/install_with_kick.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "bf39d3606053aeface47d66b776a0f8ed281c130cf0258ac09e8a0a759076df4",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/install_system.yaml",
+ "name": "tests/integration/targets/nxos_vtp_version/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d7225266ebf0be4737420a6d63a5cd3c77d3b6cfde7bd0f1c7eded1ebfad70b7",
+ "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tasks/upgrade/clear_persistent_sockets.yaml",
+ "name": "tests/integration/targets/nxos_vtp_version/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2fcf3f5178da21851bf3cd61610f645b242d841bb553acc94fa88c003c8849e5",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tasks/httpapi.yaml",
+ "name": "tests/integration/targets/nxos_vtp_version/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1c9ccfa8d43479520eb4cffae188c452027a694dd86a02bd92d31b5843301ad5",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/meta",
+ "name": "tests/integration/targets/nxos_vtp_version/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vtp_version/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "efb275d54a7c21fd007e1d1c8b10b65d148a9121af425a4e7fbd60abacd23fc8",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/defaults",
+ "name": "tests/integration/targets/nxos_vtp_version/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vtp_version/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a79b77c93a1982c2682c177681bfcef5f3fb3421e3ef10be452fc81dc3ce8871",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests",
+ "name": "tests/integration/targets/nxos_vtp_version/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common",
+ "name": "tests/integration/targets/nxos_vtp_version/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n3172_greensboro.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f26347411b88b126bce20f80dca17f5726cc830996a1d8bd6119b73647bea681",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n9k_greensboro.yaml",
+ "name": "tests/integration/targets/nxos_vtp_version/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7a09f37097e9dbedf717f83715339eb5397073ac3909bfd0cae6f874d3cd6342",
+ "chksum_sha256": "e33039720ba0e6ccc73fe5d38aaa4c2d1284afbb89058f6fe98c1a09d2a30638",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n7k_atherton.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f72c407c1bedf043f2a763f9db8de4c28cb40cd3f55a99180c0b54f46bc9910c",
+ "name": "tests/integration/targets/nxos_ospfv2",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n5k_730_N11.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "744e3327618fd03cced8667aa2dee9cd691c358777ecb1dc741abf3c8dc18484",
+ "name": "tests/integration/targets/nxos_ospfv2/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n3172_u63a.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c37931cb7c45570fe30f100fb278e26b7b94b7848d59ad8b6dbdda0670534452",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n9k_hamilton.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "669ba59d9d909f0d42d6e69ae0ef3e6e1d4c33995a4658761f0b2884113cc041",
+ "chksum_sha256": "7826463ba77fb2f0f2bb32a0e02ce314ce3a06762e189598970cc26dd17828b1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n35_greensboro.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bf8414d8d1327c0db9056739e1b39b673abe37e939356efd1ef96ade985ccffc",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n9k_greensboro_force.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "13e87f23b456e285da0593775bfe2b876d167922ce61a4ba47a668cb0b0d82bb",
+ "name": "tests/integration/targets/nxos_ospfv2/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ee3909a9cbc7c9f42f3b146f122a61bdc2adada843b80ee111fe024dfa5c0d33",
+ "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n35_62a88.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "c041886e29ede3a58d17f0e6d281d5dd458095369130bed0e617ffb200824743",
+ "name": "tests/integration/targets/nxos_ospfv2/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n7k_helsinki.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c023ec2f8677adcd41bd418bb5e35d3c82dc0636d9d41c45a2074b32891214be",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n3172_u61a.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "147279cb89618d50352ab1e86d4e939a3f3e0594cf28aec862eb867e1bdfc307",
+ "name": "tests/integration/targets/nxos_ospfv2/vars",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n3172_u62a.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9ee1eb9e5b4f1fea2c930c8a7c48eaf4708576b9af88c29f280f3dabcec163fb",
+ "chksum_sha256": "61311d9ddd2174a10efead34de8526412e4c4d438600cf5a3ff852ec8692c4f6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_install_os/tests/common/upgrade_n5k_733_N11.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "7efa46e2021391e0fc9114f1b132861cd3614b7ec0064425b46ed876c81ea0f1",
+ "name": "tests/integration/targets/nxos_ospfv2/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/tasks",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/fixtures",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "4ad11ae9e094b6bc2d4286b05967979551104857b314aa8af9afee18cdec2d4a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "b1738278980bd3d3426805bcd85053668078a6b992627d9119043bc29161ea8e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_aaa_server/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "ddfff25fc88c57f108a7ed89d11d6df5c2233b27eac626512dc63709325fcf85",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/meta/main.yml",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "69ef5f767607840c90b3cb9b80ca6eae206df8ec8a48b850dc47adbcf4b11aa5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/replaced.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "7a00b8609854d6a88cc33f870793ec8972cd5d81ae8dcfed33fbbca19938ce69",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "de58bef72adb70191cc8d212367d3332359130dbaf399807962787d1df375915",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/_remove_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "c5bb202379b75e7aaffb216dd2e42b234acf1ab4fc0679f470fc01c67b309b27",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/gathered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b8b689385d369d30980492e63bb16f13719d27452d738494899f85539130b2b5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/tests/common/tacacs.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "309cf43dacad631085bfede9a52ee2e7bdb4763488463bfb96dde11184bbe0fc",
+ "chksum_sha256": "77ed312700fb0471e6e108949f8b983d6c418f0187b84b569551ce3c8205ce0c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_aaa_server/tests/common/radius.yaml",
+ "name": "tests/integration/targets/nxos_ospfv2/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "08fe50e81078371eff5d9482f9b7721eb6fd1288ccc88f11b8b42f94270df4ef",
+ "chksum_sha256": "0a3077084e8ed39aae3bc10055bbff711e7d40af65e514c7ecd99bffaad96bfc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth",
+ "name": "tests/integration/targets/nxos_bfd_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/tasks",
+ "name": "tests/integration/targets/nxos_bfd_global/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_bfd_global/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_bfd_global/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_bfd_global/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/meta",
+ "name": "tests/integration/targets/nxos_bfd_global/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/meta/main.yml",
+ "name": "tests/integration/targets/nxos_bfd_global/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/defaults",
+ "name": "tests/integration/targets/nxos_bfd_global/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_bfd_global/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/tests",
+ "name": "tests/integration/targets/nxos_bfd_global/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/tests/common",
+ "name": "tests/integration/targets/nxos_bfd_global/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ntp_auth/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_bfd_global/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8e17189f259b91c17e7264d272ac181275b6b550180c1703b6c97e7dd4ed5b46",
+ "chksum_sha256": "302caab98adbe8644dc6652426b6e9300fc4d8fbc1a479ee7aeaf54d6a23da59",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces",
+ "name": "tests/integration/targets/nxos_l2_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "c0ff0c24a2fb4a8aa58a6356c5029065acb6cf1aba1e14add135ff69c8d1387b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/meta",
+ "name": "tests/integration/targets/nxos_l2_interfaces/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_l2_interfaces/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests",
+ "name": "tests/integration/targets/nxos_l2_interfaces/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_l2_interfaces/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "80f38875da077b4094678a1b0d5fa1dbb55a586037c541d4daec3b3b8adca944",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "5ae69e8c5e516df2c81671c0360b711f53a426f7e2a4b1f7a24b422257f304a4",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "62ca1f227ad278d7c4554e39d7368212b7004426b9c43bcc2bf1456f27e6ab98",
+ "chksum_sha256": "3c30f97c6ae729fd7b3d88a3e7b6671c761ea07061ead87487979c013835b99c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ea101ba2a00ebe731b075245fdac99f96d8536a8dbd4b1f3f41aa0bf3863713e",
+ "chksum_sha256": "b6d84fa1c22c5e2d37b017a18ed59903fab43314717b4d632a46200d745318c0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c290a62babd394680c978ea09017b67507be0351b51e46c746a874320362e8ec",
+ "chksum_sha256": "c58134a7c574f9d19d3012c238b2be0d4983d6d856a11e9f6ee089c3df5ec6b4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7619a726b4e64d1bd47dadee8ec75a16d3b2bdc44b6d82d82bd56e38ada9c86b",
+ "chksum_sha256": "9e1b2b7044a678c22cccca3dcc5c677fccf40a509764b7ecf5c8dfeecf4781d8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0f9f2f61c2ed959758be49bd3a688b41c8a536d857d83e57cded8dbf1b1a72b2",
+ "chksum_sha256": "aeb7c65908e1aee314df87a9afe8c2f4dc1e1b21e41ca8a03f2991597dfd0685",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d8f3f3ddd194db7f9b22519fac0e45a4c3529b3beaf85c2f15780daaa1cac4a0",
+ "chksum_sha256": "3644170fb7b4322fa4d272cd5d5e351480018b485a065fa7131fb3f6f5e2f353",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/rtt.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7fba7cbbd3ce552b4dbe95b0929f2264f20fca017fd8d49dcbfcf704234fee03",
+ "chksum_sha256": "148ed76eb41828c2417439c0b443097a6f2f9d1fa88a4abad48bd8e62de30c4e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3e5be532a772bae7c777ccff5a0bd7873f6d67fd9cfc19ee1148d34381a7e6a7",
+ "chksum_sha256": "6c1ffa21ffa7a57ae8edbb0a72820f4ec4e7947ba1ee5a1548473e81efec8724",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d3e63a62df68b89bd619c1bd5632735df0c735ed4fa2cd9201bd1ba31faf87e7",
+ "chksum_sha256": "a2a0ff901006be504934a514a2f337a699091eef58ab871fb32e426af1d6f6fa",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "f018dcb8d9a42d8930b0d10f62ed931546d66f2998aa42ce95f655d299dbb35b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_l2_interfaces/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adb8824233c88430d3737a53e2cf1a939138f4f56b1aee31f730895793eb72b2",
+ "chksum_sha256": "b9322c7dd05de65b972eb0bb02c699c4368fc68bb97dd155a05ed98dd304448f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces",
+ "name": "tests/integration/targets/nxos_snapshot",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_snapshot/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_snapshot/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_snapshot/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b9647339f89f9eeca01a09cd4f31da21e0c0c2f10793ea3ea06c24fd8664046e",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_snapshot/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/meta",
+ "name": "tests/integration/targets/nxos_snapshot/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_snapshot/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_snapshot/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_snapshot/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests",
+ "name": "tests/integration/targets/nxos_snapshot/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_snapshot/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d6daa4d3b2cb43c7b62b7606b80b4f212348ecb1e28a516d16ac90e02f459266",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "4af7dc65128b02d59c3c12d5f94cfc4a77c266e867b79b172fc6425c871f9ffd",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_snapshot/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2e4441e52874693cf2caa332a4639c23ad59350a6eda4e9c5109a9792a306447",
+ "chksum_sha256": "171022870f501d3dcb8c73978ee34038cb5e65c32786bbabc9f638c9ae04be4d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/empty_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "96cae582141397682d092a6b5d6de9651b6203157e891342063c439ffb130a4d",
+ "name": "tests/integration/targets/nxos_command",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/merged.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "53c3cd45c91dd6078cf71ea7a9973d65069a61eaef47c49a51c7b66355970a63",
+ "name": "tests/integration/targets/nxos_command/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_command/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "96e1c7636b178b2ae705ac0d7dd2ea67a4d4c1aaf29122900549bde0da43b4de",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_command/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "76ea0558de38d30dd8813738f9d92fba9867c7d37fcb2a104acaaf5aeebb12af",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_command/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "08e830f9373a4a360949e7c56cf2c374dad94a559adbde314f3b66daa642a0c8",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/parsed.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "c10b8ab6302c0df3b5d8c99d1f67a9d92b80b518250c11e650dde96bc8f6b886",
+ "name": "tests/integration/targets/nxos_command/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_command/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6eb88f454c810cee9cf1be9fc56eb6a574516fc49bddc50e81f329dc98cfb9eb",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/vars",
+ "name": "tests/integration/targets/nxos_command/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lag_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_command/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "05455a29f1db6e4d3602a83b356d9d7353037b1ef0627d2d2943b43520af76e6",
+ "chksum_sha256": "665288590cd4226da42511817f09ccdfc92df36c9621583cd2c82919af295c5a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_af",
+ "name": "tests/integration/targets/nxos_command/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_af/tasks",
+ "name": "tests/integration/targets/nxos_command/tests/nxapi",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_af/tasks/nxapi.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vrf_af/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_command/tests/nxapi/contains.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "5e366cc4b346ae49a4b6ffc53630caa1c99a8e85cd28c8adaf7b1bf4cdc0cf9c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_af/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_command/tests/nxapi/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8d37308cf2225418b5fab604f2b171a1aafbaa84be0c933a48ec0f153d7119ad",
+ "chksum_sha256": "54d18e3242c76aa88bc82a7a916bbdb6beff7ce3b5b70a651a821cf6c7942e79",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_af/meta",
+ "name": "tests/integration/targets/nxos_command/tests/cli",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_af/meta/main.yml",
+ "name": "tests/integration/targets/nxos_command/tests/cli/contains.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vrf_af/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "ac46a36b0b073fcb691e33c0602443a2bef31fac538dd68d2c9d78edce98f1d4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_af/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_command/tests/cli/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vrf_af/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vrf_af/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "41b22e35084ef1e82fe5fbe12cb7eec0591d256af60a6acdea4c26138a4b4b97",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_af/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_command/tests/cli/cli_command.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "df6d2b3a3d7a67ce3759464bf144b6a71d61afa348cfda6faea7707ab93acf21",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_zone_zoneset",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "c8dc21d11e5f13aacc82d1a8872ad62b00551edff6284a36a02eea970b73a9d2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/tasks",
+ "name": "tests/integration/targets/nxos_command/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_command/tests/common/output.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f47853340600c1c9b76ed00695079b203ae45896e40acfac2f48e28f2ad98b40",
+ "chksum_sha256": "afc13fd26c10d41c29bd89f7b874d6c06a2636cbb434069506a9f30cb9da907a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_command/tests/common/bad_operator.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "a929284d3616cf3d0ce228bff6a002588943bcf4a85f5403b519a1e46950a3b9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_command/tests/common/lessthan.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "eb9067d3cfdd75f94ac2748f0742c1c61717a3798292cba7042c806fc0488fb3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/meta/main.yml",
+ "name": "tests/integration/targets/nxos_command/tests/common/equal.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
+ "chksum_sha256": "78ffc32b0c96adc09c9321e1d12fbb5c91908419e857e25e4a4ac7839cc0610c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_command/tests/common/greaterthanorequal.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d6f816b5c0dcbe205f7d8e6f1a773d71276fcb9874a1c4b8a0d10e4804632301",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_command/tests/common/invalid.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "f8d3206de3a49dfbf253bca6957a915f6fb10c3f0411f102de10841ff6094d90",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_command/tests/common/greaterthan.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "3dde04a006eb5b001ed0f80589e92b4fdaa9a939dd4ae904cd63af915bd938f5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_command/tests/common/not_comparison_operator.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "30280c74bc0f1e1a85cafed4144bf12ba196ca4e86db30161f64b26d84951012",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_command/tests/common/timeout.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "781a480d71c224fb90d67eba3072492ff3f2d263df13ec8c735cabec41956751",
+ "chksum_sha256": "c859bb27d5fc01d07c00c6ce3125c74666663ccd7a9b08d9cf1a1b7385115f0e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_command/tests/common/lessthanorequal.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "5c90dcce9d2d647a50d1c9db4248293535b7d75352ecffd152e877ab13940787",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_zone_zoneset/vars/main.yml",
+ "name": "tests/integration/targets/nxos_command/tests/common/notequal.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "97b10ee26b05c01b328d79887c41479bd2bf559184fb1df4af53645db6e109ba",
+ "chksum_sha256": "b12ffe1eb63e9b2854d5c509145508207bb471df7e881218c014a7fab0f41bb5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy",
+ "name": "tests/integration/targets/nxos_vtp_domain",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/tasks",
+ "name": "tests/integration/targets/nxos_vtp_domain/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vtp_domain/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vtp_domain/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f6bf1e5e97ebdee9d3da5227017b650cf6de337ae6ce68cee739acf39a32ec81",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vtp_domain/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/meta",
+ "name": "tests/integration/targets/nxos_vtp_domain/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vtp_domain/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/defaults",
+ "name": "tests/integration/targets/nxos_vtp_domain/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vtp_domain/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_file_copy/tests/cli",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_file_copy/tests/cli/input_validation.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "86642c6a7b15cbac85986a618de3eea6d741cb9819a4b7896570ab07e6033a8c",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_file_copy/tests/cli/negative.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "0a918d9c6433c61aea340e1c0c94ef62d409893bfe7fd1858386da4422c5e208",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_file_copy/tests/cli/sanity.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "021893730c6fa627193f1b0189476630b88aef49449b7b7e2b0516acc288231d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_file_copy/tests/nxapi",
+ "name": "tests/integration/targets/nxos_vtp_domain/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/tests/nxapi/badtransport.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "21427f41984508b9839c2f35a72d67fd2cf22fcd68d619118a5b5515d2268668",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_file_copy/fixtures",
+ "name": "tests/integration/targets/nxos_vtp_domain/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_file_copy/fixtures/data.cfg",
+ "name": "tests/integration/targets/nxos_vtp_domain/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ef43c9adc8aeec6910b4373ba0d9fbf28048ed53ec631ab9fd6fa8ad00a8a3a0",
+ "chksum_sha256": "d5ce98107789e4105c99fef3d305b6b7099cf14b564000fe960cc6861772e803",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global",
+ "name": "tests/integration/targets/nxos_udld_interface",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/tasks",
+ "name": "tests/integration/targets/nxos_udld_interface/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_udld_interface/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_udld_interface/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_udld_interface/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/meta",
+ "name": "tests/integration/targets/nxos_udld_interface/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/meta/main.yml",
+ "name": "tests/integration/targets/nxos_udld_interface/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/defaults",
+ "name": "tests/integration/targets/nxos_udld_interface/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_udld_interface/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/tests",
+ "name": "tests/integration/targets/nxos_udld_interface/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/tests/common",
+ "name": "tests/integration/targets/nxos_udld_interface/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_global/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_udld_interface/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9190f2d0dae47c3b29ebe68f89ec9e3b88f0af56af489b15624cf99c86415d9f",
+ "chksum_sha256": "3cd8d7eab5171ab6ad59ea7fd737a7de66bff01398491e83f7d3904da0c5e451",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni",
+ "name": "tests/integration/targets/nxos_aaa_server",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tasks",
+ "name": "tests/integration/targets/nxos_aaa_server/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6fa74ca9eef193774b0257522c64344fa2c8851398dc0acd94e161192cc0015d",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/meta",
+ "name": "tests/integration/targets/nxos_aaa_server/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/meta/main.yml",
+ "name": "tests/integration/targets/nxos_aaa_server/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/defaults",
+ "name": "tests/integration/targets/nxos_aaa_server/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tests",
+ "name": "tests/integration/targets/nxos_aaa_server/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tests/common",
+ "name": "tests/integration/targets/nxos_aaa_server/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server/tests/common/tacacs.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "81ba6bdc57dba2f0adc0b293862db415cb6aea44ae3793cbb0c755ea01c073a9",
+ "chksum_sha256": "309cf43dacad631085bfede9a52ee2e7bdb4763488463bfb96dde11184bbe0fc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tests/common/multisite.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server/tests/common/radius.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7127fe8481d55865ca7043a159fb4c4a6e02423899c7143bbb548aff0f3728e4",
+ "chksum_sha256": "08fe50e81078371eff5d9482f9b7721eb6fd1288ccc88f11b8b42f94270df4ef",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command",
+ "name": "tests/integration/targets/nxos_l3_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tasks",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "2418a2ada8700c06969324411c9be328b4d4ad913c6eb93fb824dff96900ff8f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/meta",
+ "name": "tests/integration/targets/nxos_l3_interfaces/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/meta/main.yml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/defaults",
+ "name": "tests/integration/targets/nxos_l3_interfaces/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "665288590cd4226da42511817f09ccdfc92df36c9621583cd2c82919af295c5a",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests",
+ "name": "tests/integration/targets/nxos_l3_interfaces/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/cli",
+ "name": "tests/integration/targets/nxos_l3_interfaces/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "24e5a4f2e7330b185775678aa68b4645786e83617b90d5a32fb4ff4b77b345ad",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/cli/contains.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "ac46a36b0b073fcb691e33c0602443a2bef31fac538dd68d2c9d78edce98f1d4",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/cli/sanity.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "41b22e35084ef1e82fe5fbe12cb7eec0591d256af60a6acdea4c26138a4b4b97",
+ "chksum_sha256": "5e2abf21e437435b96d94e3a1c900ac1284a39092f3b0b1d19e8d5d7544a8424",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/cli/cli_command.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c8dc21d11e5f13aacc82d1a8872ad62b00551edff6284a36a02eea970b73a9d2",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_command/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "e7555ee3d0322003861d6c2d810ec490027b8d792e8800c7e9a46fab869b1c92",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/lessthan.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "eb9067d3cfdd75f94ac2748f0742c1c61717a3798292cba7042c806fc0488fb3",
+ "chksum_sha256": "1676a953c0e740cc280155ea76e6368fd5628556cdc0acae19e1834b40721681",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/invalid.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f8d3206de3a49dfbf253bca6957a915f6fb10c3f0411f102de10841ff6094d90",
+ "chksum_sha256": "ef91b776e8c9627a55cc9759549aaa7482e0f7da4385079443b8e8f1d8d40b8c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/greaterthanorequal.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/multisite.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d6f816b5c0dcbe205f7d8e6f1a773d71276fcb9874a1c4b8a0d10e4804632301",
+ "chksum_sha256": "b0b3ebe6d2d7db422ec1a046818ce06ddf83ef9f32a9178691d732b0824b4da1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/equal.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "78ffc32b0c96adc09c9321e1d12fbb5c91908419e857e25e4a4ac7839cc0610c",
+ "chksum_sha256": "c670083adeabaa18419eea52a2297aeea81b1a5635718b95aebf3d1955f78385",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/bad_operator.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a929284d3616cf3d0ce228bff6a002588943bcf4a85f5403b519a1e46950a3b9",
+ "chksum_sha256": "9dbc4efa7c9e6843b987aa6286ba0de836129c75b66249ab846fee2012fc2394",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/lessthanorequal.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/rtt.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5c90dcce9d2d647a50d1c9db4248293535b7d75352ecffd152e877ab13940787",
+ "chksum_sha256": "d660e4e5717467104076599f04b44aca40bbe45b79eb5e5554cb1ff390feb405",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/output.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "afc13fd26c10d41c29bd89f7b874d6c06a2636cbb434069506a9f30cb9da907a",
+ "chksum_sha256": "4c8ea6a0bd93a5ae1092362c88b1eb6ed13a086968841b5d68654677741714dc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/greaterthan.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3dde04a006eb5b001ed0f80589e92b4fdaa9a939dd4ae904cd63af915bd938f5",
+ "chksum_sha256": "858bc39fea4f9cedff070a248b5119124852eeb9237388ef833c414510dbf24c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/timeout.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c859bb27d5fc01d07c00c6ce3125c74666663ccd7a9b08d9cf1a1b7385115f0e",
+ "chksum_sha256": "f274f91771b34f2246ee4fa58bae6acd7fafb0ea1f1efb04ffb362cfd1678de3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/notequal.yaml",
+ "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b12ffe1eb63e9b2854d5c509145508207bb471df7e881218c014a7fab0f41bb5",
+ "chksum_sha256": "3a640fd87c6717d5876b64797f7d0092fd6673272fc5a674bde3cf5ed78e8b79",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/common/not_comparison_operator.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "30280c74bc0f1e1a85cafed4144bf12ba196ca4e86db30161f64b26d84951012",
+ "name": "tests/integration/targets/nxos_overlay_global",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/nxapi",
+ "name": "tests/integration/targets/nxos_overlay_global/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/nxapi/contains.yaml",
+ "name": "tests/integration/targets/nxos_overlay_global/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5e366cc4b346ae49a4b6ffc53630caa1c99a8e85cd28c8adaf7b1bf4cdc0cf9c",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_command/tests/nxapi/sanity.yaml",
+ "name": "tests/integration/targets/nxos_overlay_global/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "54d18e3242c76aa88bc82a7a916bbdb6beff7ce3b5b70a651a821cf6c7942e79",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global",
+ "name": "tests/integration/targets/nxos_overlay_global/tasks/platform",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tasks",
+ "name": "tests/integration/targets/nxos_overlay_global/tasks/platform/n7k",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_overlay_global/tasks/platform/n7k/cleanup.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "280d285e1a9b531b25d8b880d3a032933d7135004c4658b7f1eb4872c60cc666",
+ "chksum_sha256": "6fe5dccac28d950d4f93db2d5dd8d2d53f974b51a0c07a9371165a7fd9b20585",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_overlay_global/tasks/platform/n7k/setup.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "1f41e716a6ee3d52141e15b1cf8d8a62a6656066f9761e5438f18b03b64148ba",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_overlay_global/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fe84894e2a9ff992a755f52f856ff23c23dd249fb9fe14dc4f264cd1a6070e12",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/meta",
+ "name": "tests/integration/targets/nxos_overlay_global/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/meta/main.yml",
+ "name": "tests/integration/targets/nxos_overlay_global/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/defaults",
+ "name": "tests/integration/targets/nxos_overlay_global/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_overlay_global/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tests",
+ "name": "tests/integration/targets/nxos_overlay_global/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tests/common",
+ "name": "tests/integration/targets/nxos_overlay_global/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/parsed.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "ca1cd52e0c16bb7a97f9e1aa4eb9c49600b25854f35a93b0bcfeaf3ead1e7c07",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/_remove_config.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "339639545338297ee483c8e1370eeefc88356fceb240523dbbc6d8c237444982",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/gathered.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e5f9f21d8529dd8144e8259391a04642355d3f3c9063db5a27472a5180d6b7dd",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/merged.yml",
+ "name": "tests/integration/targets/nxos_overlay_global/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e82eb173fbdc3209c167bc096bf1665240e72b24a34f75c19ec1a3b7c5d4c8d1",
+ "chksum_sha256": "10d3d02705dac2e31ab7424914f1dc74d20c5cf799141c26ac2e47ec2c68e1b4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/replaced.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "a62a8ac1f40b48c56dbd06eb543897331236925608b859a758f1c91037f17455",
+ "name": "tests/integration/targets/nxos_bgp_global",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/deleted.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "ffe0021fbc8bd39a7990267dc791d78f2571f3285efd5fd1244c68159ffca98f",
+ "name": "tests/integration/targets/nxos_bgp_global/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/overridden.yml",
+ "name": "tests/integration/targets/nxos_bgp_global/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8aeec5521c22e513a4e736c9b51461285abce953173508ae28fb02ecef95952a",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/_populate_config.yml",
+ "name": "tests/integration/targets/nxos_bgp_global/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c7bacd3b7cb077dc6895ecf350711c1bf39e18739a361f6cf514e9dd4d6355f3",
+ "chksum_sha256": "05625917ea950a0b177ebb25c692ba215e247b2f17a15309a86430a5871f5672",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/tests/common/rendered.yml",
+ "name": "tests/integration/targets/nxos_bgp_global/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "18c1848ef28d20fffd52045955b5a54ca72aea45d5c2ff9060d8856aeeb7162a",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/vars",
+ "name": "tests/integration/targets/nxos_bgp_global/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_global/vars/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_global/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ac136582618b2844cd5bb84e0aaf52f6b4e7a6ea581a0fa0ec5466e9c9c3bd68",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bfd_global",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_global/tasks",
+ "name": "tests/integration/targets/nxos_bgp_global/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_global/tasks/nxapi.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bfd_global/tasks/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bfd_global/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_global/meta",
+ "name": "tests/integration/targets/nxos_bgp_global/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_global/meta/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_global/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "5664e0d1a4c541d53f188ff988aafdf4f1802b97ff08c51fc128574ae38ce63b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_global/defaults",
+ "name": "tests/integration/targets/nxos_bgp_global/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_global/defaults/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bfd_global/tests",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_global/tests/common",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/fixtures",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_global/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "302caab98adbe8644dc6652426b6e9300fc4d8fbc1a479ee7aeaf54d6a23da59",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_logging_global",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_logging_global/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "52efea9c016168ecd2fcd4012748fdd81f2753c77b4cd322e5628278cf36a227",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "5ad0de011701b4094ceef2432d855f96f3441d92e71e69dcd959cb05e86ba9ef",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2396a1bb62aa2d673208deb59766a787971d061630b8467afa525b7fdcb2e95e",
+ "chksum_sha256": "35205173a9b4c2cdbf46f89706c24e10a7db1671892f25e7598957b6cd5424c2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_logging_global/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "bf494eb0d9629da4381465012ca762ab8ec270ac5b9270f7b2206f6e50eb2df6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/meta/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_logging_global/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "73a38ab49a6c4f73b8e5d6b5ff301846e40a8d55b18fe61d0647b6c54cac5688",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_logging_global/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "e6dc32ce625064b12bbb4bf361b4b9a56df6792af52c16d6bcda508de05bea6f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/deleted_af.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ef14541859231625e08fe2b53fbf4b8f6e64bcea02d4bb987038b915725abeab",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "619954ad3ae24e83760fb7b9f09daaf010f96020056398fe49a04001326f72c8",
+ "chksum_sha256": "c07047642c717ad5e564697143a11e7cc93a18376d91ee56dc5f44f3d19e22b5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "926b1b20a7babe989cc2f1b3e34a16d08368817d3ef38d6903650a294a42cc3a",
+ "chksum_sha256": "d96baf5dc0a51ac1a75147a0591b62dd0d0429b6f48ed375f6e41e73d43a21ed",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7c13b226487605fb6b6c73406c97a1972ed4c1995825124cb426d64eaac1a2ec",
+ "chksum_sha256": "b605ca79e5cc2cdb7f664f1aec94711594f2f485adfc760cbcea01b01e2b25f9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/replaced_af.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b1658713d71b118aec3c1e27ae2d2453c239d56b32e3c6d816f5187796b40c7c",
+ "chksum_sha256": "bf31728c79fcf0b446ffd43fe431bc399513af80a6e363931a9f16fc611bf921",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82ec13620a0c096e01a22d68b13c59798667ca68d3ddbbc1be802ff3f415a562",
+ "chksum_sha256": "ff3eb25121425c6e970238566923eca969ba8f67f60e6fa8ef5c1516ca5757bd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/purged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "04822e2f3237fcae131842012a520b5fde51c1fd4b381ab86aa055d7c076f867",
+ "chksum_sha256": "43b3e83056042eb41ac0a74dc11eca0c07bec178548807f56d79e5d211f75360",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_global/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dd0584d7e6d6a3aa5942acda6002b2e13a2bd64d59ee04dc5122274268676cc8",
+ "chksum_sha256": "acd7172ee28b6a88b6f7a8a95548988e2c6ed27804288daec18676481280cb08",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/fixtures",
+ "name": "tests/integration/targets/nxos_file_copy",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/fixtures/parsed.cfg",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "3a97c562338de257e93908f409c770a5439d362fcddcdb8d939dc7ff2e7002c6",
+ "name": "tests/integration/targets/nxos_file_copy/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_file_copy/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dadff9821e586c3a062c7ac4b2936903359a8fc4b2f4cceeb466f558c82b52d1",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_file_copy/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d952ab3ac507f65ff98eb58e380db0abe1583198f653d77beaa4e384929ad698",
+ "chksum_sha256": "f6bf1e5e97ebdee9d3da5227017b650cf6de337ae6ce68cee739acf39a32ec81",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_file_copy/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b4a5f8a10bd86d7609cb6688523bc611e052260c4a06bf9cf202f33eee40a1f5",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/vars",
+ "name": "tests/integration/targets/nxos_file_copy/fixtures",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging_global/vars/main.yml",
+ "name": "tests/integration/targets/nxos_file_copy/fixtures/data.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "15f80d89c3629bea0c669753c52136268f11e94a83ba6e69411fc96ab8449457",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vpc",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "ef43c9adc8aeec6910b4373ba0d9fbf28048ed53ec631ab9fd6fa8ad00a8a3a0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/tasks",
+ "name": "tests/integration/targets/nxos_file_copy/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_file_copy/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/tasks/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "name": "tests/integration/targets/nxos_file_copy/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_file_copy/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/meta",
+ "name": "tests/integration/targets/nxos_file_copy/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/meta/main.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vpc/defaults",
+ "name": "tests/integration/targets/nxos_file_copy/tests/nxapi",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_file_copy/tests/nxapi/badtransport.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "21427f41984508b9839c2f35a72d67fd2cf22fcd68d619118a5b5515d2268668",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/tests",
+ "name": "tests/integration/targets/nxos_file_copy/tests/cli",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_file_copy/tests/cli/negative.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "0a918d9c6433c61aea340e1c0c94ef62d409893bfe7fd1858386da4422c5e208",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vpc/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_file_copy/tests/cli/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2df57c902caed23947093482590483584784db8850c51e6efe545b314895eaed",
+ "chksum_sha256": "25a997ce10f97d08a348b04eb8e123dd4b6b7a6aaa035e5f2c45ef99f985f94c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp",
+ "name": "tests/integration/targets/nxos_file_copy/tests/cli/input_validation.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "86642c6a7b15cbac85986a618de3eea6d741cb9819a4b7896570ab07e6033a8c",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_ospfv3",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tasks",
+ "name": "tests/integration/targets/nxos_ospfv3/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c0ff0c24a2fb4a8aa58a6356c5029065acb6cf1aba1e14add135ff69c8d1387b",
+ "chksum_sha256": "dd759468c5cc871fb7737ff3d8d736515fc4a391944ba48e311bd8e9cf4015bf",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/meta",
+ "name": "tests/integration/targets/nxos_ospfv3/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/meta/main.yml",
+ "name": "tests/integration/targets/nxos_ospfv3/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/defaults",
+ "name": "tests/integration/targets/nxos_ospfv3/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests",
+ "name": "tests/integration/targets/nxos_ospfv3/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common",
+ "name": "tests/integration/targets/nxos_ospfv3/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "a58f6902557b2603f0814004741aba525b7a0950e5a11aa66b37c4955c16f39e",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_ospfv3/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "6c963e6f41c7e38e88e7f37dd8025ee75cd3970358d2568dc84a25bf0833c221",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5e8603749c8d553899ed39b13b3acd136e23d7bd3b09098fc55d615557712b8e",
+ "chksum_sha256": "98780d78ffa7990bb331aa22eb22a241c513c360e240824d45a7bf1de5be2ecc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dc7919875ac197ca437f1f27d4ace434975e7b0ebc59f0b9e76779b7c13300bd",
+ "chksum_sha256": "1668f415528b25d80c75d0b7d1429ad1f2998999e48a9c1103c194437b8d53c6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d05b5fe9f03352e3b8f7827b2dcf181df0e3c72fe956593e4da447c9d4f8869c",
+ "chksum_sha256": "3351bbfbf0d6d47b6d974a6520e49d2c2e37fe82c909425bc2b35fbd2a1c3619",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d7f405af0ba053d9e613e791943bc8133e6dbf994db877e876b7dbfcfead68cb",
+ "chksum_sha256": "dd6501583c6d35a54f84e67f7a3c089c3d327af513f2843227d760ec81b09f26",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c6245af2941f9a747ea7774bdad73686d4d453173680ea526ab20b52dba2f283",
+ "chksum_sha256": "c47c9c8159c406510ed5c37a849752430af675f5f74b2dee2d4361c5a4647ada",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a10bac016859ecead883b3a70c3eb13f70718ad9cdd2796b92294bb73bbee29d",
+ "chksum_sha256": "d97a097d36258f90bedf8acd4609bba2c4840b38c56f3cd6517e9fc394600f61",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "546c7e8f53d5167a0c5fb320ccd6b5e7db098829ce47de467b2e20856dd402c2",
+ "chksum_sha256": "6e1cddebab71b07ac4b62257a57ee91bb813c2d2a627f21fd1ddc848c5c71242",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e18104dcb23f633ded1a694fa4ecbf1df4e14a09620d260473341a8920698a",
+ "chksum_sha256": "52b75fde8bd0aeae9fa656b94f228d66f550904e311166923cfbd6ad3504ec3b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b9a08d012138636068569151cf4f74205676ea00cc6fccdc2e2627447110156c",
+ "chksum_sha256": "fbe1d547c87e7fce94633ac9d2659cf83c9f705225abd47e025752589adf5206",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "fdb04181004019fce7d2aa47598c99683fa0c17efda91a40679e647ae1080926",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lacp/vars/main.yml",
+ "name": "tests/integration/targets/nxos_ospfv3/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d990ef6f460be1be57ee33ce95b7fd66d05175e93e1e2716cce708d420a5d466",
+ "chksum_sha256": "cef0853f045225f3cfd3ac7b2362e20d12372005f8a175b973e60fa22c30e3b0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/tasks",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "6fa74ca9eef193774b0257522c64344fa2c8851398dc0acd94e161192cc0015d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c35d2ac52b14846e9fb2bba91ef7ba5f946b1cd2e47ed10c0b30941d6f9de766",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/meta",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/meta/main.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/defaults",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "665288590cd4226da42511817f09ccdfc92df36c9621583cd2c82919af295c5a",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/tests",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/tests/common",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_banner/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dcccaebec31acf1f9adfe71c2e5067fcb6c1416a7c63b077490beedfff6078ca",
+ "chksum_sha256": "81ba6bdc57dba2f0adc0b293862db415cb6aea44ae3793cbb0c755ea01c073a9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version",
+ "name": "tests/integration/targets/nxos_vxlan_vtep_vni/tests/common/multisite.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "7127fe8481d55865ca7043a159fb4c4a6e02423899c7143bbb548aff0f3728e4",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_pim_rp_address",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/tasks",
+ "name": "tests/integration/targets/nxos_pim_rp_address/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_pim_rp_address/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_pim_rp_address/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_pim_rp_address/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/meta",
+ "name": "tests/integration/targets/nxos_pim_rp_address/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/meta/main.yml",
+ "name": "tests/integration/targets/nxos_pim_rp_address/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/defaults",
+ "name": "tests/integration/targets/nxos_pim_rp_address/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_pim_rp_address/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/tests",
+ "name": "tests/integration/targets/nxos_pim_rp_address/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/tests/common",
+ "name": "tests/integration/targets/nxos_pim_rp_address/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_version/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_pim_rp_address/tests/common/configure.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e33039720ba0e6ccc73fe5d38aaa4c2d1284afbb89058f6fe98c1a09d2a30638",
+ "chksum_sha256": "5860ed215f27147987c62a8541f96530427cfadc64b6ce13e849a6785275c8ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts",
+ "name": "tests/integration/targets/nxos_rpm",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/tasks",
+ "name": "tests/integration/targets/nxos_rpm/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_rpm/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_rpm/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_rpm/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/meta",
+ "name": "tests/integration/targets/nxos_rpm/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/meta/main.yml",
+ "name": "tests/integration/targets/nxos_rpm/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/defaults",
+ "name": "tests/integration/targets/nxos_rpm/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_rpm/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_facts/tests/common",
+ "name": "tests/integration/targets/nxos_rpm/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/tests/common/not_hardware.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "933c388db57e0042a75290223a48d69efad1e524bce14f28f64694d34e3475e3",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_facts/tests/common/default_facts.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "08c3680a5a839d8e3b53515643f3773bb1d25de670124063d41ff3e0a7fd2713",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_facts/tests/common/invalid_subset.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d7ef14aa0d9ae451bba34e5fb2952f2034793f826a441cd042b03c34e0d78422",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_facts/tests/common/all_facts.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f737c75bd85a50361bfb755799335e3bf0044448e43308c6f4c3f9186a80b65f",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_facts/tests/common/sanity.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f15ccd5a6a25f5358288fb8ddb955a1b024c33c0d1f04df3811e03aabe460c32",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_facts/vars",
+ "name": "tests/integration/targets/nxos_rpm/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_facts/vars/main.yml",
+ "name": "tests/integration/targets/nxos_rpm/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "90b4146d19a8448ba711a28645cf964f8251d544bf1de77f552e08a1e60a9914",
+ "chksum_sha256": "70447866be2605ad11b7abd82e4ae0000992bbdb0d143e90b86c0b4905ba1d19",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature",
+ "name": "tests/integration/targets/nxos_gir",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/tasks",
+ "name": "tests/integration/targets/nxos_gir/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_gir/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_gir/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_gir/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/meta",
+ "name": "tests/integration/targets/nxos_gir/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/meta/main.yml",
+ "name": "tests/integration/targets/nxos_gir/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/defaults",
+ "name": "tests/integration/targets/nxos_gir/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_gir/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/tests",
+ "name": "tests/integration/targets/nxos_gir/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/tests/common",
+ "name": "tests/integration/targets/nxos_gir/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_feature/tests/common/invalid.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "9876fc00630984bf3f7c6a0ce6e7a75b67d4c2dc198fe91c2d4dcaef40fec816",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_feature/tests/common/configure.yaml",
+ "name": "tests/integration/targets/nxos_gir/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "89d6028b9ede5f5589b6786b029044d9cdf739f164d0a593ecacb564588acfe5",
+ "chksum_sha256": "13582ac62b7614778bc62c5a6f93a36a920e8664812b73a2b0903af35c2fe1da",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni",
+ "name": "tests/integration/targets/nxos_igmp",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/tasks",
+ "name": "tests/integration/targets/nxos_igmp/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_igmp/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_igmp/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_igmp/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/meta",
+ "name": "tests/integration/targets/nxos_igmp/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/meta/main.yml",
+ "name": "tests/integration/targets/nxos_igmp/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/defaults",
+ "name": "tests/integration/targets/nxos_igmp/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_igmp/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/tests",
+ "name": "tests/integration/targets/nxos_igmp/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/tests/common",
+ "name": "tests/integration/targets/nxos_igmp/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_evpn_vni/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_igmp/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "feb636a1cf337d091e427267dc9639d6fd2a5a481a9fd73cc830618990dc12af",
+ "chksum_sha256": "e3f3aa30512b55460b5e6c82887f66d7642c56b86c7eabd5801148a945ce2ef4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2",
+ "name": "tests/integration/targets/nxos_ntp_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tasks",
+ "name": "tests/integration/targets/nxos_ntp_global/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7826463ba77fb2f0f2bb32a0e02ce314ce3a06762e189598970cc26dd17828b1",
+ "chksum_sha256": "2396a1bb62aa2d673208deb59766a787971d061630b8467afa525b7fdcb2e95e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/meta",
+ "name": "tests/integration/targets/nxos_ntp_global/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/meta/main.yml",
+ "name": "tests/integration/targets/nxos_ntp_global/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/defaults",
+ "name": "tests/integration/targets/nxos_ntp_global/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests",
+ "name": "tests/integration/targets/nxos_ntp_global/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common",
+ "name": "tests/integration/targets/nxos_ntp_global/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2c37457ec8af62c1519304e787a4e2ca6be4c156f8cf7bc2293106f38aaa2957",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_ntp_global/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "c5bb202379b75e7aaffb216dd2e42b234acf1ab4fc0679f470fc01c67b309b27",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "69ef5f767607840c90b3cb9b80ca6eae206df8ec8a48b850dc47adbcf4b11aa5",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b8b689385d369d30980492e63bb16f13719d27452d738494899f85539130b2b5",
+ "chksum_sha256": "f7771e974db6ccc58fcb0a69ff17e00e208d57c09d96c7b8dfe8f5ecae8c879b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ddfff25fc88c57f108a7ed89d11d6df5c2233b27eac626512dc63709325fcf85",
+ "chksum_sha256": "9bcba4c729094da821fbbcce077fce21c817d1f560df1dc97ede6c6ff9cc4565",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "de58bef72adb70191cc8d212367d3332359130dbaf399807962787d1df375915",
+ "chksum_sha256": "159d739b15a17d8f62cbb4c9dfcd2fa3b7ede51f02fa6e9ac2bde196643b60fd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0a3077084e8ed39aae3bc10055bbff711e7d40af65e514c7ecd99bffaad96bfc",
+ "chksum_sha256": "e4c2d740371ba62f8ce9a298147acad6ef15cb6b851a8ea32e7682934e5c4294",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/replaced.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "6b602368f7b9b4aba2e9a3e88b73abf107d658eb335fe4ce1a4cd4c0dca3a4c6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4ad11ae9e094b6bc2d4286b05967979551104857b314aa8af9afee18cdec2d4a",
+ "chksum_sha256": "1581f91ffd8c1c23bb4676eab5c8b75109777725856083ae7e8f3f2e0993b3be",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7a00b8609854d6a88cc33f870793ec8972cd5d81ae8dcfed33fbbca19938ce69",
+ "chksum_sha256": "2a828ee760fb0dfc1ce2906e7498216901248da978df3b7a90ce842c1041a157",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b1738278980bd3d3426805bcd85053668078a6b992627d9119043bc29161ea8e",
+ "chksum_sha256": "060aecc4cf5c2f2c7d5785001728b97f6913dd3900aa2dcb0c37436509d9d92e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "77ed312700fb0471e6e108949f8b983d6c418f0187b84b569551ce3c8205ce0c",
+ "chksum_sha256": "f836d5207479f29e09d0669ff7c58dd23bde729eda06dce4649cdc3e60be53a9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "eb766ac5e824552d743eb36cfc738ad9abd7985d945bdea3d22a0d9130f839ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv2/vars/main.yml",
+ "name": "tests/integration/targets/nxos_ntp_global/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "61311d9ddd2174a10efead34de8526412e4c4d438600cf5a3ff852ec8692c4f6",
+ "chksum_sha256": "08e70b7bf07e9f6621e1389be04c654a23a2f975aa49fc4aabc7ecb593bc5cfa",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3",
+ "name": "tests/integration/targets/nxos_vrrp",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tasks",
+ "name": "tests/integration/targets/nxos_vrrp/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vrrp/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vrrp/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dd759468c5cc871fb7737ff3d8d736515fc4a391944ba48e311bd8e9cf4015bf",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vrrp/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/meta",
+ "name": "tests/integration/targets/nxos_vrrp/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vrrp/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/defaults",
+ "name": "tests/integration/targets/nxos_vrrp/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vrrp/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests",
+ "name": "tests/integration/targets/nxos_vrrp/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common",
+ "name": "tests/integration/targets/nxos_vrrp/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "6e1cddebab71b07ac4b62257a57ee91bb813c2d2a627f21fd1ddc848c5c71242",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_vrrp/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dd6501583c6d35a54f84e67f7a3c089c3d327af513f2843227d760ec81b09f26",
+ "chksum_sha256": "a7766c42cc22f1bb7cc7fa396978f2db1df0d1c744e3241f371f55912f3cd610",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/gathered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "52b75fde8bd0aeae9fa656b94f228d66f550904e311166923cfbd6ad3504ec3b",
+ "name": "tests/integration/targets/nxos_lacp",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/empty_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "fbe1d547c87e7fce94633ac9d2659cf83c9f705225abd47e025752589adf5206",
+ "name": "tests/integration/targets/nxos_lacp/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_lacp/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3351bbfbf0d6d47b6d974a6520e49d2c2e37fe82c909425bc2b35fbd2a1c3619",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_lacp/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d97a097d36258f90bedf8acd4609bba2c4840b38c56f3cd6517e9fc394600f61",
+ "chksum_sha256": "c0ff0c24a2fb4a8aa58a6356c5029065acb6cf1aba1e14add135ff69c8d1387b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_lacp/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cef0853f045225f3cfd3ac7b2362e20d12372005f8a175b973e60fa22c30e3b0",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/fixtures",
+ "name": "tests/integration/targets/nxos_lacp/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/fixtures/parsed.cfg",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "98780d78ffa7990bb331aa22eb22a241c513c360e240824d45a7bf1de5be2ecc",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_lacp/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c47c9c8159c406510ed5c37a849752430af675f5f74b2dee2d4361c5a4647ada",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/parsed.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "1668f415528b25d80c75d0b7d1429ad1f2998999e48a9c1103c194437b8d53c6",
+ "name": "tests/integration/targets/nxos_lacp/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_lacp/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fdb04181004019fce7d2aa47598c99683fa0c17efda91a40679e647ae1080926",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/vars",
+ "name": "tests/integration/targets/nxos_lacp/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_ospfv3/vars/main.yml",
+ "name": "tests/integration/targets/nxos_lacp/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a58f6902557b2603f0814004741aba525b7a0950e5a11aa66b37c4955c16f39e",
+ "chksum_sha256": "d990ef6f460be1be57ee33ce95b7fd66d05175e93e1e2716cce708d420a5d466",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm",
+ "name": "tests/integration/targets/nxos_lacp/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/tasks",
+ "name": "tests/integration/targets/nxos_lacp/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_lacp/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
+ "chksum_sha256": "82e18104dcb23f633ded1a694fa4ecbf1df4e14a09620d260473341a8920698a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_lacp/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "d7f405af0ba053d9e613e791943bc8133e6dbf994db877e876b7dbfcfead68cb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_lacp/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "5e8603749c8d553899ed39b13b3acd136e23d7bd3b09098fc55d615557712b8e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_lacp/tests/common/replaced.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "546c7e8f53d5167a0c5fb320ccd6b5e7db098829ce47de467b2e20856dd402c2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/meta/main.yml",
+ "name": "tests/integration/targets/nxos_lacp/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "c6245af2941f9a747ea7774bdad73686d4d453173680ea526ab20b52dba2f283",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_lacp/tests/common/_remove_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "6c963e6f41c7e38e88e7f37dd8025ee75cd3970358d2568dc84a25bf0833c221",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_lacp/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "dc7919875ac197ca437f1f27d4ace434975e7b0ebc59f0b9e76779b7c13300bd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_lacp/tests/common/empty_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d05b5fe9f03352e3b8f7827b2dcf181df0e3c72fe956593e4da447c9d4f8869c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_lacp/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b9a08d012138636068569151cf4f74205676ea00cc6fccdc2e2627447110156c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rpm/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_lacp/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "70447866be2605ad11b7abd82e4ae0000992bbdb0d143e90b86c0b4905ba1d19",
+ "chksum_sha256": "a10bac016859ecead883b3a70c3eb13f70718ad9cdd2796b92294bb73bbee29d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server",
+ "name": "tests/integration/targets/nxos_igmp_snooping",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tasks",
+ "name": "tests/integration/targets/nxos_igmp_snooping/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_igmp_snooping/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_igmp_snooping/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dc2a3a8f315668c3a0a94a40753f7fd1e7eec342b781bbef50ce0f8d3c4abae2",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_igmp_snooping/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/meta",
+ "name": "tests/integration/targets/nxos_igmp_snooping/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/meta/main.yml",
+ "name": "tests/integration/targets/nxos_igmp_snooping/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/defaults",
+ "name": "tests/integration/targets/nxos_igmp_snooping/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_igmp_snooping/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests",
+ "name": "tests/integration/targets/nxos_igmp_snooping/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common",
+ "name": "tests/integration/targets/nxos_igmp_snooping/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_igmp_snooping/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5e57172ca560cf57a5a6cda0d4427ef723ff0c2041494801839810d37f2dc448",
+ "chksum_sha256": "a4a73bc840e125f41372313d58b550980ef7c1642f87ba9bb8ee85d8d026ff42",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/gathered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "98bd39c65fc6a311ba043b2cb6e5fb636bf75e1cd4976826739b8a81f1a4a6fc",
+ "name": "tests/integration/targets/nxos_gir_profile_management",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/empty_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "870e84431b7485f0d29bb5431284baf0098b3a2dc4c33433007de1b970ed5b6f",
+ "name": "tests/integration/targets/nxos_gir_profile_management/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_gir_profile_management/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f8669a63ac0d96789d4722d662bf1568b86c5433817147820023d2b323b2c14e",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_gir_profile_management/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7fd565877939a79d2e7d7d25da2c520c9ea6d42572d5d4fc8110716dff0f961a",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_gir_profile_management/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "af12998368091442ef220d6e85760264d3d8b49b44ab62a34598479e622d6d61",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/fixtures",
+ "name": "tests/integration/targets/nxos_gir_profile_management/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/fixtures/parsed.cfg",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "68295fddd79719b8ad7b74adc76ea194066abae9bd717b24c71eacb7d4b20f8e",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/_setup.yaml",
+ "name": "tests/integration/targets/nxos_gir_profile_management/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5153443ed073b0cc035110ac96d297361e22abe390c84014d0a7dbc83ede74e4",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/replaced.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f6e477bd3b8bdcdbdb4a581d99fc15745c21c823d54c364ea2b1a1fbfb43958d",
+ "name": "tests/integration/targets/nxos_gir_profile_management/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_gir_profile_management/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0a2278a138afa16699d2018af1c1e1e616a0898336bf1632352195a4d2be36ec",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/tests/common/rendered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "84c00378264bacd0d235c0b7a80ebf88d754fb93b1e85b00047fac028b29275c",
+ "name": "tests/integration/targets/nxos_gir_profile_management/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/vars",
+ "name": "tests/integration/targets/nxos_gir_profile_management/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_server/vars/main.yml",
+ "name": "tests/integration/targets/nxos_gir_profile_management/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8668c98a492f96e42640c00cc5b31c0b73f071b7a61dac9e872c31602833ade2",
+ "chksum_sha256": "d0237be40a79468b006b7bc99f59a3b8b9227b61b780adcd94fef59ea697e6fb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback",
+ "name": "tests/integration/targets/nxos_vpc",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/tasks",
+ "name": "tests/integration/targets/nxos_vpc/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_vpc/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vpc/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vpc/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/meta",
+ "name": "tests/integration/targets/nxos_vpc/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vpc/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/defaults",
+ "name": "tests/integration/targets/nxos_vpc/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vpc/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/tests",
+ "name": "tests/integration/targets/nxos_vpc/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/tests/common",
+ "name": "tests/integration/targets/nxos_vpc/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_rollback/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_vpc/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "394570f3e6f1edf503b6782dd89ffa589499a778fc5336c8c610b01d473a7bb8",
+ "chksum_sha256": "2df57c902caed23947093482590483584784db8850c51e6efe545b314895eaed",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan",
+ "name": "tests/integration/targets/nxos_vtp_password",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/tasks",
+ "name": "tests/integration/targets/nxos_vtp_password/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_vtp_password/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f47853340600c1c9b76ed00695079b203ae45896e40acfac2f48e28f2ad98b40",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_vtp_password/tasks/main.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_vtp_password/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/meta",
+ "name": "tests/integration/targets/nxos_vtp_password/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/meta/main.yml",
+ "name": "tests/integration/targets/nxos_vtp_password/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/defaults",
+ "name": "tests/integration/targets/nxos_vtp_password/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_vtp_password/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vsan/tests/common",
+ "name": "tests/integration/targets/nxos_vtp_password/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/tests/common/sanity.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "cb88ac95adfc25626d2c81d7dc7d45341c006ac0490dda44c675101938ec4bcc",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vsan/vars",
+ "name": "tests/integration/targets/nxos_vtp_password/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vsan/vars/main.yml",
+ "name": "tests/integration/targets/nxos_vtp_password/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "97b10ee26b05c01b328d79887c41479bd2bf559184fb1df4af53645db6e109ba",
+ "chksum_sha256": "3146095b01817bec07dd315c90e066bd664e16b5438d62d337a7ebfc0c48884e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists",
+ "name": "tests/integration/targets/nxos_lldp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tasks",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "280d285e1a9b531b25d8b880d3a032933d7135004c4658b7f1eb4872c60cc666",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2396a1bb62aa2d673208deb59766a787971d061630b8467afa525b7fdcb2e95e",
+ "chksum_sha256": "c0ff0c24a2fb4a8aa58a6356c5029065acb6cf1aba1e14add135ff69c8d1387b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "c57c3ff656bb8daf9febb3c7a7bff934b952d1ccb83604d93e23ccfc3ea88724",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/meta",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/meta/main.yml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/defaults",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_prefix_lists/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "b94ddd8f6e3aef1be0b00d88c934c971a436d3595b760e10dd388b6dacfac7d3",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "8c7dfc255e4fdc2e873e375b7b4a24b1098f63ebc6f80b18ddaf4bb4e62a9a46",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c10395ec2b03209c79681dd09690cb615195b8adaae1cdfa3fabc0fd68ef0565",
+ "chksum_sha256": "823ad4608bc4788ff160348fe4e6be75f267c9f2a55bf2043875eb2d76084f39",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/empty_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "56b14e2fd373b2211c65f09454a4c39137bb1f1a06ad96f007e377d8b2b51851",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/merged.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "b63842b6c47d71229bd8ad567bce61e119a9da6f44fb987d22a5348d9b67f1e7",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/overridden.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "56599df6259a9ed56f2794f1171dba7cd811995b228ee29610d679201d7094f0",
+ "chksum_sha256": "b4403fc48624d3990b76b682c8b17543e81f43f152f1afe573bdde1722248ea1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/.DS_Store",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/rtt.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5b8c3589c79b71429938a827331899d13ac16c156374f8c45ec59068bd2d2060",
+ "chksum_sha256": "23d20e20e06201967d2847f91f879c7741ac48c9e08bc1b9b3f63ef8c111ad29",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/rendered.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2233813d83a2cf367f99e9348cfb36ea295efcebe61d310a4580abbab8836d5c",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "05a26c146d796dee090a8d9931d7f38b5cf3ea87682c7f50f73597a6cff1a4cb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f7f1e53d17acf3059197aa476e1715028d571930c8cff8eabada2af3da2e7819",
+ "chksum_sha256": "303bc0ba56d6f13d152987aaf4b6953d88e4461e8958c7db467d52d247a63dce",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/gathered.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7bf73d5bf1f98884b2c8dedfcdc762af1c6542276fc649a04bf360fe10400cff",
+ "chksum_sha256": "d559bcc46e44d101f2fa43a97d785b4476d6053486294e513a7cafbaf67b6bae",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/merged.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "53a49d08552e563da400b6c13475d9e2a020cc039eee9985b1c5a3e930fb3843",
+ "chksum_sha256": "2399f3e2619a3b82bcf30be4b9a2be7c660d0f53450d25a46b87fd8ee4abb25b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/replaced.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "742244e5eb090968dbbab6b3bce1d5d52404f476371439bf2404e4467534b488",
+ "chksum_sha256": "2c101fa94fc443f0335f4fb75c440dc5c0fe47363d3463d0eccc2c340b39e6cf",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/tests/.DS_Store",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/deleted.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "af891bb95ebcc39dfd38131bf64fba6eb7bb8e84f59a428b6af5477588fbc6b6",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_prefix_lists/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "8695d048ec2623b31a194a213ef80da6add19468e0f90a4ca97d5b8257979529",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_prefix_lists/vars/main.yml",
+ "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/parsed.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f869515b8a1ec55c8346c13f87eff1b4bef627722f02ba89f143fec41ea52254",
+ "chksum_sha256": "e63afbeefadaaf0dcc22637aaeebfc27980cb517c68aabda8338c05976255320",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces",
+ "name": "tests/integration/targets/nxos_evpn_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_evpn_global/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_evpn_global/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_evpn_global/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_evpn_global/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/meta",
+ "name": "tests/integration/targets/nxos_evpn_global/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_evpn_global/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_evpn_global/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_evpn_global/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests",
+ "name": "tests/integration/targets/nxos_evpn_global/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_evpn_global/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "ce89afffb71cc896f467a3e32919ab4a8fdcd5ea07a9175ecd7db9a7ae6f77cb",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "6e9f0e87988c4ded07d518b67a5118d9d6894e2fab2c86c9cd90ffcf5f56beab",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/gathered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "0ef96315e1d8b08e76b5d905207c1d85c0ddea43e8efa07b54896132e7d772e1",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/empty_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d1ff8909b5732150a58ea8fafa7e0f20c447a8bd7e6be23fa0d7cc5655b75510",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_evpn_global/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "da6b8a879ff9188026a3b1aa01b53289a7517026aff1a7d1954d1bdaead6dec0",
+ "chksum_sha256": "9190f2d0dae47c3b29ebe68f89ec9e3b88f0af56af489b15624cf99c86415d9f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/overridden.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "45a5f0f9979ffcd5b7ef73f95de39a4c6ad35b3f7f05a61b7f6770eb17166dcb",
+ "name": "tests/integration/targets/nxos_bgp_templates",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/_populate_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "a313ec546dfda89fa9e4dbd468fa0940164b42c0ebce4e544f9c6eddf9c76e63",
+ "name": "tests/integration/targets/nxos_bgp_templates/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d1c4df45348332e927abe784ea39438ab014af521a169cc07ca76ff6d8d7c52d",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9db583ddb82a512ca231ffb3a5ba6c672aa653ec28834c17328fd56190b4a558",
+ "chksum_sha256": "918e266fd84500fc8a9d7958437789683bd47b7875371afaf4941b60f4594bc7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4f2c908e56c100ed364248792037843ebe703124cb856054bba1a7904494edd3",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/vars",
+ "name": "tests/integration/targets/nxos_bgp_templates/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_templates/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a06be45c7fcb5fbb624b33983db74636889ef05ed32ce0f3ba56485272e3db09",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hostname",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tasks",
+ "name": "tests/integration/targets/nxos_bgp_templates/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tasks/nxapi.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hostname/tasks/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "c100293cbf1e43e53f2ff874e3e1079621ae414e404db0078a26044ececac0b1",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hostname/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/meta",
+ "name": "tests/integration/targets/nxos_bgp_templates/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/meta/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_templates/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "320a4fb71862d3232cd18205318c3a960d55b06bb1fd7fa7afd49ff122c04605",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/defaults",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/defaults/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hostname/tests",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/fixtures",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "3c610838a6fa946c2237c8292c07b688a1ba7e8096a2d35d75f12f0b58866ed7",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hostname/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ce390e649cf85c4eddff7df5c0d545f57e389bb36774ae580dadafec45cf2a1b",
+ "chksum_sha256": "e921d4fa370873c1b237ba6b3ee2d3c0a70520b08f5097e960152137a57ed123",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0b28a51b56bc716da4598490f3cb3302329f0113eb3ab32fa9a860223eae43f6",
+ "chksum_sha256": "a1ffab53eece71058929fba7b157214cd3aeea388b6bf8aae94e146b03e5eb25",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c48e9bf3dac84165ae9953b7ad26ecec061cc599fd5cc78290d048b36119ce19",
+ "chksum_sha256": "09f60138ddf3d5c8a6782f9f5f937091c37a58ea72c0304384034becdf946850",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b2db6ef6d129f976a7c1dd3d1543020bba577d399fa4e780311e9942d0e39a21",
+ "chksum_sha256": "425c2ab3097932fcb46a43b4d5b8bcaeed500348e760e77a5b6f1d4e4fca9eea",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c76970334ac8f7dea1c52d4a2e9785b43fe9754ed2cece81e49036d8efce6507",
+ "chksum_sha256": "d307cdaf9d9ecb2c711093d4f9879deb595a843ed2d17b6ae1036d918b22cf2f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "55288117a1ba1770a3e0bcac6e550c318807316ce84c65e536ba34cc449f62b0",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hostname/tests/common/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "1197072828ecfc518dd9ac00389c239db31f18e8d566fbe5a37fd80ff479f104",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6cd019ca4bbc9dc9a7657ccbc89a52a8505890bda564813765bc2bb004ef3814",
+ "chksum_sha256": "c07047642c717ad5e564697143a11e7cc93a18376d91ee56dc5f44f3d19e22b5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8564938ffbfc1d998d5ce080e9bc6cb612cf2aeefa19ac79bf9bf6f895800a2e",
+ "chksum_sha256": "2326d2afd434fadf9b8d2ef427e3918e6a5947eb39d58c4fc1988df599c58510",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "292e2e1750dcd0b5114b4c1b2f8fe93125754fa76c1869f64f87e6055da6338f",
+ "chksum_sha256": "37be696dfcec49e17974100e3ea8181b391da9cdad82f8667aa2f5df0ff8aaca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6e0e085de3251f1846bf350484b27a639383cf70f82effdb6d8aa0b73f105c60",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hostname/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "56e1c2649908ef81810457cc96bc917c530d7096e907b516389ef7cdbe3c9ba3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hostname/vars/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_templates/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "372a997c3a0ce9aa7b42746d99a75295a66504416d94fd1b0c545e58717a6a9d",
+ "chksum_sha256": "0f7753a98712bcde737fce34f1a0af8d5a655bba229b306685e5ae6f8c26257d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config",
+ "name": "tests/integration/targets/nxos_pim",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tasks",
+ "name": "tests/integration/targets/nxos_pim/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_pim/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_pim/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a069f9e3d9d905e5a1d7e2b316e284944bc38cddc390470831451fb4672fbde2",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_pim/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tasks/cli_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "244797b68a9ec0f73b3fecca59e21469c0bc8126f36a5b7ffe2fe20ebdf22f19",
+ "name": "tests/integration/targets/nxos_pim/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tasks/redirection.yaml",
+ "name": "tests/integration/targets/nxos_pim/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4f04d0bc1463bb36c212620e786d8ce8d18681fd03f641c1a37351b6d0dfac8",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/meta",
+ "name": "tests/integration/targets/nxos_pim/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/meta/main.yml",
+ "name": "tests/integration/targets/nxos_pim/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/defaults",
+ "name": "tests/integration/targets/nxos_pim/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_pim/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_pim/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "665288590cd4226da42511817f09ccdfc92df36c9621583cd2c82919af295c5a",
+ "chksum_sha256": "ab1efb1a3ca7cc688042b32d2d0660eeb0e25ff2bb2c833e9bcdeab5d6a1e0a0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests",
+ "name": "tests/integration/targets/nxos_smoke",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli",
+ "name": "tests/integration/targets/nxos_smoke/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli/toplevel_before.yaml",
+ "name": "tests/integration/targets/nxos_smoke/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "da70c4dcf111e0de17abc736ab6b4cfef245ca202d235dd1d9e611b40bbab8b2",
+ "chksum_sha256": "7277ec56762ca20a3617b1da87631d8dde35556a4c004e7c82974e49fab50d92",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli/toplevel_after.yaml",
+ "name": "tests/integration/targets/nxos_smoke/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7792c748c17cf012bd7462753459725b9b2d4e8418a3edb3f4f76eb84f8b5914",
+ "chksum_sha256": "849f2a2746300bf950bfe382b3f2b80990bbee773cbdbd2d1e2a897a9ed1e261",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli/diff.yaml",
+ "name": "tests/integration/targets/nxos_smoke/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d890138033f9812260dfd304fb4888d77e0c78b71f0afb2f8f97ce71f11a2491",
+ "chksum_sha256": "62a31764ef528947cdefe8eb150e20bdaba422d40bac12a3609948ca1575cf8f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli/sublevel_strict.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "057bf9a3f64bb1abb24a5dc5a530553401a32850185af62cb278c85228ac6465",
+ "name": "tests/integration/targets/nxos_smoke/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli/multilevel.yaml",
+ "name": "tests/integration/targets/nxos_smoke/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b91edced261b04cd778d86a702fd71159bcb7e37050b2b59d66f5fbd0485ca6e",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli/replace_block.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e0eef2496cf4af6b50d6274c1b6ef30dbe7955e60ab6695c4cc0660ee5e8a51e",
+ "name": "tests/integration/targets/nxos_smoke/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli/sublevel_exact.yaml",
+ "name": "tests/integration/targets/nxos_smoke/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b755c791e3a1b329e7da5896f70e10b01bdc5237bbe2e80316a4515d6f8d8bd8",
+ "chksum_sha256": "665288590cd4226da42511817f09ccdfc92df36c9621583cd2c82919af295c5a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli/sublevel.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "937eb38ce64f2eaaab0f4c8f86a336d6fa022a96d75e285baaf7c85f45fb0b09",
+ "name": "tests/integration/targets/nxos_smoke/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common",
+ "name": "tests/integration/targets/nxos_smoke/tests/cli",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/src_match_none.yaml",
+ "name": "tests/integration/targets/nxos_smoke/tests/cli/misc_tests.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f485a516ee779d29f9c4bef94249e47c885743481d409fedaad14bd49ecbafe0",
+ "chksum_sha256": "dedfb27511bd8fde863a0aa430bdd23272cd766d0c23694764d01852c9586073",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/sublevel_block.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "45748bd39c32ff0675cebcff8ed674384c0fcbd51797f2110edfbef816394801",
+ "name": "tests/integration/targets/nxos_smoke/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/toplevel_nonidempotent.yaml",
+ "name": "tests/integration/targets/nxos_smoke/tests/common/common_utils.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "48fbcde0f38c5b06062ccb0f93d50a5b7a7554edf66ee7ed4779d9d4ce524ac1",
+ "chksum_sha256": "a60e645271b0b349228daf7eac3948d5651a32abd8cb578005202d4c1ed80236",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/toplevel.yaml",
+ "name": "tests/integration/targets/nxos_smoke/tests/common/common_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2bc1969eeb4a97775fd72dd6e5109d499c24cf5735c2c54bf75dcf7d49690bea",
+ "chksum_sha256": "dea32a9f41f8c2367181bfb2fc2821e4304e393ac781dd02e19d6cb01c6273ae",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_smoke/tests/common/caching.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "55efec005b7a96d5dbd8739cfce99c359f047d1aacbee36ad6bc04bcf8283f26",
+ "chksum_sha256": "2db51e2d9c925d2773d4bcf45ee241c75cc02547793d07cad590f1d9657eb36c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/src_basic.yaml",
+ "name": "tests/integration/targets/nxos_smoke/tests/common/misc_tests.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "eccd369dee1af74d2b9f2888107f438904ae0c58705d800ad95e913965991608",
+ "chksum_sha256": "ca259adfd9eabd17072e03cae98011aa82cf2e1b6d8fc88fb0ada2ebaca18d7a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/defaults.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "db431603f9429be57048a8789d1f0af71d6cdae47a26878a608c082768a1244d",
+ "name": "tests/integration/targets/nxos_user",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/backup.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "098fa1e9566ae02a5c089a7ab7a235ce53f1bc78b431e01595556f623f718c82",
+ "name": "tests/integration/targets/nxos_user/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/src_invalid.yaml",
+ "name": "tests/integration/targets/nxos_user/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "000c3c67b80eab4be77858bbb29844ec788342c63d8570c1db6166ca5a9539b5",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/common/save.yaml",
+ "name": "tests/integration/targets/nxos_user/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bc462c07044762a41b8eddbe29be65aa51e6d6cea05d1e0630555e8cb4a9e446",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/redirection",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_user/tasks/cli.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/redirection/cli",
+ "name": "tests/integration/targets/nxos_user/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/redirection/cli/shortname.yaml",
+ "name": "tests/integration/targets/nxos_user/meta/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "00bb1bd085c826013b04f4eaf7f74ff0de45ec8330aa386f4cd0263d468df9f1",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/nxapi",
+ "name": "tests/integration/targets/nxos_user/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml",
+ "name": "tests/integration/targets/nxos_user/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1d150adeed3e6e02c3adc3871d29b6a153d504ab7a861cd401b02c480008ba5b",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/nxapi/toplevel_after.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "7b8ad2836c7ec7360561cb0f4319bbe95feae70b134c5dac9deb2ba18a17638e",
+ "name": "tests/integration/targets/nxos_user/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/nxapi/sublevel_strict.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "acaded71377fcc8c8b288d527caf6fc777c8d0f50079c8b409d1007f821cc9d3",
+ "name": "tests/integration/targets/nxos_user/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/nxapi/multilevel.yaml",
+ "name": "tests/integration/targets/nxos_user/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ff4c8dc408f5b4296300c4d7d983fcbdf19ee303fc95fe44ddb3d72a8b2aa08e",
+ "chksum_sha256": "bd39b32f02401670bfda98c14839d0da9c76ae8446c151dc7f10131c9531ded6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/nxapi/sublevel_exact.yaml",
+ "name": "tests/integration/targets/nxos_user/tests/common/basic.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "694ab236d9c21462b423d507666dfe90caceca03e8a2f8fa3759f9f51b6d06e0",
+ "chksum_sha256": "ba9e801ff2ad1ae02085f83753b4f2e51565888a0fa5822ea0f671ee8a54229f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/nxapi/sublevel.yaml",
+ "name": "tests/integration/targets/nxos_user/tests/common/auth.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dc08a002e9e00d36590098bfe308ca825954a3e43755650cb5809684512433cb",
+ "chksum_sha256": "db7a57ed2e804cae9aea360123df898848cc2e772fcab84d843aac01ca0b6b61",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli_config",
+ "name": "tests/integration/targets/nxos_facts",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_exact_match.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "5eb01810e15ac6b6941a7b9b79ca5ca3be016f16ee7f534eea9be0115fb53a46",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_strict_match.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "6329b5bab571f5218aeff32c54936052c2188466f842b4364d80dc9c6d800450",
+ "name": "tests/integration/targets/nxos_facts/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_backup.yaml",
+ "name": "tests/integration/targets/nxos_facts/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "02aa5aa3478284c141cb3741eb86bf919a560bc25b5a911f453e05ce25737bd7",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_block_replace.yaml",
+ "name": "tests/integration/targets/nxos_facts/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9058efd9127aa10094d23e72b8d7b8e0426d2707a113d7be2d539c15a1b9d229",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_basic.yaml",
+ "name": "tests/integration/targets/nxos_facts/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7b3703086ba8415b259a2c8353dc03d9295173092ba3dc15170ae9718b10626e",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_config/templates",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic",
+ "name": "tests/integration/targets/nxos_facts/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/configstrict1.j2",
+ "name": "tests/integration/targets/nxos_facts/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "da30d9c2fbe9c9473f957d26568b2cb42baa620e261efbce7d604535ec532cf5",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/setupexact.j2",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "b358f8f54eb293ce2eac2ead8f8bc2e3aae7383c2981c9c192530d6bcbff3d6f",
+ "name": "tests/integration/targets/nxos_facts/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/setupstrict.j2",
+ "name": "tests/integration/targets/nxos_facts/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b358f8f54eb293ce2eac2ead8f8bc2e3aae7383c2981c9c192530d6bcbff3d6f",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/acl_config.j2",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f8cfadc33b5527be5bd82a279cbcc769a882135ce815cb6d42177cb51d325e4e",
+ "name": "tests/integration/targets/nxos_facts/vars",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/intended_running_config",
+ "name": "tests/integration/targets/nxos_facts/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b478553dd335d5085c847219eae58a8daac0902372a5e8fbbd133da3850332b2",
+ "chksum_sha256": "90b4146d19a8448ba711a28645cf964f8251d544bf1de77f552e08a1e60a9914",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/base_running_config",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "85528fb2bdea51956f0b6d9a7cb07c7bc75e498553f9b5301b904db35ed0f929",
+ "name": "tests/integration/targets/nxos_facts/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/configblock.j2",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f8cfadc33b5527be5bd82a279cbcc769a882135ce815cb6d42177cb51d325e4e",
+ "name": "tests/integration/targets/nxos_facts/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/configexact1.j2",
+ "name": "tests/integration/targets/nxos_facts/tests/common/invalid_subset.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f8cfadc33b5527be5bd82a279cbcc769a882135ce815cb6d42177cb51d325e4e",
+ "chksum_sha256": "d7ef14aa0d9ae451bba34e5fb2952f2034793f826a441cd042b03c34e0d78422",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/configexact2.j2",
+ "name": "tests/integration/targets/nxos_facts/tests/common/default_facts.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b5884db197b0f69276768f1f6e5e8b4214ead32869dab90d76fae353425a4b28",
+ "chksum_sha256": "08c3680a5a839d8e3b53515643f3773bb1d25de670124063d41ff3e0a7fd2713",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/basic/config.j2",
+ "name": "tests/integration/targets/nxos_facts/tests/common/not_hardware.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d62440fb734cd4db3dd623ab8e77214ff7f82e44c7dfca249b20dcd83d83a9af",
+ "chksum_sha256": "933c388db57e0042a75290223a48d69efad1e524bce14f28f64694d34e3475e3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/config.js",
+ "name": "tests/integration/targets/nxos_facts/tests/common/all_facts.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c6d65e4fbe26ecfdf18d8eba2eac04aecfdd65e59e6b6db1c2aa2d29ed5a5847",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_config/templates/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "f737c75bd85a50361bfb755799335e3bf0044448e43308c6f4c3f9186a80b65f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/defaults/test.j2",
+ "name": "tests/integration/targets/nxos_facts/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "356d51cb39cbc26b408ca0b3aeacc83634ee2f6e061811a3a8fafb63955ffa4d",
+ "chksum_sha256": "f15ccd5a6a25f5358288fb8ddb955a1b024c33c0d1f04df3811e03aabe460c32",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_config/templates/defaults/config.j2",
+ "name": "tests/integration/targets/nxos_facts/tests/common/interface_facts.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "522484a8eb35e809c1ebd645a73ca12f02b09c6cf237f1db1ed577088c149c51",
+ "chksum_sha256": "5c7fa4749d973f3993d84e4ae324dfefa8a62167452abcbdd66de1cb668fdba0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces",
+ "name": "tests/integration/targets/nxos_udld",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_udld/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_udld/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_udld/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_udld/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/meta",
+ "name": "tests/integration/targets/nxos_udld/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_udld/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_udld/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_udld/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests",
+ "name": "tests/integration/targets/nxos_udld/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_udld/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_udld/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "35032ab6b2376156d9cc4386e0c3ae950aeea92146c89106e92963e5d9f30abd",
+ "chksum_sha256": "327f500b5a3e5f79399f7a93e74613eec32ee87f52ea77b89af0bb84862a89d2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "1ef608de6174de4a28060255b4f85b5c00beb4bf2c8c4083a85d4132fe06341f",
+ "name": "tests/integration/targets/nxos_nxapi",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/gathered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e8b8f05c67f53717f791d5fa39768a09589083927c1b288181a9a2b28d3f19fd",
+ "name": "tests/integration/targets/nxos_nxapi/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a07b5658b8543fad6adbc03cc3dedf24b925d6c15ab96cba887e4057adde9af4",
+ "chksum_sha256": "7022927c86a437ced8d1f9058b25af83150ab1d87223183b1c61bbf4c0d6523f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b7125a5bf2a88b3a35ff6aa0d06f3afd1474431c753306f1390613c7892f8217",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/overridden.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "903605fdce930f7ab623ddda18bc721d07632ae35cede2608f93d0178fffff86",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/_populate_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "febb1078f232f6b64f4600db4e81e08b293f9c1b5959937b92458ea3228ac8ce",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k/assert_changes_https.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "57b05a37ab33678d00ceac9fa16256aa5ce862265fb330cf2045a6f06bd40331",
+ "chksum_sha256": "4f99598e0507cfb4e0e625a4075deabb91c5de5e1c0e5531846b9467a6faeaa9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k/assert_changes_https_http.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c7ce5887a89b7e2b67eb2b4bae794a1e0a77c77c2c98c1fbd123bca9ecbf78f3",
+ "chksum_sha256": "79ee713da7a48ad0b493f6e07690138be3eb4d04d890126aec488e2242e7a442",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k/assert_changes_https_http_ports.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "879575bd8531da7b1f7752bc36e8b1d92d654dadebf3ac9e372c71ead2cd75d0",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bfd_interfaces/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "3cef9d277e717f6956a9d5136862c72616d866eb04d8f8c0da44c0777739c92c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bfd_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n5k/assert_changes_http.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ab74ba6b07626a0723ca4ba193159ba14bc7011f11acd94ca9b5f13f817def19",
+ "chksum_sha256": "ed763ee2de2c730ea2783225dc132f5c28f22ea272213a36b9b3bb4471492e08",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tasks",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default/assert_changes_https.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "bfae052c7df36024a59df89f314dc7e03019ad1649f4132cb34bb2a8f50fe903",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default/assert_changes_https_http.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1e03994e82f05167e558b19e20c435e80ed92b6ff4f62f71fb93ed9082d30f94",
+ "chksum_sha256": "b055af4a4779d412640cee585ef493e52c3937782e095218164d2719d5223d29",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default/assert_changes_https_http_ports.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "04e8b8ae8842f40c777282e979ea824c7c886f3e8ae1d9e2710ff466d1fc2ae0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/default/assert_changes_http.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "db4865169c3dc97c5ca5e24083550b243b685cfaeaaba16333b1f55754dd265a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/platform",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/platform/n7k",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k/assert_changes_https.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d826b7762b3ab39ad7d294ca171272d1ff3213c35f8040c3657228f259d331d5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/platform/n7k/cleanup.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k/assert_changes_https_http.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6fe5dccac28d950d4f93db2d5dd8d2d53f974b51a0c07a9371165a7fd9b20585",
+ "chksum_sha256": "97089a108cc1eac9afae028c6da9bf6f7017afcfc3f1a85776cfe6af31f2c6af",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tasks/platform/n7k/setup.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k/assert_changes_https_http_ports.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b569f1de86c96331c196b935a58a716b5314f80ebd5b9130aeaa56f44c45f047",
+ "chksum_sha256": "5d5a7bc39789b15cf95dd49af7ab1636f3a4589a2be3ee5ca341dbb4414eb95b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_nxapi/tasks/platform/n7k/assert_changes_http.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "35222b27a54a701db0042dd5fb6069d48d9e27a70821a1707a4aad0d19bc227f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/meta/main.yml",
+ "name": "tests/integration/targets/nxos_nxapi/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/defaults",
+ "name": "tests/integration/targets/nxos_nxapi/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vxlan_vtep/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tests/common",
+ "name": "tests/integration/targets/nxos_nxapi/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vxlan_vtep/tests/common/sanity.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "6f5876cdb7e7636f06c87e462e6002cd2694520079c83f7103450520ff14b3b9",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vxlan_vtep/tests/common/multisite.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6e9df57ea06843b691dc030437dd9190193ddb70664dd0254133417e3a8b5cdc",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld",
+ "name": "tests/integration/targets/nxos_nxapi/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld/tasks",
+ "name": "tests/integration/targets/nxos_nxapi/tests/nxapi",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld/tasks/nxapi.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_udld/tasks/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_udld/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tests/nxapi/badtransport.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "28a2dfdf7ba13f8dd757c8d9095797a0b91437b5bfd9d9c1c8bfe65508e15901",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld/meta",
+ "name": "tests/integration/targets/nxos_nxapi/tests/cli",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld/meta/main.yml",
+ "name": "tests/integration/targets/nxos_nxapi/tests/cli/nxapi_ssl.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_udld/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "dae84b45affca730b7c9158216bf18dc9ab9c92bbce4701b6ba881f192ae47f4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tests/cli/disable.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_udld/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "94889efb465f8b55120a28becc23705cd11dc1bc9aebc91204105ba9f8207302",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_nxapi/tests/cli/configure.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b4853e02af108065809baebdb1f8e957bc48184f9a24e3510826d28f734d17a6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_udld/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_nxapi/tests/cli/enable.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "327f500b5a3e5f79399f7a93e74613eec32ee87f52ea77b89af0bb84862a89d2",
+ "chksum_sha256": "abdd34478d7db89533c9d3d8cc0fb2f26a5324ab85212086aa1fecc220e7d1c8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2418a2ada8700c06969324411c9be328b4d4ad913c6eb93fb824dff96900ff8f",
+ "chksum_sha256": "0defcb7ce6f353926624c2c3e045b403af33c34a6bc1c49b08e71ec602cd21f2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/meta",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "c9c20222a6eea75718e72f0e12a439d0f2a36eee5fc85db00a855c0ca4a72f99",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "9dbc4efa7c9e6843b987aa6286ba0de836129c75b66249ab846fee2012fc2394",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "1676a953c0e740cc280155ea76e6368fd5628556cdc0acae19e1834b40721681",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4c8ea6a0bd93a5ae1092362c88b1eb6ed13a086968841b5d68654677741714dc",
+ "chksum_sha256": "b2a00e0d2590a7c6caff9c7d3d3df8eddf7a04bcb142a5900735574cf7d7ba14",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "858bc39fea4f9cedff070a248b5119124852eeb9237388ef833c414510dbf24c",
+ "chksum_sha256": "40d8f8cfc0bfd8a2d5da53d9e61f2d398e4ed50e2cc17915359ba02b980d16d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/rtt.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d660e4e5717467104076599f04b44aca40bbe45b79eb5e5554cb1ff390feb405",
+ "chksum_sha256": "ebe2088087a911826370430ed7e8029bee349d39be051ef9ce89f96ebb2d4118",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e7555ee3d0322003861d6c2d810ec490027b8d792e8800c7e9a46fab869b1c92",
+ "chksum_sha256": "dc0718832154ed173f9ada21e4072a3f3c7fc9202d9a83e0b18c26d72991702e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c670083adeabaa18419eea52a2297aeea81b1a5635718b95aebf3d1955f78385",
+ "chksum_sha256": "bc402cfd6f07870283877fcd9c3158fdef7f756c7ea88c1aeebdd73629628a00",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/multisite.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b0b3ebe6d2d7db422ec1a046818ce06ddf83ef9f32a9178691d732b0824b4da1",
+ "chksum_sha256": "9c296bdd111a832466197719e7d3a6da9215aaaa0ab6aeca20b16e5284c61b52",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3a640fd87c6717d5876b64797f7d0092fd6673272fc5a674bde3cf5ed78e8b79",
+ "chksum_sha256": "c07047642c717ad5e564697143a11e7cc93a18376d91ee56dc5f44f3d19e22b5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ef91b776e8c9627a55cc9759549aaa7482e0f7da4385079443b8e8f1d8d40b8c",
+ "chksum_sha256": "367b5c49d11893b14160cf94e6675588ac07bf0ee93574f6a1e9a9d4c6df70d9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5e2abf21e437435b96d94e3a1c900ac1284a39092f3b0b1d19e8d5d7544a8424",
+ "chksum_sha256": "ed006b0b9dbb7b7c16264d7c9304040f7ddf7104c0aef4d084dd0380d81c0f0d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f274f91771b34f2246ee4fa58bae6acd7fafb0ea1f1efb04ffb362cfd1678de3",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_l3_interfaces/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "a8055703f881f09873f851f1e0c212ac66aa662b744b5cc81a6bd07a7e854643",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_l3_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "24e5a4f2e7330b185775678aa68b4645786e83617b90d5a32fb4ff4b77b345ad",
+ "chksum_sha256": "047f1c0feea67e71c51f1eed5b1434e093a7b9f98494aa230acea01f7b68a91b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces",
+ "name": "tests/integration/targets/nxos_snmp_host",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_snmp_host/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_snmp_host/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "280d285e1a9b531b25d8b880d3a032933d7135004c4658b7f1eb4872c60cc666",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_snmp_host/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c0ff0c24a2fb4a8aa58a6356c5029065acb6cf1aba1e14add135ff69c8d1387b",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_snmp_host/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c57c3ff656bb8daf9febb3c7a7bff934b952d1ccb83604d93e23ccfc3ea88724",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/meta",
+ "name": "tests/integration/targets/nxos_snmp_host/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_snmp_host/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_snmp_host/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_snmp_host/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests",
+ "name": "tests/integration/targets/nxos_snmp_host/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_snmp_host/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "303bc0ba56d6f13d152987aaf4b6953d88e4461e8958c7db467d52d247a63dce",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/parsed.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e63afbeefadaaf0dcc22637aaeebfc27980cb517c68aabda8338c05976255320",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/gathered.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d559bcc46e44d101f2fa43a97d785b4476d6053486294e513a7cafbaf67b6bae",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/merged.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "2399f3e2619a3b82bcf30be4b9a2be7c660d0f53450d25a46b87fd8ee4abb25b",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/replaced.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "2c101fa94fc443f0335f4fb75c440dc5c0fe47363d3463d0eccc2c340b39e6cf",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/deleted.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "8695d048ec2623b31a194a213ef80da6add19468e0f90a4ca97d5b8257979529",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/rtt.yml",
+ "name": "tests/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "23d20e20e06201967d2847f91f879c7741ac48c9e08bc1b9b3f63ef8c111ad29",
+ "chksum_sha256": "1e10b5c9c01f39edff0f76171c81720d458aca5775d0f5f97f20bd2e6c21f57f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/overridden.yml",
+ "name": "tests/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b4403fc48624d3990b76b682c8b17543e81f43f152f1afe573bdde1722248ea1",
+ "chksum_sha256": "54b2c813dda14d97a1eef23c8a3b3ff2bdc194b60ec4cf15d7f6e0068802afa5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/tests/common/rendered.yml",
+ "name": "tests/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "05a26c146d796dee090a8d9931d7f38b5cf3ea87682c7f50f73597a6cff1a4cb",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_lldp_interfaces/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "0156bedc287881d6d9d767fd9720c5821708b9ad3c9c217c5c4b1df0a72a6891",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_lldp_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "823ad4608bc4788ff160348fe4e6be75f267c9f2a55bf2043875eb2d76084f39",
+ "chksum_sha256": "aa6a8b70ec63534db6d01bad4ccb22de07cf1d7c0c65b148a02474964d1a4e72",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf",
+ "name": "tests/integration/targets/nxos_aaa_server_host",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/tasks",
+ "name": "tests/integration/targets/nxos_aaa_server_host/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server_host/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server_host/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server_host/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/meta",
+ "name": "tests/integration/targets/nxos_aaa_server_host/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/meta/main.yml",
+ "name": "tests/integration/targets/nxos_aaa_server_host/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/defaults",
+ "name": "tests/integration/targets/nxos_aaa_server_host/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server_host/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/tests",
+ "name": "tests/integration/targets/nxos_aaa_server_host/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/tests/common",
+ "name": "tests/integration/targets/nxos_aaa_server_host/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/tests/common/intent.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b49015c20a19ae1f270a3b5e69d370744549a23915fb03c23f6e84ad40f8ef74",
+ "chksum_sha256": "b669c11c0bee9b899cb3075b446411bac7b4fd7c79396e5add683a2d5ab8b725",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_aaa_server_host/tests/common/radius.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b8fb2d6249a8d9311ec67a31c87ad94a8184c7351dbf190d833bb1d7bafd4e7a",
+ "chksum_sha256": "10dec61711d8e2e9660491a3ac36bda92ef57264b44ce2fafd5c0512b2ecfd13",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/tasks",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/meta",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/meta/main.yml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/defaults",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_hsrp/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/tests/common",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_hsrp/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a9c0076bb37472ad1bcf0815ed5845032be77683ffc6e967f2577c29cc28f8a8",
+ "chksum_sha256": "a06be45c7fcb5fbb624b33983db74636889ef05ed32ce0f3ba56485272e3db09",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/tasks",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "9db583ddb82a512ca231ffb3a5ba6c672aa653ec28834c17328fd56190b4a558",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "da6b8a879ff9188026a3b1aa01b53289a7517026aff1a7d1954d1bdaead6dec0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "6e9f0e87988c4ded07d518b67a5118d9d6894e2fab2c86c9cd90ffcf5f56beab",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/replaced.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d1c4df45348332e927abe784ea39438ab014af521a169cc07ca76ff6d8d7c52d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/meta/main.yml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "45a5f0f9979ffcd5b7ef73f95de39a4c6ad35b3f7f05a61b7f6770eb17166dcb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/_remove_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ce89afffb71cc896f467a3e32919ab4a8fdcd5ea07a9175ecd7db9a7ae6f77cb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "0ef96315e1d8b08e76b5d905207c1d85c0ddea43e8efa07b54896132e7d772e1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/empty_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d1ff8909b5732150a58ea8fafa7e0f20c447a8bd7e6be23fa0d7cc5655b75510",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "4f2c908e56c100ed364248792037843ebe703124cb856054bba1a7904494edd3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vtp_password/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_hsrp_interfaces/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3146095b01817bec07dd315c90e066bd664e16b5438d62d337a7ebfc0c48884e",
+ "chksum_sha256": "a313ec546dfda89fa9e4dbd468fa0940164b42c0ebce4e544f9c6eddf9c76e63",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family",
+ "name": "tests/integration/targets/nxos_snmp_server",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tasks",
+ "name": "tests/integration/targets/nxos_snmp_server/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0defcb7ce6f353926624c2c3e045b403af33c34a6bc1c49b08e71ec602cd21f2",
+ "chksum_sha256": "dc2a3a8f315668c3a0a94a40753f7fd1e7eec342b781bbef50ce0f8d3c4abae2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/meta",
+ "name": "tests/integration/targets/nxos_snmp_server/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/meta/main.yml",
+ "name": "tests/integration/targets/nxos_snmp_server/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/defaults",
+ "name": "tests/integration/targets/nxos_snmp_server/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests",
+ "name": "tests/integration/targets/nxos_snmp_server/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common",
+ "name": "tests/integration/targets/nxos_snmp_server/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "8668c98a492f96e42640c00cc5b31c0b73f071b7a61dac9e872c31602833ade2",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_snmp_server/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "c07047642c717ad5e564697143a11e7cc93a18376d91ee56dc5f44f3d19e22b5",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "dc0718832154ed173f9ada21e4072a3f3c7fc9202d9a83e0b18c26d72991702e",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "367b5c49d11893b14160cf94e6675588ac07bf0ee93574f6a1e9a9d4c6df70d9",
+ "chksum_sha256": "68295fddd79719b8ad7b74adc76ea194066abae9bd717b24c71eacb7d4b20f8e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ed006b0b9dbb7b7c16264d7c9304040f7ddf7104c0aef4d084dd0380d81c0f0d",
+ "chksum_sha256": "0a2278a138afa16699d2018af1c1e1e616a0898336bf1632352195a4d2be36ec",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ebe2088087a911826370430ed7e8029bee349d39be051ef9ce89f96ebb2d4118",
+ "chksum_sha256": "f8669a63ac0d96789d4722d662bf1568b86c5433817147820023d2b323b2c14e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9c296bdd111a832466197719e7d3a6da9215aaaa0ab6aeca20b16e5284c61b52",
+ "chksum_sha256": "f6e477bd3b8bdcdbdb4a581d99fc15745c21c823d54c364ea2b1a1fbfb43958d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/_setup.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "047f1c0feea67e71c51f1eed5b1434e093a7b9f98494aa230acea01f7b68a91b",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "5153443ed073b0cc035110ac96d297361e22abe390c84014d0a7dbc83ede74e4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b2a00e0d2590a7c6caff9c7d3d3df8eddf7a04bcb142a5900735574cf7d7ba14",
+ "chksum_sha256": "7fd565877939a79d2e7d7d25da2c520c9ea6d42572d5d4fc8110716dff0f961a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bc402cfd6f07870283877fcd9c3158fdef7f756c7ea88c1aeebdd73629628a00",
+ "chksum_sha256": "5e57172ca560cf57a5a6cda0d4427ef723ff0c2041494801839810d37f2dc448",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "40d8f8cfc0bfd8a2d5da53d9e61f2d398e4ed50e2cc17915359ba02b980d16d0",
+ "chksum_sha256": "98bd39c65fc6a311ba043b2cb6e5fb636bf75e1cd4976826739b8a81f1a4a6fc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a8055703f881f09873f851f1e0c212ac66aa662b744b5cc81a6bd07a7e854643",
+ "chksum_sha256": "870e84431b7485f0d29bb5431284baf0098b3a2dc4c33433007de1b970ed5b6f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "84c00378264bacd0d235c0b7a80ebf88d754fb93b1e85b00047fac028b29275c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_neighbor_address_family/vars/main.yml",
+ "name": "tests/integration/targets/nxos_snmp_server/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c9c20222a6eea75718e72f0e12a439d0f2a36eee5fc85db00a855c0ca4a72f99",
+ "chksum_sha256": "af12998368091442ef220d6e85760264d3d8b49b44ab62a34598479e622d6d61",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging",
+ "name": "tests/integration/targets/nxos_telemetry",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/tasks",
+ "name": "tests/integration/targets/nxos_telemetry/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2fa4212775c84d75c443b3960aebf6341b09e5224e4faa7487fd1665c531cfed",
+ "chksum_sha256": "4fe8ec88364fed45512b5f8e5687038986edd9b03ab1962afa6476aed1ab2f5a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/meta",
+ "name": "tests/integration/targets/nxos_telemetry/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/meta/main.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/defaults",
+ "name": "tests/integration/targets/nxos_telemetry/templates",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/templates/populate_config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "160c96e0f5f10f0cd536d1fcd93fad3b60a8eac159a64755ac8617a702f032b7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/tests",
+ "name": "tests/integration/targets/nxos_telemetry/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/tests/common",
+ "name": "tests/integration/targets/nxos_telemetry/defaults/main.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_telemetry/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/tests/common/basic.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/vars/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cffb79e3d12eafda145406aeabd6a8b977e70c5eaf2357b1ea7e9f961f0d8efa",
+ "chksum_sha256": "90ee74a6d8158f5b1a5e92b16e0e044a5fae636e2742931b542355cb71ed2da4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_logging/tests/common/purge.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "73306e68b9cf6de77d4ae5c21bef31324fa909718a1aa43c35e1d99dfa07ce1f",
+ "name": "tests/integration/targets/nxos_telemetry/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir",
+ "name": "tests/integration/targets/nxos_telemetry/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/tasks",
+ "name": "tests/integration/targets/nxos_telemetry/tests/common/fixtures",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/tests/common/fixtures/new_server.crt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "d761bf530e78d0752a7d9f05dfd5084e106245c7cecac49ca75c0c76ba495fc1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/tests/common/fixtures/server.crt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "9248b8354ba01bd1fecb1d24494a6098ee9547fa34a9d8840068abbb9a80fd92",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/tests/common/fixtures/local_server.crt",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "29437b8420b999138ca0947aef901533fd9affbc7ae98a39b13fb6bfa0ae29cd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_telemetry/tests/common/merged.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b1ac88fec698b51b1f358987e65b5793cd9488ea085606963409a7b9d9b2b4cc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/meta/main.yml",
+ "name": "tests/integration/targets/nxos_telemetry/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "d231b07bd5ab608ddebbdbbdbbcbed5e4648ac7ad05dfbbf1df4e2a21c063389",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_telemetry/tests/common/replaced.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "00736c9321f59eb87d3655075f655cf2244ba30caed17b3175c3f0171c94bd9f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_telemetry/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "0f66a09ea372c1fa2c05027c0a2097da33a0912daf4355ff6cab34a77e057acd",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/tests",
+ "name": "tests/integration/targets/nxos_static_routes",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/tests/common",
+ "name": "tests/integration/targets/nxos_static_routes/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_gir/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "13582ac62b7614778bc62c5a6f93a36a920e8664812b73a2b0903af35c2fe1da",
+ "chksum_sha256": "40fe4fe85031868241ac9845115f925a1c7be1ad8c4f932f4896fdaad51da36c",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_static_routes/tasks/cli.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2eacf5012e1fb8a88bd7663844178dc5f6b617535d4bc2ddf0037ce474a33b1e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tasks",
+ "name": "tests/integration/targets/nxos_static_routes/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7277ec56762ca20a3617b1da87631d8dde35556a4c004e7c82974e49fab50d92",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tasks/main.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "849f2a2746300bf950bfe382b3f2b80990bbee773cbdbd2d1e2a897a9ed1e261",
+ "name": "tests/integration/targets/nxos_static_routes/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "62a31764ef528947cdefe8eb150e20bdaba422d40bac12a3609948ca1575cf8f",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/meta",
+ "name": "tests/integration/targets/nxos_static_routes/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/meta/main.yml",
+ "name": "tests/integration/targets/nxos_static_routes/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "3eda3cf170b296ca5e5f4996c8b03c030d87a4e3e6197f7770e2b14e739e4ab3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/defaults",
+ "name": "tests/integration/targets/nxos_static_routes/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/overridden.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "665288590cd4226da42511817f09ccdfc92df36c9621583cd2c82919af295c5a",
+ "chksum_sha256": "ff14829c4bb5758e9c2bcce36a6a134e5fd2d02af7586147e25ce45f5d3c6197",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/rtt.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ac26dd65c91afd1fd0e3734c2d3b9c361904f6af8fed0fbce8ee7746c96b64bf",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tests/cli",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/rendered.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b9734f5468d080e059ad191471f78497c2ce42fa6d87de56f9f2e273bc0d8e28",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tests/cli/misc_tests.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/gathered.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dedfb27511bd8fde863a0aa430bdd23272cd766d0c23694764d01852c9586073",
+ "chksum_sha256": "f58a5e229e9cb4a2cd367d9bd3d36dfc7b8a03598bd35d77c19ea701e70b8976",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/merged.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d8a7a44814c334c50589139d3473b014a953fda361f2d88075fe1538f65a580e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tests/common/common_utils.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a60e645271b0b349228daf7eac3948d5651a32abd8cb578005202d4c1ed80236",
+ "chksum_sha256": "244c13d831c6419ec7e7a46e3e00e82fc1be5a476e5204561deae0efce659d93",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tests/common/misc_tests.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/replaced.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ca259adfd9eabd17072e03cae98011aa82cf2e1b6d8fc88fb0ada2ebaca18d7a",
+ "chksum_sha256": "5c23e4c252c1cd1583fd56550d8d702f0b09b867eb03c50886e83f3c24197690",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tests/common/common_config.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/deleted.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "dea32a9f41f8c2367181bfb2fc2821e4304e393ac781dd02e19d6cb01c6273ae",
+ "chksum_sha256": "10271b66076c4d1659a13c85ae4ba02c903ba2eb771ba8a2e31f0910c46de739",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_smoke/tests/common/caching.yaml",
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/parsed.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2db51e2d9c925d2773d4bcf45ee241c75cc02547793d07cad590f1d9657eb36c",
+ "chksum_sha256": "4a2cd09da60d6b0bc0904e3f313e959fc3efbba7979d14309764e11aaefab96d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates",
+ "name": "tests/integration/targets/nxos_static_routes/tests/common/_populate_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "d486bec06fd92b15f491fc77298d00447520a955e2dbf3d84a5a739d1a2703c2",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_config",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tasks",
+ "name": "tests/integration/targets/nxos_config/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_config/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_config/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "918e266fd84500fc8a9d7958437789683bd47b7875371afaf4941b60f4594bc7",
+ "chksum_sha256": "a069f9e3d9d905e5a1d7e2b316e284944bc38cddc390470831451fb4672fbde2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_config/tasks/redirection.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "a4f04d0bc1463bb36c212620e786d8ce8d18681fd03f641c1a37351b6d0dfac8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/tasks/cli_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "244797b68a9ec0f73b3fecca59e21469c0bc8126f36a5b7ffe2fe20ebdf22f19",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/meta/main.yml",
+ "name": "tests/integration/targets/nxos_config/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/defaults",
+ "name": "tests/integration/targets/nxos_config/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_config/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests",
+ "name": "tests/integration/targets/nxos_config/templates",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common",
+ "name": "tests/integration/targets/nxos_config/templates/basic",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/basic/acl_config.j2",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c07047642c717ad5e564697143a11e7cc93a18376d91ee56dc5f44f3d19e22b5",
+ "chksum_sha256": "f8cfadc33b5527be5bd82a279cbcc769a882135ce815cb6d42177cb51d325e4e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/basic/base_running_config",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "425c2ab3097932fcb46a43b4d5b8bcaeed500348e760e77a5b6f1d4e4fca9eea",
+ "chksum_sha256": "85528fb2bdea51956f0b6d9a7cb07c7bc75e498553f9b5301b904db35ed0f929",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/basic/intended_running_config",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2326d2afd434fadf9b8d2ef427e3918e6a5947eb39d58c4fc1988df599c58510",
+ "chksum_sha256": "b478553dd335d5085c847219eae58a8daac0902372a5e8fbbd133da3850332b2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/basic/configstrict1.j2",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "37be696dfcec49e17974100e3ea8181b391da9cdad82f8667aa2f5df0ff8aaca",
+ "chksum_sha256": "da30d9c2fbe9c9473f957d26568b2cb42baa620e261efbce7d604535ec532cf5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/basic/setupstrict.j2",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "09f60138ddf3d5c8a6782f9f5f937091c37a58ea72c0304384034becdf946850",
+ "chksum_sha256": "b358f8f54eb293ce2eac2ead8f8bc2e3aae7383c2981c9c192530d6bcbff3d6f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/basic/config.j2",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1197072828ecfc518dd9ac00389c239db31f18e8d566fbe5a37fd80ff479f104",
+ "chksum_sha256": "d62440fb734cd4db3dd623ab8e77214ff7f82e44c7dfca249b20dcd83d83a9af",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/basic/setupexact.j2",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0f7753a98712bcde737fce34f1a0af8d5a655bba229b306685e5ae6f8c26257d",
+ "chksum_sha256": "b358f8f54eb293ce2eac2ead8f8bc2e3aae7383c2981c9c192530d6bcbff3d6f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/templates/basic/configexact2.j2",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b5884db197b0f69276768f1f6e5e8b4214ead32869dab90d76fae353425a4b28",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_config/templates/basic/configblock.j2",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e921d4fa370873c1b237ba6b3ee2d3c0a70520b08f5097e960152137a57ed123",
+ "chksum_sha256": "f8cfadc33b5527be5bd82a279cbcc769a882135ce815cb6d42177cb51d325e4e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/basic/configexact1.j2",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d307cdaf9d9ecb2c711093d4f9879deb595a843ed2d17b6ae1036d918b22cf2f",
+ "chksum_sha256": "f8cfadc33b5527be5bd82a279cbcc769a882135ce815cb6d42177cb51d325e4e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/config.js",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a1ffab53eece71058929fba7b157214cd3aeea388b6bf8aae94e146b03e5eb25",
+ "chksum_sha256": "c6d65e4fbe26ecfdf18d8eba2eac04aecfdd65e59e6b6db1c2aa2d29ed5a5847",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_config/templates/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_config/templates/defaults/test.j2",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "56e1c2649908ef81810457cc96bc917c530d7096e907b516389ef7cdbe3c9ba3",
+ "chksum_sha256": "356d51cb39cbc26b408ca0b3aeacc83634ee2f6e061811a3a8fafb63955ffa4d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/vars",
+ "name": "tests/integration/targets/nxos_config/templates/defaults/config.j2",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "522484a8eb35e809c1ebd645a73ca12f02b09c6cf237f1db1ed577088c149c51",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_config/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_templates/vars/main.yml",
+ "name": "tests/integration/targets/nxos_config/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "320a4fb71862d3232cd18205318c3a960d55b06bb1fd7fa7afd49ff122c04605",
+ "chksum_sha256": "665288590cd4226da42511817f09ccdfc92df36c9621583cd2c82919af295c5a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping",
+ "name": "tests/integration/targets/nxos_config/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/tasks",
+ "name": "tests/integration/targets/nxos_config/tests/cli_config",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_basic.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "7b3703086ba8415b259a2c8353dc03d9295173092ba3dc15170ae9718b10626e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_exact_match.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "5eb01810e15ac6b6941a7b9b79ca5ca3be016f16ee7f534eea9be0115fb53a46",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_backup.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "02aa5aa3478284c141cb3741eb86bf919a560bc25b5a911f453e05ce25737bd7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_strict_match.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "6329b5bab571f5218aeff32c54936052c2188466f842b4364d80dc9c6d800450",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/meta/main.yml",
+ "name": "tests/integration/targets/nxos_config/tests/cli_config/cli_block_replace.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "9058efd9127aa10094d23e72b8d7b8e0426d2707a113d7be2d539c15a1b9d229",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/defaults",
+ "name": "tests/integration/targets/nxos_config/tests/nxapi",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/nxapi/sublevel_strict.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "acaded71377fcc8c8b288d527caf6fc777c8d0f50079c8b409d1007f821cc9d3",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/tests/nxapi/sublevel.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "dc08a002e9e00d36590098bfe308ca825954a3e43755650cb5809684512433cb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/tests/nxapi/toplevel_after.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "7b8ad2836c7ec7360561cb0f4319bbe95feae70b134c5dac9deb2ba18a17638e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_snooping/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/nxapi/multilevel.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4a73bc840e125f41372313d58b550980ef7c1642f87ba9bb8ee85d8d026ff42",
+ "chksum_sha256": "ff4c8dc408f5b4296300c4d7d983fcbdf19ee303fc95fe44ddb3d72a8b2aa08e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/tests/nxapi/sublevel_exact.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "694ab236d9c21462b423d507666dfe90caceca03e8a2f8fa3759f9f51b6d06e0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tasks",
+ "name": "tests/integration/targets/nxos_config/tests/nxapi/toplevel_before.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "1d150adeed3e6e02c3adc3871d29b6a153d504ab7a861cd401b02c480008ba5b",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_config/tests/cli",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/cli/sublevel_strict.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "057bf9a3f64bb1abb24a5dc5a530553401a32850185af62cb278c85228ac6465",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/cli/diff.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2396a1bb62aa2d673208deb59766a787971d061630b8467afa525b7fdcb2e95e",
+ "chksum_sha256": "d890138033f9812260dfd304fb4888d77e0c78b71f0afb2f8f97ce71f11a2491",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/cli/sublevel.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
+ "chksum_sha256": "937eb38ce64f2eaaab0f4c8f86a336d6fa022a96d75e285baaf7c85f45fb0b09",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/tests/cli/toplevel_after.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "7792c748c17cf012bd7462753459725b9b2d4e8418a3edb3f4f76eb84f8b5914",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/meta/main.yml",
+ "name": "tests/integration/targets/nxos_config/tests/cli/replace_block.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "e0eef2496cf4af6b50d6274c1b6ef30dbe7955e60ab6695c4cc0660ee5e8a51e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/tests/cli/multilevel.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b91edced261b04cd778d86a702fd71159bcb7e37050b2b59d66f5fbd0485ca6e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/cli/sublevel_exact.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "b755c791e3a1b329e7da5896f70e10b01bdc5237bbe2e80316a4515d6f8d8bd8",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_config/tests/cli/toplevel_before.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "da70c4dcf111e0de17abc736ab6b4cfef245ca202d235dd1d9e611b40bbab8b2",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common",
+ "name": "tests/integration/targets/nxos_config/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "cdf825a17b7761cfbd225079ec5d366f4584e7f97111e0af086884f87fda0fde",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_route_maps/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/src_invalid.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c276d4c6888f077b84280f79606acb632995c8f1bf32e8c1c0bcb9c02055ee76",
+ "chksum_sha256": "000c3c67b80eab4be77858bbb29844ec788342c63d8570c1db6166ca5a9539b5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/src_basic.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "562a6817ca710cc4c1b6c4babb9b7bca97334312e19d963f8df83a98b7e94512",
+ "chksum_sha256": "eccd369dee1af74d2b9f2888107f438904ae0c58705d800ad95e913965991608",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/save.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ff60a5603326c1ae214cbac1f9411495c0cab6360f7880234d1b2e3be1a2ffbb",
+ "chksum_sha256": "bc462c07044762a41b8eddbe29be65aa51e6d6cea05d1e0630555e8cb4a9e446",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3b2a9d97ae8aa59ee542363b43e7051f5d8492e4f45ba0db862a9d071e1ef820",
+ "chksum_sha256": "55efec005b7a96d5dbd8739cfce99c359f047d1aacbee36ad6bc04bcf8283f26",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/toplevel_nonidempotent.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d8ea6575a0570f9ce32c1d3211f075ee42f56a4ba2d87115c6fccd3409b6b5d0",
+ "chksum_sha256": "48fbcde0f38c5b06062ccb0f93d50a5b7a7554edf66ee7ed4779d9d4ce524ac1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/backup.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "036af452cc03bdec84720356e6c7013b4f39c2a6800e1f8303120d785b2955e7",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_route_maps/tests/common/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "098fa1e9566ae02a5c089a7ab7a235ce53f1bc78b431e01595556f623f718c82",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_config/tests/common/toplevel.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "09e1c1e0b37433d900624319d7037eb3672c94053d18f87f22552dceeec1dc96",
+ "chksum_sha256": "2bc1969eeb4a97775fd72dd6e5109d499c24cf5735c2c54bf75dcf7d49690bea",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/_setup.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/defaults.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5153443ed073b0cc035110ac96d297361e22abe390c84014d0a7dbc83ede74e4",
+ "chksum_sha256": "db431603f9429be57048a8789d1f0af71d6cdae47a26878a608c082768a1244d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/sublevel_block.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "56653dab75b72e7a40ed1dbff928b5fd2dedf7651dcf2155747903b1a64803e4",
+ "chksum_sha256": "45748bd39c32ff0675cebcff8ed674384c0fcbd51797f2110edfbef816394801",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_config/tests/common/src_match_none.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ab508eea7234bac851c3c482330fa0c4afb0e8bd2af87d91901c230754d9779d",
+ "chksum_sha256": "f485a516ee779d29f9c4bef94249e47c885743481d409fedaad14bd49ecbafe0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/tests/common/rendered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "4e59d332194a4bb9ce27f445771203088b05b31a191b59d0e9e049deb72552a8",
+ "name": "tests/integration/targets/nxos_config/tests/redirection",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/vars",
+ "name": "tests/integration/targets/nxos_config/tests/redirection/cli",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_route_maps/vars/main.yml",
+ "name": "tests/integration/targets/nxos_config/tests/redirection/cli/shortname.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2e01454e13b8195b24273afb60288d0cb4a32a1ca4e7f1fff3bfea0fd2610f18",
+ "chksum_sha256": "00bb1bd085c826013b04f4eaf7f74ff0de45ec8330aa386f4cd0263d468df9f1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface",
+ "name": "tests/integration/targets/nxos_route_maps",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/tasks",
+ "name": "tests/integration/targets/nxos_route_maps/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "2396a1bb62aa2d673208deb59766a787971d061630b8467afa525b7fdcb2e95e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/meta",
+ "name": "tests/integration/targets/nxos_route_maps/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/meta/main.yml",
+ "name": "tests/integration/targets/nxos_route_maps/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/defaults",
+ "name": "tests/integration/targets/nxos_route_maps/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/tests",
+ "name": "tests/integration/targets/nxos_route_maps/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_route_maps/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2e01454e13b8195b24273afb60288d0cb4a32a1ca4e7f1fff3bfea0fd2610f18",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vrf_interface/tests/common/sanity.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "7f97e455b1bd40d8c37f4c473ba8a86d18cb742022dface71269898bcf9d6594",
+ "name": "tests/integration/targets/nxos_route_maps/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/tasks",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/fixtures",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "09e1c1e0b37433d900624319d7037eb3672c94053d18f87f22552dceeec1dc96",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "ab508eea7234bac851c3c482330fa0c4afb0e8bd2af87d91901c230754d9779d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "3b2a9d97ae8aa59ee542363b43e7051f5d8492e4f45ba0db862a9d071e1ef820",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/deleted.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "c276d4c6888f077b84280f79606acb632995c8f1bf32e8c1c0bcb9c02055ee76",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/meta/main.yml",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "56653dab75b72e7a40ed1dbff928b5fd2dedf7651dcf2155747903b1a64803e4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/_setup.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "5153443ed073b0cc035110ac96d297361e22abe390c84014d0a7dbc83ede74e4",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "d8ea6575a0570f9ce32c1d3211f075ee42f56a4ba2d87115c6fccd3409b6b5d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/_remove_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "cdf825a17b7761cfbd225079ec5d366f4584e7f97111e0af086884f87fda0fde",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/gathered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "562a6817ca710cc4c1b6c4babb9b7bca97334312e19d963f8df83a98b7e94512",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_location/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3e00a1c43687d39e22e8835b039f398d7bdebbcc45399d8cd01d6ca7d4ef6e96",
+ "chksum_sha256": "ff60a5603326c1ae214cbac1f9411495c0cab6360f7880234d1b2e3be1a2ffbb",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias",
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/rendered.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "4e59d332194a4bb9ce27f445771203088b05b31a191b59d0e9e049deb72552a8",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_route_maps/tests/common/_populate_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "036af452cc03bdec84720356e6c7013b4f39c2a6800e1f8303120d785b2955e7",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_zone_zoneset",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/tasks",
+ "name": "tests/integration/targets/nxos_zone_zoneset/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_zone_zoneset/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "f47853340600c1c9b76ed00695079b203ae45896e40acfac2f48e28f2ad98b40",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_zone_zoneset/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/meta",
+ "name": "tests/integration/targets/nxos_zone_zoneset/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/meta/main.yml",
+ "name": "tests/integration/targets/nxos_zone_zoneset/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/defaults",
+ "name": "tests/integration/targets/nxos_zone_zoneset/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_zone_zoneset/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/tests",
+ "name": "tests/integration/targets/nxos_zone_zoneset/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/tests/common",
+ "name": "tests/integration/targets/nxos_zone_zoneset/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "97b10ee26b05c01b328d79887c41479bd2bf559184fb1df4af53645db6e109ba",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_zone_zoneset/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_devicealias/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_zone_zoneset/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_zone_zoneset/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a93b103d12183553437c6808898ac57aa27e80ef5d1547e496e4ce5d5039baa9",
+ "chksum_sha256": "781a480d71c224fb90d67eba3072492ff3f2d263df13ec8c735cabec41956751",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface",
+ "name": "tests/integration/targets/nxos_acl_interfaces",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/tasks",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "280d285e1a9b531b25d8b880d3a032933d7135004c4658b7f1eb4872c60cc666",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "7be6dc51b2f6fb5601e0d7f3498991d34f0910206fe6ed537217c8eba86a3cf5",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "c57c3ff656bb8daf9febb3c7a7bff934b952d1ccb83604d93e23ccfc3ea88724",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/meta",
+ "name": "tests/integration/targets/nxos_acl_interfaces/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/meta/main.yml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/defaults",
+ "name": "tests/integration/targets/nxos_acl_interfaces/templates",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/templates/populate_config.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "6dd477232ff3b52e84f25f81712afb11874700566d9c52d923c012ad1d770cf0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/tests",
+ "name": "tests/integration/targets/nxos_acl_interfaces/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/tests/common",
+ "name": "tests/integration/targets/nxos_acl_interfaces/defaults/main.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_acl_interfaces/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_igmp_interface/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3f1f412736c7af33d14c2be45d461f6f96778bc221e6abdabdc579247c32d72d",
+ "chksum_sha256": "6a97fa118eda919bd0c4d9b45fbacbb04ef221e6d264073eda5612e7b57228c9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/tasks",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/populate_acl.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "d44542c7c93f7edcef7326941f254a969cc90fca962286a98a576a1979064cd0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/overridden.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "603d8a6ba49dd33261b0c7a152e55df28f2c3e10f09e9ec0f3eebde8d6c5c7ad",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/empty_config.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "46c8e8809399bcd1bdfe1242e346ac1c340668e32fdbfcba0cfe6a4ad9ff6f4d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/rtt.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "832178be08db3abba5b2d95b0c57c79f8a4d5b132f1f01f9dfe786c2a3b5cb31",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/meta/main.yml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/rendered.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "9ab726e93c94df77ac9671e7dfa0b8c89104ea4333e25b56f04830f9bda81942",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/remove_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "4b97c05adf25534f7d6e4ac7a67e541969eb7e1060b6360f956c5dcae418e5f7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/gathered.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
+ "chksum_sha256": "698995afdf69835fb4ba540353a3e4f213d7954d21073c0cc754b1787cd05231",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/merged.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "8eae4ac211ea7861be4677520f4962046223747c3f400208cad64b245998d0df",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/replaced.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "155aa10a15be7eea0049eb7035993970089c76ee53bcd152999c6055e8586aa1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_pim/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/deleted.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ab1efb1a3ca7cc688042b32d2d0660eeb0e25ff2bb2c833e9bcdeab5d6a1e0a0",
+ "chksum_sha256": "3c80a977c86fd76c2bbf06ab9878e383170afc5cba3f336e2d4f8ca2de3500fa",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans",
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/parsed.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ac628812931497d1846e45df02f6c9fc4ba4b8d61fba9a559793b8b217e08484",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/populate_config.yaml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "ff18091eda8eab8839ce8b146409c956a16da2af0d78204879e2a0d844835c46",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_hostname",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tasks",
+ "name": "tests/integration/targets/nxos_hostname/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "c100293cbf1e43e53f2ff874e3e1079621ae414e404db0078a26044ececac0b1",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/meta",
+ "name": "tests/integration/targets/nxos_hostname/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/meta/main.yml",
+ "name": "tests/integration/targets/nxos_hostname/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ec4fa30fc4a7b9e002d1c7b3932286ace72ba36e4f532e2cc79f49d07e0794c3",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/defaults",
+ "name": "tests/integration/targets/nxos_hostname/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_hostname/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests",
+ "name": "tests/integration/targets/nxos_hostname/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common",
+ "name": "tests/integration/targets/nxos_hostname/vars/main.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "372a997c3a0ce9aa7b42746d99a75295a66504416d94fd1b0c545e58717a6a9d",
+ "format": 1
+ },
+ {
+ "name": "tests/integration/targets/nxos_hostname/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/_remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "9d0b9b581e3e45b412907eecbc4ba5ad1632595e8cb58f397365287ce091bee0",
+ "name": "tests/integration/targets/nxos_hostname/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/deleted.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e2964f468cfe2c92dbee0504a71845636d76ff4e079dd07ad7f8656cba328221",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/gathered.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "87888ec93930b5630192fd9f60d931700a43910cfe6a3d092b04099ac88eb612",
+ "chksum_sha256": "6cd019ca4bbc9dc9a7657ccbc89a52a8505890bda564813765bc2bb004ef3814",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/empty_config.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "69cfb989d7be0b980e8fc3eb9d33154c66e2cde5df1a9f8b17b1ea0894879212",
+ "chksum_sha256": "292e2e1750dcd0b5114b4c1b2f8fe93125754fa76c1869f64f87e6055da6338f",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/rtt.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "65b9276bee903c86af57ed5a6afee1d84461bf6c7bf3a3cf95aa8369e0c7df57",
+ "chksum_sha256": "b2db6ef6d129f976a7c1dd3d1543020bba577d399fa4e780311e9942d0e39a21",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6f9623efb3904d185246e618c1cb0726553a5556941e5c2e91b7c9025de0e89c",
+ "chksum_sha256": "ce390e649cf85c4eddff7df5c0d545f57e389bb36774ae580dadafec45cf2a1b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c70b2b7642402aeef4772a4a8cc7b7abde208bfedd65fbdcf95231b2ab5a74db",
+ "chksum_sha256": "8564938ffbfc1d998d5ce080e9bc6cb612cf2aeefa19ac79bf9bf6f895800a2e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0fef283f3a139da74d869920dfc1b12b127b20e505c060d30b893d457ea980bc",
+ "chksum_sha256": "c76970334ac8f7dea1c52d4a2e9785b43fe9754ed2cece81e49036d8efce6507",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/replaced.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1f1efb47f41f82d4be94cca66acf388791ed71b63f1f3897f769f7e4110f1be6",
+ "chksum_sha256": "3c610838a6fa946c2237c8292c07b688a1ba7e8096a2d35d75f12f0b58866ed7",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fe16be9cd5316c7526ea489bad81d693f40c2f2351c01f60a4074802f208164e",
+ "chksum_sha256": "0b28a51b56bc716da4598490f3cb3302329f0113eb3ab32fa9a860223eae43f6",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/tests/common/rendered.yaml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5745013bf8f6e23f513cea1bb8878e4ca80ba61a331a5a5d2a7097673b786ed2",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vlans/fixtures",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "c48e9bf3dac84165ae9953b7ad26ecec061cc599fd5cc78290d048b36119ce19",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9d00aff551522b3a0a61d5ba2b38944de36985bd3353dc67987d76d650ccbea3",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_vlans/vars",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "6e0e085de3251f1846bf350484b27a639383cf70f82effdb6d8aa0b73f105c60",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_vlans/vars/main.yml",
+ "name": "tests/integration/targets/nxos_hostname/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fd3723c027909807b1d6ef73222d5bfc96f98c680a9f86f3e89c0366bdd22116",
+ "chksum_sha256": "55288117a1ba1770a3e0bcac6e550c318807316ce84c65e536ba34cc449f62b0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces",
+ "name": "tests/integration/targets/nxos_devicealias",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tasks",
+ "name": "tests/integration/targets/nxos_devicealias/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tasks/nxapi.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "280d285e1a9b531b25d8b880d3a032933d7135004c4658b7f1eb4872c60cc666",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_acl_interfaces/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_devicealias/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7be6dc51b2f6fb5601e0d7f3498991d34f0910206fe6ed537217c8eba86a3cf5",
+ "chksum_sha256": "f47853340600c1c9b76ed00695079b203ae45896e40acfac2f48e28f2ad98b40",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_devicealias/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c57c3ff656bb8daf9febb3c7a7bff934b952d1ccb83604d93e23ccfc3ea88724",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/meta",
+ "name": "tests/integration/targets/nxos_devicealias/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/meta/main.yml",
+ "name": "tests/integration/targets/nxos_devicealias/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
+ "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/defaults",
+ "name": "tests/integration/targets/nxos_devicealias/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_devicealias/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tests",
+ "name": "tests/integration/targets/nxos_devicealias/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common",
+ "name": "tests/integration/targets/nxos_devicealias/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/remove_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "4a810ecec7ad98918852e116b1723828e387fe649b66384bcce7ac7eeda9a3c3",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/populate_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "ff18091eda8eab8839ce8b146409c956a16da2af0d78204879e2a0d844835c46",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/parsed.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "ac628812931497d1846e45df02f6c9fc4ba4b8d61fba9a559793b8b217e08484",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/empty_config.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "46c8e8809399bcd1bdfe1242e346ac1c340668e32fdbfcba0cfe6a4ad9ff6f4d",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/gathered.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "698995afdf69835fb4ba540353a3e4f213d7954d21073c0cc754b1787cd05231",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/merged.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "8eae4ac211ea7861be4677520f4962046223747c3f400208cad64b245998d0df",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/replaced.yml",
+ "name": "tests/integration/targets/nxos_devicealias/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "155aa10a15be7eea0049eb7035993970089c76ee53bcd152999c6055e8586aa1",
+ "chksum_sha256": "a93b103d12183553437c6808898ac57aa27e80ef5d1547e496e4ce5d5039baa9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/populate_acl.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d44542c7c93f7edcef7326941f254a969cc90fca962286a98a576a1979064cd0",
+ "name": "tests/integration/targets/nxos_acls",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/deleted.yml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "3c80a977c86fd76c2bbf06ab9878e383170afc5cba3f336e2d4f8ca2de3500fa",
+ "name": "tests/integration/targets/nxos_acls/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/rtt.yml",
+ "name": "tests/integration/targets/nxos_acls/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "96d777b4974044947557f7ae5f9400640b0376086e15759c8dd8befb6a65d4b2",
+ "chksum_sha256": "280d285e1a9b531b25d8b880d3a032933d7135004c4658b7f1eb4872c60cc666",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/overridden.yml",
+ "name": "tests/integration/targets/nxos_acls/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "603d8a6ba49dd33261b0c7a152e55df28f2c3e10f09e9ec0f3eebde8d6c5c7ad",
+ "chksum_sha256": "dc2e669d7f6ccc6f6bd958fc52376105ef28a808ec084c11f2dfcecf1471760a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/tests/common/rendered.yml",
+ "name": "tests/integration/targets/nxos_acls/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9ab726e93c94df77ac9671e7dfa0b8c89104ea4333e25b56f04830f9bda81942",
+ "chksum_sha256": "c57c3ff656bb8daf9febb3c7a7bff934b952d1ccb83604d93e23ccfc3ea88724",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/vars",
+ "name": "tests/integration/targets/nxos_acls/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/vars/main.yml",
+ "name": "tests/integration/targets/nxos_acls/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6a97fa118eda919bd0c4d9b45fbacbb04ef221e6d264073eda5612e7b57228c9",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/templates",
+ "name": "tests/integration/targets/nxos_acls/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_acl_interfaces/templates/populate_config.cfg",
+ "name": "tests/integration/targets/nxos_acls/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6dd477232ff3b52e84f25f81712afb11874700566d9c52d923c012ad1d770cf0",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family",
+ "name": "tests/integration/targets/nxos_acls/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tasks",
+ "name": "tests/integration/targets/nxos_acls/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_acls/tests/common/overridden.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
+ "chksum_sha256": "9e261e0e1a8b1778739d5bb1c17c75a378186c5c2efd72a351d604e0d7560318",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_acls/tests/common/rtt.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "918e266fd84500fc8a9d7958437789683bd47b7875371afaf4941b60f4594bc7",
+ "chksum_sha256": "4912e31a951706d32e6682e65095ad1794df0cdedeeeec3d5e9ba139e14a0409",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_acls/tests/common/rendered.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_bgp_address_family/meta",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "aa791c7d2f4a1989dd888e3880d230146cee3a448116cb224c31066a7f7573fe",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/meta/main.yml",
+ "name": "tests/integration/targets/nxos_acls/tests/common/remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
+ "chksum_sha256": "6b36b668815324ab75f641e80f9341c4f7b4f264585d07409b01704c5f8a018d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/defaults",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_acls/tests/common/gathered.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "8c6126ef877c72fdb6e19f6499e4c3ac4219a5fb4cde44f4529306aac3fd7966",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_acls/tests/common/merged.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
+ "chksum_sha256": "fc2db360c49a4f960de158645c43115dec175da832363eeaba86a8ea97d1e62b",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_acls/tests/common/replaced.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "2b9ce3eb07fb30eb390fc555830b61b4118c485523bf85538a805feb06ea0fb0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "name": "tests/integration/targets/nxos_acls/tests/common/deleted.yml",
+ "ftype": "file",
+ "chksum_type": "sha256",
+ "chksum_sha256": "14f12dadd4d09d23feee07007209b1eae18bc9c013a50f79ed39ae022e652226",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/_remove_config.yaml",
+ "name": "tests/integration/targets/nxos_acls/tests/common/parsed.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c07047642c717ad5e564697143a11e7cc93a18376d91ee56dc5f44f3d19e22b5",
+ "chksum_sha256": "9c6e2f1a0b9c9d9dc2c33b7906490f5acde968592b9257f095b4cfc38eee3dd9",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/deleted.yaml",
+ "name": "tests/integration/targets/nxos_acls/tests/common/populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e76deb0ccd6d015af64ec4b54fc1da88ccf401b0aa373bda8d4cfabd23b9b1d9",
+ "chksum_sha256": "ea179f0b4974165f1ad36daff838b34a663eb136543c6a908df7b8fe73027eaa",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/gathered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "0aefe84d03b67ec239027816ac3522c7b7cfabac56bd979c781c74cab4b01955",
+ "name": "tests/integration/targets/nxos_snmp_contact",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/empty_config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "fed0782bb5669d310ba18f8a49c51be3b1c8b16b0951f388e2280ed4a1769b50",
+ "name": "tests/integration/targets/nxos_snmp_contact/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/merged.yaml",
+ "name": "tests/integration/targets/nxos_snmp_contact/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a6f21fe892ff7e532f40e0d7ecb6bba83f26bb1765ac4177b453d85f896dc633",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/overridden.yaml",
+ "name": "tests/integration/targets/nxos_snmp_contact/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ba2591fcb1bd54b023d7d45818463cb4d7efb6c7a918133129505ab24d3c9b7d",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/_populate_config.yaml",
+ "name": "tests/integration/targets/nxos_snmp_contact/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4ad5b3d3c16b81ea4fcf40639099f5191577136f0cf3ff4970ed630d8248ec66",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/fixtures",
+ "name": "tests/integration/targets/nxos_snmp_contact/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/fixtures/parsed.cfg",
+ "name": "tests/integration/targets/nxos_snmp_contact/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f6189829f4b10872e4553b8c55db04c742cca9c7598d067ddb3eea05e0ab2f0d",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/replaced.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "0a2cbefd9d104a0f9e0370a13ed7e87feb1e74175d922f33d786e604e775a498",
+ "name": "tests/integration/targets/nxos_snmp_contact/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/parsed.yaml",
+ "name": "tests/integration/targets/nxos_snmp_contact/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "29d4c709454554edeef9e3a0e394a93ff71200d5ae09e04d855d8edcedc24549",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/tests/common/rendered.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "7121942f388ee7ab8d2484101d1a980b1d666be25f8388c6f00438f36a99736d",
+ "name": "tests/integration/targets/nxos_snmp_contact/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/vars",
+ "name": "tests/integration/targets/nxos_snmp_contact/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_bgp_address_family/vars/main.yml",
+ "name": "tests/integration/targets/nxos_snmp_contact/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "528513c35a708d559281b5758e5c998565f110acf10803504b3cdbf2accf1988",
+ "chksum_sha256": "21c997106ed806dbad5a3cdba01f5e201161020b6498a5d92ac003b702fa579a",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot",
+ "name": "tests/integration/targets/nxos_reboot",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/tasks",
+ "name": "tests/integration/targets/nxos_reboot/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_reboot/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "b93ca9bd41e9b2ddb1e47c5782c7104ad85b67441154a82ac8954fdaebc62cfc",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_reboot/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
+ "chksum_sha256": "0789afb380e4ee3da221b8e5904d1fc0309acaaf7afce7e63c9ba4c75c34ef57",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_reboot/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/meta",
+ "name": "tests/integration/targets/nxos_reboot/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/meta/main.yml",
+ "name": "tests/integration/targets/nxos_reboot/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/defaults",
+ "name": "tests/integration/targets/nxos_reboot/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_reboot/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/tests",
+ "name": "tests/integration/targets/nxos_reboot/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/tests/common",
+ "name": "tests/integration/targets/nxos_reboot/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snapshot/tests/common/sanity.yaml",
+ "name": "tests/integration/targets/nxos_reboot/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "171022870f501d3dcb8c73978ee34038cb5e65c32786bbabc9f638c9ae04be4d",
+ "chksum_sha256": "b4c67bb49d21e284b5a0589f01582abe664f16d3361279b26463e6db76fd2425",
"format": 1
},
{
@@ -16010,906 +15660,864 @@
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host",
+ "name": "tests/integration/targets/nxos_logging_global",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tasks",
+ "name": "tests/integration/targets/nxos_logging_global/tasks",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tasks/nxapi.yaml",
+ "name": "tests/integration/targets/nxos_logging_global/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tasks/main.yaml",
+ "name": "tests/integration/targets/nxos_logging_global/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
+ "chksum_sha256": "2396a1bb62aa2d673208deb59766a787971d061630b8467afa525b7fdcb2e95e",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tasks/cli.yaml",
+ "name": "tests/integration/targets/nxos_logging_global/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/meta",
+ "name": "tests/integration/targets/nxos_logging_global/meta",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/meta/main.yml",
+ "name": "tests/integration/targets/nxos_logging_global/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
"chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/defaults",
+ "name": "tests/integration/targets/nxos_logging_global/defaults",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/defaults/main.yaml",
+ "name": "tests/integration/targets/nxos_logging_global/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
- "format": 1
- },
- {
- "name": "tests/integration/targets/nxos_snmp_host/tests",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tests/common",
+ "name": "tests/integration/targets/nxos_logging_global/vars",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml",
+ "name": "tests/integration/targets/nxos_logging_global/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "54b2c813dda14d97a1eef23c8a3b3ff2bdc194b60ec4cf15d7f6e0068802afa5",
+ "chksum_sha256": "15f80d89c3629bea0c669753c52136268f11e94a83ba6e69411fc96ab8449457",
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "1e10b5c9c01f39edff0f76171c81720d458aca5775d0f5f97f20bd2e6c21f57f",
+ "name": "tests/integration/targets/nxos_logging_global/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "aa6a8b70ec63534db6d01bad4ccb22de07cf1d7c0c65b148a02474964d1a4e72",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "0156bedc287881d6d9d767fd9720c5821708b9ad3c9c217c5c4b1df0a72a6891",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/fixtures",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "tests/integration/target-prefixes.network",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/fixtures/parsed.cfg",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1d281d4e38e720eeeee03bdd1df2429947e358ec15ab276b0b29765d99953d63",
+ "chksum_sha256": "3a97c562338de257e93908f409c770a5439d362fcddcdb8d939dc7ff2e7002c6",
"format": 1
},
{
- "name": "tests/.gitignore",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b5726d3ec9335a09c124469eca039523847a6b0f08a083efaefd002b83326600",
- "format": 1
- },
- {
- "name": "docs",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "d952ab3ac507f65ff98eb58e380db0abe1583198f653d77beaa4e384929ad698",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vrf_af_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "505afd306e1f21c5940397a50a876c3a2413e197d166db33f9196dfc1b9cb677",
+ "chksum_sha256": "82ec13620a0c096e01a22d68b13c59798667ca68d3ddbbc1be802ff3f415a562",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_user_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d655e1b47fea4edf25adb1fdd20fa7191ef114caaa31d5ce1c2b9edf46b1c63c",
+ "chksum_sha256": "926b1b20a7babe989cc2f1b3e34a16d08368817d3ef38d6903650a294a42cc3a",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_pim_rp_address_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "94630c630affe8dedd940b41d0fcdab02712ade527964334956ca5698280d13d",
+ "chksum_sha256": "dadff9821e586c3a062c7ac4b2936903359a8fc4b2f4cceeb466f558c82b52d1",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_system_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2c8e2849fa4d54b78f6e1d87d2ce57d052b37b75b8ac2739b62ad111e326b617",
+ "chksum_sha256": "04822e2f3237fcae131842012a520b5fde51c1fd4b381ab86aa055d7c076f867",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_ntp_options_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "adeee3c976eeaec6027d4327f520832708c6ecdffabfd321a854c8b6b821e07b",
+ "chksum_sha256": "619954ad3ae24e83760fb7b9f09daaf010f96020056398fe49a04001326f72c8",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_evpn_global_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "993ea85ff1bf02311f55646f0c5dcadc2d216a2819b7902f43470a645d1b90d7",
+ "chksum_sha256": "7c13b226487605fb6b6c73406c97a1972ed4c1995825124cb426d64eaac1a2ec",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_aaa_server_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ae7d06f89fb79b0ff5b7dbb41b289db70e8c602a08c1baac5b059adc72775665",
+ "chksum_sha256": "b1658713d71b118aec3c1e27ae2d2453c239d56b32e3c6d816f5187796b40c7c",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_config_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c973074149659b0f0130eaf0a7339a039cd5d496f13cfbb4e51c59d0af957096",
+ "chksum_sha256": "b4a5f8a10bd86d7609cb6688523bc611e052260c4a06bf9cf202f33eee40a1f5",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_aaa_server_host_module.rst",
+ "name": "tests/integration/targets/nxos_logging_global/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e8d1dc8303a82ca59e70c37d6852f8dd1ba6b002e896a9f4f2182148a6944ef7",
+ "chksum_sha256": "dd0584d7e6d6a3aa5942acda6002b2e13a2bd64d59ee04dc5122274268676cc8",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_pim_interface_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "b7fa1c8e28a128af94059b3d66e3e40c97e7d748a858ff74e77a0e313641c3ff",
+ "name": "tests/integration/targets/nxos_lldp_global",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_fc_interfaces_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "cd8685843982e7d823622c7c11bbb1fa2bc89409a7759f943a649c39540841d6",
+ "name": "tests/integration/targets/nxos_lldp_global/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_httpapi.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "eb7f6fd0b46ad4b478746f0518b8d443e541f44ba8d77f999a42a760671ea015",
+ "chksum_sha256": "280d285e1a9b531b25d8b880d3a032933d7135004c4658b7f1eb4872c60cc666",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_overlay_global_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c8362ed52554894dd979a332e946ede7fa0834c17d8980a08a282320a2a18391",
+ "chksum_sha256": "a4138a366efebe8659a4237d00d38110163d05b728a38c3514dce547a6d16a9d",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_lacp_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bf3920fe2dbbd42f322d4a0f4dd23c875d01f6a5545dbc648ae5ae3aa62320de",
+ "chksum_sha256": "fe84894e2a9ff992a755f52f856ff23c23dd249fb9fe14dc4f264cd1a6070e12",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_ntp_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "7a21e1c58d9ce02be1cfa7699138e3008ec4bef1aacbd137d142b22caafc7af0",
+ "name": "tests/integration/targets/nxos_lldp_global/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vrrp_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "26a52da59610c540242b40091c3fc689cf5b1672a4f36084202ebba38f5589e0",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_gir_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "2969b2a880bc98f5272720086059bc55d861fc1ce00c8854c75aa061ba3aa8bf",
+ "name": "tests/integration/targets/nxos_lldp_global/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_bgp_global_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "b21cb51d17f350ce70cf1731fca38c9a502e4b0b35c275a0214c976b9c0ce2c9",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_file_copy_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "c38e717848ddfc093b17245d08c45e6beda5d7b1c263453ef0a43171d5008f47",
+ "name": "tests/integration/targets/nxos_lldp_global/vars",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_l2_interfaces_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0f0b13631588f0c4e04951537a83c446d484cc89ea73b5f3cb7472518f9524ef",
+ "chksum_sha256": "ac136582618b2844cd5bb84e0aaf52f6b4e7a6ea581a0fa0ec5466e9c9c3bd68",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vtp_domain_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "18a52103976ba1d930a98e0e7fa45de34d95a86ca222e59b0ffc9629585cdf6a",
+ "name": "tests/integration/targets/nxos_lldp_global/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_nxapi_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "7e1d3a6d1f0ab8c170068321f77ab36c1161892773c9efa90dfff711664bfdb3",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_ospfv2_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/overridden.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "302ee60d5fd7f5ab60ba47c4e55e45c094002dfd3203119bef8fcd7a2a030d3d",
+ "chksum_sha256": "8aeec5521c22e513a4e736c9b51461285abce953173508ae28fb02ecef95952a",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_telemetry_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/rendered.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2461b4210c818c4300ebd11916a38e830c129d01b644c205846e90a3e1e470c9",
+ "chksum_sha256": "18c1848ef28d20fffd52045955b5a54ca72aea45d5c2ff9060d8856aeeb7162a",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_lldp_interfaces_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/gathered.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "d351b81a44cbdf2e64c1c745af9cdd81b1a6ed89bc5b1e5d960b199a818c23c0",
+ "chksum_sha256": "e5f9f21d8529dd8144e8259391a04642355d3f3c9063db5a27472a5180d6b7dd",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_snmp_community_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/merged.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "273905bc36e919c6f348d146018b77d4b028457714b0f3b4b2fad6a078680fe7",
+ "chksum_sha256": "e82eb173fbdc3209c167bc096bf1665240e72b24a34f75c19ec1a3b7c5d4c8d1",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_igmp_interface_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/_remove_config.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1e6eb10d1c630069ea01a42ae07b033d7c7b5aa72fa3a758a74805dc59b6688a",
+ "chksum_sha256": "339639545338297ee483c8e1370eeefc88356fceb240523dbbc6d8c237444982",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vtp_password_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/replaced.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "aba8c49ea83acf4e1ad8de779ebc06e21940537ce459b53bcfbdabdf72dacd06",
+ "chksum_sha256": "a62a8ac1f40b48c56dbd06eb543897331236925608b859a758f1c91037f17455",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_snmp_user_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/deleted.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0ebfbf6a1bdda73a9f3e5943dc33bbb38d636865ab213c2e79501baca180a6ef",
+ "chksum_sha256": "ffe0021fbc8bd39a7990267dc791d78f2571f3285efd5fd1244c68159ffca98f",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_evpn_vni_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/parsed.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7ab07a1a0137a0b43f2fee0160fff6af516646ec848a811a1a46e012c00cefbb",
+ "chksum_sha256": "ca1cd52e0c16bb7a97f9e1aa4eb9c49600b25854f35a93b0bcfeaf3ead1e7c07",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_ping_module.rst",
+ "name": "tests/integration/targets/nxos_lldp_global/tests/common/_populate_config.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "74122faa018ba84c3628abadef990f3888d58a72897d4b56ec41882348a12141",
+ "chksum_sha256": "c7bacd3b7cb077dc6895ecf350711c1bf39e18739a361f6cf514e9dd4d6355f3",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_snmp_server_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "2dfc1bc683bd7bd38223bf73283e1680999597e4bbef9f73a3a93f829e1e9bce",
+ "name": "tests/integration/targets/nxos_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_hsrp_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "41fd5b3b6c57a33c8ce81d03798b35d598496b89d13327c18dfe27dedaf99ae4",
+ "name": "tests/integration/targets/nxos_interfaces/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_snmp_contact_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "cbb715723ead144ae09062bf77f7f4a73e4a5035a81a7ecec925b00410e8579b",
+ "chksum_sha256": "adcabdbc005b34ef70ef70c9a7a3b0bfc9b94ff93d2f3ea18bf1f19fbc2d2201",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_facts_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bd70b6a7af989f66c15280934d332c07b93afcc7b1e106ea41ff3157ccd66f7f",
+ "chksum_sha256": "64ca5b4de950cd0d788bdd92389f7741e663d949ee6b0e343f1038c573564b64",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_install_os_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "60aba080258dbcb6a750738a28130c662db2bdb378f5a9301974d1b35eb559a0",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_snapshot_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "a0e3fad000d677b7f24bf64090f02742004a9cf100306a97f51aff9594fe8d9f",
+ "name": "tests/integration/targets/nxos_interfaces/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_igmp_snooping_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a31b9e7cac6c66069bc1b9a46fbf4f3e778fec3cdbdb55f4b6d672abeaf7d795",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_ospf_interfaces_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "14b703fc053e0bb1480660ba83c421a75d064f6ccc5b036d614cd9fb260045a0",
+ "name": "tests/integration/targets/nxos_interfaces/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_igmp_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9f12f1c5cb360aa1634964c6343e14141cfce7fc49e37e0062c2957b20459399",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_bgp_address_family_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "6110c639e4f6c1ecbf4b26eae3c5cee417711f047ef02b28ac30a6d802fd5152",
+ "name": "tests/integration/targets/nxos_interfaces/vars",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vrf_interface_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "64296c4de9145ceec2a49e4f09b2573fd163bbe33247b395769cb6833cdd16ba",
+ "chksum_sha256": "c7aa68e2e8b3bb1d6b4258ed279670b1a8e5fc5e6a63b446eab511c3963db1c1",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vpc_interface_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "941e607951f2fe1347329a6f68d9303ff04fcebedfd0792fe5ab181625e120d3",
+ "name": "tests/integration/targets/nxos_interfaces/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/__init__.py",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_static_routes_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "321573507ba209d6e730e742919ab4a4dd106bb60fbc63e34cf974b9868890b5",
+ "chksum_sha256": "e26569250511575d31ea2338e2abede7fda11240bd583ac7896adccb24abd7f2",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vlans_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "92873fb2eb3e2513027457a149812b55bcdb3bc05a488ff1eb448a97fcc45be0",
+ "chksum_sha256": "49898e976fb440f5b1ebc404e489b6e2511049c950c8c0d8fe75e251dc5c3671",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_rpm_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e928284ecee7ed27ef75a660db2e02900d8de4cf0d255bfd31a819f4e2abe036",
+ "chksum_sha256": "d5ba532156bd9771e2ec35bb085d404ed049b88e1da827ab9eb6d4dd38a3c871",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_lldp_global_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "6994ab2f365796541f268d6d3051e4a192e2b911495e12342d6d3cad12016f2b",
+ "chksum_sha256": "c8d1e0d8e50dd46dc84c73912990ffca760b0f5e1a8ad8ab2f10a90bce902369",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_gir_profile_management_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a61bb74ddc282c53b69e51c4b4cbad0edbe362819e4bc3e823fb2dc892052418",
+ "chksum_sha256": "52f0f66116a7b07a9bfd39bcc2cdabc5a2db68ed24d92751f3f53f08332f0ed0",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_acl_interfaces_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "274afa56a270c6d4b216af200a3bde7d6b964f281fe641ef4e5b0eeacb27c844",
+ "chksum_sha256": "a639b04de3b8a2a70660b4034c291526f9e1f4bee9e24e4e543bd719a4f65a50",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_interfaces_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/rtt.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ccbb66492488e26ebf3982743505a0b9fadaa7c6a63adf3d93190064d6419669",
+ "chksum_sha256": "0eb7659a55ab72845d72bf76bcac9618bf84c8d5d55c6fa8f04ff9c15c68a92a",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_snmp_location_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "321530eb77aa27eecab0eb6090a189eee7b9a7431cc94750c1f0f38718058d4d",
+ "chksum_sha256": "3f875bd8877a898338a0402b34179ad17f45b84d1623c72741490f52913eb064",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_devicealias_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4b7ad5d619f577089e5a87b5b628c6c869bd4adf86eb8e8c547b491154361dc6",
+ "chksum_sha256": "c5a2d4d2fa3245673307a06eb29fd3b751fad50fde2dac24f84aaff5498a5af7",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_udld_interface_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7786920d50729a8a8a73a20bcd0d4296af8095f52590076177511dc0c696dda5",
+ "chksum_sha256": "454396b9f57fd4895a1d8063b565bde8a053291bc6f6e5f934397c75e99ac6cb",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vpc_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/purged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0aeb5a090773bcf219cb3ab181424bde284e9669ccc3ace93175b739fec4f81a",
+ "chksum_sha256": "832b01df3053b44b5e69f7b1e62fede8df0291af913f7b4abd1d4545439ef718",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_hostname_module.rst",
+ "name": "tests/integration/targets/nxos_interfaces/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "2cc61e3ea5053c4ee1bb14f41a85e67e4790010b7142e21bb72fcc88a5e715aa",
+ "chksum_sha256": "eb7918401f281cb2d25ccebc214ac1fd9ae10975f3ca4f77f56a53f3cc485a40",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_acls_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "2a87f6ac4c6d930a3561852c685ea70e75e34f7653b1cfbade26432a94e2b736",
+ "name": "tests/integration/targets/nxos_snmp_community",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_l3_interfaces_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "a3839881ddd3679d82e6376c6aab14f88f57d9b2b626414e90c1845d02f2e6df",
+ "name": "tests/integration/targets/nxos_snmp_community/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_netconf.rst",
+ "name": "tests/integration/targets/nxos_snmp_community/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "da11bd9904bba75e1ca0484cf6ddc0ebcd0a2ffc12b1e9132d60f8a0bc54705c",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_logging_global_module.rst",
+ "name": "tests/integration/targets/nxos_snmp_community/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "727f844d56c2eef418f10b022c0295ade96365f73b0654b00b5b586b42dfcf44",
+ "chksum_sha256": "bb83a5490c188c20d9a8632bdb13043146a87d5dfc555cd2e389ee30885bf7ca",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_snmp_traps_module.rst",
+ "name": "tests/integration/targets/nxos_snmp_community/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "25326502a9e485b1bfe99093b316af67686f797fb8ce8d972c9ae914d8e9da27",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_logging_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "d43af63274e03108055551c1ddf7127fe3bf869db5fd5b73bcf3e0b95bcbaea0",
+ "name": "tests/integration/targets/nxos_snmp_community/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_bgp_neighbor_address_family_module.rst",
+ "name": "tests/integration/targets/nxos_snmp_community/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3931a7ccbc77cb049c8d06798076797b250d4fb3b2ad60da12b799b62cf01285",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_pim_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "f974bc3ca8293d0e60b7dd26ef3babfc02003702ea5632feee97fbba59fc59a0",
+ "name": "tests/integration/targets/nxos_snmp_community/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_command_module.rst",
+ "name": "tests/integration/targets/nxos_snmp_community/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ceaf1d413d6a78bb8b3611ff936316cd03c6e6bbef6b99d95e9998695f9f3a85",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vsan_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "dfa3dd3cb1bb3c94e13e1d85c9df1221bd9dace01ad337346126ccca7808680a",
+ "name": "tests/integration/targets/nxos_snmp_community/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vxlan_vtep_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "920cbc7cf6b2d9736bbeacbf6751674c6b8985af13183432f027070235ed745e",
+ "name": "tests/integration/targets/nxos_snmp_community/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_banner_module.rst",
+ "name": "tests/integration/targets/nxos_snmp_community/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f33242bd0d3b632cb5e97dc9ce3e6a9029060e204c87a3554aff1ed36a7d19f0",
+ "chksum_sha256": "7a31444a04409e8b5f9d58864e5405ec3ded7ec744e6e731b3ca0d22ec1a6ee0",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_bfd_global_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "1ff1d376f71be1de3dc5e97bfae1ea331e92430adb9e31b61e6fdde8da710538",
+ "name": "tests/integration/targets/nxos_vsan",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_bgp_templates_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "00bb83305a1e55e1fa99e7008ff4131123f6702514a66409c524e6ca1374c00e",
+ "name": "tests/integration/targets/nxos_vsan/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_ospfv3_module.rst",
+ "name": "tests/integration/targets/nxos_vsan/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "ecb974bec3af1412bb18f229492198eaf19c2de8102d65176de90d2f2810566c",
+ "chksum_sha256": "f47853340600c1c9b76ed00695079b203ae45896e40acfac2f48e28f2ad98b40",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_bfd_interfaces_module.rst",
+ "name": "tests/integration/targets/nxos_vsan/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "17874cc21b8abc82fc53aace972f6d49833e45d5c1a2cc672ebe97c5c98c2102",
+ "chksum_sha256": "44ac0ca4032d1756f572a45038a7dfbf52c9ba9762815aa3a900b7c425036120",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_rollback_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "04cf041066c5d09e1a5317b7cb7cc1eb2504f0d1faeb9a28d3d59f3ae98c783f",
+ "name": "tests/integration/targets/nxos_vsan/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_reboot_module.rst",
+ "name": "tests/integration/targets/nxos_vsan/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "194778e502ec450e673e2562baf84d459a9d844c3c3f281cd6ed2f2bc2618087",
+ "chksum_sha256": "f52d711103d50a437830c6fbcd04fb4bab49a0f82f6d26d1c791c6e8488dd090",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_hsrp_interfaces_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "717413f42fcf927466b00bb8a1e38f17e5e7391794b8a7431edf822a7a71da9d",
+ "name": "tests/integration/targets/nxos_vsan/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_zone_zoneset_module.rst",
+ "name": "tests/integration/targets/nxos_vsan/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7e6e8c9e520a4ae76c3532b010ea67997a01a555775c112b89d094d129999c3b",
+ "chksum_sha256": "b6cec8117492a3110c2e9066aa77a54abd2b9774cea08d60eb42b01c51c3e032",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_cliconf.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "546fc754b81109404a33285c90c3bba565b1a2529e00b7284609b62bb25b4d8b",
+ "name": "tests/integration/targets/nxos_vsan/vars",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_feature_module.rst",
+ "name": "tests/integration/targets/nxos_vsan/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "e31d99494f87afad1ecdce42d483a32e523e8e978f42b1955de1f3b0033bcf80",
+ "chksum_sha256": "97b10ee26b05c01b328d79887c41479bd2bf559184fb1df4af53645db6e109ba",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vrf_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "9e68ccbcf499b55feecf2b3c6b57f4b79b6dae43fd2671946ae3a65cd16d5ad6",
+ "name": "tests/integration/targets/nxos_vsan/tests",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_lag_interfaces_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "3ef2ea1a3291066c3f7260b2247a47058a65afae30226465b6b6be9994617789",
+ "name": "tests/integration/targets/nxos_vsan/tests/common",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_ntp_global_module.rst",
+ "name": "tests/integration/targets/nxos_vsan/tests/common/sanity.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4fce862cb2f944fdb7438e8c9796fc1138b700a4acfc3654181d589bfaa170cb",
+ "chksum_sha256": "cb88ac95adfc25626d2c81d7dc7d45341c006ac0490dda44c675101938ec4bcc",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_prefix_lists_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e411c76a91d77aac63c31c51864f7247f91fb48226b134bbb1b2cbc29029bfa3",
+ "name": "tests/integration/targets/nxos_lag_interfaces",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_route_maps_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "501f2b75dfc0dbbe3054ebcdfad739b3a8ba8f4c367e8d22baabe987addea62c",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tasks",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_udld_module.rst",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tasks/nxapi.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "26d0773b5cbd658f39b2c08b9949e45ae5aa8a94405c4f1ef9ed0708c682c4a3",
+ "chksum_sha256": "228491b275c71b123f5bbb1dbac0093d55bd77f2a291bec15d452b489ef1674d",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_lacp_interfaces_module.rst",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tasks/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "34e04733378368d79deb4513e17315978468b0180b5e9c1d2e4ac863ba3ad1b1",
+ "chksum_sha256": "b9647339f89f9eeca01a09cd4f31da21e0c0c2f10793ea3ea06c24fd8664046e",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vxlan_vtep_vni_module.rst",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tasks/cli.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7aebad3ad5c1c53036df468c782c366a17fea865b15a189f99aff17c171e464b",
+ "chksum_sha256": "82e7cf4c490409760e85c9516e174b27c8d67fb419e829353d94c4d022016245",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_vtp_version_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "c27cc4c99dbad288216a917b46c9949f1cc2ed72a4268e79ef61e708d6a1edff",
+ "name": "tests/integration/targets/nxos_lag_interfaces/meta",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_snmp_host_module.rst",
+ "name": "tests/integration/targets/nxos_lag_interfaces/meta/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "738d6be19ec9aea9158035e6f1a2302d3484500ee9b3148e2d01628bf2f9fcdc",
+ "chksum_sha256": "306ef26bd70b58285bef6b50a83c64b26b9077181c6823ef20ac63252373d5de",
"format": 1
},
{
- "name": "docs/cisco.nxos.nxos_ntp_auth_module.rst",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "fade0c737ea69c03d4075d1ed2a53eed91225b511d5c18e8b36ce965cd53f724",
+ "name": "tests/integration/targets/nxos_lag_interfaces/defaults",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": ".isort.cfg",
+ "name": "tests/integration/targets/nxos_lag_interfaces/defaults/main.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "3fc5fcc23727e7c5b9f1a7035303990229f796a171a84e21051dd1d242b90c52",
+ "chksum_sha256": "7d754db246e92eda93bade9b741e09afdc7c5ba2754a4ea5d874f92a479b65d0",
"format": 1
},
{
- "name": "pyproject.toml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "1cb6a45dfa2625123890b93ad7fdc156b063c16e8ae6dba11511a1d1986b0fcc",
+ "name": "tests/integration/targets/nxos_lag_interfaces/vars",
+ "ftype": "dir",
+ "chksum_type": null,
+ "chksum_sha256": null,
"format": 1
},
{
- "name": "bindep.txt",
+ "name": "tests/integration/targets/nxos_lag_interfaces/vars/main.yml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "f0e2709e0a523d84f824ccfb6883f62e9d27f70bd7a38be0d18506223ccfe60e",
+ "chksum_sha256": "05455a29f1db6e4d3602a83b356d9d7353037b1ef0627d2d2943b43520af76e6",
"format": 1
},
{
- "name": "changelogs",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "changelogs/fragments",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common",
"ftype": "dir",
"chksum_type": null,
"chksum_sha256": null,
"format": 1
},
{
- "name": "changelogs/fragments/.keep",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
- "format": 1
- },
- {
- "name": "changelogs/config.yaml",
- "ftype": "file",
- "chksum_type": "sha256",
- "chksum_sha256": "54c802c2ade537e8b71ba45d10c73a422778a62aab0093bc6805c75ab8c7f448",
- "format": 1
- },
- {
- "name": "changelogs/changelog.yaml",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/parsed.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "bd41980acf38b47c9690052ff587311d4130c6f8180315df9540e1060d14c8e9",
+ "chksum_sha256": "c10b8ab6302c0df3b5d8c99d1f67a9d92b80b518250c11e650dde96bc8f6b886",
"format": 1
},
{
- "name": "tox.ini",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/merged.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "beb3313789623e5570d0871f6115ba563a0d92ea75e8e89cbd9f79045b4fe279",
+ "chksum_sha256": "53c3cd45c91dd6078cf71ea7a9973d65069a61eaef47c49a51c7b66355970a63",
"format": 1
},
{
- "name": "CHANGELOG.rst",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/deleted.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "4ee70734d5e5b80f6503635de8d1655903b775ccf03679361cbb9cec895fc3f0",
+ "chksum_sha256": "4af7dc65128b02d59c3c12d5f94cfc4a77c266e867b79b172fc6425c871f9ffd",
"format": 1
},
{
- "name": ".gitignore",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/replaced.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "179a6d0780422c32653a71b9395a3ecb8b3859346ffa3e38ca3c8d90f8063fd2",
+ "chksum_sha256": "08e830f9373a4a360949e7c56cf2c374dad94a559adbde314f3b66daa642a0c8",
"format": 1
},
{
- "name": ".pre-commit-config.yaml",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/overridden.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0f78200450af191fc02f788182fbe9253661ce2257435654c5806b4482487901",
+ "chksum_sha256": "96e1c7636b178b2ae705ac0d7dd2ea67a4d4c1aaf29122900549bde0da43b4de",
"format": 1
},
{
- "name": ".prettierignore",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/_remove_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "fe21cf5ca4606d16ccedb1bccc85ef06771ee697924ca50ecd8ca4c98acce5cc",
- "format": 1
- },
- {
- "name": ".github",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "d6daa4d3b2cb43c7b62b7606b80b4f212348ecb1e28a516d16ac90e02f459266",
"format": 1
},
{
- "name": ".github/dependabot.yml",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/gathered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c4d7b4c429faafe0eb46a070eafcd3d8d84d9083b5fe72943d627b5f4ccf0dd8",
- "format": 1
- },
- {
- "name": ".github/workflows",
- "ftype": "dir",
- "chksum_type": null,
- "chksum_sha256": null,
+ "chksum_sha256": "2e4441e52874693cf2caa332a4639c23ad59350a6eda4e9c5109a9792a306447",
"format": 1
},
{
- "name": ".github/workflows/codecoverage.yml",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/empty_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "efd9c5d5eb70165779fc2ad3269b85d618c25a266927d19c47253c0db97ebbf4",
+ "chksum_sha256": "96cae582141397682d092a6b5d6de9651b6203157e891342063c439ffb130a4d",
"format": 1
},
{
- "name": ".github/workflows/ack.yml",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/rendered.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "24c6fbafaa69e3e3ee696f2cefa5120794b62cef7e870553dddce8b8af0a127c",
+ "chksum_sha256": "6eb88f454c810cee9cf1be9fc56eb6a574516fc49bddc50e81f329dc98cfb9eb",
"format": 1
},
{
- "name": ".github/workflows/release.yml",
+ "name": "tests/integration/targets/nxos_lag_interfaces/tests/common/_populate_config.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "c9b7dba505905600bbb9f0d8e9956b7cc20f80edfa742dfdae9395542f417aa1",
+ "chksum_sha256": "76ea0558de38d30dd8813738f9d92fba9867c7d37fcb2a104acaaf5aeebb12af",
"format": 1
},
{
- "name": ".github/workflows/push.yml",
+ "name": "tests/integration/target-prefixes.network",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0c8ecdf1088f9e34c9383c49a18a7c54d08ef378ba29eaa6373b52ee8e8bd522",
+ "chksum_sha256": "1d281d4e38e720eeeee03bdd1df2429947e358ec15ab276b0b29765d99953d63",
"format": 1
},
{
- "name": ".github/workflows/tests.yml",
+ "name": "tests/integration/test_integration.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "a363c29cae8f4b799d88470e5cc5546312966f5559f25ffd680611119035dd29",
+ "chksum_sha256": "a4966cf32b6505b51255468ffa72db6f36b948b07aa5b9ae3313607a93e48988",
"format": 1
},
{
- "name": ".github/release-drafter.yml",
+ "name": "tox-ansible.ini",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "7cbc785c8661033cd9dd7a60897484fce731cbe3dc124a689fc3e934b1d974fb",
+ "chksum_sha256": "da802bfc2dc2671ca7caba028e8a635b459b131874041d119b698717333a7a49",
"format": 1
}
],
diff --git a/ansible_collections/cisco/nxos/MANIFEST.json b/ansible_collections/cisco/nxos/MANIFEST.json
index 2f7654ec3..dd68be244 100644
--- a/ansible_collections/cisco/nxos/MANIFEST.json
+++ b/ansible_collections/cisco/nxos/MANIFEST.json
@@ -2,7 +2,7 @@
"collection_info": {
"namespace": "cisco",
"name": "nxos",
- "version": "5.3.0",
+ "version": "8.0.0",
"authors": [
"Ansible Network Community (ansible-network)"
],
@@ -18,7 +18,7 @@
"license": [],
"license_file": "LICENSE",
"dependencies": {
- "ansible.netcommon": ">=2.6.1"
+ "ansible.netcommon": ">=6.1.0"
},
"repository": "https://github.com/ansible-collections/cisco.nxos",
"documentation": null,
@@ -29,7 +29,7 @@
"name": "FILES.json",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "9600e95767ff5e93775f06e4e23e6eba580715b1e945d26ddb3f8bac0ce16cbe",
+ "chksum_sha256": "e7c60a9cfda9d9f1ae29b578d7a8f10bf08f80cfb94eb05f7eb016110eaa973d",
"format": 1
},
"format": 1
diff --git a/ansible_collections/cisco/nxos/README.md b/ansible_collections/cisco/nxos/README.md
index e8ad6e9d9..82ce821c8 100644
--- a/ansible_collections/cisco/nxos/README.md
+++ b/ansible_collections/cisco/nxos/README.md
@@ -1,7 +1,5 @@
-
-
# Cisco NX-OS Collection
-[![CI](https://zuul-ci.org/gated.svg)](https://dashboard.zuul.ansible.com/t/ansible/project/github.com/ansible-collections/cisco.nxos) <!--[![Codecov](https://img.shields.io/codecov/c/github/ansible-collections/vyos)](https://codecov.io/gh/ansible-collections/cisco.nxos)-->
+[![CI](https://zuul-ci.org/gated.svg)](https://dashboard.zuul.ansible.com/t/ansible/project/github.com/ansible-collections/cisco.nxos)
[![Codecov](https://codecov.io/gh/ansible-collections/cisco.nxos/branch/main/graph/badge.svg)](https://codecov.io/gh/ansible-collections/cisco.nxos)
[![CI](https://github.com/ansible-collections/cisco.nxos/actions/workflows/tests.yml/badge.svg?branch=main&event=schedule)](https://github.com/ansible-collections/cisco.nxos/actions/workflows/tests.yml)
@@ -15,7 +13,7 @@ The modules with full support for Cisco MDS are tested against NX-OS 8.4(1) on M
<!--start requires_ansible-->
## Ansible version compatibility
-This collection has been tested against following Ansible versions: **>=2.9.10**.
+This collection has been tested against following Ansible versions: **>=2.14.0**.
For collections that support Ansible 2.9, please ensure you update your `network_os` to use the
fully qualified collection name (for example, `cisco.ios.ios`).
@@ -25,7 +23,7 @@ PEP440 is the schema used to describe the versions of Ansible.
<!--end requires_ansible-->
### Supported connections
-The Cisco NX-OS collection supports ``network_cli`` and ``httpapi`` connections.
+The Cisco NX-OS collection supports ``network_cli`` and ``httpapi`` connections. A detailed platform guide can be found [here](https://github.com/ansible-collections/cisco.nxos/blob/main/platform_guide.rst).
## Included content
<!--start collection content-->
@@ -84,12 +82,8 @@ Name | Description
[cisco.nxos.nxos_lag_interfaces](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_lag_interfaces_module.rst)|LAG interfaces resource module
[cisco.nxos.nxos_lldp_global](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_lldp_global_module.rst)|LLDP resource module
[cisco.nxos.nxos_lldp_interfaces](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_lldp_interfaces_module.rst)|LLDP interfaces resource module
-[cisco.nxos.nxos_logging](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_logging_module.rst)|Manage logging on network devices
[cisco.nxos.nxos_logging_global](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_logging_global_module.rst)|Logging resource module.
-[cisco.nxos.nxos_ntp](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_ntp_module.rst)|Manages core NTP configuration.
-[cisco.nxos.nxos_ntp_auth](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_ntp_auth_module.rst)|Manages NTP authentication.
[cisco.nxos.nxos_ntp_global](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_ntp_global_module.rst)|NTP Global resource module.
-[cisco.nxos.nxos_ntp_options](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_ntp_options_module.rst)|Manages NTP options.
[cisco.nxos.nxos_nxapi](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_nxapi_module.rst)|Manage NXAPI configuration on an NXOS device.
[cisco.nxos.nxos_ospf_interfaces](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_ospf_interfaces_module.rst)|OSPF Interfaces Resource Module.
[cisco.nxos.nxos_ospfv2](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_ospfv2_module.rst)|OSPFv2 resource module
diff --git a/ansible_collections/cisco/nxos/changelogs/changelog.yaml b/ansible_collections/cisco/nxos/changelogs/changelog.yaml
index 055d17154..c0b40cc7f 100644
--- a/ansible_collections/cisco/nxos/changelogs/changelog.yaml
+++ b/ansible_collections/cisco/nxos/changelogs/changelog.yaml
@@ -1023,3 +1023,71 @@ releases:
- fix_config_module.yaml
- trivial.yaml
release_date: "2023-11-29"
+ 6.0.0:
+ changes:
+ major_changes:
+ - Bumping `requires_ansible` to `>=2.14.0`, since previous ansible-core versions
+ are EoL now.
+ release_summary:
+ Starting from this release, the minimum `ansible-core` version
+ this collection requires is `2.14.0`. The last known version compatible with
+ ansible-core<2.14 is `v5.3.0`.
+ fragments:
+ - prep_300.yaml
+ - trivial_lint.yaml
+ release_date: "2023-11-30"
+ 6.0.1:
+ changes:
+ bugfixes:
+ - Prevents module_defaults from were being incorrectly applied to the platform
+ action, instead of the concerned module.
+ - nxos_file_copy - correctly set file_pull_timeout/persistent_command_timeout
+ value.
+ fragments:
+ - file_copy.yaml
+ - module_defaults.yaml
+ release_date: "2024-01-30"
+ 6.0.2:
+ changes:
+ bugfixes:
+ - nxos_interfaces - Correctly enable L3 interfaces on supported N3K platforms
+ (https://github.com/ansible-collections/cisco.nxos/issues/749).
+ fragments:
+ - fix_749.yaml
+ release_date: "2024-02-06"
+ 6.0.3:
+ changes:
+ bugfixes:
+ - nxos_acls - Fix parsing of ace entries with range in it. (https://github.com/ansible-collections/cisco.nxos/issues/788)
+ fragments:
+ - acls_gather_fix.yml
+ release_date: "2024-02-14"
+ 7.0.0:
+ changes:
+ major_changes:
+ - This release removes four previously deprecated modules from this collection.
+ Please refer to the **Removed Features** section for details.
+ removed_features:
+ - The nxos_logging module has been removed with this release.
+ - The nxos_ntp module has been removed with this release.
+ - The nxos_ntp_auth module has been removed with this release.
+ - The nxos_ntp_options module has been removed with this release.
+ fragments:
+ - major_700.yaml
+ release_date: "2024-03-27"
+ 8.0.0:
+ changes:
+ bugfixes:
+ - nxos_facts - correct parse JSON output when multiple interfaces have IPv6
+ address assigned (https://github.com/ansible-collections/cisco.nxos/issues/771).
+ major_changes:
+ - Updated the minimum required ansible.netcommon version to 6.1.0 to support the cli_restore module.
+ minor_changes:
+ - Add support for cli_restore functionality.
+ - Please refer the PR to know more about core changes (https://github.com/ansible-collections/ansible.netcommon/pull/618).
+ The cli_restore module is a part of ansible.netcommon.
+ fragments:
+ - add_restore_support.yaml
+ - fix_771.yaml
+ - trivial.yaml
+ release_date: "2024-04-19"
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acl_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acl_interfaces_module.rst
index 938e0cafe..a2885df02 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acl_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acl_interfaces_module.rst
@@ -258,28 +258,28 @@ Examples
- name: Merge ACL interfaces configuration
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Ethernet1/2
- access_groups:
- - afi: ipv6
- acls:
- - name: ACL1v6
- direction: in
-
- - name: Eth1/5
- access_groups:
- - afi: ipv4
- acls:
- - name: PortACL
- direction: in
- port: true
-
- - name: ACL1v4
- direction: out
-
- - afi: ipv6
- acls:
- - name: ACL1v6
- direction: in
+ - name: Ethernet1/2
+ access_groups:
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ direction: in
+
+ - name: Eth1/5
+ access_groups:
+ - afi: ipv4
+ acls:
+ - name: PortACL
+ direction: in
+ port: true
+
+ - name: ACL1v4
+ direction: out
+
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ direction: in
state: merged
# After state:
@@ -305,20 +305,20 @@ Examples
- name: Replace interface configuration with given configuration
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Eth1/5
- access_groups:
- - afi: ipv4
- acls:
- - name: NewACLv4
- direction: out
-
- - name: Ethernet1/3
- access_groups:
- - afi: ipv6
- acls:
- - name: NewACLv6
- direction: in
- port: true
+ - name: Eth1/5
+ access_groups:
+ - afi: ipv4
+ acls:
+ - name: NewACLv4
+ direction: out
+
+ - name: Ethernet1/3
+ access_groups:
+ - afi: ipv6
+ acls:
+ - name: NewACLv6
+ direction: in
+ port: true
state: replaced
# After state:
@@ -344,21 +344,21 @@ Examples
- name: Override interface configuration with given configuration
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Ethernet1/3
- access_groups:
- - afi: ipv4
- acls:
- - name: ACL1v4
- direction: out
-
- - name: PortACL
- port: true
- direction: in
- - afi: ipv6
- acls:
- - name: NewACLv6
- direction: in
- port: true
+ - name: Ethernet1/3
+ access_groups:
+ - afi: ipv4
+ acls:
+ - name: ACL1v4
+ direction: out
+
+ - name: PortACL
+ port: true
+ direction: in
+ - afi: ipv6
+ acls:
+ - name: NewACLv6
+ direction: in
+ port: true
state: overridden
# After state:
@@ -384,8 +384,8 @@ Examples
- name: Delete ACL configuration on interfaces
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Ethernet1/5
- - name: Ethernet1/2
+ - name: Ethernet1/5
+ - name: Ethernet1/2
state: deleted
# After state:
@@ -498,28 +498,28 @@ Examples
- name: Render required configuration to be pushed to the device
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Ethernet1/2
- access_groups:
- - afi: ipv6
- acls:
- - name: ACL1v6
- direction: in
-
- - name: Ethernet1/5
- access_groups:
- - afi: ipv4
- acls:
- - name: PortACL
- direction: in
- port: true
- - name: ACL1v4
- direction: out
- - afi: ipv6
- acls:
- - name: ACL1v6
- direction: in
+ - name: Ethernet1/2
+ access_groups:
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ direction: in
+ - name: Ethernet1/5
+ access_groups:
+ - afi: ipv4
+ acls:
+ - name: PortACL
+ direction: in
+ port: true
+ - name: ACL1v4
+ direction: out
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ direction: in
state: rendered
+
# returns
# rendered:
# interface Ethernet1/2
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acls_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acls_module.rst
index 8a4c23f3d..1b806511d 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acls_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_acls_module.rst
@@ -3140,13 +3140,13 @@ Examples
acls:
- name: ACL1v6
aces:
- - grant: permit
- sequence: 10
- source:
- any: true
- destination:
- prefix: 2001:db8:12::/32
- protocol: sctp
+ - grant: permit
+ sequence: 10
+ source:
+ any: true
+ destination:
+ prefix: 2001:db8:12::/32
+ protocol: sctp
# Task Output
# -----------
@@ -3578,7 +3578,7 @@ Examples
- name: Delete all ACLs in given AFI
cisco.nxos.nxos_acls:
config:
- - afi: ipv4
+ - afi: ipv4
state: deleted
# Task Output
@@ -3913,38 +3913,38 @@ Examples
- name: Render required configuration to be pushed to the device
cisco.nxos.nxos_acls:
config:
- - afi: ipv4
- acls:
- - name: ACL1v4
- aces:
- - grant: deny
- destination:
- address: 192.0.2.64
- wildcard_bits: 0.0.0.255
- source:
- any: true
- port_protocol:
- lt: 55
- protocol: tcp
- protocol_options:
- tcp:
- ack: true
- fin: true
- sequence: 50
-
- - afi: ipv6
- acls:
- - name: ACL1v6
- aces:
- - grant: permit
- sequence: 10
- source:
- any: true
- destination:
- prefix: 2001:db8:12::/32
- protocol: sctp
+ - afi: ipv4
+ acls:
+ - name: ACL1v4
+ aces:
+ - grant: deny
+ destination:
+ address: 192.0.2.64
+ wildcard_bits: 0.0.0.255
+ source:
+ any: true
+ port_protocol:
+ lt: 55
+ protocol: tcp
+ protocol_options:
+ tcp:
+ ack: true
+ fin: true
+ sequence: 50
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ aces:
+ - grant: permit
+ sequence: 10
+ source:
+ any: true
+ destination:
+ prefix: '2001:db8:12::/32'
+ protocol: sctp
state: rendered
+
# Task Output
# -----------
#
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bfd_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bfd_interfaces_module.rst
index 17aac421c..975de891c 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bfd_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bfd_interfaces_module.rst
@@ -178,12 +178,12 @@ Examples
- name: Configure interfaces
cisco.nxos.nxos_bfd_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- echo: enable
- - name: Ethernet1/2
- bfd: disable
- echo: disable
+ - name: Ethernet1/1
+ bfd: enable
+ echo: enable
+ - name: Ethernet1/2
+ bfd: disable
+ echo: disable
state: merged
@@ -192,12 +192,12 @@ Examples
- name: Configure interfaces
cisco.nxos.nxos_bfd_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- echo: enable
- - name: Ethernet1/2
- bfd: disable
- echo: disable
+ - name: Ethernet1/1
+ bfd: enable
+ echo: enable
+ - name: Ethernet1/2
+ bfd: disable
+ echo: disable
state: overridden
@@ -206,12 +206,12 @@ Examples
- name: Configure interfaces
cisco.nxos.nxos_bfd_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- echo: enable
- - name: Ethernet1/2
- bfd: disable
- echo: disable
+ - name: Ethernet1/1
+ bfd: enable
+ echo: enable
+ - name: Ethernet1/2
+ bfd: disable
+ echo: disable
state: replaced
# Using rendered
@@ -219,12 +219,12 @@ Examples
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_bfd_interfaces:
config:
- - name: Ethernet1/800
- bfd: enable
- echo: enable
- - name: Ethernet1/801
- bfd: disable
- echo: disable
+ - name: Ethernet1/800
+ bfd: enable
+ echo: enable
+ - name: Ethernet1/801
+ bfd: disable
+ echo: disable
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_address_family_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_address_family_module.rst
index 8378c8439..d16dbee7d 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_address_family_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_address_family_module.rst
@@ -1674,11 +1674,11 @@ Examples
safi: unicast
vrf: site-1
default_information:
- originate: True
+ originate: true
aggregate_address:
- prefix: 203.0.113.0/24
- as_set: True
- summary_only: True
+ as_set: true
+ summary_only: true
- afi: ipv6
safi: multicast
vrf: site-1
@@ -1727,11 +1727,11 @@ Examples
# safi: unicast
# vrf: site-1
# default_information:
- # originate: True
+ # originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -1797,8 +1797,8 @@ Examples
non_critical_delay: 180
aggregate_address:
- prefix: 203.0.113.0/24
- as_set: True
- summary_only: True
+ as_set: true
+ summary_only: true
- afi: ipv4
safi: unicast
vrf: site-1
@@ -1824,11 +1824,11 @@ Examples
# safi: unicast
# vrf: site-1
# default_information:
- # originate: True
+ # originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -1865,8 +1865,8 @@ Examples
# non_critical_delay: 180
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
#
# - afi: ipv4
# safi: unicast
@@ -1929,8 +1929,8 @@ Examples
route_map: rmap1
aggregate_address:
- prefix: 203.0.113.0/24
- as_set: True
- summary_only: True
+ as_set: true
+ summary_only: true
- afi: ipv4
safi: unicast
vrf: site-1
@@ -1956,11 +1956,11 @@ Examples
# safi: unicast
# vrf: site-1
# default_information:
- # originate: True
+ # originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -1997,8 +1997,8 @@ Examples
# route_map: rmap1
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
# - afi: ipv4
# safi: unicast
# vrf: site-1
@@ -2066,11 +2066,11 @@ Examples
# safi: unicast
# vrf: site-1
# default_information:
- # originate: True
+ # originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -2095,11 +2095,11 @@ Examples
# safi: unicast
# vrf: site-1
# default_information:
- # originate: True
+ # originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
# After state:
# ------------
@@ -2153,11 +2153,11 @@ Examples
# safi: unicast
# vrf: site-1
# default_information:
- # originate: True
+ # originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -2207,11 +2207,11 @@ Examples
safi: unicast
vrf: site-1
default_information:
- originate: True
+ originate: true
aggregate_address:
- prefix: 203.0.113.0/24
- as_set: True
- summary_only: True
+ as_set: true
+ summary_only: true
- afi: ipv6
safi: multicast
vrf: site-1
@@ -2284,11 +2284,11 @@ Examples
# safi: unicast
# vrf: site-1
# default_information:
- # originate: True
+ # originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
- # as_set: True
- # summary_only: True
+ # as_set: true
+ # summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_global_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_global_module.rst
index 1ef0c27b4..19ee2709e 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_global_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_global_module.rst
@@ -4630,16 +4630,16 @@ Examples
router_id: 192.168.1.1
bestpath:
as_path:
- multipath_relax: True
- compare_neighborid: True
- cost_community_ignore: True
+ multipath_relax: true
+ compare_neighborid: true
+ cost_community_ignore: true
confederation:
identifier: 42
peers:
- 65020
- 65030
- 65040
- log_neighbor_changes: True
+ log_neighbor_changes: true
maxas_limit: 20
neighbors:
- neighbor_address: 192.168.1.100
@@ -4649,19 +4649,19 @@ Examples
remote_as: 65563
description: NBR-1
low_memory:
- exempt: True
+ exempt: true
- neighbor_address: 192.168.1.101
remote_as: 65563
password:
encryption: 7
key: 12090404011C03162E
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
vrfs:
- vrf: site-1
allocate_index: 5000
local_as: 200
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 198.51.100.1
description: site-1-nbr-1
@@ -4674,7 +4674,7 @@ Examples
description: site-1-nbr-2
- vrf: site-2
local_as: 300
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 203.0.113.2
description: site-2-nbr-1
@@ -4683,7 +4683,7 @@ Examples
key: AF92F4C16A0A0EC5BDF56CF58BC030F6
remote_as: 65568
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
# Task output:
# ------------
@@ -4882,8 +4882,8 @@ Examples
as_number: 65563
router_id: 192.168.1.1
bestpath:
- compare_neighborid: True
- cost_community_ignore: True
+ compare_neighborid: true
+ cost_community_ignore: true
confederation:
identifier: 42
peers:
@@ -4899,20 +4899,20 @@ Examples
remote_as: 65563
description: NBR-1
low_memory:
- exempt: True
+ exempt: true
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
vrfs:
- vrf: site-2
local_as: 300
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 203.0.113.2
password:
encryption: 7
key: 12090404011C03162E
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
state: replaced
# Task output:
@@ -5345,16 +5345,16 @@ Examples
router_id: 192.168.1.1
bestpath:
as_path:
- multipath_relax: True
- compare_neighborid: True
- cost_community_ignore: True
+ multipath_relax: true
+ compare_neighborid: true
+ cost_community_ignore: true
confederation:
identifier: 42
peers:
- 65020
- 65030
- 65040
- log_neighbor_changes: True
+ log_neighbor_changes: true
maxas_limit: 20
neighbors:
- neighbor_address: 192.168.1.100
@@ -5364,19 +5364,19 @@ Examples
remote_as: 65563
description: NBR-1
low_memory:
- exempt: True
+ exempt: true
- neighbor_address: 192.168.1.101
remote_as: 65563
password:
encryption: 7
key: 12090404011C03162E
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
vrfs:
- vrf: site-1
allocate_index: 5000
local_as: 200
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 198.51.100.1
description: site-1-nbr-1
@@ -5389,7 +5389,7 @@ Examples
description: site-1-nbr-2
- vrf: site-2
local_as: 300
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 203.0.113.2
description: site-1-nbr-1
@@ -5398,7 +5398,7 @@ Examples
key: AF92F4C16A0A0EC5BDF56CF58BC030F6
remote_as: 65568
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
# Task output:
# ------------
@@ -5648,7 +5648,7 @@ Examples
as_number: 65536
router_id: 198.51.100.2
maxas_limit: 20
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 192.0.2.1
remote_as: 65537
@@ -5692,7 +5692,7 @@ Examples
as_number: 65536
router_id: 198.51.100.2
maxas_limit: 20
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 192.0.2.1
remote_as: 65537
@@ -5702,7 +5702,7 @@ Examples
vrfs:
- vrf: site-2
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
state: replaced
# Task output:
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_neighbor_address_family_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_neighbor_address_family_module.rst
index 96e3c5e53..8668a0b9f 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_neighbor_address_family_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_bgp_neighbor_address_family_module.rst
@@ -2632,9 +2632,9 @@ Examples
address_family:
- afi: ipv4
safi: unicast
- suppress_inactive: True
+ suppress_inactive: true
next_hop_self:
- set: True
+ set: true
- neighbor_address: 203.0.113.2
address_family:
- afi: ipv6
@@ -2642,7 +2642,7 @@ Examples
- afi: ipv4
safi: multicast
send_community:
- set: True
+ set: true
# Task output:
# ------------
@@ -2708,7 +2708,7 @@ Examples
# - afi: ipv4
# safi: multicast
# send_community:
- # set: True
+ # set: true
# - afi: ipv6
# safi: unicast
@@ -2797,7 +2797,7 @@ Examples
- afi: ipv4
safi: multicast
send_community:
- set: True
+ set: true
state: replaced
# Task output:
@@ -2840,7 +2840,7 @@ Examples
# - afi: ipv4
# safi: multicast
# send_community:
- # set: True
+ # set: true
# - afi: ipv6
# safi: unicast
#
@@ -2887,7 +2887,7 @@ Examples
# - afi: ipv4
# safi: multicast
# send_community:
- # set: True
+ # set: true
# - afi: ipv6
# safi: unicast
@@ -2954,9 +2954,9 @@ Examples
address_family:
- afi: ipv4
safi: unicast
- suppress_inactive: True
+ suppress_inactive: true
next_hop_self:
- set: True
+ set: true
state: overridden
# Task output:
@@ -2999,7 +2999,7 @@ Examples
# - afi: ipv4
# safi: multicast
# send_community:
- # set: True
+ # set: true
# - afi: ipv6
# safi: unicast
#
@@ -3033,9 +3033,9 @@ Examples
# address_family:
# - afi: ipv4
# safi: unicast
- # suppress_inactive: True
+ # suppress_inactive: true
# next_hop_self:
- # set: True
+ # set: true
# After state:
# ------------
@@ -3134,7 +3134,7 @@ Examples
# - afi: ipv4
# safi: multicast
# send_community:
- # set: True
+ # set: true
# - afi: ipv6
# safi: unicast
#
@@ -3175,7 +3175,7 @@ Examples
# - afi: ipv4
# safi: multicast
# send_community:
- # set: True
+ # set: true
#
# After state:
# ------------
@@ -3267,7 +3267,7 @@ Examples
# - afi: ipv4
# safi: multicast
# send_community:
- # set: True
+ # set: true
# - afi: ipv6
# safi: unicast
#
@@ -3333,9 +3333,9 @@ Examples
address_family:
- afi: ipv4
safi: unicast
- suppress_inactive: True
+ suppress_inactive: true
next_hop_self:
- set: True
+ set: true
- neighbor_address: 203.0.113.2
address_family:
- afi: ipv6
@@ -3343,7 +3343,7 @@ Examples
- afi: ipv4
safi: multicast
send_community:
- set: True
+ set: true
state: rendered
# Task output:
@@ -3441,7 +3441,7 @@ Examples
# - afi: ipv4
# safi: multicast
# send_community:
- # set: True
+ # set: true
# - afi: ipv6
# safi: unicast
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_command_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_command_module.rst
index e7fbbc048..4308a6582 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_command_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_command_module.rst
@@ -153,31 +153,31 @@ Examples
- name: run multiple commands on remote nodes
cisco.nxos.nxos_command:
commands:
- - show version
- - show interfaces
+ - show version
+ - show interfaces
- name: run multiple commands and evaluate the output
cisco.nxos.nxos_command:
commands:
- - show version
- - show interfaces
+ - show version
+ - show interfaces
wait_for:
- - result[0] contains Cisco
- - result[1] contains loopback0
+ - result[0] contains Cisco
+ - result[1] contains loopback0
- name: run commands and specify the output format
cisco.nxos.nxos_command:
commands:
- - command: show version
- output: json
+ - command: show version
+ output: json
- name: run commands that require answering a prompt
cisco.nxos.nxos_command:
commands:
- - configure terminal
- - command: no feature npv
- prompt: Do you want to continue
- answer: y
+ - configure terminal
+ - command: no feature npv
+ prompt: Do you want to continue
+ answer: y
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_config_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_config_module.rst
index 3d7b0cad1..3ead5ab50 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_config_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_config_module.rst
@@ -380,21 +380,21 @@ Examples
- cisco.nxos.nxos_config:
lines:
- - 10 permit ip 192.0.2.1/32 any log
- - 20 permit ip 192.0.2.2/32 any log
- - 30 permit ip 192.0.2.3/32 any log
- - 40 permit ip 192.0.2.4/32 any log
- - 50 permit ip 192.0.2.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
before: no ip access-list test
match: exact
- cisco.nxos.nxos_config:
lines:
- - 10 permit ip 192.0.2.1/32 any log
- - 20 permit ip 192.0.2.2/32 any log
- - 30 permit ip 192.0.2.3/32 any log
- - 40 permit ip 192.0.2.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
before: no ip access-list test
replace: block
@@ -408,7 +408,7 @@ Examples
cisco.nxos.nxos_config:
lines:
# - shut
- - shutdown
+ - shutdown
# parents: int eth1/1
parents: interface Ethernet1/1
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_devicealias_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_devicealias_module.rst
index 9e33f93ea..081c8759f 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_devicealias_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_devicealias_module.rst
@@ -212,21 +212,21 @@ Examples
- name: Test that device alias module works
cisco.nxos.nxos_devicealias:
da:
- - name: test1_add
- pwwn: 56:2:22:11:22:88:11:67
- - name: test2_add
- pwwn: 65:22:22:11:22:22:11:d
- - name: dev1
- remove: true
- - name: dev2
- remove: true
+ - name: test1_add
+ pwwn: 56:2:22:11:22:88:11:67
+ - name: test2_add
+ pwwn: 65:22:22:11:22:22:11:d
+ - name: dev1
+ remove: true
+ - name: dev2
+ remove: true
distribute: true
mode: enhanced
rename:
- - new_name: bcd
- old_name: abc
- - new_name: bcd1
- old_name: abc1
+ - new_name: bcd
+ old_name: abc
+ - new_name: bcd1
+ old_name: abc1
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_evpn_vni_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_evpn_vni_module.rst
index 714cd9c20..530a9ff18 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_evpn_vni_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_evpn_vni_module.rst
@@ -162,8 +162,8 @@ Examples
vni: 6000
route_distinguisher: 60:10
route_target_import:
- - 5000:10
- - 4100:100
+ - "5000:10"
+ - "4100:100"
route_target_export: auto
route_target_both: default
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_facts_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_facts_module.rst
index 0e344b470..3ce96abea 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_facts_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_facts_module.rst
@@ -113,11 +113,11 @@ Examples
- name: Gather only the config and default facts
cisco.nxos.nxos_facts:
gather_subset:
- - config
+ - config
- name: Do not gather hardware facts
cisco.nxos.nxos_facts:
gather_subset:
- - '!hardware'
+ - '!hardware'
- name: Gather legacy and resource facts
cisco.nxos.nxos_facts:
gather_subset: all
@@ -125,10 +125,10 @@ Examples
- name: Gather only the interfaces resource facts and no legacy facts
cisco.nxos.nxos_facts:
gather_subset:
- - '!all'
- - '!min'
+ - '!all'
+ - '!min'
gather_network_resources:
- - interfaces
+ - interfaces
- name: Gather interfaces resource and minimal legacy facts
cisco.nxos.nxos_facts:
gather_subset: min
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_fc_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_fc_interfaces_module.rst
index eaad900f2..048ddc0f0 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_fc_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_fc_interfaces_module.rst
@@ -103,7 +103,7 @@ Parameters
</ul>
</td>
<td>
- <div>Administrative state of the interface. Set the value to <code>true</code> to administratively enable the interface or <code>false</code> to disable it</div>
+ <div>Administrative state of the interface. Set the value to <code>true</code> to administratively enable the interface or <code>true</code> to disable it</div>
</td>
</tr>
<tr>
@@ -277,8 +277,8 @@ Examples
- name: Merge provided configuration with device configuration
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc18/10
- analytics: fc-scsi
+ - name: fc18/10
+ analytics: fc-scsi
state: merged
# Task Output
@@ -289,7 +289,7 @@ Examples
# speed: auto max 16000
# mode: auto
# trunk_mode: on
- # enabled: False
+ # enabled: true
# description: $
# analytics: fc-nvme
# commands:
@@ -300,7 +300,7 @@ Examples
# speed: auto max 16000
# mode: auto
# trunk_mode: on
- # enabled: False
+ # enabled: true
# description: $
# analytics: fc-all
@@ -335,13 +335,13 @@ Examples
- name: Replaces device configuration of listed interfaces with provided configuration
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc18/12
- speed: auto max 64000
- mode: auto
- trunk_mode: on
- enabled: True
- description: 1
- analytics: fc-scsi
+ - name: fc18/12
+ speed: auto max 64000
+ mode: auto
+ trunk_mode: "on"
+ enabled: true
+ description: 1
+ analytics: fc-scsi
state: replaced
# Task Output
@@ -352,7 +352,7 @@ Examples
# speed: auto max 64000
# mode: auto
# trunk_mode: on
- # enabled: True
+ # enabled: true
# description: 1
# analytics: fc-all
# commands:
@@ -364,7 +364,7 @@ Examples
# speed: auto max 64000
# mode: auto
# trunk_mode: on
- # enabled: True
+ # enabled: true
# description: 1
# analytics: fc-scsi
@@ -397,7 +397,7 @@ Examples
- name: Delete or return interface parameters to default settings
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc1/2
+ - name: fc1/2
state: deleted
# Task Output
@@ -408,7 +408,7 @@ Examples
# speed: 1000
# mode: E
# trunk_mode: off
- # enabled: True
+ # enabled: true
# commands:
# - interface fc1/2
# - no switchport speed 1000
@@ -420,7 +420,7 @@ Examples
# speed: auto
# mode: auto
# trunk_mode: on
- # enabled: False
+ # enabled: true
# After state:
# ------------
@@ -459,13 +459,13 @@ Examples
- name: Replaces device configuration of listed interfaces with provided configuration
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc18/12
- speed: auto max 64000
- mode: auto
- trunk_mode: on
- enabled: True
- description: 1
- analytics: fc-scsi
+ - name: fc18/12
+ speed: auto max 64000
+ mode: auto
+ trunk_mode: "on"
+ enabled: true
+ description: 1
+ analytics: fc-scsi
state: overridden
# Task Output
@@ -476,14 +476,14 @@ Examples
# speed: auto max 64000
# mode: auto
# trunk_mode: on
- # enabled: True
+ # enabled: true
# description: 1
# analytics: fc-all
# - name: fc18/13
# speed: auto max 64000
# mode: auto
# trunk_mode: on
- # enabled: True
+ # enabled: true
# description: 1
# analytics: fc-all
# commands:
@@ -501,14 +501,14 @@ Examples
# speed: auto max 64000
# mode: auto
# trunk_mode: on
- # enabled: True
+ # enabled: true
# description: 1
# analytics: fc-scsi
# - name: fc18/13
# speed: auto max 64000
# mode: auto
# trunk_mode: on
- # enabled: False
+ # enabled: true
# After state:
# ------------
@@ -526,29 +526,23 @@ Examples
# switchport trunk mode on
# shutdown
-
-
-
-
-
-
# Using rendered
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc1/1
- speed: auto
- mode: auto
- trunk_mode: on
- enabled: True
- description: This is a sample line
- - name: fc1/2
- speed: 1000
- mode: E
- trunk_mode: off
- enabled: True
- state: rendered
+ - name: fc1/1
+ speed: auto
+ mode: auto
+ trunk_mode: "on"
+ enabled: true
+ description: This is a sample line
+ - name: fc1/2
+ speed: 1000
+ mode: E
+ trunk_mode: "off"
+ enabled: true
+ state: rendered
# Task Output
# -----------
@@ -600,13 +594,13 @@ Examples
# speed: auto
# mode: auto
# trunk_mode: on
- # enabled: True
+ # enabled: true
# description: This is a sample line
# - name: fc1/2
# speed: 1000
# mode: E
# trunk_mode: off
- # enabled: True
+ # enabled: true
# Using gathered
@@ -639,13 +633,13 @@ Examples
# speed: auto
# mode: auto
# trunk_mode: on
- # enabled: True
+ # enabled: true
# description: This is a sample line
# - name: fc1/2
# speed: 1000
# mode: E
# trunk_mode: off
- # enabled: True
+ # enabled: true
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_gir_profile_management_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_gir_profile_management_module.rst
index 98396d508..95d85ae9b 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_gir_profile_management_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_gir_profile_management_module.rst
@@ -114,8 +114,8 @@ Examples
- cisco.nxos.nxos_gir_profile_management:
mode: maintenance
commands:
- - router eigrp 11
- - isolate
+ - router eigrp 11
+ - isolate
# Remove the maintenance-mode profile
- cisco.nxos.nxos_gir_profile_management:
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_hsrp_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_hsrp_interfaces_module.rst
index 1fd8dcded..163612413 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_hsrp_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_hsrp_interfaces_module.rst
@@ -151,8 +151,8 @@ Examples
- name: Configure hsrp attributes on interfaces
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/1
- - name: Ethernet1/2
+ - name: Ethernet1/1
+ - name: Ethernet1/2
operation: deleted
@@ -161,10 +161,10 @@ Examples
- name: Configure hsrp attributes on interfaces
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- - name: Ethernet1/2
- bfd: disable
+ - name: Ethernet1/1
+ bfd: enable
+ - name: Ethernet1/2
+ bfd: disable
operation: merged
@@ -173,10 +173,10 @@ Examples
- name: Configure hsrp attributes on interfaces
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- - name: Ethernet1/2
- bfd: disable
+ - name: Ethernet1/1
+ bfd: enable
+ - name: Ethernet1/2
+ bfd: disable
operation: overridden
@@ -185,10 +185,10 @@ Examples
- name: Configure hsrp attributes on interfaces
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- - name: Ethernet1/2
- bfd: disable
+ - name: Ethernet1/1
+ bfd: enable
+ - name: Ethernet1/2
+ bfd: disable
operation: replaced
# Using rendered
@@ -196,10 +196,10 @@ Examples
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/800
- bfd: enable
- - name: Ethernet1/801
- bfd: enable
+ - name: Ethernet1/800
+ bfd: enable
+ - name: Ethernet1/801
+ bfd: enable
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_igmp_interface_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_igmp_interface_module.rst
index 298d5bc10..80384f85a 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_igmp_interface_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_igmp_interface_module.rst
@@ -342,8 +342,8 @@ Examples
interface: ethernet1/32
startup_query_interval: 30
oif_ps:
- - {prefix: 238.2.2.6}
- - {source: 192.168.0.1, prefix: 238.2.2.5}
+ - {prefix: 238.2.2.6}
+ - {source: 192.168.0.1, prefix: 238.2.2.5}
state: present
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_install_os_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_install_os_module.rst
index f10d02f7d..ddd630d01 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_install_os_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_install_os_module.rst
@@ -132,9 +132,10 @@ Examples
nxos_command:
commands: [show version | json]
register: output
+
- assert:
that:
- - output['stdout'][0]['kickstart_ver_str'] == '7.0(3)I6(1)'
+ - output['stdout'][0]['kickstart_ver_str'] == '7.0(3)I6(1)'
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_interfaces_module.rst
index 9ab81a313..bf9e5d9c9 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_interfaces_module.rst
@@ -294,12 +294,12 @@ Examples
- name: Merge provided configuration with device configuration
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/1
- description: Configured by Ansible
- enabled: true
- - name: Ethernet1/2
- description: Configured by Ansible Network
- enabled: false
+ - name: Ethernet1/1
+ description: Configured by Ansible
+ enabled: true
+ - name: Ethernet1/2
+ description: Configured by Ansible Network
+ enabled: false
state: merged
# Task Output
@@ -358,14 +358,14 @@ Examples
- name: Replaces device configuration of listed interfaces with provided configuration
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/1
- description: Configured by Ansible
- enabled: true
- mtu: 9000
- - name: Ethernet1/2
- description: Configured by Ansible Network
- enabled: false
- mode: layer2
+ - name: Ethernet1/1
+ description: Configured by Ansible
+ enabled: true
+ mtu: 9000
+ - name: Ethernet1/2
+ description: Configured by Ansible Network
+ enabled: false
+ mode: layer2
state: replaced
# Task Output
@@ -426,13 +426,13 @@ Examples
- name: Override device configuration of all interfaces with provided configuration
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/1
- enabled: true
- - name: Ethernet1/2
- description: Configured by Ansible Network
- enabled: false
- - description: mgmt interface
- name: mgmt0
+ - name: Ethernet1/1
+ enabled: true
+ - name: Ethernet1/2
+ description: Configured by Ansible Network
+ enabled: false
+ - description: mgmt interface
+ name: mgmt0
state: overridden
# Task Output
@@ -490,7 +490,7 @@ Examples
- name: Delete or return interface parameters to default settings
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/2
+ - name: Ethernet1/2
state: deleted
# Task Output
@@ -529,14 +529,14 @@ Examples
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/1
- description: outbound-intf
- mode: layer3
- speed: 100
- - name: Ethernet1/2
- mode: layer2
- enabled: true
- duplex: full
+ - name: Ethernet1/1
+ description: outbound-intf
+ mode: layer3
+ speed: 100
+ - name: Ethernet1/2
+ mode: layer2
+ enabled: true
+ duplex: full
state: rendered
# Task Output
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l2_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l2_interfaces_module.rst
index 2d2248800..bfad0cf31 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l2_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l2_interfaces_module.rst
@@ -251,13 +251,13 @@ Examples
- name: Merge provided configuration with device configuration
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/1
- trunk:
- native_vlan: 10
- allowed_vlans: 2,4,15
- - name: Ethernet1/2
- access:
- vlan: 30
+ - name: Ethernet1/1
+ trunk:
+ native_vlan: 10
+ allowed_vlans: 2,4,15
+ - name: Ethernet1/2
+ access:
+ vlan: 30
state: merged
# Task Output
@@ -316,10 +316,10 @@ Examples
- name: Replace device configuration of specified L2 interfaces with provided configuration.
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/1
- trunk:
- native_vlan: 20
- allowed_vlans: 5-10, 15
+ - name: Ethernet1/1
+ trunk:
+ native_vlan: 20
+ allowed_vlans: 5-10, 15
state: replaced
# Task Output
@@ -382,9 +382,9 @@ Examples
- name: Override device configuration with provided configuration.
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/2
- access:
- vlan: 30
+ - name: Ethernet1/2
+ access:
+ vlan: 30
state: overridden
# Task Output
@@ -441,8 +441,8 @@ Examples
itself).
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/1
- - name: Ethernet1/2
+ - name: Ethernet1/1
+ - name: Ethernet1/2
state: deleted
# Task Output
@@ -483,17 +483,17 @@ Examples
- name: Render platform specific configuration lines (without connecting to the device)
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/1
- trunk:
- native_vlan: 10
- allowed_vlans: 2,4,15
- - name: Ethernet1/2
- access:
- vlan: 30
- - name: Ethernet1/3
- trunk:
- native_vlan: 20
- allowed_vlans: 5-10, 15
+ - name: Ethernet1/1
+ trunk:
+ native_vlan: 10
+ allowed_vlans: 2,4,15
+ - name: Ethernet1/2
+ access:
+ vlan: 30
+ - name: Ethernet1/3
+ trunk:
+ native_vlan: 20
+ allowed_vlans: 5-10, 15
state: rendered
# Task Output
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l3_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l3_interfaces_module.rst
index 9241ff2fe..28a56bdf8 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l3_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_l3_interfaces_module.rst
@@ -371,19 +371,19 @@ Examples
- name: Merge provided configuration with device configuration.
cisco.nxos.nxos_l3_interfaces:
config:
- - name: Ethernet1/6
- ipv4:
- - address: 192.168.1.1/24
- tag: 5
- - address: 10.1.1.1/24
- secondary: true
- tag: 10
- ipv6:
- - address: fd5d:12c9:2201:2::1/64
- tag: 6
- - name: Ethernet1/7.42
- redirects: false
- unreachables: false
+ - name: Ethernet1/6
+ ipv4:
+ - address: 192.168.1.1/24
+ tag: 5
+ - address: 10.1.1.1/24
+ secondary: true
+ tag: 10
+ ipv6:
+ - address: fd5d:12c9:2201:2::1/64
+ tag: 6
+ - name: Ethernet1/7.42
+ redirects: false
+ unreachables: false
state: merged
# Task Output
@@ -470,9 +470,9 @@ Examples
- name: Replace device configuration of specified L3 interfaces with provided configuration.
cisco.nxos.nxos_l3_interfaces:
config:
- - name: Ethernet1/6
- ipv4:
- - address: 192.168.22.3/24
+ - name: Ethernet1/6
+ ipv4:
+ - address: 192.168.22.3/24
state: replaced
# Task Output
@@ -564,12 +564,12 @@ Examples
- name: Override device configuration with provided configuration.
cisco.nxos.nxos_l3_interfaces:
config:
- - ipv4:
- - address: dhcp
- name: mgmt0
- - name: Ethernet1/6
- ipv4:
- - address: 192.168.22.3/24
+ - ipv4:
+ - address: dhcp
+ name: mgmt0
+ - name: Ethernet1/6
+ ipv4:
+ - address: 192.168.22.3/24
state: overridden
# Task Output
@@ -658,8 +658,8 @@ Examples
itself).
cisco.nxos.nxos_l3_interfaces:
config:
- - name: Ethernet1/6
- - name: Ethernet1/2
+ - name: Ethernet1/6
+ - name: Ethernet1/2
state: deleted
# Task Output
@@ -709,17 +709,17 @@ Examples
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_l3_interfaces:
config:
- - name: Ethernet1/800
- ipv4:
- - address: 192.168.1.100/24
- tag: 5
- - address: 10.1.1.1/24
- secondary: true
- tag: 10
- - name: Ethernet1/800
- ipv6:
- - address: fd5d:12c9:2201:2::1/64
- tag: 6
+ - name: Ethernet1/800
+ ipv4:
+ - address: 192.168.1.100/24
+ tag: 5
+ - address: 10.1.1.1/24
+ secondary: true
+ tag: 10
+ - name: Ethernet1/800
+ ipv6:
+ - address: fd5d:12c9:2201:2::1/64
+ tag: 6
state: rendered
# Task Output
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lacp_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lacp_interfaces_module.rst
index 63a082c80..76724ede0 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lacp_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lacp_interfaces_module.rst
@@ -320,9 +320,9 @@ Examples
- name: Merge provided configuration with device configuration.
cisco.nxos.nxos_lacp_interfaces:
config:
- - name: Ethernet1/3
- port_priority: 5
- rate: fast
+ - name: Ethernet1/3
+ port_priority: 5
+ rate: fast
state: merged
# After state:
@@ -346,9 +346,9 @@ Examples
- name: Replace device lacp interfaces configuration with the given configuration.
cisco.nxos.nxos_lacp_interfaces:
config:
- - name: port-channel11
- links:
- min: 4
+ - name: port-channel11
+ links:
+ min: 4
state: replaced
# After state:
@@ -374,9 +374,9 @@ Examples
on device with provided configuration.
cisco.nxos.nxos_lacp_interfaces:
config:
- - name: port-channel11
- links:
- min: 4
+ - name: port-channel11
+ links:
+ min: 4
state: overridden
# After state:
@@ -409,17 +409,17 @@ Examples
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_lacp_interfaces:
config:
- - name: Ethernet1/800
- rate: fast
- - name: Ethernet1/801
- rate: fast
- port_priority: 32
- - name: port-channel10
- links:
- max: 15
- min: 2
- convergence:
- graceful: true
+ - name: Ethernet1/800
+ rate: fast
+ - name: Ethernet1/801
+ rate: fast
+ port_priority: 32
+ - name: port-channel10
+ links:
+ max: 15
+ min: 2
+ convergence:
+ graceful: true
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lag_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lag_interfaces_module.rst
index cf2bd9102..7d570dbfc 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lag_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lag_interfaces_module.rst
@@ -215,9 +215,9 @@ Examples
- name: Merge provided configuration with device configuration.
cisco.nxos.nxos_lag_interfaces:
config:
- - name: port-channel99
- members:
- - member: Ethernet1/4
+ - name: port-channel99
+ members:
+ - member: Ethernet1/4
state: merged
# After state:
@@ -239,9 +239,9 @@ Examples
with provided configuration.
cisco.nxos.nxos_lag_interfaces:
config:
- - name: port-channel10
- members:
- - member: Ethernet1/4
+ - name: port-channel10
+ members:
+ - member: Ethernet1/4
state: replaced
# After state:
@@ -265,10 +265,10 @@ Examples
device with provided configuration.
cisco.nxos.nxos_lag_interfaces:
config:
- - name: port-channel20
- members:
- - member: Ethernet1/6
- force: true
+ - name: port-channel20
+ members:
+ - member: Ethernet1/6
+ force: true
state: overridden
# After state:
@@ -291,7 +291,7 @@ Examples
itself).
cisco.nxos.nxos_lag_interfaces:
config:
- - port-channel: port-channel99
+ - port-channel: port-channel99
state: deleted
- name: Delete LAG attributes of all the interfaces
@@ -309,15 +309,15 @@ Examples
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_lag_interfaces:
config:
- - name: port-channel10
- members:
- - member: Ethernet1/800
- mode: active
- - member: Ethernet1/801
- - name: port-channel11
- members:
- - member: Ethernet1/802
- mode: passive
+ - name: port-channel10
+ members:
+ - member: Ethernet1/800
+ mode: active
+ - member: Ethernet1/801
+ - name: port-channel11
+ members:
+ - member: Ethernet1/802
+ mode: passive
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lldp_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lldp_interfaces_module.rst
index 7ae7b9f3e..d634e9aa4 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lldp_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_lldp_interfaces_module.rst
@@ -227,12 +227,12 @@ Examples
- name: Merge provided configuration with device configuration
cisco.nxos.nxos_lldp_interfaces:
config:
- - name: Ethernet1/4
- receive: false
- transmit: true
- tlv_set:
- management_address: 192.168.122.64
- vlan: 12
+ - name: Ethernet1/4
+ receive: false
+ transmit: true
+ tlv_set:
+ management_address: 192.168.122.64
+ vlan: 12
state: merged
# After state:
@@ -259,10 +259,10 @@ Examples
- name: Replace LLDP configuration on interfaces with given configuration
cisco.nxos.nxos_lldp_interfaces:
config:
- - name: Ethernet1/4
- transmit: false
- tlv_set:
- vlan: 2
+ - name: Ethernet1/4
+ transmit: false
+ tlv_set:
+ vlan: 2
state: replaced
@@ -292,10 +292,10 @@ Examples
- name: Override LLDP configuration on all interfaces with given configuration
cisco.nxos.nxos_lldp_interfaces:
config:
- - name: Ethernet1/7
- receive: false
- tlv_set:
- vlan: 12
+ - name: Ethernet1/7
+ receive: false
+ tlv_set:
+ vlan: 12
state: overridden
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_global_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_global_module.rst
index ba49b2331..1cda59a35 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_global_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_global_module.rst
@@ -1226,7 +1226,7 @@ Examples
facility: local6
use_vrf: default
origin_id:
- hostname: True
+ hostname: true
# Task output
# -------------
@@ -1512,7 +1512,7 @@ Examples
facility: local6
use_vrf: default
origin_id:
- hostname: True
+ hostname: true
# Task Output (redacted)
# -----------------------
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_module.rst
deleted file mode 100644
index 288b8a3e1..000000000
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_logging_module.rst
+++ /dev/null
@@ -1,458 +0,0 @@
-.. _cisco.nxos.nxos_logging_module:
-
-
-***********************
-cisco.nxos.nxos_logging
-***********************
-
-**Manage logging on network devices**
-
-
-Version added: 1.0.0
-
-.. contents::
- :local:
- :depth: 1
-
-DEPRECATED
-----------
-:Removed in collection release after 2023-08-01
-:Why: Updated module released with more functionality.
-:Alternative: nxos_logging_global
-
-
-
-Synopsis
---------
-- This module provides declarative management of logging on Cisco NX-OS devices.
-
-
-
-
-Parameters
-----------
-
-.. raw:: html
-
- <table border=0 cellpadding=0 class="documentation-table">
- <tr>
- <th colspan="1">Parameter</th>
- <th>Choices/<font color="blue">Defaults</font></th>
- <th width="100%">Comments</th>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>aggregate</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">list</span>
- / <span style="color: purple">elements=dictionary</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>List of logging definitions.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>dest</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>console</li>
- <li>logfile</li>
- <li>module</li>
- <li>monitor</li>
- <li>server</li>
- </ul>
- </td>
- <td>
- <div>Destination of the logs.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>dest_level</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">integer</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Set logging severity levels.</div>
- <div style="font-size: small; color: darkgreen"><br/>aliases: level</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>event</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>link-enable</li>
- <li>link-default</li>
- <li>trunk-enable</li>
- <li>trunk-default</li>
- </ul>
- </td>
- <td>
- <div>Link/trunk enable/default interface configuration logging</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>facility</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Facility name for logging.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>facility_level</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">integer</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Set logging severity levels for facility based log messages.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>facility_link_status</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>link-down-notif</li>
- <li>link-down-error</li>
- <li>link-up-notif</li>
- <li>link-up-error</li>
- </ul>
- </td>
- <td>
- <div>Set logging facility ethpm link status. Not idempotent with version 6.0 images.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>file_size</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">integer</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Set logfile size</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>interface</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Interface to be used while configuring source-interface for logging (e.g., &#x27;Ethernet1/2&#x27;, &#x27;mgmt0&#x27;)</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>interface_message</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>add-interface-description</li>
- </ul>
- </td>
- <td>
- <div>Add interface description to interface syslogs. Does not work with version 6.0 images using nxapi as a transport.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>name</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>If value of <code>dest</code> is <em>logfile</em> it indicates file-name.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>purge</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">boolean</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li><div style="color: blue"><b>no</b>&nbsp;&larr;</div></li>
- <li>yes</li>
- </ul>
- </td>
- <td>
- <div>Remove any switch logging configuration that does not match what has been configured Not supported for ansible_connection local. All nxos_logging tasks must use the same ansible_connection type.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>remote_server</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Hostname or IP Address for remote logging (when dest is &#x27;server&#x27;).</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>state</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li><div style="color: blue"><b>present</b>&nbsp;&larr;</div></li>
- <li>absent</li>
- </ul>
- </td>
- <td>
- <div>State of the logging configuration.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>timestamp</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>microseconds</li>
- <li>milliseconds</li>
- <li>seconds</li>
- </ul>
- </td>
- <td>
- <div>Set logging timestamp format</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>use_vrf</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>VRF to be used while configuring remote logging (when dest is &#x27;server&#x27;).</div>
- </td>
- </tr>
- </table>
- <br/>
-
-
-Notes
------
-
-.. note::
- - Limited Support for Cisco MDS
- - For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
- - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
- - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
-
-
-
-Examples
---------
-
-.. code-block:: yaml
-
- - name: configure console logging with level
- cisco.nxos.nxos_logging:
- dest: console
- level: 2
- state: present
- - name: remove console logging configuration
- cisco.nxos.nxos_logging:
- dest: console
- level: 2
- state: absent
- - name: configure file logging with level
- cisco.nxos.nxos_logging:
- dest: logfile
- name: testfile
- dest_level: 3
- state: present
- - name: Configure logging logfile with size
- cisco.nxos.nxos_logging:
- dest: logfile
- name: testfile
- dest_level: 3
- file_size: 16384
- - name: configure facility level logging
- cisco.nxos.nxos_logging:
- facility: daemon
- facility_level: 0
- state: present
- - name: remove facility level logging
- cisco.nxos.nxos_logging:
- facility: daemon
- facility_level: 0
- state: absent
- - name: Configure Remote Logging
- cisco.nxos.nxos_logging:
- dest: server
- remote_server: test-syslogserver.com
- facility: auth
- facility_level: 1
- use_vrf: management
- state: present
- - name: Configure Source Interface for Logging
- cisco.nxos.nxos_logging:
- interface: mgmt0
- state: present
- - name: Purge nxos_logging configuration not managed by this playbook
- cisco.nxos.nxos_logging:
- purge: true
- - name: Configure logging timestamp
- cisco.nxos.nxos_logging:
- timestamp: milliseconds
- state: present
- - name: Configure logging facility ethpm link status
- cisco.nxos.nxos_logging:
- facility: ethpm
- facility_link_status: link-up-notif
- state: present
- - name: Configure logging message ethernet description
- cisco.nxos.nxos_logging:
- interface_message: add-interface-description
- state: present
- - name: Configure logging event link enable
- cisco.nxos.nxos_logging:
- event: link-enable
- state: present
- - name: Configure logging using aggregate
- cisco.nxos.nxos_logging:
- aggregate:
- - {dest: console, dest_level: 2}
- - {dest: logfile, dest_level: 2, name: testfile}
- - {facility: daemon, facility_level: 0}
- state: present
-
-
-
-Return Values
--------------
-Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
-
-.. raw:: html
-
- <table border=0 cellpadding=0 class="documentation-table">
- <tr>
- <th colspan="1">Key</th>
- <th>Returned</th>
- <th width="100%">Description</th>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="return-"></div>
- <b>commands</b>
- <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
- <div style="font-size: small">
- <span style="color: purple">list</span>
- </div>
- </td>
- <td>always</td>
- <td>
- <div>The list of configuration mode commands to send to the device</div>
- <br/>
- <div style="font-size: smaller"><b>Sample:</b></div>
- <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;logging console 2&#x27;, &#x27;logging logfile testfile 3&#x27;, &#x27;logging level daemon 0&#x27;]</div>
- </td>
- </tr>
- </table>
- <br/><br/>
-
-
-Status
-------
-
-
-- This module will be removed in a release after 2023-08-01. *[deprecated]*
-- For more information see `DEPRECATED`_.
-
-
-Authors
-~~~~~~~
-
-- Trishna Guha (@trishnaguha)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_auth_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_auth_module.rst
deleted file mode 100644
index c825cd017..000000000
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_auth_module.rst
+++ /dev/null
@@ -1,224 +0,0 @@
-.. _cisco.nxos.nxos_ntp_auth_module:
-
-
-************************
-cisco.nxos.nxos_ntp_auth
-************************
-
-**Manages NTP authentication.**
-
-
-Version added: 1.0.0
-
-.. contents::
- :local:
- :depth: 1
-
-DEPRECATED
-----------
-:Removed in collection release after 2024-01-01
-:Why: Updated module released with more functionality.
-:Alternative: nxos_ntp_global
-
-
-
-Synopsis
---------
-- Manages NTP authentication.
-
-
-
-
-Parameters
-----------
-
-.. raw:: html
-
- <table border=0 cellpadding=0 class="documentation-table">
- <tr>
- <th colspan="1">Parameter</th>
- <th>Choices/<font color="blue">Defaults</font></th>
- <th width="100%">Comments</th>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>auth_type</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li><div style="color: blue"><b>text</b>&nbsp;&larr;</div></li>
- <li>encrypt</li>
- </ul>
- </td>
- <td>
- <div>Whether the given md5string is in cleartext or has been encrypted. If in cleartext, the device will encrypt it before storing it.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>authentication</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>on</li>
- <li>off</li>
- </ul>
- </td>
- <td>
- <div>Turns NTP authentication on or off.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>key_id</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Authentication key identifier (numeric).</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>md5string</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>MD5 String.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>state</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li><div style="color: blue"><b>present</b>&nbsp;&larr;</div></li>
- <li>absent</li>
- </ul>
- </td>
- <td>
- <div>Manage the state of the resource.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>trusted_key</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li><div style="color: blue"><b>false</b>&nbsp;&larr;</div></li>
- <li>true</li>
- </ul>
- </td>
- <td>
- <div>Whether the given key is required to be supplied by a time source for the device to synchronize to the time source.</div>
- </td>
- </tr>
- </table>
- <br/>
-
-
-Notes
------
-
-.. note::
- - Tested against NXOSv 7.3.(0)D1(1) on VIRL
- - Limited Support for Cisco MDS
- - If ``state=absent``, the module will remove the given key configuration if it exists.
- - If ``state=absent`` and ``authentication=on``, authentication will be turned off.
- - For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
- - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
- - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
-
-
-
-Examples
---------
-
-.. code-block:: yaml
-
- # Basic NTP authentication configuration
- - cisco.nxos.nxos_ntp_auth:
- key_id: 32
- md5string: hello
- auth_type: text
-
-
-
-Return Values
--------------
-Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
-
-.. raw:: html
-
- <table border=0 cellpadding=0 class="documentation-table">
- <tr>
- <th colspan="1">Key</th>
- <th>Returned</th>
- <th width="100%">Description</th>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="return-"></div>
- <b>commands</b>
- <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
- <div style="font-size: small">
- <span style="color: purple">list</span>
- </div>
- </td>
- <td>always</td>
- <td>
- <div>command sent to the device</div>
- <br/>
- <div style="font-size: smaller"><b>Sample:</b></div>
- <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;ntp authentication-key 32 md5 helloWorld 0&#x27;, &#x27;ntp trusted-key 32&#x27;]</div>
- </td>
- </tr>
- </table>
- <br/><br/>
-
-
-Status
-------
-
-
-- This module will be removed in a release after 2024-01-01. *[deprecated]*
-- For more information see `DEPRECATED`_.
-
-
-Authors
-~~~~~~~
-
-- Jason Edelman (@jedelman8)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_global_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_global_module.rst
index 76d81c6a3..b77fc9440 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_global_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_global_module.rst
@@ -877,7 +877,7 @@ Examples
- access_list: PeerAcl1
serve:
- access_list: ServeAcl1
- authenticate: True
+ authenticate: true
authentication_keys:
- id: 1001
key: vagwwtKfkv
@@ -885,7 +885,7 @@ Examples
- id: 1002
key: vagwwtKfkvgthz
encryption: 7
- logging: True
+ logging: true
master:
stratum: 2
peers:
@@ -896,7 +896,7 @@ Examples
vrf: default
- peer: 192.0.2.2
key_id: 2
- prefer: True
+ prefer: true
vrf: siteA
servers:
- server: 198.51.100.1
@@ -929,7 +929,7 @@ Examples
# - access_list: PeerAcl1
# serve:
# - access_list: ServeAcl1
- # authenticate: True
+ # authenticate: true
# authentication_keys:
# - id: 1001
# key: vagwwtKfkv
@@ -937,7 +937,7 @@ Examples
# - id: 1002
# key: vagwwtKfkvgthz
# encryption: 7
- # logging: True
+ # logging: true
# master:
# stratum: 2
# peers:
@@ -948,7 +948,7 @@ Examples
# vrf: default
# - peer: 192.0.2.2
# key_id: 2
- # prefer: True
+ # prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
@@ -998,7 +998,7 @@ Examples
- access_list: PeerAcl2
serve:
- access_list: ServeAcl2
- logging: True
+ logging: true
master:
stratum: 2
peers:
@@ -1009,7 +1009,7 @@ Examples
vrf: default
- peer: 192.0.2.5
key_id: 2
- prefer: True
+ prefer: true
vrf: siteA
servers:
- server: 198.51.100.1
@@ -1025,7 +1025,7 @@ Examples
# - access_list: PeerAcl1
# serve:
# - access_list: ServeAcl1
- # authenticate: True
+ # authenticate: true
# authentication_keys:
# - id: 1001
# key: vagwwtKfkv
@@ -1033,7 +1033,7 @@ Examples
# - id: 1002
# key: vagwwtKfkvgthz
# encryption: 7
- # logging: True
+ # logging: true
# master:
# stratum: 2
# peers:
@@ -1044,7 +1044,7 @@ Examples
# vrf: default
# - peer: 192.0.2.2
# key_id: 2
- # prefer: True
+ # prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
@@ -1072,7 +1072,7 @@ Examples
# - access_list: PeerAcl2
# serve:
# - access_list: ServeAcl2
- # logging: True
+ # logging: true
# master:
# stratum: 2
# peers:
@@ -1083,7 +1083,7 @@ Examples
# vrf: default
# - peer: 192.0.2.5
# key_id: 2
- # prefer: True
+ # prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
@@ -1119,7 +1119,7 @@ Examples
# - access_list: PeerAcl1
# serve:
# - access_list: ServeAcl1
- # authenticate: True
+ # authenticate: true
# authentication_keys:
# - id: 1001
# key: vagwwtKfkv
@@ -1127,7 +1127,7 @@ Examples
# - id: 1002
# key: vagwwtKfkvgthz
# encryption: 7
- # logging: True
+ # logging: true
# master:
# stratum: 2
# peers:
@@ -1138,7 +1138,7 @@ Examples
# vrf: default
# - peer: 192.0.2.2
# key_id: 2
- # prefer: True
+ # prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
@@ -1178,7 +1178,7 @@ Examples
- access_list: PeerAcl1
serve:
- access_list: ServeAcl1
- authenticate: True
+ authenticate: true
authentication_keys:
- id: 1001
key: vagwwtKfkv
@@ -1186,7 +1186,7 @@ Examples
- id: 1002
key: vagwwtKfkvgthz
encryption: 7
- logging: True
+ logging: true
master:
stratum: 2
peers:
@@ -1197,7 +1197,7 @@ Examples
vrf: default
- peer: 192.0.2.2
key_id: 2
- prefer: True
+ prefer: true
vrf: siteA
servers:
- server: 198.51.100.1
@@ -1252,7 +1252,7 @@ Examples
# - access_list: PeerAcl1
# serve:
# - access_list: ServeAcl1
- # authenticate: True
+ # authenticate: true
# authentication_keys:
# - id: 1001
# key: vagwwtKfkv
@@ -1260,7 +1260,7 @@ Examples
# - id: 1002
# key: vagwwtKfkvgthz
# encryption: 7
- # logging: True
+ # logging: true
# master:
# stratum: 2
# peers:
@@ -1271,7 +1271,7 @@ Examples
# vrf: default
# - peer: 192.0.2.2
# key_id: 2
- # prefer: True
+ # prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_module.rst
deleted file mode 100644
index 3fa835a96..000000000
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_module.rst
+++ /dev/null
@@ -1,314 +0,0 @@
-.. _cisco.nxos.nxos_ntp_module:
-
-
-*******************
-cisco.nxos.nxos_ntp
-*******************
-
-**Manages core NTP configuration.**
-
-
-Version added: 1.0.0
-
-.. contents::
- :local:
- :depth: 1
-
-DEPRECATED
-----------
-:Removed in collection release after 2024-01-01
-:Why: Updated module released with more functionality.
-:Alternative: nxos_ntp_global
-
-
-
-Synopsis
---------
-- Manages core NTP configuration.
-
-
-
-
-Parameters
-----------
-
-.. raw:: html
-
- <table border=0 cellpadding=0 class="documentation-table">
- <tr>
- <th colspan="1">Parameter</th>
- <th>Choices/<font color="blue">Defaults</font></th>
- <th width="100%">Comments</th>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>key_id</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Authentication key identifier to use with given NTP server or peer or keyword &#x27;default&#x27;.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>peer</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Network address of NTP peer.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>prefer</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>enabled</li>
- <li>disabled</li>
- </ul>
- </td>
- <td>
- <div>Makes given NTP server or peer the preferred NTP server or peer for the device.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>server</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Network address of NTP server.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>source_addr</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Local source address from which NTP messages are sent or keyword &#x27;default&#x27;.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>source_int</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Local source interface from which NTP messages are sent. Must be fully qualified interface name or keyword &#x27;default&#x27;</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>state</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li><div style="color: blue"><b>present</b>&nbsp;&larr;</div></li>
- <li>absent</li>
- </ul>
- </td>
- <td>
- <div>Manage the state of the resource.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>vrf_name</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>Makes the device communicate with the given NTP server or peer over a specific VRF or keyword &#x27;default&#x27;.</div>
- </td>
- </tr>
- </table>
- <br/>
-
-
-Notes
------
-
-.. note::
- - Limited Support for Cisco MDS
- - For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
- - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
- - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
-
-
-
-Examples
---------
-
-.. code-block:: yaml
-
- # Set NTP Server with parameters
- - cisco.nxos.nxos_ntp:
- server: 1.2.3.4
- key_id: 32
- prefer: enabled
- host: '{{ inventory_hostname }}'
- username: '{{ un }}'
- password: '{{ pwd }}'
-
-
-
-Return Values
--------------
-Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
-
-.. raw:: html
-
- <table border=0 cellpadding=0 class="documentation-table">
- <tr>
- <th colspan="1">Key</th>
- <th>Returned</th>
- <th width="100%">Description</th>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="return-"></div>
- <b>changed</b>
- <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
- <div style="font-size: small">
- <span style="color: purple">boolean</span>
- </div>
- </td>
- <td>always</td>
- <td>
- <div>check to see if a change was made on the device</div>
- <br/>
- <div style="font-size: smaller"><b>Sample:</b></div>
- <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">True</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="return-"></div>
- <b>end_state</b>
- <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
- <div style="font-size: small">
- <span style="color: purple">dictionary</span>
- </div>
- </td>
- <td>always</td>
- <td>
- <div>k/v pairs of ntp info after module execution</div>
- <br/>
- <div style="font-size: smaller"><b>Sample:</b></div>
- <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">{&#x27;address&#x27;: &#x27;192.0.2.2&#x27;, &#x27;key_id&#x27;: &#x27;48&#x27;, &#x27;peer_type&#x27;: &#x27;server&#x27;, &#x27;prefer&#x27;: &#x27;enabled&#x27;, &#x27;source&#x27;: &#x27;192.0.2.3&#x27;, &#x27;source_type&#x27;: &#x27;source&#x27;}</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="return-"></div>
- <b>existing</b>
- <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
- <div style="font-size: small">
- <span style="color: purple">dictionary</span>
- </div>
- </td>
- <td>always</td>
- <td>
- <div>k/v pairs of existing ntp server/peer</div>
- <br/>
- <div style="font-size: smaller"><b>Sample:</b></div>
- <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">{&#x27;address&#x27;: &#x27;192.0.2.2&#x27;, &#x27;key_id&#x27;: &#x27;32&#x27;, &#x27;peer_type&#x27;: &#x27;server&#x27;, &#x27;prefer&#x27;: &#x27;enabled&#x27;, &#x27;source&#x27;: &#x27;ethernet2/1&#x27;, &#x27;source_type&#x27;: &#x27;source-interface&#x27;}</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="return-"></div>
- <b>proposed</b>
- <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
- <div style="font-size: small">
- <span style="color: purple">dictionary</span>
- </div>
- </td>
- <td>always</td>
- <td>
- <div>k/v pairs of parameters passed into module</div>
- <br/>
- <div style="font-size: smaller"><b>Sample:</b></div>
- <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">{&#x27;address&#x27;: &#x27;192.0.2.2&#x27;, &#x27;key_id&#x27;: &#x27;48&#x27;, &#x27;peer_type&#x27;: &#x27;server&#x27;, &#x27;prefer&#x27;: &#x27;enabled&#x27;, &#x27;source&#x27;: &#x27;192.0.2.3&#x27;, &#x27;source_type&#x27;: &#x27;source&#x27;}</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="return-"></div>
- <b>updates</b>
- <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
- <div style="font-size: small">
- <span style="color: purple">list</span>
- </div>
- </td>
- <td>always</td>
- <td>
- <div>command sent to the device</div>
- <br/>
- <div style="font-size: smaller"><b>Sample:</b></div>
- <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;ntp server 192.0.2.2 prefer key 48&#x27;, &#x27;no ntp source-interface ethernet2/1&#x27;, &#x27;ntp source 192.0.2.3&#x27;]</div>
- </td>
- </tr>
- </table>
- <br/><br/>
-
-
-Status
-------
-
-
-- This module will be removed in a release after 2024-01-01. *[deprecated]*
-- For more information see `DEPRECATED`_.
-
-
-Authors
-~~~~~~~
-
-- Jason Edelman (@jedelman8)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_options_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_options_module.rst
deleted file mode 100644
index e99825641..000000000
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ntp_options_module.rst
+++ /dev/null
@@ -1,192 +0,0 @@
-.. _cisco.nxos.nxos_ntp_options_module:
-
-
-***************************
-cisco.nxos.nxos_ntp_options
-***************************
-
-**Manages NTP options.**
-
-
-Version added: 1.0.0
-
-.. contents::
- :local:
- :depth: 1
-
-DEPRECATED
-----------
-:Removed in collection release after 2024-01-01
-:Why: Updated module released with more functionality.
-:Alternative: nxos_ntp_global
-
-
-
-Synopsis
---------
-- Manages NTP options, e.g. authoritative server and logging.
-
-
-
-
-Parameters
-----------
-
-.. raw:: html
-
- <table border=0 cellpadding=0 class="documentation-table">
- <tr>
- <th colspan="1">Parameter</th>
- <th>Choices/<font color="blue">Defaults</font></th>
- <th width="100%">Comments</th>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>logging</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">boolean</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>no</li>
- <li>yes</li>
- </ul>
- </td>
- <td>
- <div>Sets whether NTP logging is enabled on the device.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>master</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">boolean</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li>no</li>
- <li>yes</li>
- </ul>
- </td>
- <td>
- <div>Sets whether the device is an authoritative NTP server.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>state</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- <ul style="margin: 0; padding: 0"><b>Choices:</b>
- <li><div style="color: blue"><b>present</b>&nbsp;&larr;</div></li>
- <li>absent</li>
- </ul>
- </td>
- <td>
- <div>Manage the state of the resource.</div>
- </td>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="parameter-"></div>
- <b>stratum</b>
- <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
- <div style="font-size: small">
- <span style="color: purple">string</span>
- </div>
- </td>
- <td>
- </td>
- <td>
- <div>If <code>master=true</code>, an optional stratum can be supplied (1-15). The device default is 8.</div>
- </td>
- </tr>
- </table>
- <br/>
-
-
-Notes
------
-
-.. note::
- - Tested against NXOSv 7.3.(0)D1(1) on VIRL
- - Limited Support for Cisco MDS
- - When ``state=absent``, master and logging will be set to False and stratum will be removed as well
- - For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
- - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
- - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
-
-
-
-Examples
---------
-
-.. code-block:: yaml
-
- # Basic NTP options configuration
- - cisco.nxos.nxos_ntp_options:
- master: true
- stratum: 12
- logging: false
- host: '{{ inventory_hostname }}'
- username: '{{ un }}'
- password: '{{ pwd }}'
-
-
-
-Return Values
--------------
-Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
-
-.. raw:: html
-
- <table border=0 cellpadding=0 class="documentation-table">
- <tr>
- <th colspan="1">Key</th>
- <th>Returned</th>
- <th width="100%">Description</th>
- </tr>
- <tr>
- <td colspan="1">
- <div class="ansibleOptionAnchor" id="return-"></div>
- <b>updates</b>
- <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
- <div style="font-size: small">
- <span style="color: purple">list</span>
- </div>
- </td>
- <td>always</td>
- <td>
- <div>command sent to the device</div>
- <br/>
- <div style="font-size: smaller"><b>Sample:</b></div>
- <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;no ntp logging&#x27;, &#x27;ntp master 12&#x27;]</div>
- </td>
- </tr>
- </table>
- <br/><br/>
-
-
-Status
-------
-
-
-- This module will be removed in a release after 2024-01-01. *[deprecated]*
-- For more information see `DEPRECATED`_.
-
-
-Authors
-~~~~~~~
-
-- Jason Edelman (@jedelman8)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospf_interfaces_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospf_interfaces_module.rst
index 6dbfbd5f5..ff69b6e71 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospf_interfaces_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospf_interfaces_module.rst
@@ -784,46 +784,46 @@ Examples
config:
- name: Ethernet1/1
address_family:
- - afi: ipv4
- processes:
- - process_id: "100"
- area:
- area_id: 1.1.1.1
- secondaries: False
- multi_areas:
- - 11.11.11.11
- - afi: ipv6
- processes:
- - process_id: "200"
- area:
- area_id: 2.2.2.2
+ - afi: ipv4
+ processes:
+ - process_id: '100'
+ area:
+ area_id: 1.1.1.1
+ secondaries: false
multi_areas:
- - 21.0.0.0
- - process_id: "300"
+ - 11.11.11.11
+ - afi: ipv6
+ processes:
+ - process_id: '200'
+ area:
+ area_id: 2.2.2.2
+ multi_areas:
+ - 21.0.0.0
+ - process_id: '300'
+ multi_areas:
+ - 50.50.50.50
multi_areas:
- - 50.50.50.50
- multi_areas:
- - 16.10.10.10
+ - 16.10.10.10
- name: Ethernet1/2
address_family:
- - afi: ipv4
- authentication:
- enable: True
- key_chain: test-1
- message_digest_key:
- key_id: 10
- encryption: 3
- key: abc01d272be25d29
- cost: 100
- - afi: ipv6
- network: broadcast
- shutdown: True
+ - afi: ipv4
+ authentication:
+ enable: true
+ key_chain: test-1
+ message_digest_key:
+ key_id: 10
+ encryption: 3
+ key: abc01d272be25d29
+ cost: 100
+ - afi: ipv6
+ network: broadcast
+ shutdown: true
- name: Ethernet1/3
address_family:
- - afi: ipv4
- authentication_key:
- encryption: 7
- key: 12090404011C03162E
+ - afi: ipv4
+ authentication_key:
+ encryption: 7
+ key: 12090404011C03162E
state: merged
# Task output:
@@ -947,17 +947,17 @@ Examples
- name: Replace OSPF configurations of listed interfaces with provided configurations
cisco.nxos.nxos_ospf_interfaces:
config:
- - name: Ethernet1/1
- address_family:
- - afi: ipv4
- processes:
- - process_id: "100"
- area:
- area_id: 1.1.1.1
- secondaries: False
- multi_areas:
- - 11.11.11.12
- - name: Ethernet1/3
+ - name: Ethernet1/1
+ address_family:
+ - afi: ipv4
+ processes:
+ - process_id: "100"
+ area:
+ area_id: 1.1.1.1
+ secondaries: false
+ multi_areas:
+ - 11.11.11.12
+ - name: Ethernet1/3
state: replaced
# Task output:
@@ -1091,16 +1091,16 @@ Examples
- name: Override all OSPF interfaces configuration with provided configuration
cisco.nxos.nxos_ospf_interfaces:
config:
- - name: Ethernet1/1
- address_family:
- - afi: ipv4
- processes:
- - process_id: "100"
- area:
- area_id: 1.1.1.1
- secondaries: False
- multi_areas:
- - 11.11.11.12
+ - name: Ethernet1/1
+ address_family:
+ - afi: ipv4
+ processes:
+ - process_id: "100"
+ area:
+ area_id: 1.1.1.1
+ secondaries: false
+ multi_areas:
+ - 11.11.11.12
state: overridden
# Task output:
@@ -1409,53 +1409,56 @@ Examples
# Using rendered
- - name: Render platform specific configuration lines with state rendered (without connecting to the device)
+ - name: >-
+ Render platform specific configuration lines with state rendered (without
+ connecting to the device)
cisco.nxos.nxos_ospf_interfaces:
config:
- name: Ethernet1/1
address_family:
- - afi: ipv4
- processes:
- - process_id: "100"
- area:
- area_id: 1.1.1.1
- secondaries: False
- multi_areas:
- - 11.11.11.11
- - afi: ipv6
- processes:
- - process_id: "200"
- area:
- area_id: 2.2.2.2
+ - afi: ipv4
+ processes:
+ - process_id: '100'
+ area:
+ area_id: 1.1.1.1
+ secondaries: false
multi_areas:
- - 21.0.0.0
- - process_id: "300"
+ - 11.11.11.11
+ - afi: ipv6
+ processes:
+ - process_id: '200'
+ area:
+ area_id: 2.2.2.2
+ multi_areas:
+ - 21.0.0.0
+ - process_id: '300'
+ multi_areas:
+ - 50.50.50.50
multi_areas:
- - 50.50.50.50
- multi_areas:
- - 16.10.10.10
+ - 16.10.10.10
- name: Ethernet1/2
address_family:
- - afi: ipv4
- authentication:
- enable: True
- key_chain: test-1
- message_digest_key:
- key_id: 10
- encryption: 3
- key: abc01d272be25d29
- cost: 100
- - afi: ipv6
- network: broadcast
- shutdown: True
+ - afi: ipv4
+ authentication:
+ enable: true
+ key_chain: test-1
+ message_digest_key:
+ key_id: 10
+ encryption: 3
+ key: abc01d272be25d29
+ cost: 100
+ - afi: ipv6
+ network: broadcast
+ shutdown: true
- name: Ethernet1/3
address_family:
- - afi: ipv4
- authentication_key:
- encryption: 7
- key: 12090404011C03162E
+ - afi: ipv4
+ authentication_key:
+ encryption: 7
+ key: 12090404011C03162E
state: rendered
+
# Task Output:
# ------------
# rendered:
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv2_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv2_module.rst
index bc5613068..2115d34f2 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv2_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv2_module.rst
@@ -4432,56 +4432,56 @@ Examples
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 100
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_1
- direction: in
- - route_map: rmap_2
- direction: out
- ranges:
- - prefix: 198.51.100.64/27
- not_advertise: true
- - prefix: 198.51.100.96/27
- cost: 120
- - area_id: 0.0.0.101
- authentication:
- message_digest: true
- redistribute:
- - protocol: eigrp
- id: 120
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- redistribute:
- - protocol: static
- route_map: zone1-static-connect
- summary_address:
- - prefix: 198.51.100.128/27
- tag: 121
- - prefix: 198.51.100.160/27
+ - process_id: 100
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
- - area_id: 0.0.0.103
- nssa:
- no_summary: true
- translate:
- type7:
- always: true
- - vrf: zone2
- auto_cost:
- reference_bandwidth: 45
- unit: Gbps
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_1
+ direction: in
+ - route_map: rmap_2
+ direction: out
+ ranges:
+ - prefix: 198.51.100.64/27
+ not_advertise: true
+ - prefix: 198.51.100.96/27
+ cost: 120
+ - area_id: 0.0.0.101
+ authentication:
+ message_digest: true
+ redistribute:
+ - protocol: eigrp
+ id: 120
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ redistribute:
+ - protocol: static
+ route_map: zone1-static-connect
+ summary_address:
+ - prefix: 198.51.100.128/27
+ tag: 121
+ - prefix: 198.51.100.160/27
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
+ - area_id: 0.0.0.103
+ nssa:
+ no_summary: true
+ translate:
+ type7:
+ always: true
+ - vrf: zone2
+ auto_cost:
+ reference_bandwidth: 45
+ unit: Gbps
state: merged
# Task output:
@@ -4613,43 +4613,46 @@ Examples
# vrf zone2
# auto-cost reference-bandwidth 45 Gbps
- - name: Replace device configurations of listed OSPF processes with provided configurations
+ - name: >-
+ Replace device configurations of listed OSPF processes with provided
+ configurations
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 102
- router_id: 198.51.100.1
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_8
- direction: in
- ranges:
- - prefix: 198.51.100.64/27
- not_advertise: true
- - area_id: 0.0.0.101
- stub:
- no_summary: true
- redistribute:
- - protocol: eigrp
- id: 130
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- redistribute:
- - protocol: bgp
- id: 65563
- route_map: zone1-bgp-connect
+ - process_id: 102
+ router_id: 198.51.100.1
areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_8
+ direction: in
+ ranges:
+ - prefix: 198.51.100.64/27
+ not_advertise: true
+ - area_id: 0.0.0.101
+ stub:
+ no_summary: true
+ redistribute:
+ - protocol: eigrp
+ id: 130
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ redistribute:
+ - protocol: bgp
+ id: 65563
+ route_map: zone1-bgp-connect
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
state: replaced
+
# Task output:
# ------------
# before:
@@ -4803,11 +4806,11 @@ Examples
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 104
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- shutdown: true
+ - process_id: 104
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
+ shutdown: true
state: overridden
# Task output:
@@ -4925,7 +4928,7 @@ Examples
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 102
+ - process_id: 102
state: deleted
# Task output:
@@ -5088,62 +5091,65 @@ Examples
# Using rendered
- - name: Render platform specific configuration lines (without connecting to the device)
+ - name: >-
+ Render platform specific configuration lines (without connecting to the
+ device)
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 100
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_1
- direction: in
- - route_map: rmap_2
- direction: out
- ranges:
- - prefix: 198.51.100.64/27
- not_advertise: true
- - prefix: 198.51.100.96/27
- cost: 120
- - area_id: 0.0.0.101
- authentication:
- message_digest: true
- redistribute:
- - protocol: eigrp
- id: 120
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- redistribute:
- - protocol: static
- route_map: zone1-static-connect
- summary_address:
- - prefix: 198.51.100.128/27
- tag: 121
- - prefix: 198.51.100.160/27
+ - process_id: 100
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
- - area_id: 0.0.0.103
- nssa:
- no_summary: true
- translate:
- type7:
- always: true
- - vrf: zone2
- auto_cost:
- reference_bandwidth: 45
- unit: Gbps
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_1
+ direction: in
+ - route_map: rmap_2
+ direction: out
+ ranges:
+ - prefix: 198.51.100.64/27
+ not_advertise: true
+ - prefix: 198.51.100.96/27
+ cost: 120
+ - area_id: 0.0.0.101
+ authentication:
+ message_digest: true
+ redistribute:
+ - protocol: eigrp
+ id: 120
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ redistribute:
+ - protocol: static
+ route_map: zone1-static-connect
+ summary_address:
+ - prefix: 198.51.100.128/27
+ tag: 121
+ - prefix: 198.51.100.160/27
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
+ - area_id: 0.0.0.103
+ nssa:
+ no_summary: true
+ translate:
+ type7:
+ always: true
+ - vrf: zone2
+ auto_cost:
+ reference_bandwidth: 45
+ unit: Gbps
state: rendered
+
# Task output:
# ------------
# rendered:
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv3_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv3_module.rst
index 0c4c9efed..8e7c46ef6 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv3_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_ospfv3_module.rst
@@ -3570,49 +3570,49 @@ Examples
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 100
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- address_family:
- afi: ipv6
- safi: unicast
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_1
- direction: in
- - route_map: rmap_2
- direction: out
- ranges:
- - prefix: 2001:db2::/32
- not_advertise: true
- - prefix: 2001:db3::/32
- cost: 120
- redistribute:
- - protocol: eigrp
- id: 120
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
- - area_id: 0.0.0.103
- nssa:
- no_summary: true
- translate:
- type7:
- always: true
- - vrf: zone2
- auto_cost:
- reference_bandwidth: 45
- unit: Gbps
+ - process_id: 100
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
+ address_family:
+ afi: ipv6
+ safi: unicast
+ areas:
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_1
+ direction: in
+ - route_map: rmap_2
+ direction: out
+ ranges:
+ - prefix: '2001:db2::/32'
+ not_advertise: true
+ - prefix: '2001:db3::/32'
+ cost: 120
+ redistribute:
+ - protocol: eigrp
+ id: 120
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
+ - area_id: 0.0.0.103
+ nssa:
+ no_summary: true
+ translate:
+ type7:
+ always: true
+ - vrf: zone2
+ auto_cost:
+ reference_bandwidth: 45
+ unit: Gbps
state: merged
# Task output:
@@ -3736,33 +3736,33 @@ Examples
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 102
- router_id: 198.51.100.1
- address_family:
- afi: ipv6
- safi: unicast
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_8
- direction: in
- ranges:
- - not_advertise: true
- prefix: 2001:db2::/32
- redistribute:
- - protocol: eigrp
- id: 130
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: True
- no_summary: True
+ - process_id: 102
+ router_id: 198.51.100.1
+ address_family:
+ afi: ipv6
+ safi: unicast
+ areas:
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_8
+ direction: in
+ ranges:
+ - not_advertise: true
+ prefix: 2001:db2::/32
+ redistribute:
+ - protocol: eigrp
+ id: 130
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
state: replaced
# Task output:
@@ -3902,11 +3902,11 @@ Examples
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 104
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- shutdown: true
+ - process_id: 104
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
+ shutdown: true
state: overridden
# Task output:
@@ -4022,7 +4022,7 @@ Examples
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 102
+ - process_id: 102
state: deleted
# Task output:
@@ -4074,7 +4074,7 @@ Examples
# vrf: zone2
#
# commands:
- # - no router ospfv3 102
+ # - no router ospfv3 102
#
# after:
# processes:
@@ -4180,49 +4180,49 @@ Examples
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 100
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- address_family:
- afi: ipv6
- safi: unicast
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_1
- direction: in
- - route_map: rmap_2
- direction: out
- ranges:
- - prefix: 2001:db2::/32
- not_advertise: true
- - prefix: 2001:db3::/32
- cost: 120
- redistribute:
- - protocol: eigrp
- id: 120
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
- - area_id: 0.0.0.103
- nssa:
- no_summary: true
- translate:
- type7:
- always: true
- - vrf: zone2
- auto_cost:
- reference_bandwidth: 45
- unit: Gbps
+ - process_id: 100
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
+ address_family:
+ afi: ipv6
+ safi: unicast
+ areas:
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_1
+ direction: in
+ - route_map: rmap_2
+ direction: out
+ ranges:
+ - prefix: 2001:db2::/32
+ not_advertise: true
+ - prefix: 2001:db3::/32
+ cost: 120
+ redistribute:
+ - protocol: eigrp
+ id: 120
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
+ - area_id: 0.0.0.103
+ nssa:
+ no_summary: true
+ translate:
+ type7:
+ always: true
+ - vrf: zone2
+ auto_cost:
+ reference_bandwidth: 45
+ unit: Gbps
state: rendered
# Task output:
@@ -4315,7 +4315,7 @@ Examples
# router_id: 192.0.100.2
# - process_id: "102"
# router_id: 198.54.100.1
- # shutdown: True
+ # shutdown: true
# Using gathered
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_route_maps_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_route_maps_module.rst
index 6ced43a16..bcdf6a426 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_route_maps_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_route_maps_module.rst
@@ -2957,44 +2957,44 @@ Examples
- route_map: rmap3
entries:
- - sequence: 10
- description: "*** first stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- verify_availability:
- - address: 3.3.3.3
- track: 1
- - address: 4.4.4.4
- track: 3
+ - sequence: 10
+ description: "*** first stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ verify_availability:
+ - address: 3.3.3.3
+ track: 1
+ - address: 4.4.4.4
+ track: 3
- - sequence: 20
- description: "*** second stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- address: 6.6.6.6 2.2.2.2
- load_share: true
- drop_on_fail: true
+ - sequence: 20
+ description: "*** second stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ address: 6.6.6.6 2.2.2.2
+ load_share: true
+ drop_on_fail: true
- - sequence: 30
- description: "*** third stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- peer_address: true
+ - sequence: 30
+ description: "*** third stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ peer_address: true
- - sequence: 40
- description: "*** fourth stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- unchanged: true
- redist_unchanged: true
+ - sequence: 40
+ description: "*** fourth stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ unchanged: true
+ redist_unchanged: true
state: merged
# Task output
@@ -3259,35 +3259,35 @@ Examples
- AllowPrefix1
set:
community:
- local_as: True
+ local_as: true
- route_map: rmap3
entries:
- - sequence: 10
- description: "*** first stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- verify_availability:
- - address: 3.3.3.3
- track: 1
- - sequence: 20
- description: "*** second stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- peer_address: true
- - sequence: 30
- description: "*** third stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- address: 6.6.6.6 2.2.2.2
- load_share: true
- drop_on_fail: true
+ - sequence: 10
+ description: "*** first stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ verify_availability:
+ - address: 3.3.3.3
+ track: 1
+ - sequence: 20
+ description: "*** second stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ peer_address: true
+ - sequence: 30
+ description: "*** third stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ address: 6.6.6.6 2.2.2.2
+ load_share: true
+ drop_on_fail: true
state: replaced
# Task output
@@ -3446,7 +3446,7 @@ Examples
# - AllowPrefix1
# set:
# community:
- # local_as: True
+ # local_as: true
#
# - route_map: rmap2
# entries:
@@ -3594,7 +3594,7 @@ Examples
- AllowPrefix1
set:
community:
- local_as: True
+ local_as: true
state: overridden
# Task output
@@ -3705,7 +3705,7 @@ Examples
# - AllowPrefix1
# set:
# community:
- # local_as: True
+ # local_as: true
#
# After state:
# ------------
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_snmp_server_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_snmp_server_module.rst
index 1324c39a1..126e16341 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_snmp_server_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_snmp_server_module.rst
@@ -3676,18 +3676,18 @@ Examples
location: serverroom-1
traps:
aaa:
- server_state_change: True
+ server_state_change: true
system:
- clock_change_notification: True
+ clock_change_notification: true
hosts:
- host: 192.0.2.1
- traps: True
+ traps: true
version: '1'
community: public
- host: 192.0.2.1
source_interface: Ethernet1/1
- host: 192.0.2.2
- informs: True
+ informs: true
version: '3'
auth: NMS
users:
@@ -3697,16 +3697,16 @@ Examples
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
- user: snmp_user_2
group: network-operator
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
priv:
privacy_password: '0x5632724fb8ac3699296af26281e1d0f1'
- aes_128: True
+ aes_128: true
use_acls:
- user: snmp_user_1
ipv4: acl1
@@ -3725,7 +3725,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
- # localized_key: True
+ # localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -3757,9 +3757,9 @@ Examples
# location: serverroom-1
# traps:
# aaa:
- # server_state_change: True
+ # server_state_change: true
# system:
- # clock_change_notification: True
+ # clock_change_notification: true
# hosts:
# - host: 192.0.2.1
# traps: true
@@ -3780,7 +3780,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
- # localized_key: True
+ # localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -3789,7 +3789,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0x5632724fb8ac3699296af26281e1d0f1"
- # localized_key: True
+ # localized_key: true
#
# - authentication:
# algorithm: md5
@@ -3863,16 +3863,16 @@ Examples
location: serverroom-2
traps:
aaa:
- server_state_change: True
+ server_state_change: true
hosts:
- host: 192.0.2.1
- traps: True
+ traps: true
version: '1'
community: public
- host: 192.0.2.1
source_interface: Ethernet1/1
- host: 192.0.3.2
- informs: True
+ informs: true
version: '3'
auth: NMS
users:
@@ -3882,7 +3882,7 @@ Examples
authentication:
algorithm: md5
password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
- localized_key: True
+ localized_key: true
priv:
privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
@@ -3891,17 +3891,17 @@ Examples
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
- user: snmp_user_2
group: network-operator
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
priv:
privacy_password: '0x5632724fb8ac3699296af26281e1d0f1'
- aes_128: True
+ aes_128: true
use_acls:
- user: snmp_user_1
ipv4: acl1
@@ -3922,9 +3922,9 @@ Examples
# location: serverroom-1
# traps:
# aaa:
- # server_state_change: True
+ # server_state_change: true
# system:
- # clock_change_notification: True
+ # clock_change_notification: true
# hosts:
# - host: 192.0.2.1
# traps: true
@@ -3945,7 +3945,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
- # localized_key: True
+ # localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -3954,7 +3954,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0x5632724fb8ac3699296af26281e1d0f1"
- # localized_key: True
+ # localized_key: true
#
# - authentication:
# algorithm: md5
@@ -3996,16 +3996,16 @@ Examples
# location: serverroom-2
# traps:
# aaa:
- # server_state_change: True
+ # server_state_change: true
# hosts:
# - host: 192.0.2.1
- # traps: True
+ # traps: true
# version: '1'
# community: public
# - host: 192.0.2.1
# source_interface: Ethernet1/1
# - host: 192.0.3.2
- # informs: True
+ # informs: true
# version: '3'
# auth: NMS
# users:
@@ -4015,7 +4015,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
- # localized_key: True
+ # localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -4024,17 +4024,17 @@ Examples
# authentication:
# algorithm: md5
# password: '0x5632724fb8ac3699296af26281e1d0f1'
- # localized_key: True
+ # localized_key: true
#
# - user: snmp_user_2
# group: network-operator
# authentication:
# algorithm: md5
# password: '0x5632724fb8ac3699296af26281e1d0f1'
- # localized_key: True
+ # localized_key: true
# priv:
# privacy_password: '0x5632724fb8ac3699296af26281e1d0f1'
- # aes_128: True
+ # aes_128: true
#
# use_acls:
# - user: snmp_user_1
@@ -4100,9 +4100,9 @@ Examples
# location: serverroom-1
# traps:
# aaa:
- # server_state_change: True
+ # server_state_change: true
# system:
- # clock_change_notification: True
+ # clock_change_notification: true
# hosts:
# - host: 192.0.2.1
# traps: true
@@ -4123,7 +4123,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
- # localized_key: True
+ # localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -4132,7 +4132,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0x5632724fb8ac3699296af26281e1d0f1"
- # localized_key: True
+ # localized_key: true
#
# - authentication:
# algorithm: md5
@@ -4177,7 +4177,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
- # localized_key: True
+ # localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
@@ -4203,18 +4203,18 @@ Examples
location: serverroom-1
traps:
aaa:
- server_state_change: True
+ server_state_change: true
system:
- clock_change_notification: True
+ clock_change_notification: true
hosts:
- host: 192.0.2.1
- traps: True
+ traps: true
version: '1'
community: public
- host: 192.0.2.1
source_interface: Ethernet1/1
- host: 192.0.2.2
- informs: True
+ informs: true
version: '3'
auth: NMS
users:
@@ -4224,16 +4224,16 @@ Examples
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
- user: snmp_user_2
group: network-operator
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
priv:
privacy_password: '0x5632724fb8ac3699296af26281e1d0f1'
- aes_128: True
+ aes_128: true
use_acls:
- user: snmp_user_1
ipv4: acl1
@@ -4300,9 +4300,9 @@ Examples
# location: serverroom-1
# traps:
# aaa:
- # server_state_change: True
+ # server_state_change: true
# system:
- # clock_change_notification: True
+ # clock_change_notification: true
# hosts:
# - host: 192.0.2.1
# traps: true
@@ -4323,7 +4323,7 @@ Examples
# authentication:
# algorithm: md5
# password: "0x5632724fb8ac3699296af26281e1d0f1"
- # localized_key: True
+ # localized_key: true
#
# - authentication:
# algorithm: md5
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_static_routes_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_static_routes_module.rst
index 264515ecf..0ce8ef2ed 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_static_routes_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_static_routes_module.rst
@@ -416,7 +416,7 @@ Examples
- name: Delete routes based on VRF
cisco.nxos.nxos_static_routes:
config:
- - vrf: trial_vrf
+ - vrf: trial_vrf
state: deleted
# Task Output
@@ -496,9 +496,9 @@ Examples
- name: Delete routes based on AFI in a VRF
cisco.nxos.nxos_static_routes:
config:
- - vrf: trial_vrf
- address_families:
- - afi: ipv4
+ - vrf: trial_vrf
+ address_families:
+ - afi: ipv4
state: deleted
# Task Output
@@ -580,28 +580,28 @@ Examples
- name: Merge new static route configuration
cisco.nxos.nxos_static_routes:
config:
- - vrf: trial_vrf
- address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.64/24
- next_hops:
- - forward_router_address: 192.0.2.22
- tag: 4
- admin_distance: 2
- - address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.16/24
- next_hops:
- - forward_router_address: 192.0.2.24
- route_name: new_route
- - afi: ipv6
- routes:
- - dest: 2001:db8::/64
- next_hops:
- - interface: eth1/3
- forward_router_address: 2001:db8::12
+ - vrf: trial_vrf
+ address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.64/24
+ next_hops:
+ - forward_router_address: 192.0.2.22
+ tag: 4
+ admin_distance: 2
+ - address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.16/24
+ next_hops:
+ - forward_router_address: 192.0.2.24
+ route_name: new_route
+ - afi: ipv6
+ routes:
+ - dest: '2001:db8::/64'
+ next_hops:
+ - interface: eth1/3
+ forward_router_address: '2001:db8::12'
state: merged
# Task Output
@@ -663,19 +663,19 @@ Examples
- name: Overridden existing static route configuration with new configuration
cisco.nxos.nxos_static_routes:
config:
- - vrf: trial_vrf
- address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.16/28
- next_hops:
- - forward_router_address: 192.0.2.23
- route_name: overridden_route1
- admin_distance: 3
- - forward_router_address: 192.0.2.45
- route_name: overridden_route2
- dest_vrf: destinationVRF
- interface: Ethernet1/2
+ - vrf: trial_vrf
+ address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.16/28
+ next_hops:
+ - forward_router_address: 192.0.2.23
+ route_name: overridden_route1
+ admin_distance: 3
+ - forward_router_address: 192.0.2.45
+ route_name: overridden_route2
+ dest_vrf: destinationVRF
+ interface: Ethernet1/2
state: overridden
# Task Output
@@ -752,18 +752,18 @@ Examples
- name: Replaced the existing static configuration of a prefix with new configuration
cisco.nxos.nxos_static_routes:
config:
- - address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.16/28
- next_hops:
- - forward_router_address: 192.0.2.23
- route_name: replaced_route1
- admin_distance: 3
- - forward_router_address: 192.0.2.45
- route_name: replaced_route2
- dest_vrf: destinationVRF
- interface: Ethernet1/2
+ - address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.16/28
+ next_hops:
+ - forward_router_address: 192.0.2.23
+ route_name: replaced_route1
+ admin_distance: 3
+ - forward_router_address: 192.0.2.45
+ route_name: replaced_route2
+ dest_vrf: destinationVRF
+ interface: Ethernet1/2
state: replaced
# Task Output
@@ -882,18 +882,18 @@ Examples
- name: Render required configuration to be pushed to the device
cisco.nxos.nxos_static_routes:
config:
- - address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.48/28
- next_hops:
- - forward_router_address: 192.0.2.13
- - afi: ipv6
- routes:
- - dest: 2001:db8::/64
- next_hops:
- - interface: eth1/3
- forward_router_address: 2001:db8::12
+ - address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.48/28
+ next_hops:
+ - forward_router_address: 192.0.2.13
+ - afi: ipv6
+ routes:
+ - dest: 2001:db8::/64
+ next_hops:
+ - interface: eth1/3
+ forward_router_address: 2001:db8::12
state: rendered
# Task Output
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_system_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_system_module.rst
index 4c573f51b..630ebbaad 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_system_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_system_module.rst
@@ -181,14 +181,14 @@ Examples
- name: configure name servers
cisco.nxos.nxos_system:
name_servers:
- - 8.8.8.8
- - 8.8.4.4
+ - 8.8.8.8
+ - 8.8.4.4
- name: configure name servers with VRF support
cisco.nxos.nxos_system:
name_servers:
- - {server: 8.8.8.8, vrf: mgmt}
- - {server: 8.8.4.4, vrf: mgmt}
+ - {server: 8.8.8.8, vrf: mgmt}
+ - {server: 8.8.4.4, vrf: mgmt}
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_telemetry_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_telemetry_module.rst
index 00dcb28b2..d1394ccf0 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_telemetry_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_telemetry_module.rst
@@ -611,41 +611,41 @@ Examples
source_interface: Ethernet1/1
vrf: management
destination_groups:
- - id: 2
- destination:
- ip: 192.168.0.2
- port: 50001
- protocol: gRPC
- encoding: GPB
- - id: 55
- destination:
- ip: 192.168.0.55
- port: 60001
- protocol: gRPC
- encoding: GPB
+ - id: 2
+ destination:
+ ip: 192.168.0.2
+ port: 50001
+ protocol: gRPC
+ encoding: GPB
+ - id: 55
+ destination:
+ ip: 192.168.0.55
+ port: 60001
+ protocol: gRPC
+ encoding: GPB
sensor_groups:
- - id: 1
- data_source: NX-API
- path:
- name: '"show lldp neighbors detail"'
- depth: 0
- - id: 55
- data_source: DME
- path:
- name: sys/ch
- depth: unbounded
- filter_condition: ne(eqptFt.operSt,"ok")
+ - id: 1
+ data_source: NX-API
+ path:
+ name: '"show lldp neighbors detail"'
+ depth: 0
+ - id: 55
+ data_source: DME
+ path:
+ name: sys/ch
+ depth: unbounded
+ filter_condition: ne(eqptFt.operSt,"ok")
subscriptions:
- - id: 5
- destination_group: 55
- sensor_group:
- id: 1
- sample_interval: 1000
- - id: 6
- destination_group: 2
- sensor_group:
- id: 55
- sample_interval: 2000
+ - id: 5
+ destination_group: 55
+ sensor_group:
+ id: 1
+ sample_interval: 1000
+ - id: 6
+ destination_group: 2
+ sensor_group:
+ id: 55
+ sample_interval: 2000
state: merged
@@ -663,15 +663,15 @@ Examples
source_interface: Ethernet1/1
vrf: management
destination_groups:
- - id: 2
- destination:
- ip: 192.168.0.2
- port: 50001
- protocol: gRPC
- encoding: GPB
+ - id: 2
+ destination:
+ ip: 192.168.0.2
+ port: 50001
+ protocol: gRPC
+ encoding: GPB
subscriptions:
- - id: 5
- destination_group: 55
+ - id: 5
+ destination_group: 55
state: replaced
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_user_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_user_module.rst
index bcd44852b..a03a23a03 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_user_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_user_module.rst
@@ -340,8 +340,8 @@ Examples
- name: set multiple users role
cisco.nxos.nxos_user:
aggregate:
- - name: netop
- - name: netend
+ - name: netop
+ - name: netend
role: network-operator
state: present
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vlans_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vlans_module.rst
index 1da6615e6..a9dc3f41d 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vlans_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vlans_module.rst
@@ -228,10 +228,10 @@ Examples
- name: Merge provided configuration with device configuration.
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- name: test-vlan5
- - vlan_id: 10
- enabled: false
+ - vlan_id: 5
+ name: test-vlan5
+ - vlan_id: 10
+ enabled: false
state: merged
# After state:
@@ -258,11 +258,11 @@ Examples
- name: Replace device configuration of specified vlan with provided configuration.
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- name: test-vlan
- enabled: false
- - vlan_id: 10
- enabled: false
+ - vlan_id: 5
+ name: test-vlan
+ enabled: false
+ - vlan_id: 10
+ enabled: false
state: replaced
# After state:
@@ -293,10 +293,10 @@ Examples
- name: Override device configuration of all vlans with provided configuration.
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- name: test-vlan
- - vlan_id: 10
- state: active
+ - vlan_id: 5
+ name: test-vlan
+ - vlan_id: 10
+ state: active
state: overridden
# After state:
@@ -321,8 +321,8 @@ Examples
- name: Delete vlans.
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- - vlan_id: 10
+ - vlan_id: 5
+ - vlan_id: 10
state: deleted
# After state:
@@ -334,13 +334,13 @@ Examples
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- name: vlan5
- mapped_vni: 100
+ - vlan_id: 5
+ name: vlan5
+ mapped_vni: 100
- - vlan_id: 6
- name: vlan6
- state: suspend
+ - vlan_id: 6
+ name: vlan6
+ state: suspend
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_af_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_af_module.rst
index a48a43847..236991587 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_af_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_af_module.rst
@@ -210,55 +210,50 @@ Examples
afi: ipv4
route_target_both_auto_evpn: true
state: present
-
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: import
- - rt: 65001:1000
- direction: import
-
+ - rt: '65000:1000'
+ direction: import
+ - rt: '65001:1000'
+ direction: import
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: import
- - rt: 65001:1000
- state: absent
-
+ - rt: '65000:1000'
+ direction: import
+ - rt: '65001:1000'
+ state: absent
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: export
- - rt: 65001:1000
- direction: export
-
+ - rt: '65000:1000'
+ direction: export
+ - rt: '65001:1000'
+ direction: export
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: export
- state: absent
-
+ - rt: '65000:1000'
+ direction: export
+ state: absent
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: both
- state: present
- - rt: 65001:1000
- direction: import
- state: present
- - rt: 65002:1000
- direction: both
- state: absent
+ - rt: '65000:1000'
+ direction: both
+ state: present
+ - rt: '65001:1000'
+ direction: import
+ state: present
+ - rt: '65002:1000'
+ direction: both
+ state: absent
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_module.rst
index dff7e37cd..6765f78b5 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vrf_module.rst
@@ -400,48 +400,48 @@ Examples
name: ntc
description: testing
state: present
-
- name: Aggregate definition of VRFs
cisco.nxos.nxos_vrf:
aggregate:
- - {name: test1, description: Testing, admin_state: down}
- - {name: test2, interfaces: Ethernet1/2}
-
+ - name: test1
+ description: Testing
+ admin_state: down
+ - name: test2
+ interfaces: Ethernet1/2
- name: Aggregate definitions of VRFs with Purge
cisco.nxos.nxos_vrf:
aggregate:
- - {name: ntc1, description: purge test1}
- - {name: ntc2, description: purge test2}
+ - name: ntc1
+ description: purge test1
+ - name: ntc2
+ description: purge test2
state: present
purge: true
-
- name: Delete VRFs exist on switch
cisco.nxos.nxos_vrf:
aggregate:
- - {name: ntc1}
- - {name: ntc2}
+ - name: ntc1
+ - name: ntc2
state: absent
-
- name: Assign interfaces to VRF declaratively
cisco.nxos.nxos_vrf:
name: test1
interfaces:
- - Ethernet2/3
- - Ethernet2/5
-
+ - Ethernet2/3
+ - Ethernet2/5
- name: Check interfaces assigned to VRF
cisco.nxos.nxos_vrf:
name: test1
associated_interfaces:
- - Ethernet2/3
- - Ethernet2/5
-
- - name: Ensure VRF is tagged with interface Ethernet2/5 only (Removes from Ethernet2/3)
+ - Ethernet2/3
+ - Ethernet2/5
+ - name: >-
+ Ensure VRF is tagged with interface Ethernet2/5 only (Removes from
+ Ethernet2/3)
cisco.nxos.nxos_vrf:
name: test1
interfaces:
- - Ethernet2/5
-
+ - Ethernet2/5
- name: Delete VRF
cisco.nxos.nxos_vrf:
name: ntc
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vsan_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vsan_module.rst
index c161f11d8..9baa64c68 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vsan_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vsan_module.rst
@@ -160,25 +160,25 @@ Examples
- name: Test that vsan module works
cisco.nxos.nxos_vsan:
vsan:
- - id: 922
- interface:
- - fc1/1
- - fc1/2
- - port-channel 1
- name: vsan-SAN-A
- remove: false
- suspend: false
- - id: 923
- interface:
- - fc1/11
- - fc1/21
- - port-channel 2
- name: vsan-SAN-B
- remove: false
- suspend: true
- - id: 1923
- name: vsan-SAN-Old
- remove: true
+ - id: 922
+ interface:
+ - fc1/1
+ - fc1/2
+ - port-channel 1
+ name: vsan-SAN-A
+ remove: false
+ suspend: false
+ - id: 923
+ interface:
+ - fc1/11
+ - fc1/21
+ - port-channel 2
+ name: vsan-SAN-B
+ remove: false
+ suspend: true
+ - id: 1923
+ name: vsan-SAN-Old
+ remove: true
diff --git a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_zone_zoneset_module.rst b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_zone_zoneset_module.rst
index 4d0c320b7..95ef4972a 100644
--- a/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_zone_zoneset_module.rst
+++ b/ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_zone_zoneset_module.rst
@@ -426,54 +426,54 @@ Examples
- name: Test that zone/zoneset module works
cisco.nxos.nxos_zone_zoneset:
zone_zoneset_details:
- - mode: enhanced
- vsan: 22
- zone:
- - members:
- - pwwn: 11:11:11:11:11:11:11:11
- - device_alias: test123
- - pwwn: 61:61:62:62:12:12:12:12
- remove: true
- name: zoneA
- - members:
- - pwwn: 10:11:11:11:11:11:11:11
- - pwwn: 62:62:62:62:21:21:21:21
- name: zoneB
- - name: zoneC
- remove: true
- zoneset:
- - action: activate
- members:
- - name: zoneA
- - name: zoneB
- - name: zoneC
- remove: true
- name: zsetname1
- - action: deactivate
- name: zsetTestExtra
- remove: true
- - mode: basic
- smart_zoning: true
- vsan: 21
- zone:
- - members:
- - devtype: both
- pwwn: 11:11:11:11:11:11:11:11
- - pwwn: 62:62:62:62:12:12:12:12
- - devtype: both
- pwwn: 92:62:62:62:12:12:1a:1a
- remove: true
- name: zone21A
- - members:
- - pwwn: 10:11:11:11:11:11:11:11
- - pwwn: 62:62:62:62:21:21:21:21
- name: zone21B
- zoneset:
- - action: activate
- members:
- - name: zone21A
- - name: zone21B
- name: zsetname212
+ - mode: enhanced
+ vsan: 22
+ zone:
+ - members:
+ - pwwn: 31314874576271
+ - device_alias: test123
+ - pwwn: '61:61:62:62:12:12:12:12'
+ remove: true
+ name: zoneA
+ - members:
+ - pwwn: 28515514576271
+ - pwwn: '62:62:62:62:21:21:21:21'
+ name: zoneB
+ - name: zoneC
+ remove: true
+ zoneset:
+ - action: activate
+ members:
+ - name: zoneA
+ - name: zoneB
+ - name: zoneC
+ remove: true
+ name: zsetname1
+ - action: deactivate
+ name: zsetTestExtra
+ remove: true
+ - mode: basic
+ smart_zoning: true
+ vsan: 21
+ zone:
+ - members:
+ - devtype: both
+ pwwn: 31314874576271
+ - pwwn: '62:62:62:62:12:12:12:12'
+ - devtype: both
+ pwwn: '92:62:62:62:12:12:1a:1a'
+ remove: true
+ name: zone21A
+ - members:
+ - pwwn: 28515514576271
+ - pwwn: '62:62:62:62:21:21:21:21'
+ name: zone21B
+ zoneset:
+ - action: activate
+ members:
+ - name: zone21A
+ - name: zone21B
+ name: zsetname212
diff --git a/ansible_collections/cisco/nxos/meta/runtime.yml b/ansible_collections/cisco/nxos/meta/runtime.yml
index d83b291f1..bd17c140f 100644
--- a/ansible_collections/cisco/nxos/meta/runtime.yml
+++ b/ansible_collections/cisco/nxos/meta/runtime.yml
@@ -1,331 +1,6 @@
---
-requires_ansible: ">=2.9.10"
+requires_ansible: ">=2.14.0"
plugin_routing:
- action:
- nxos_aaa_server:
- redirect: cisco.nxos.nxos
- aaa_server:
- redirect: cisco.nxos.nxos
- nxos_aaa_server_host:
- redirect: cisco.nxos.nxos
- aaa_server_host:
- redirect: cisco.nxos.nxos
- nxos_acl_interfaces:
- redirect: cisco.nxos.nxos
- acl_interfaces:
- redirect: cisco.nxos.nxos
- nxos_acls:
- redirect: cisco.nxos.nxos
- acls:
- redirect: cisco.nxos.nxos
- nxos_banner:
- redirect: cisco.nxos.nxos
- banner:
- redirect: cisco.nxos.nxos
- nxos_bfd_global:
- redirect: cisco.nxos.nxos
- bfd_global:
- redirect: cisco.nxos.nxos
- nxos_bfd_interfaces:
- redirect: cisco.nxos.nxos
- bfd_interfaces:
- redirect: cisco.nxos.nxos
- nxos_command:
- redirect: cisco.nxos.nxos
- command:
- redirect: cisco.nxos.nxos
- nxos_config:
- redirect: cisco.nxos.nxos
- config:
- redirect: cisco.nxos.nxos
- nxos_devicealias:
- redirect: cisco.nxos.nxos
- devicealias:
- redirect: cisco.nxos.nxos
- nxos_evpn_global:
- redirect: cisco.nxos.nxos
- evpn_global:
- redirect: cisco.nxos.nxos
- nxos_evpn_vni:
- redirect: cisco.nxos.nxos
- evpn_vni:
- redirect: cisco.nxos.nxos
- nxos_facts:
- redirect: cisco.nxos.nxos
- facts:
- redirect: cisco.nxos.nxos
- nxos_feature:
- redirect: cisco.nxos.nxos
- feature:
- redirect: cisco.nxos.nxos
- nxos_gir:
- redirect: cisco.nxos.nxos
- gir:
- redirect: cisco.nxos.nxos
- nxos_gir_profile_management:
- redirect: cisco.nxos.nxos
- gir_profile_management:
- redirect: cisco.nxos.nxos
- nxos_hostname:
- redirect: cisco.nxos.nxos
- hostname:
- redirect: cisco.nxos.nxos
- nxos_hsrp:
- redirect: cisco.nxos.nxos
- hsrp:
- redirect: cisco.nxos.nxos
- nxos_hsrp_interfaces:
- redirect: cisco.nxos.nxos
- hsrp_interfaces:
- redirect: cisco.nxos.nxos
- nxos_igmp:
- redirect: cisco.nxos.nxos
- igmp:
- redirect: cisco.nxos.nxos
- nxos_igmp_interface:
- redirect: cisco.nxos.nxos
- igmp_interface:
- redirect: cisco.nxos.nxos
- nxos_igmp_snooping:
- redirect: cisco.nxos.nxos
- igmp_snooping:
- redirect: cisco.nxos.nxos
- nxos_install_os:
- redirect: cisco.nxos.nxos
- install_os:
- redirect: cisco.nxos.nxos
- nxos_interfaces:
- redirect: cisco.nxos.nxos
- interfaces:
- redirect: cisco.nxos.nxos
- nxos_l2_interfaces:
- redirect: cisco.nxos.nxos
- l2_interfaces:
- redirect: cisco.nxos.nxos
- nxos_l3_interfaces:
- redirect: cisco.nxos.nxos
- l3_interfaces:
- redirect: cisco.nxos.nxos
- nxos_lacp:
- redirect: cisco.nxos.nxos
- lacp:
- redirect: cisco.nxos.nxos
- nxos_lacp_interfaces:
- redirect: cisco.nxos.nxos
- lacp_interfaces:
- redirect: cisco.nxos.nxos
- nxos_lag_interfaces:
- redirect: cisco.nxos.nxos
- lag_interfaces:
- redirect: cisco.nxos.nxos
- nxos_lldp_global:
- redirect: cisco.nxos.nxos
- lldp_global:
- redirect: cisco.nxos.nxos
- nxos_lldp_interfaces:
- redirect: cisco.nxos.nxos
- lldp_interfaces:
- redirect: cisco.nxos.nxos
- nxos_logging:
- redirect: cisco.nxos.nxos
- logging:
- redirect: cisco.nxos.nxos
- nxos_logging_global:
- redirect: cisco.nxos.nxos
- logging_global:
- redirect: cisco.nxos.nxos
- nxos_ntp_global:
- redirect: cisco.nxos.nxos
- ntp_global:
- redirect: cisco.nxos.nxos
- nxos_ntp:
- redirect: cisco.nxos.nxos
- ntp:
- redirect: cisco.nxos.nxos
- nxos_ntp_auth:
- redirect: cisco.nxos.nxos
- ntp_auth:
- redirect: cisco.nxos.nxos
- nxos_ntp_options:
- redirect: cisco.nxos.nxos
- ntp_options:
- redirect: cisco.nxos.nxos
- nxos_nxapi:
- redirect: cisco.nxos.nxos
- nxapi:
- redirect: cisco.nxos.nxos
- nxos_ospf_interfaces:
- redirect: cisco.nxos.nxos
- ospf_interfaces:
- redirect: cisco.nxos.nxos
- nxos_bgp_global:
- redirect: cisco.nxos.nxos
- bgp_global:
- redirect: cisco.nxos.nxos
- nxos_bgp_address_family:
- redirect: cisco.nxos.nxos
- bgp_address_family:
- redirect: cisco.nxos.nxos
- nxos_ospfv2:
- redirect: cisco.nxos.nxos
- ospfv2:
- redirect: cisco.nxos.nxos
- nxos_ospfv3:
- redirect: cisco.nxos.nxos
- ospfv3:
- redirect: cisco.nxos.nxos
- nxos_overlay_global:
- redirect: cisco.nxos.nxos
- overlay_global:
- redirect: cisco.nxos.nxos
- nxos_pim:
- redirect: cisco.nxos.nxos
- pim:
- redirect: cisco.nxos.nxos
- nxos_pim_interface:
- redirect: cisco.nxos.nxos
- pim_interface:
- redirect: cisco.nxos.nxos
- nxos_pim_rp_address:
- redirect: cisco.nxos.nxos
- pim_rp_address:
- redirect: cisco.nxos.nxos
- nxos_ping:
- redirect: cisco.nxos.nxos
- ping:
- redirect: cisco.nxos.nxos
- nxos_prefix_lists:
- redirect: cisco.nxos.nxos
- prefix_lists:
- redirect: cisco.nxos.nxos
- nxos_reboot:
- redirect: cisco.nxos.nxos
- reboot:
- redirect: cisco.nxos.nxos
- nxos_rollback:
- redirect: cisco.nxos.nxos
- rollback:
- redirect: cisco.nxos.nxos
- nxos_route_maps:
- redirect: cisco.nxos.nxos
- route_maps:
- redirect: cisco.nxos.nxos
- nxos_rpm:
- redirect: cisco.nxos.nxos
- rpm:
- redirect: cisco.nxos.nxos
- nxos_snapshot:
- redirect: cisco.nxos.nxos
- snapshot:
- redirect: cisco.nxos.nxos
- nxos_snmp_community:
- redirect: cisco.nxos.nxos
- snmp_community:
- redirect: cisco.nxos.nxos
- nxos_snmp_contact:
- redirect: cisco.nxos.nxos
- snmp_contact:
- redirect: cisco.nxos.nxos
- nxos_snmp_host:
- redirect: cisco.nxos.nxos
- snmp_host:
- redirect: cisco.nxos.nxos
- nxos_snmp_location:
- redirect: cisco.nxos.nxos
- snmp_location:
- redirect: cisco.nxos.nxos
- nxos_snmp_server:
- redirect: cisco.nxos.nxos
- snmp_server:
- redirect: cisco.nxos.nxos
- nxos_snmp_traps:
- redirect: cisco.nxos.nxos
- snmp_traps:
- redirect: cisco.nxos.nxos
- nxos_snmp_user:
- redirect: cisco.nxos.nxos
- snmp_user:
- redirect: cisco.nxos.nxos
- nxos_static_route:
- redirect: cisco.nxos.nxos
- static_routes:
- redirect: cisco.nxos.nxos
- nxos_system:
- redirect: cisco.nxos.nxos
- system:
- redirect: cisco.nxos.nxos
- nxos_telemetry:
- redirect: cisco.nxos.nxos
- telemetry:
- redirect: cisco.nxos.nxos
- nxos_udld:
- redirect: cisco.nxos.nxos
- udld:
- redirect: cisco.nxos.nxos
- nxos_udld_interface:
- redirect: cisco.nxos.nxos
- udld_interface:
- redirect: cisco.nxos.nxos
- nxos_user:
- redirect: cisco.nxos.nxos
- user:
- redirect: cisco.nxos.nxos
- nxos_vlans:
- redirect: cisco.nxos.nxos
- vlans:
- redirect: cisco.nxos.nxos
- nxos_vpc:
- redirect: cisco.nxos.nxos
- vpc:
- redirect: cisco.nxos.nxos
- nxos_vpc_interface:
- redirect: cisco.nxos.nxos
- vpc_interface:
- redirect: cisco.nxos.nxos
- nxos_vrf:
- redirect: cisco.nxos.nxos
- vrf:
- redirect: cisco.nxos.nxos
- nxos_vrf_af:
- redirect: cisco.nxos.nxos
- vrf_af:
- redirect: cisco.nxos.nxos
- nxos_vrf_interface:
- redirect: cisco.nxos.nxos
- vrf_interface:
- redirect: cisco.nxos.nxos
- nxos_vrrp:
- redirect: cisco.nxos.nxos
- vrrp:
- redirect: cisco.nxos.nxos
- nxos_vsan:
- redirect: cisco.nxos.nxos
- vsan:
- redirect: cisco.nxos.nxos
- nxos_vtp_domain:
- redirect: cisco.nxos.nxos
- vtp_domain:
- redirect: cisco.nxos.nxos
- nxos_vtp_password:
- redirect: cisco.nxos.nxos
- vtp_password:
- redirect: cisco.nxos.nxos
- nxos_vtp_version:
- redirect: cisco.nxos.nxos
- vtp_version:
- redirect: cisco.nxos.nxos
- nxos_vxlan_vtep:
- redirect: cisco.nxos.nxos
- vxlan_vtep:
- redirect: cisco.nxos.nxos
- nxos_vxlan_vtep_vni:
- redirect: cisco.nxos.nxos
- vxlan_vtep_vni:
- redirect: cisco.nxos.nxos
- nxos_zone_zoneset:
- redirect: cisco.nxos.nxos
- zone_zoneset:
- redirect: cisco.nxos.nxos
modules:
aaa_server:
redirect: cisco.nxos.nxos_aaa_server
@@ -391,46 +66,10 @@ plugin_routing:
redirect: cisco.nxos.nxos_lldp_global
lldp_interfaces:
redirect: cisco.nxos.nxos_lldp_interfaces
- logging:
- redirect: cisco.nxos.nxos_logging
- deprecation:
- removal_date: "2023-08-01"
- warning_text: See the plugin documentation for more details
- nxos_logging:
- deprecation:
- removal_date: "2023-08-01"
- warning_text: See the plugin documentation for more details
logging_global:
redirect: cisco.nxos.nxos_logging_global
ntp_global:
redirect: cisco.nxos.nxos_ntp_global
- ntp:
- redirect: cisco.nxos.nxos_ntp
- deprecation:
- removal_date: "2024-01-01"
- warning_text: See the plugin documentation for more details
- nxos_ntp:
- deprecation:
- removal_date: "2024-01-01"
- warning_text: See the plugin documentation for more details
- ntp_auth:
- redirect: cisco.nxos.nxos_ntp_auth
- deprecation:
- removal_date: "2024-01-01"
- warning_text: See the plugin documentation for more details
- nxos_ntp_auth:
- deprecation:
- removal_date: "2024-01-01"
- warning_text: See the plugin documentation for more details
- ntp_options:
- redirect: cisco.nxos.nxos_ntp_options
- deprecation:
- removal_date: "2024-01-01"
- warning_text: See the plugin documentation for more details
- nxos_ntp_options:
- deprecation:
- removal_date: "2024-01-01"
- warning_text: See the plugin documentation for more details
nxapi:
redirect: cisco.nxos.nxos_nxapi
ospf_interfaces:
diff --git a/ansible_collections/cisco/nxos/platform_guide.rst b/ansible_collections/cisco/nxos/platform_guide.rst
new file mode 100644
index 000000000..ab6035f32
--- /dev/null
+++ b/ansible_collections/cisco/nxos/platform_guide.rst
@@ -0,0 +1,170 @@
+.. _nxos_platform_options:
+
+***************************************
+NXOS Platform Options
+***************************************
+
+The `Cisco NXOS <https://galaxy.ansible.com/ui/repo/published/cisco/nxos>`_ supports multiple connections. This page offers details on how each connection works in Ansible and how to use it.
+
+.. contents::
+ :local:
+
+Connections available
+================================================================================
+
+.. table::
+ :class: documentation-table
+
+ ==================== ========================================== =========================
+ .. CLI NX-API
+ ==================== ========================================== =========================
+ Protocol SSH HTTP(S)
+
+ Credentials uses SSH keys / SSH-agent if present uses HTTPS certificates if
+ present
+ accepts ``-u myuser -k`` if using password
+
+ Indirect Access by a bastion (jump host) by a web proxy
+
+ Connection Settings ``ansible_connection:`` ``ansible_connection:``
+ ``ansible.netcommon.network_cli`` ``ansible.netcommon.httpapi``
+
+ Enable Mode supported: use ``ansible_become: true`` not supported by NX-API
+ with ``ansible_become_method: enable``
+ and ``ansible_become_password:``
+
+ Returned Data Format ``stdout[0].`` ``stdout[0].messages[0].``
+ ==================== ========================================== =========================
+
+
+Using CLI in Ansible
+====================
+
+Example CLI ``group_vars/nxos.yml``
+-----------------------------------
+
+.. code-block:: yaml
+
+ ansible_connection: ansible.netcommon.network_cli
+ ansible_network_os: cisco.nxos.nxos
+ ansible_user: myuser
+ ansible_password: !vault...
+ ansible_become: true
+ ansible_become_method: enable
+ ansible_become_password: !vault...
+ ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q bastion01"'
+
+
+- If you are using SSH keys (including an ssh-agent) you can remove the ``ansible_password`` configuration.
+- If you are accessing your host directly (not through a bastion/jump host) you can remove the ``ansible_ssh_common_args`` configuration.
+- If you are accessing your host through a bastion/jump host, you cannot include your SSH password in the ``ProxyCommand`` directive. To prevent secrets from leaking out (for example in ``ps`` output), SSH does not support providing passwords through environment variables.
+
+Note
+-----
+
+When using ``ansible_connection: ansible.netcommon.network_cli``, the ``ansible_user`` must have permissions to execute the ``terminal length 0`` and ``terminal width 511`` commands on the target device.
+
+Example CLI task
+----------------
+
+.. code-block:: yaml
+
+ - name: Backup current switch config (nxos)
+ cisco.nxos.nxos_config:
+ backup: yes
+ register: backup_nxos_location
+ when: ansible_network_os == 'cisco.nxos.nxos'
+
+
+
+Using NX-API in Ansible
+=======================
+
+Enabling NX-API
+---------------
+
+Before you can use NX-API to connect to a switch, you must enable NX-API. To enable NX-API on a new switch through Ansible, use the ``nxos_nxapi`` module through the CLI connection. Set up group_vars/nxos.yml just like in the CLI example above, then run a playbook task like this:
+
+.. code-block:: yaml
+
+ - name: Enable NX-API
+ cisco.nxos.nxos_nxapi:
+ enable_http: yes
+ enable_https: yes
+ when: ansible_network_os == 'cisco.nxos.nxos'
+
+To find out more about the options for enabling HTTP/HTTPS and local http see the :ref:`nxos_nxapi <nxos_nxapi_module>` module documentation.
+
+Once NX-API is enabled, change your ``group_vars/nxos.yml`` to use the NX-API connection.
+
+Example NX-API ``group_vars/nxos.yml``
+--------------------------------------
+
+.. code-block:: yaml
+
+ ansible_connection: ansible.netcommon.httpapi
+ ansible_network_os: cisco.nxos.nxos
+ ansible_user: myuser
+ ansible_password: !vault...
+ proxy_env:
+ http_proxy: http://proxy.example.com:8080
+
+- If you are accessing your host directly (not through a web proxy) you can remove the ``proxy_env`` configuration.
+- If you are accessing your host through a web proxy using ``https``, change ``http_proxy`` to ``https_proxy``.
+
+
+Example NX-API task
+-------------------
+
+.. code-block:: yaml
+
+ - name: Backup current switch config (nxos)
+ cisco.nxos.nxos_config:
+ backup: yes
+ register: backup_nxos_location
+ environment: "{{ proxy_env }}"
+ when: ansible_network_os == 'cisco.nxos.nxos'
+
+In this example the ``proxy_env`` variable defined in ``group_vars`` gets passed to the ``environment`` option of the module used in the task.
+
+Warning
+--------
+Never store passwords in plain text. We recommend using SSH keys to authenticate SSH connections. Ansible supports ssh-agent to manage your SSH keys. If you must use passwords to authenticate SSH connections, we recommend encrypting them with Ansible Vault.
+
+Cisco Nexus platform support matrix
+===================================
+
+The following platforms and software versions have been certified by Cisco to work with this version of Ansible.
+
+.. table:: Platform / Software Minimum Requirements
+ :align: center
+
+ =================== =====================
+ Supported Platforms Minimum NX-OS Version
+ =================== =====================
+ Cisco Nexus N3k 7.0(3)I2(5) and later
+ Cisco Nexus N9k 7.0(3)I2(5) and later
+ Cisco Nexus N5k 7.3(0)N1(1) and later
+ Cisco Nexus N6k 7.3(0)N1(1) and later
+ Cisco Nexus N7k 7.3(0)D1(1) and later
+ Cisco Nexus MDS 8.4(1) and later (Please see individual module documentation for compatibility)
+ =================== =====================
+
+.. table:: Platform Models
+ :align: center
+
+ ======== ==============================================
+ Platform Description
+ ======== ==============================================
+ N3k Support includes N30xx, N31xx and N35xx models
+ N5k Support includes all N5xxx models
+ N6k Support includes all N6xxx models
+ N7k Support includes all N7xxx models
+ N9k Support includes all N9xxx models
+ MDS Support includes all MDS 9xxx models
+ ======== ==============================================
+
+Notes
+-----
+
+`Setting Timeout Option <https://docs.ansible.com/ansible/latest/network/getting_started/network_connection_options.html#timeout-options>`_
diff --git a/ansible_collections/cisco/nxos/plugins/action/aaa_server.py b/ansible_collections/cisco/nxos/plugins/action/aaa_server.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/aaa_server.py
+++ b/ansible_collections/cisco/nxos/plugins/action/aaa_server.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/aaa_server_host.py b/ansible_collections/cisco/nxos/plugins/action/aaa_server_host.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/aaa_server_host.py
+++ b/ansible_collections/cisco/nxos/plugins/action/aaa_server_host.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/acl.py b/ansible_collections/cisco/nxos/plugins/action/acl.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/acl.py
+++ b/ansible_collections/cisco/nxos/plugins/action/acl.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/acl_interface.py b/ansible_collections/cisco/nxos/plugins/action/acl_interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/acl_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/acl_interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/acl_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/acl_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/acl_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/acl_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/acls.py b/ansible_collections/cisco/nxos/plugins/action/acls.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/acls.py
+++ b/ansible_collections/cisco/nxos/plugins/action/acls.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/banner.py b/ansible_collections/cisco/nxos/plugins/action/banner.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/banner.py
+++ b/ansible_collections/cisco/nxos/plugins/action/banner.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bfd_global.py b/ansible_collections/cisco/nxos/plugins/action/bfd_global.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bfd_global.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bfd_global.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bfd_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/bfd_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bfd_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bfd_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bgp.py b/ansible_collections/cisco/nxos/plugins/action/bgp.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bgp.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bgp.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bgp_address_family.py b/ansible_collections/cisco/nxos/plugins/action/bgp_address_family.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bgp_address_family.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bgp_address_family.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bgp_af.py b/ansible_collections/cisco/nxos/plugins/action/bgp_af.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bgp_af.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bgp_af.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bgp_global.py b/ansible_collections/cisco/nxos/plugins/action/bgp_global.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bgp_global.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bgp_global.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor.py b/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_address_family.py b/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_address_family.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_address_family.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_address_family.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_af.py b/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_af.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_af.py
+++ b/ansible_collections/cisco/nxos/plugins/action/bgp_neighbor_af.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/command.py b/ansible_collections/cisco/nxos/plugins/action/command.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/command.py
+++ b/ansible_collections/cisco/nxos/plugins/action/command.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/config.py b/ansible_collections/cisco/nxos/plugins/action/config.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/config.py
+++ b/ansible_collections/cisco/nxos/plugins/action/config.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/devicealias.py b/ansible_collections/cisco/nxos/plugins/action/devicealias.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/devicealias.py
+++ b/ansible_collections/cisco/nxos/plugins/action/devicealias.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/evpn_global.py b/ansible_collections/cisco/nxos/plugins/action/evpn_global.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/evpn_global.py
+++ b/ansible_collections/cisco/nxos/plugins/action/evpn_global.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/evpn_vni.py b/ansible_collections/cisco/nxos/plugins/action/evpn_vni.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/evpn_vni.py
+++ b/ansible_collections/cisco/nxos/plugins/action/evpn_vni.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/facts.py b/ansible_collections/cisco/nxos/plugins/action/facts.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/facts.py
+++ b/ansible_collections/cisco/nxos/plugins/action/facts.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/feature.py b/ansible_collections/cisco/nxos/plugins/action/feature.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/feature.py
+++ b/ansible_collections/cisco/nxos/plugins/action/feature.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/file_copy.py b/ansible_collections/cisco/nxos/plugins/action/file_copy.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/file_copy.py
+++ b/ansible_collections/cisco/nxos/plugins/action/file_copy.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/gir.py b/ansible_collections/cisco/nxos/plugins/action/gir.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/gir.py
+++ b/ansible_collections/cisco/nxos/plugins/action/gir.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/gir_profile_management.py b/ansible_collections/cisco/nxos/plugins/action/gir_profile_management.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/gir_profile_management.py
+++ b/ansible_collections/cisco/nxos/plugins/action/gir_profile_management.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/hostname.py b/ansible_collections/cisco/nxos/plugins/action/hostname.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/hostname.py
+++ b/ansible_collections/cisco/nxos/plugins/action/hostname.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/hsrp.py b/ansible_collections/cisco/nxos/plugins/action/hsrp.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/hsrp.py
+++ b/ansible_collections/cisco/nxos/plugins/action/hsrp.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/hsrp_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/hsrp_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/hsrp_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/hsrp_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/igmp.py b/ansible_collections/cisco/nxos/plugins/action/igmp.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/igmp.py
+++ b/ansible_collections/cisco/nxos/plugins/action/igmp.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/igmp_interface.py b/ansible_collections/cisco/nxos/plugins/action/igmp_interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/igmp_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/igmp_interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/igmp_snooping.py b/ansible_collections/cisco/nxos/plugins/action/igmp_snooping.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/igmp_snooping.py
+++ b/ansible_collections/cisco/nxos/plugins/action/igmp_snooping.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/install_os.py b/ansible_collections/cisco/nxos/plugins/action/install_os.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/install_os.py
+++ b/ansible_collections/cisco/nxos/plugins/action/install_os.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/interface.py b/ansible_collections/cisco/nxos/plugins/action/interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/interface_ospf.py b/ansible_collections/cisco/nxos/plugins/action/interface_ospf.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/interface_ospf.py
+++ b/ansible_collections/cisco/nxos/plugins/action/interface_ospf.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/interfaces.py b/ansible_collections/cisco/nxos/plugins/action/interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/l2_interface.py b/ansible_collections/cisco/nxos/plugins/action/l2_interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/l2_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/l2_interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/l2_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/l2_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/l2_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/l2_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/l3_interface.py b/ansible_collections/cisco/nxos/plugins/action/l3_interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/l3_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/l3_interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/l3_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/l3_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/l3_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/l3_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/lacp.py b/ansible_collections/cisco/nxos/plugins/action/lacp.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/lacp.py
+++ b/ansible_collections/cisco/nxos/plugins/action/lacp.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/lacp_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/lacp_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/lacp_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/lacp_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/lag_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/lag_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/lag_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/lag_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/linkagg.py b/ansible_collections/cisco/nxos/plugins/action/linkagg.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/linkagg.py
+++ b/ansible_collections/cisco/nxos/plugins/action/linkagg.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/lldp.py b/ansible_collections/cisco/nxos/plugins/action/lldp.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/lldp.py
+++ b/ansible_collections/cisco/nxos/plugins/action/lldp.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/lldp_global.py b/ansible_collections/cisco/nxos/plugins/action/lldp_global.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/lldp_global.py
+++ b/ansible_collections/cisco/nxos/plugins/action/lldp_global.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/lldp_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/lldp_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/lldp_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/lldp_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/logging.py b/ansible_collections/cisco/nxos/plugins/action/logging.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/logging.py
+++ b/ansible_collections/cisco/nxos/plugins/action/logging.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/logging_global.py b/ansible_collections/cisco/nxos/plugins/action/logging_global.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/logging_global.py
+++ b/ansible_collections/cisco/nxos/plugins/action/logging_global.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ntp.py b/ansible_collections/cisco/nxos/plugins/action/ntp.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ntp.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ntp.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ntp_auth.py b/ansible_collections/cisco/nxos/plugins/action/ntp_auth.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ntp_auth.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ntp_auth.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ntp_global.py b/ansible_collections/cisco/nxos/plugins/action/ntp_global.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ntp_global.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ntp_global.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ntp_options.py b/ansible_collections/cisco/nxos/plugins/action/ntp_options.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ntp_options.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ntp_options.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/nxapi.py b/ansible_collections/cisco/nxos/plugins/action/nxapi.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/nxapi.py
+++ b/ansible_collections/cisco/nxos/plugins/action/nxapi.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/nxos.py b/ansible_collections/cisco/nxos/plugins/action/nxos.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/nxos.py
+++ b/ansible_collections/cisco/nxos/plugins/action/nxos.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ospf.py b/ansible_collections/cisco/nxos/plugins/action/ospf.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ospf.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ospf.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ospf_interfaces.py b/ansible_collections/cisco/nxos/plugins/action/ospf_interfaces.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ospf_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ospf_interfaces.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ospf_vrf.py b/ansible_collections/cisco/nxos/plugins/action/ospf_vrf.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ospf_vrf.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ospf_vrf.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ospfv2.py b/ansible_collections/cisco/nxos/plugins/action/ospfv2.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ospfv2.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ospfv2.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ospfv3.py b/ansible_collections/cisco/nxos/plugins/action/ospfv3.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ospfv3.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ospfv3.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/overlay_global.py b/ansible_collections/cisco/nxos/plugins/action/overlay_global.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/overlay_global.py
+++ b/ansible_collections/cisco/nxos/plugins/action/overlay_global.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/pim.py b/ansible_collections/cisco/nxos/plugins/action/pim.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/pim.py
+++ b/ansible_collections/cisco/nxos/plugins/action/pim.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/pim_interface.py b/ansible_collections/cisco/nxos/plugins/action/pim_interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/pim_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/pim_interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/pim_rp_address.py b/ansible_collections/cisco/nxos/plugins/action/pim_rp_address.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/pim_rp_address.py
+++ b/ansible_collections/cisco/nxos/plugins/action/pim_rp_address.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/ping.py b/ansible_collections/cisco/nxos/plugins/action/ping.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/ping.py
+++ b/ansible_collections/cisco/nxos/plugins/action/ping.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/prefix_lists.py b/ansible_collections/cisco/nxos/plugins/action/prefix_lists.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/prefix_lists.py
+++ b/ansible_collections/cisco/nxos/plugins/action/prefix_lists.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/reboot.py b/ansible_collections/cisco/nxos/plugins/action/reboot.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/reboot.py
+++ b/ansible_collections/cisco/nxos/plugins/action/reboot.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/rollback.py b/ansible_collections/cisco/nxos/plugins/action/rollback.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/rollback.py
+++ b/ansible_collections/cisco/nxos/plugins/action/rollback.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/route_maps.py b/ansible_collections/cisco/nxos/plugins/action/route_maps.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/route_maps.py
+++ b/ansible_collections/cisco/nxos/plugins/action/route_maps.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/rpm.py b/ansible_collections/cisco/nxos/plugins/action/rpm.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/rpm.py
+++ b/ansible_collections/cisco/nxos/plugins/action/rpm.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/smu.py b/ansible_collections/cisco/nxos/plugins/action/smu.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/smu.py
+++ b/ansible_collections/cisco/nxos/plugins/action/smu.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/snapshot.py b/ansible_collections/cisco/nxos/plugins/action/snapshot.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/snapshot.py
+++ b/ansible_collections/cisco/nxos/plugins/action/snapshot.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/snmp_community.py b/ansible_collections/cisco/nxos/plugins/action/snmp_community.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/snmp_community.py
+++ b/ansible_collections/cisco/nxos/plugins/action/snmp_community.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/snmp_contact.py b/ansible_collections/cisco/nxos/plugins/action/snmp_contact.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/snmp_contact.py
+++ b/ansible_collections/cisco/nxos/plugins/action/snmp_contact.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/snmp_host.py b/ansible_collections/cisco/nxos/plugins/action/snmp_host.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/snmp_host.py
+++ b/ansible_collections/cisco/nxos/plugins/action/snmp_host.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/snmp_location.py b/ansible_collections/cisco/nxos/plugins/action/snmp_location.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/snmp_location.py
+++ b/ansible_collections/cisco/nxos/plugins/action/snmp_location.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/snmp_server.py b/ansible_collections/cisco/nxos/plugins/action/snmp_server.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/snmp_server.py
+++ b/ansible_collections/cisco/nxos/plugins/action/snmp_server.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/snmp_traps.py b/ansible_collections/cisco/nxos/plugins/action/snmp_traps.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/snmp_traps.py
+++ b/ansible_collections/cisco/nxos/plugins/action/snmp_traps.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/snmp_user.py b/ansible_collections/cisco/nxos/plugins/action/snmp_user.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/snmp_user.py
+++ b/ansible_collections/cisco/nxos/plugins/action/snmp_user.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/static_route.py b/ansible_collections/cisco/nxos/plugins/action/static_route.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/static_route.py
+++ b/ansible_collections/cisco/nxos/plugins/action/static_route.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/static_routes.py b/ansible_collections/cisco/nxos/plugins/action/static_routes.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/static_routes.py
+++ b/ansible_collections/cisco/nxos/plugins/action/static_routes.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/system.py b/ansible_collections/cisco/nxos/plugins/action/system.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/system.py
+++ b/ansible_collections/cisco/nxos/plugins/action/system.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/telemetry.py b/ansible_collections/cisco/nxos/plugins/action/telemetry.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/telemetry.py
+++ b/ansible_collections/cisco/nxos/plugins/action/telemetry.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/udld.py b/ansible_collections/cisco/nxos/plugins/action/udld.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/udld.py
+++ b/ansible_collections/cisco/nxos/plugins/action/udld.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/udld_interface.py b/ansible_collections/cisco/nxos/plugins/action/udld_interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/udld_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/udld_interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/user.py b/ansible_collections/cisco/nxos/plugins/action/user.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/user.py
+++ b/ansible_collections/cisco/nxos/plugins/action/user.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vlan.py b/ansible_collections/cisco/nxos/plugins/action/vlan.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vlan.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vlan.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vlans.py b/ansible_collections/cisco/nxos/plugins/action/vlans.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vlans.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vlans.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vpc.py b/ansible_collections/cisco/nxos/plugins/action/vpc.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vpc.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vpc.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vpc_interface.py b/ansible_collections/cisco/nxos/plugins/action/vpc_interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vpc_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vpc_interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vrf.py b/ansible_collections/cisco/nxos/plugins/action/vrf.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vrf.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vrf.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vrf_af.py b/ansible_collections/cisco/nxos/plugins/action/vrf_af.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vrf_af.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vrf_af.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vrf_interface.py b/ansible_collections/cisco/nxos/plugins/action/vrf_interface.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vrf_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vrf_interface.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vrrp.py b/ansible_collections/cisco/nxos/plugins/action/vrrp.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vrrp.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vrrp.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vsan.py b/ansible_collections/cisco/nxos/plugins/action/vsan.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vsan.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vsan.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vtp_domain.py b/ansible_collections/cisco/nxos/plugins/action/vtp_domain.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vtp_domain.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vtp_domain.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vtp_password.py b/ansible_collections/cisco/nxos/plugins/action/vtp_password.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vtp_password.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vtp_password.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vtp_version.py b/ansible_collections/cisco/nxos/plugins/action/vtp_version.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vtp_version.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vtp_version.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vxlan_vtep.py b/ansible_collections/cisco/nxos/plugins/action/vxlan_vtep.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vxlan_vtep.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vxlan_vtep.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/vxlan_vtep_vni.py b/ansible_collections/cisco/nxos/plugins/action/vxlan_vtep_vni.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/vxlan_vtep_vni.py
+++ b/ansible_collections/cisco/nxos/plugins/action/vxlan_vtep_vni.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/action/zone_zoneset.py b/ansible_collections/cisco/nxos/plugins/action/zone_zoneset.py
index 3602c4074..e57c08aeb 100644
--- a/ansible_collections/cisco/nxos/plugins/action/zone_zoneset.py
+++ b/ansible_collections/cisco/nxos/plugins/action/zone_zoneset.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible import constants as C
from ansible.module_utils.connection import Connection
from ansible.utils.display import Display
from ansible_collections.ansible.netcommon.plugins.action.network import (
@@ -48,7 +47,7 @@ class ActionModule(ActionNetworkModule):
):
return {
"failed": True,
- "msg": "Connection httpapi is not valid for '%s' module." % (module_name),
+ "msg": f"Connection httpapi is not valid for {module_name} module.",
}
if module_name == "nxos_file_copy":
@@ -58,34 +57,43 @@ class ActionModule(ActionNetworkModule):
if persistent_connection != "network_cli":
return {
"failed": True,
- "msg": "Connection type must be fully qualified name for network_cli connection type, got %s"
+ "msg": (
+ f"Connection type must be fully qualified name for "
+ f"network_cli connection type, got {self._play_context.connection}"
+ )
% self._play_context.connection,
}
conn = Connection(self._connection.socket_path)
+ persistent_command_timeout = conn.get_option("persistent_command_timeout")
file_pull = self._task.args.get("file_pull", False)
- file_pull_timeout = self._task.args.get("file_pull_timeout", 300)
+ file_pull_timeout = self._task.args.get("file_pull_timeout")
connect_ssh_port = self._task.args.get("connect_ssh_port", 22)
if file_pull:
- conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is explicitly set, use that
+ if file_pull_timeout:
+ conn.set_option("persistent_command_timeout", file_pull_timeout)
+ # if file_pull_timeout is not set and command_timeout < 300s, bump to 300s.
+ elif persistent_command_timeout < 300:
+ conn.set_option("persistent_command_timeout", 300)
conn.set_option("port", connect_ssh_port)
if module_name == "nxos_install_os":
connection = self._connection
- if connection.transport == "local":
- persistent_command_timeout = C.PERSISTENT_COMMAND_TIMEOUT
- persistent_connect_timeout = C.PERSISTENT_CONNECT_TIMEOUT
- else:
- persistent_command_timeout = connection.get_option("persistent_command_timeout")
- persistent_connect_timeout = connection.get_option("persistent_connect_timeout")
+ persistent_command_timeout = connection.get_option(
+ "persistent_command_timeout",
+ )
+ persistent_connect_timeout = connection.get_option(
+ "persistent_connect_timeout",
+ )
display.vvvv(
- "PERSISTENT_COMMAND_TIMEOUT is %s" % str(persistent_command_timeout),
+ f"PERSISTENT_COMMAND_TIMEOUT is {persistent_command_timeout}",
self._play_context.remote_addr,
)
display.vvvv(
- "PERSISTENT_CONNECT_TIMEOUT is %s" % str(persistent_connect_timeout),
+ f"PERSISTENT_CONNECT_TIMEOUT is %s {persistent_connect_timeout}",
self._play_context.remote_addr,
)
if persistent_command_timeout < 600 or persistent_connect_timeout < 600:
@@ -102,18 +110,19 @@ class ActionModule(ActionNetworkModule):
if persistent_connection in ("network_cli", "httpapi"):
if module_name == "nxos_gir":
conn = Connection(self._connection.socket_path)
- persistent_command_timeout = conn.get_option("persistent_command_timeout")
+ persistent_command_timeout = conn.get_option(
+ "persistent_command_timeout",
+ )
gir_timeout = 200
if persistent_command_timeout < gir_timeout:
conn.set_option("persistent_command_timeout", gir_timeout)
- msg = "timeout value extended to %ss for nxos_gir" % gir_timeout
+ msg = f"timeout value extended to %ss for nxos_gir {gir_timeout}"
display.warning(msg)
else:
return {
"failed": True,
- "msg": "Connection type %s is not valid for this module"
- % self._play_context.connection,
+ "msg": f"Connection type {self._play_context.connection} is not valid for this module",
}
result = super(ActionModule, self).run(task_vars=task_vars)
diff --git a/ansible_collections/cisco/nxos/plugins/cliconf/nxos.py b/ansible_collections/cisco/nxos/plugins/cliconf/nxos.py
index 4f6393858..3a1ae1c6c 100644
--- a/ansible_collections/cisco/nxos/plugins/cliconf/nxos.py
+++ b/ansible_collections/cisco/nxos/plugins/cliconf/nxos.py
@@ -134,6 +134,12 @@ class Cliconf(CliconfBase):
return self._device_info
+ def restore(self, filename=None, path=""):
+ if not filename:
+ raise ValueError("'file_name' value is required for restore")
+ cmd = f"configure replace {path}{filename} best-effort"
+ return self.send_command(cmd)
+
def get_diff(
self,
candidate=None,
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/acl_interfaces/acl_interfaces.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/acl_interfaces/acl_interfaces.py
index 5bd15062e..dcf4c3b0c 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/acl_interfaces/acl_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/acl_interfaces/acl_interfaces.py
@@ -10,6 +10,7 @@ is compared to the provided configuration (as dict) and the command set
necessary to bring the current configuration to it's desired end-state is
created
"""
+
from __future__ import absolute_import, division, print_function
@@ -120,7 +121,7 @@ class Acl_interfaces(ConfigBase):
for w in config:
if get_interface_type(w["name"]) == "loopback":
self._module.fail_json(
- msg="This module works with ethernet, management or port-channe",
+ msg="This module works with ethernet, management or port-channel.",
)
w.update({"name": normalize_interface(w["name"])})
want.append(remove_empties(w))
@@ -139,7 +140,9 @@ class Acl_interfaces(ConfigBase):
"""
if self.state in ("overridden", "merged", "replaced", "rendered") and not want:
self._module.fail_json(
- msg="value of config parameter must not be empty for state {0}".format(self.state),
+ msg="value of config parameter must not be empty for state {0}".format(
+ self.state,
+ ),
)
commands = []
@@ -185,7 +188,11 @@ class Acl_interfaces(ConfigBase):
for ag in obj_in_have["access_groups"]:
want_afi = []
if want.get("access_groups"):
- want_afi = search_obj_in_list(ag["afi"], want["access_groups"], "afi")
+ want_afi = search_obj_in_list(
+ ag["afi"],
+ want["access_groups"],
+ "afi",
+ )
if not want_afi:
# whatever in have is not in want
del_dict["access_groups"].append(ag)
@@ -241,7 +248,11 @@ class Acl_interfaces(ConfigBase):
ip = "ipv6"
if w_afi["afi"] == "ipv4":
ip = "ip"
- have_afi = search_obj_in_list(w_afi["afi"], have_name["access_groups"], "afi")
+ have_afi = search_obj_in_list(
+ w_afi["afi"],
+ have_name["access_groups"],
+ "afi",
+ )
if have_afi:
new_acls = []
if deleted:
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/interfaces/interfaces.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/interfaces/interfaces.py
index 8bd4f66e7..400f0432f 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/interfaces/interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/interfaces/interfaces.py
@@ -470,13 +470,13 @@ class Interfaces(ConfigBase):
and enabled/shutdown states. The default values for user-defined-default
configurations may be different for legacy platforms.
Notes:
- - L3 enabled default state is False on N9K,N7K but True for N3K,N6K
+ - L3 enabled default state is False on N9K,N7K,N3K but True for N5K,N6K
- Changing L2-L3 modes may change the default enabled value.
- '(no) system default switchport shutdown' only applies to L2 interfaces.
Run through the gathered interfaces and tag their default enabled state.
"""
intf_defs = {}
- L3_enabled = True if re.search("N[356]K", self.get_platform()) else False
+ L3_enabled = True if re.search("N[56]K", self.get_platform()) else False
intf_defs = {
"sysdefs": {
"mode": None,
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/l2_interfaces/l2_interfaces.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/l2_interfaces/l2_interfaces.py
index e7d91498f..913f8ecfb 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/l2_interfaces/l2_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/config/l2_interfaces/l2_interfaces.py
@@ -146,7 +146,7 @@ class L2_interfaces(ConfigBase):
if "trunk" in d and d["trunk"]:
if "allowed_vlans" in d["trunk"]:
allowed_vlans = vlan_range_to_list(d["trunk"]["allowed_vlans"])
- vlans_list = [str(l) for l in sorted(allowed_vlans)]
+ vlans_list = [str(line) for line in sorted(allowed_vlans)]
d["trunk"]["allowed_vlans"] = ",".join(vlans_list)
def set_state(self, want, have):
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acl_interfaces/acl_interfaces.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acl_interfaces/acl_interfaces.py
index 053b56a91..098c2a471 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acl_interfaces/acl_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acl_interfaces/acl_interfaces.py
@@ -61,9 +61,9 @@ class Acl_interfacesFacts(object):
resources = []
for i in range(len(data)):
intf = data[i].split("\n")
- for l in range(1, len(intf)):
- if not re.search("ip(v6)?( port)? (access-group|traffic-filter)", intf[l]):
- intf[l] = ""
+ for line in range(1, len(intf)):
+ if not re.search("ip(v6)?( port)? (access-group|traffic-filter)", intf[line]):
+ intf[line] = ""
intf = list(filter(None, intf))
resources.append(intf)
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acls/acls.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acls/acls.py
index ca086bcf9..2a7366bc2 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acls/acls.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/acls/acls.py
@@ -119,11 +119,12 @@ class AclsFacts(object):
keywords = ["eq", "lt", "gt", "neq", "range"]
if len(ace.split()) and ace.split()[0] in keywords:
port_protocol = {}
- port_pro = re.search(r"(eq|lt|gt|neq) (\S+)", ace)
- if port_pro:
- port_protocol.update({port_pro.group(1): port_pro.group(2)})
- ace = re.sub(port_pro.group(1), "", ace, 1)
- ace = re.sub(port_pro.group(2), "", ace, 1)
+ if "range" not in ace.split()[0]:
+ port_pro = re.search(r"(eq|lt|gt|neq) (\S+)", ace)
+ if port_pro:
+ port_protocol.update({port_pro.group(1): port_pro.group(2)})
+ ace = re.sub(port_pro.group(1), "", ace, 1)
+ ace = re.sub(port_pro.group(2), "", ace, 1)
else:
limit = re.search(r"range\s(?P<rstart>\S+)\s(?P<rend>\S+)", ace)
if limit:
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/legacy/base.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/legacy/base.py
index 16540a435..a3a453784 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/legacy/base.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/legacy/base.py
@@ -223,9 +223,13 @@ class Interfaces(FactsBase):
],
)
- INTERFACE_IPV4_MAP = frozenset([("eth_ip_addr", "address"), ("eth_ip_mask", "masklen")])
+ INTERFACE_IPV4_MAP = frozenset(
+ [("eth_ip_addr", "address"), ("eth_ip_mask", "masklen")],
+ )
- INTERFACE_SVI_IPV4_MAP = frozenset([("svi_ip_addr", "address"), ("svi_ip_mask", "masklen")])
+ INTERFACE_SVI_IPV4_MAP = frozenset(
+ [("svi_ip_addr", "address"), ("svi_ip_mask", "masklen")],
+ )
INTERFACE_IPV6_MAP = frozenset([("addr", "address"), ("prefix", "subnet")])
@@ -268,14 +272,18 @@ class Interfaces(FactsBase):
data = self.run("show lldp neighbors", output="json")
if data:
if isinstance(data, dict):
- self.facts["neighbors"].update(self.populate_structured_neighbors_lldp(data))
+ self.facts["neighbors"].update(
+ self.populate_structured_neighbors_lldp(data),
+ )
else:
self.facts["neighbors"].update(self.populate_neighbors(data))
data = self.run("show cdp neighbors detail", output="json")
if data:
if isinstance(data, dict):
- self.facts["neighbors"].update(self.populate_structured_neighbors_cdp(data))
+ self.facts["neighbors"].update(
+ self.populate_structured_neighbors_cdp(data),
+ )
else:
self.facts["neighbors"].update(self.populate_neighbors_cdp(data))
@@ -316,14 +324,17 @@ class Interfaces(FactsBase):
if isinstance(data, dict):
data = [data]
for item in data:
- name = item["ROW_intf"]["intf-name"]
- intf = self.facts["interfaces"][name]
- intf["ipv6"] = self.transform_dict(item, self.INTERFACE_IPV6_MAP)
- try:
- addr = item["ROW_intf"]["addr"]
- except KeyError:
- addr = item["ROW_intf"]["TABLE_addr"]["ROW_addr"]["addr"]
- self.facts["all_ipv6_addresses"].append(addr)
+ row_intf = item["ROW_intf"]
+ if isinstance(row_intf, dict):
+ row_intf = [row_intf]
+ for item in row_intf:
+ intf = self.facts["interfaces"][item["intf-name"]]
+ intf["ipv6"] = self.transform_dict(item, self.INTERFACE_IPV6_MAP)
+ try:
+ addr = item["addr"]
+ except KeyError:
+ addr = item["TABLE_addr"]["ROW_addr"]["addr"]
+ self.facts["all_ipv6_addresses"].append(addr)
else:
return ""
except TypeError:
@@ -379,7 +390,9 @@ class Interfaces(FactsBase):
match = re.match(r"^(\S+)", line)
if match:
key = match.group(1)
- if not key.startswith("admin") or not key.startswith("IPv6 Interface"):
+ if not key.startswith("admin") or not key.startswith(
+ "IPv6 Interface",
+ ):
parsed[key] = line
return parsed
@@ -781,9 +794,9 @@ class Legacy(FactsBase):
match = re.search(r"\d\s*\d*\s*(.+)$", line, re.M)
if match:
- l = match.group(1).split(" ")
+ line = match.group(1).split(" ")
items = list()
- for item in l:
+ for item in line:
if item == "":
continue
items.append(item.strip())
@@ -799,28 +812,28 @@ class Legacy(FactsBase):
def parse_fan_info(self, data):
objects = list()
- for l in data.splitlines():
- if "-----------------" in l or "Status" in l:
+ for line in data.splitlines():
+ if "-----------------" in line or "Status" in line:
continue
- line = l.split()
- if len(line) > 1:
+ split_line = line.split()
+ if len(split_line) > 1:
obj = {}
- obj["name"] = line[0]
- obj["model"] = line[1]
- obj["hw_ver"] = line[-2]
- obj["status"] = line[-1]
+ obj["name"] = split_line[0]
+ obj["model"] = split_line[1]
+ obj["hw_ver"] = split_line[-2]
+ obj["status"] = split_line[-1]
objects.append(obj)
return objects
def parse_power_supply_info(self, data):
objects = list()
- for l in data.splitlines():
- if l == "":
+ for line in data.splitlines():
+ if line == "":
break
- if l[0].isdigit():
+ if line[0].isdigit():
obj = {}
- line = l.split()
+ line = line.split()
obj["model"] = line[1]
obj["number"] = line[0]
obj["status"] = line[-1]
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/lldp_interfaces/lldp_interfaces.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/lldp_interfaces/lldp_interfaces.py
index 4cd8b2115..8bc886e4b 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/lldp_interfaces/lldp_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/lldp_interfaces/lldp_interfaces.py
@@ -66,9 +66,9 @@ class Lldp_interfacesFacts(object):
for i in range(len(data)):
intf = data[i].split("\n")
- for l in range(1, len(intf)):
- if not re.search("lldp", intf[l]):
- intf[l] = ""
+ for line in range(1, len(intf)):
+ if not re.search("lldp", intf[line]):
+ intf[line] = ""
intf = list(filter(None, intf))
intf = "".join(i for i in intf)
resources.append(intf)
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/rm_templates/ospfv2.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/rm_templates/ospfv2.py
index c8b518dd6..70fae9e81 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/rm_templates/ospfv2.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/rm_templates/ospfv2.py
@@ -10,25 +10,6 @@ from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.r
)
-def _tmplt_area_range(arange):
- command = "area {area} range {range}".format(**arange)
- if arange.get("not_advertise") is True:
- command += " not-advertise"
- if "cost" in arange:
- command += " cost {cost}".format(**arange)
- return command
-
-
-def _tmplt_default_information(proc):
- command = "default-information originate"
- if "always" in proc["default_information"] and proc["default_information"]["always"]:
- command += " always"
- if "route_map" in proc["default_information"]:
- command += " route-map"
- command += " {default_information[route_map]}".format(**proc)
- return command
-
-
def _tmplt_log_adjacency_changes(proc):
command = "log-adjacency-changes"
if proc.get("log_adjacency_changes").get("detail", False) is True:
@@ -151,15 +132,6 @@ def _tmplt_area_ranges(arange):
return command
-def _tmplt_area_ranges(arange):
- command = "area {area_id} range {prefix}".format(**arange)
- if arange.get("not_advertise") is True:
- command += " not-advertise"
- if "cost" in arange:
- command += " cost {cost}".format(**arange)
- return command
-
-
def _tmplt_summary_address(proc):
command = "summary-address {prefix}".format(**proc)
if proc.get("tag"):
diff --git a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/utils/telemetry/telemetry.py b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/utils/telemetry/telemetry.py
index aa540aded..ae58c1631 100644
--- a/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/utils/telemetry/telemetry.py
+++ b/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/utils/telemetry/telemetry.py
@@ -6,6 +6,7 @@
"""
The nxos telemetry utility library
"""
+
from __future__ import absolute_import, division, print_function
@@ -61,7 +62,10 @@ def valiate_input(playvals, type, module):
msg = "Invalid playbook value: {0}.".format(playvals)
msg += " Parameter <id> under <destination_groups> is required"
module.fail_json(msg=msg)
- if playvals.get("destination") and not isinstance(playvals["destination"], dict):
+ if playvals.get("destination") and not isinstance(
+ playvals["destination"],
+ dict,
+ ):
msg = "Invalid playbook value: {0}.".format(playvals)
msg += " Parameter <destination> under <destination_groups> must be a dict"
module.fail_json(msg=msg)
@@ -209,7 +213,6 @@ def massage_data(have_or_want):
massaged["destination_groups"] = {}
massaged["sensor_groups"] = {}
massaged["subscriptions"] = {}
- from pprint import pprint
for subgroup in ["destination_groups", "sensor_groups", "subscriptions"]:
for item in data.get(subgroup, []):
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_aaa_server_host.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_aaa_server_host.py
index d2f84f76d..192b21ab5 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_aaa_server_host.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_aaa_server_host.py
@@ -114,7 +114,6 @@ EXAMPLES = """
tacacs_port: 89
host_timeout: 10
address: 5.6.7.8
-
"""
RETURN = """
@@ -315,7 +314,9 @@ def main():
module.fail_json(msg="tacacs_port can only be used with server_type=tacacs")
if (auth_port or acct_port) and server_type != "radius":
- module.fail_json(msg="auth_port and acct_port can only be used" "when server_type=radius")
+ module.fail_json(
+ msg="auth_port and acct_port can only be used" "when server_type=radius",
+ )
existing = get_aaa_host_info(module, server_type, address)
end_state = existing
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_acl_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_acl_interfaces.py
index e61746ff3..654fc71e6 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_acl_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_acl_interfaces.py
@@ -116,28 +116,28 @@ EXAMPLES = """
- name: Merge ACL interfaces configuration
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Ethernet1/2
- access_groups:
- - afi: ipv6
- acls:
- - name: ACL1v6
- direction: in
-
- - name: Eth1/5
- access_groups:
- - afi: ipv4
- acls:
- - name: PortACL
- direction: in
- port: true
-
- - name: ACL1v4
- direction: out
-
- - afi: ipv6
- acls:
- - name: ACL1v6
- direction: in
+ - name: Ethernet1/2
+ access_groups:
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ direction: in
+
+ - name: Eth1/5
+ access_groups:
+ - afi: ipv4
+ acls:
+ - name: PortACL
+ direction: in
+ port: true
+
+ - name: ACL1v4
+ direction: out
+
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ direction: in
state: merged
# After state:
@@ -163,20 +163,20 @@ EXAMPLES = """
- name: Replace interface configuration with given configuration
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Eth1/5
- access_groups:
- - afi: ipv4
- acls:
- - name: NewACLv4
- direction: out
-
- - name: Ethernet1/3
- access_groups:
- - afi: ipv6
- acls:
- - name: NewACLv6
- direction: in
- port: true
+ - name: Eth1/5
+ access_groups:
+ - afi: ipv4
+ acls:
+ - name: NewACLv4
+ direction: out
+
+ - name: Ethernet1/3
+ access_groups:
+ - afi: ipv6
+ acls:
+ - name: NewACLv6
+ direction: in
+ port: true
state: replaced
# After state:
@@ -202,21 +202,21 @@ EXAMPLES = """
- name: Override interface configuration with given configuration
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Ethernet1/3
- access_groups:
- - afi: ipv4
- acls:
- - name: ACL1v4
- direction: out
-
- - name: PortACL
- port: true
- direction: in
- - afi: ipv6
- acls:
- - name: NewACLv6
- direction: in
- port: true
+ - name: Ethernet1/3
+ access_groups:
+ - afi: ipv4
+ acls:
+ - name: ACL1v4
+ direction: out
+
+ - name: PortACL
+ port: true
+ direction: in
+ - afi: ipv6
+ acls:
+ - name: NewACLv6
+ direction: in
+ port: true
state: overridden
# After state:
@@ -242,8 +242,8 @@ EXAMPLES = """
- name: Delete ACL configuration on interfaces
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Ethernet1/5
- - name: Ethernet1/2
+ - name: Ethernet1/5
+ - name: Ethernet1/2
state: deleted
# After state:
@@ -356,28 +356,28 @@ EXAMPLES = """
- name: Render required configuration to be pushed to the device
cisco.nxos.nxos_acl_interfaces:
config:
- - name: Ethernet1/2
- access_groups:
- - afi: ipv6
- acls:
- - name: ACL1v6
- direction: in
-
- - name: Ethernet1/5
- access_groups:
- - afi: ipv4
- acls:
- - name: PortACL
- direction: in
- port: true
- - name: ACL1v4
- direction: out
- - afi: ipv6
- acls:
- - name: ACL1v6
- direction: in
+ - name: Ethernet1/2
+ access_groups:
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ direction: in
+ - name: Ethernet1/5
+ access_groups:
+ - afi: ipv4
+ acls:
+ - name: PortACL
+ direction: in
+ port: true
+ - name: ACL1v4
+ direction: out
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ direction: in
state: rendered
+
# returns
# rendered:
# interface Ethernet1/2
@@ -386,7 +386,6 @@ EXAMPLES = """
# ipv6 traffic-filter ACL1v6 in
# ip access-group ACL1v4 out
# ip port access-group PortACL in
-
"""
RETURN = """
before:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_acls.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_acls.py
index 133bd3a44..29d610400 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_acls.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_acls.py
@@ -536,13 +536,13 @@ EXAMPLES = """
acls:
- name: ACL1v6
aces:
- - grant: permit
- sequence: 10
- source:
- any: true
- destination:
- prefix: 2001:db8:12::/32
- protocol: sctp
+ - grant: permit
+ sequence: 10
+ source:
+ any: true
+ destination:
+ prefix: 2001:db8:12::/32
+ protocol: sctp
# Task Output
# -----------
@@ -974,7 +974,7 @@ EXAMPLES = """
- name: Delete all ACLs in given AFI
cisco.nxos.nxos_acls:
config:
- - afi: ipv4
+ - afi: ipv4
state: deleted
# Task Output
@@ -1309,38 +1309,38 @@ EXAMPLES = """
- name: Render required configuration to be pushed to the device
cisco.nxos.nxos_acls:
config:
- - afi: ipv4
- acls:
- - name: ACL1v4
- aces:
- - grant: deny
- destination:
- address: 192.0.2.64
- wildcard_bits: 0.0.0.255
- source:
- any: true
- port_protocol:
- lt: 55
- protocol: tcp
- protocol_options:
- tcp:
- ack: true
- fin: true
- sequence: 50
-
- - afi: ipv6
- acls:
- - name: ACL1v6
- aces:
- - grant: permit
- sequence: 10
- source:
- any: true
- destination:
- prefix: 2001:db8:12::/32
- protocol: sctp
+ - afi: ipv4
+ acls:
+ - name: ACL1v4
+ aces:
+ - grant: deny
+ destination:
+ address: 192.0.2.64
+ wildcard_bits: 0.0.0.255
+ source:
+ any: true
+ port_protocol:
+ lt: 55
+ protocol: tcp
+ protocol_options:
+ tcp:
+ ack: true
+ fin: true
+ sequence: 50
+ - afi: ipv6
+ acls:
+ - name: ACL1v6
+ aces:
+ - grant: permit
+ sequence: 10
+ source:
+ any: true
+ destination:
+ prefix: '2001:db8:12::/32'
+ protocol: sctp
state: rendered
+
# Task Output
# -----------
#
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_bfd_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_bfd_interfaces.py
index 1790f8e01..3465d95bb 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_bfd_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_bfd_interfaces.py
@@ -104,12 +104,12 @@ EXAMPLES = """
- name: Configure interfaces
cisco.nxos.nxos_bfd_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- echo: enable
- - name: Ethernet1/2
- bfd: disable
- echo: disable
+ - name: Ethernet1/1
+ bfd: enable
+ echo: enable
+ - name: Ethernet1/2
+ bfd: disable
+ echo: disable
state: merged
@@ -118,12 +118,12 @@ EXAMPLES = """
- name: Configure interfaces
cisco.nxos.nxos_bfd_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- echo: enable
- - name: Ethernet1/2
- bfd: disable
- echo: disable
+ - name: Ethernet1/1
+ bfd: enable
+ echo: enable
+ - name: Ethernet1/2
+ bfd: disable
+ echo: disable
state: overridden
@@ -132,12 +132,12 @@ EXAMPLES = """
- name: Configure interfaces
cisco.nxos.nxos_bfd_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- echo: enable
- - name: Ethernet1/2
- bfd: disable
- echo: disable
+ - name: Ethernet1/1
+ bfd: enable
+ echo: enable
+ - name: Ethernet1/2
+ bfd: disable
+ echo: disable
state: replaced
# Using rendered
@@ -145,12 +145,12 @@ EXAMPLES = """
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_bfd_interfaces:
config:
- - name: Ethernet1/800
- bfd: enable
- echo: enable
- - name: Ethernet1/801
- bfd: disable
- echo: disable
+ - name: Ethernet1/800
+ bfd: enable
+ echo: enable
+ - name: Ethernet1/801
+ bfd: disable
+ echo: disable
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_address_family.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_address_family.py
index ef6e9012c..489b6fa30 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_address_family.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_address_family.py
@@ -52,7 +52,7 @@ options:
description: Address Family indicator.
type: str
choices: ["ipv4", "ipv6", "link-state", "vpnv4", "vpnv6", "l2vpn"]
- required: True
+ required: true
safi:
description: Sub Address Family indicator.
type: str
@@ -367,11 +367,11 @@ EXAMPLES = """
safi: unicast
vrf: site-1
default_information:
- originate: True
+ originate: true
aggregate_address:
- prefix: 203.0.113.0/24
- as_set: True
- summary_only: True
+ as_set: true
+ summary_only: true
- afi: ipv6
safi: multicast
vrf: site-1
@@ -420,11 +420,11 @@ EXAMPLES = """
# safi: unicast
# vrf: site-1
# default_information:
-# originate: True
+# originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -490,8 +490,8 @@ EXAMPLES = """
non_critical_delay: 180
aggregate_address:
- prefix: 203.0.113.0/24
- as_set: True
- summary_only: True
+ as_set: true
+ summary_only: true
- afi: ipv4
safi: unicast
vrf: site-1
@@ -517,11 +517,11 @@ EXAMPLES = """
# safi: unicast
# vrf: site-1
# default_information:
-# originate: True
+# originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -558,8 +558,8 @@ EXAMPLES = """
# non_critical_delay: 180
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
#
# - afi: ipv4
# safi: unicast
@@ -622,8 +622,8 @@ EXAMPLES = """
route_map: rmap1
aggregate_address:
- prefix: 203.0.113.0/24
- as_set: True
- summary_only: True
+ as_set: true
+ summary_only: true
- afi: ipv4
safi: unicast
vrf: site-1
@@ -649,11 +649,11 @@ EXAMPLES = """
# safi: unicast
# vrf: site-1
# default_information:
-# originate: True
+# originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -690,8 +690,8 @@ EXAMPLES = """
# route_map: rmap1
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
# - afi: ipv4
# safi: unicast
# vrf: site-1
@@ -759,11 +759,11 @@ EXAMPLES = """
# safi: unicast
# vrf: site-1
# default_information:
-# originate: True
+# originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -788,11 +788,11 @@ EXAMPLES = """
# safi: unicast
# vrf: site-1
# default_information:
-# originate: True
+# originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
# After state:
# ------------
@@ -846,11 +846,11 @@ EXAMPLES = """
# safi: unicast
# vrf: site-1
# default_information:
-# originate: True
+# originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
@@ -900,11 +900,11 @@ EXAMPLES = """
safi: unicast
vrf: site-1
default_information:
- originate: True
+ originate: true
aggregate_address:
- prefix: 203.0.113.0/24
- as_set: True
- summary_only: True
+ as_set: true
+ summary_only: true
- afi: ipv6
safi: multicast
vrf: site-1
@@ -977,11 +977,11 @@ EXAMPLES = """
# safi: unicast
# vrf: site-1
# default_information:
-# originate: True
+# originate: true
# aggregate_address:
# - prefix: 203.0.113.0/24
-# as_set: True
-# summary_only: True
+# as_set: true
+# summary_only: true
# - afi: ipv6
# safi: multicast
# vrf: site-1
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_global.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_global.py
index 29e016181..59e7eefd7 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_global.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_global.py
@@ -203,7 +203,7 @@ options:
neighbor_address:
description: IP address/Prefix of the neighbor or interface.
type: str
- required: True
+ required: true
bfd:
description: Bidirectional Fast Detection for the neighbor.
type: dict
@@ -543,16 +543,16 @@ EXAMPLES = """
router_id: 192.168.1.1
bestpath:
as_path:
- multipath_relax: True
- compare_neighborid: True
- cost_community_ignore: True
+ multipath_relax: true
+ compare_neighborid: true
+ cost_community_ignore: true
confederation:
identifier: 42
peers:
- 65020
- 65030
- 65040
- log_neighbor_changes: True
+ log_neighbor_changes: true
maxas_limit: 20
neighbors:
- neighbor_address: 192.168.1.100
@@ -562,19 +562,19 @@ EXAMPLES = """
remote_as: 65563
description: NBR-1
low_memory:
- exempt: True
+ exempt: true
- neighbor_address: 192.168.1.101
remote_as: 65563
password:
encryption: 7
key: 12090404011C03162E
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
vrfs:
- vrf: site-1
allocate_index: 5000
local_as: 200
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 198.51.100.1
description: site-1-nbr-1
@@ -587,7 +587,7 @@ EXAMPLES = """
description: site-1-nbr-2
- vrf: site-2
local_as: 300
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 203.0.113.2
description: site-2-nbr-1
@@ -596,7 +596,7 @@ EXAMPLES = """
key: AF92F4C16A0A0EC5BDF56CF58BC030F6
remote_as: 65568
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
# Task output:
# ------------
@@ -795,8 +795,8 @@ EXAMPLES = """
as_number: 65563
router_id: 192.168.1.1
bestpath:
- compare_neighborid: True
- cost_community_ignore: True
+ compare_neighborid: true
+ cost_community_ignore: true
confederation:
identifier: 42
peers:
@@ -812,20 +812,20 @@ EXAMPLES = """
remote_as: 65563
description: NBR-1
low_memory:
- exempt: True
+ exempt: true
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
vrfs:
- vrf: site-2
local_as: 300
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 203.0.113.2
password:
encryption: 7
key: 12090404011C03162E
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
state: replaced
# Task output:
@@ -1258,16 +1258,16 @@ EXAMPLES = """
router_id: 192.168.1.1
bestpath:
as_path:
- multipath_relax: True
- compare_neighborid: True
- cost_community_ignore: True
+ multipath_relax: true
+ compare_neighborid: true
+ cost_community_ignore: true
confederation:
identifier: 42
peers:
- 65020
- 65030
- 65040
- log_neighbor_changes: True
+ log_neighbor_changes: true
maxas_limit: 20
neighbors:
- neighbor_address: 192.168.1.100
@@ -1277,19 +1277,19 @@ EXAMPLES = """
remote_as: 65563
description: NBR-1
low_memory:
- exempt: True
+ exempt: true
- neighbor_address: 192.168.1.101
remote_as: 65563
password:
encryption: 7
key: 12090404011C03162E
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
vrfs:
- vrf: site-1
allocate_index: 5000
local_as: 200
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 198.51.100.1
description: site-1-nbr-1
@@ -1302,7 +1302,7 @@ EXAMPLES = """
description: site-1-nbr-2
- vrf: site-2
local_as: 300
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 203.0.113.2
description: site-1-nbr-1
@@ -1311,7 +1311,7 @@ EXAMPLES = """
key: AF92F4C16A0A0EC5BDF56CF58BC030F6
remote_as: 65568
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
# Task output:
# ------------
@@ -1561,7 +1561,7 @@ EXAMPLES = """
as_number: 65536
router_id: 198.51.100.2
maxas_limit: 20
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 192.0.2.1
remote_as: 65537
@@ -1605,7 +1605,7 @@ EXAMPLES = """
as_number: 65536
router_id: 198.51.100.2
maxas_limit: 20
- log_neighbor_changes: True
+ log_neighbor_changes: true
neighbors:
- neighbor_address: 192.0.2.1
remote_as: 65537
@@ -1615,7 +1615,7 @@ EXAMPLES = """
vrfs:
- vrf: site-2
neighbor_down:
- fib_accelerate: True
+ fib_accelerate: true
state: replaced
# Task output:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_neighbor_address_family.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_neighbor_address_family.py
index e2b72ace3..de41a9bf1 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_neighbor_address_family.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_neighbor_address_family.py
@@ -51,7 +51,7 @@ options:
neighbor_address:
description: IP/IPv6 address of the neighbor.
type: str
- required: True
+ required: true
address_family:
description: BGP Neighbor Address Family related configurations.
type: list
@@ -61,7 +61,7 @@ options:
description: Address Family indicator.
type: str
choices: ["ipv4", "ipv6", "link-state", "vpnv4", "vpnv6", "l2vpn"]
- required: True
+ required: true
safi:
description: Sub Address Family indicator.
type: str
@@ -73,7 +73,7 @@ options:
route_map:
description: Route-map name.
type: str
- required: True
+ required: true
exist_map:
description: Condition route-map to advertise only when prefix in condition exists.
type: str
@@ -307,9 +307,9 @@ EXAMPLES = """
address_family:
- afi: ipv4
safi: unicast
- suppress_inactive: True
+ suppress_inactive: true
next_hop_self:
- set: True
+ set: true
- neighbor_address: 203.0.113.2
address_family:
- afi: ipv6
@@ -317,7 +317,7 @@ EXAMPLES = """
- afi: ipv4
safi: multicast
send_community:
- set: True
+ set: true
# Task output:
# ------------
@@ -383,7 +383,7 @@ EXAMPLES = """
# - afi: ipv4
# safi: multicast
# send_community:
-# set: True
+# set: true
# - afi: ipv6
# safi: unicast
@@ -472,7 +472,7 @@ EXAMPLES = """
- afi: ipv4
safi: multicast
send_community:
- set: True
+ set: true
state: replaced
# Task output:
@@ -515,7 +515,7 @@ EXAMPLES = """
# - afi: ipv4
# safi: multicast
# send_community:
-# set: True
+# set: true
# - afi: ipv6
# safi: unicast
#
@@ -562,7 +562,7 @@ EXAMPLES = """
# - afi: ipv4
# safi: multicast
# send_community:
-# set: True
+# set: true
# - afi: ipv6
# safi: unicast
@@ -629,9 +629,9 @@ EXAMPLES = """
address_family:
- afi: ipv4
safi: unicast
- suppress_inactive: True
+ suppress_inactive: true
next_hop_self:
- set: True
+ set: true
state: overridden
# Task output:
@@ -674,7 +674,7 @@ EXAMPLES = """
# - afi: ipv4
# safi: multicast
# send_community:
-# set: True
+# set: true
# - afi: ipv6
# safi: unicast
#
@@ -708,9 +708,9 @@ EXAMPLES = """
# address_family:
# - afi: ipv4
# safi: unicast
-# suppress_inactive: True
+# suppress_inactive: true
# next_hop_self:
-# set: True
+# set: true
# After state:
# ------------
@@ -809,7 +809,7 @@ EXAMPLES = """
# - afi: ipv4
# safi: multicast
# send_community:
-# set: True
+# set: true
# - afi: ipv6
# safi: unicast
#
@@ -850,7 +850,7 @@ EXAMPLES = """
# - afi: ipv4
# safi: multicast
# send_community:
-# set: True
+# set: true
#
# After state:
# ------------
@@ -942,7 +942,7 @@ EXAMPLES = """
# - afi: ipv4
# safi: multicast
# send_community:
-# set: True
+# set: true
# - afi: ipv6
# safi: unicast
#
@@ -1008,9 +1008,9 @@ EXAMPLES = """
address_family:
- afi: ipv4
safi: unicast
- suppress_inactive: True
+ suppress_inactive: true
next_hop_self:
- set: True
+ set: true
- neighbor_address: 203.0.113.2
address_family:
- afi: ipv6
@@ -1018,7 +1018,7 @@ EXAMPLES = """
- afi: ipv4
safi: multicast
send_community:
- set: True
+ set: true
state: rendered
# Task output:
@@ -1116,7 +1116,7 @@ EXAMPLES = """
# - afi: ipv4
# safi: multicast
# send_community:
-# set: True
+# set: true
# - afi: ipv6
# safi: unicast
"""
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_command.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_command.py
index 7febbf8a7..6c3c2c384 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_command.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_command.py
@@ -87,32 +87,31 @@ EXAMPLES = """
- name: run multiple commands on remote nodes
cisco.nxos.nxos_command:
commands:
- - show version
- - show interfaces
+ - show version
+ - show interfaces
- name: run multiple commands and evaluate the output
cisco.nxos.nxos_command:
commands:
- - show version
- - show interfaces
+ - show version
+ - show interfaces
wait_for:
- - result[0] contains Cisco
- - result[1] contains loopback0
+ - result[0] contains Cisco
+ - result[1] contains loopback0
- name: run commands and specify the output format
cisco.nxos.nxos_command:
commands:
- - command: show version
- output: json
+ - command: show version
+ output: json
- name: run commands that require answering a prompt
cisco.nxos.nxos_command:
commands:
- - configure terminal
- - command: no feature npv
- prompt: Do you want to continue
- answer: y
-
+ - configure terminal
+ - command: no feature npv
+ prompt: Do you want to continue
+ answer: y
"""
RETURN = """
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_config.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_config.py
index 132a62d28..84be30a02 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_config.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_config.py
@@ -246,21 +246,21 @@ EXAMPLES = """
- cisco.nxos.nxos_config:
lines:
- - 10 permit ip 192.0.2.1/32 any log
- - 20 permit ip 192.0.2.2/32 any log
- - 30 permit ip 192.0.2.3/32 any log
- - 40 permit ip 192.0.2.4/32 any log
- - 50 permit ip 192.0.2.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
before: no ip access-list test
match: exact
- cisco.nxos.nxos_config:
lines:
- - 10 permit ip 192.0.2.1/32 any log
- - 20 permit ip 192.0.2.2/32 any log
- - 30 permit ip 192.0.2.3/32 any log
- - 40 permit ip 192.0.2.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
before: no ip access-list test
replace: block
@@ -274,7 +274,7 @@ EXAMPLES = """
cisco.nxos.nxos_config:
lines:
# - shut
- - shutdown
+ - shutdown
# parents: int eth1/1
parents: interface Ethernet1/1
@@ -407,7 +407,10 @@ def main():
defaults=dict(type="bool", default=False),
backup=dict(type="bool", default=False),
backup_options=dict(type="dict", options=backup_spec),
- save_when=dict(choices=["always", "never", "modified", "changed"], default="never"),
+ save_when=dict(
+ choices=["always", "never", "modified", "changed"],
+ default="never",
+ ),
diff_against=dict(choices=["running", "startup", "intended"]),
diff_ignore_lines=dict(type="list", elements="str"),
)
@@ -502,10 +505,21 @@ def main():
if module.params["save_when"] == "always":
save_config(module, result)
elif module.params["save_when"] == "modified":
- output = execute_show_commands(module, ["show running-config", "show startup-config"])
+ output = execute_show_commands(
+ module,
+ ["show running-config", "show startup-config"],
+ )
- running_config = NetworkConfig(indent=2, contents=output[0], ignore_lines=diff_ignore_lines)
- startup_config = NetworkConfig(indent=2, contents=output[1], ignore_lines=diff_ignore_lines)
+ running_config = NetworkConfig(
+ indent=2,
+ contents=output[0],
+ ignore_lines=diff_ignore_lines,
+ )
+ startup_config = NetworkConfig(
+ indent=2,
+ contents=output[1],
+ ignore_lines=diff_ignore_lines,
+ )
if running_config.sha1 != startup_config.sha1:
save_config(module, result)
@@ -520,11 +534,17 @@ def main():
contents = running_config
# recreate the object in order to process diff_ignore_lines
- running_config = NetworkConfig(indent=2, contents=contents, ignore_lines=diff_ignore_lines)
+ running_config = NetworkConfig(
+ indent=2,
+ contents=contents,
+ ignore_lines=diff_ignore_lines,
+ )
if module.params["diff_against"] == "running":
if module.check_mode:
- module.warn("unable to perform diff against running-config due to check mode")
+ module.warn(
+ "unable to perform diff against running-config due to check mode",
+ )
contents = None
else:
contents = config.config_text
@@ -540,7 +560,11 @@ def main():
contents = module.params["intended_config"]
if contents is not None:
- base_config = NetworkConfig(indent=2, contents=contents, ignore_lines=diff_ignore_lines)
+ base_config = NetworkConfig(
+ indent=2,
+ contents=contents,
+ ignore_lines=diff_ignore_lines,
+ )
if running_config.sha1 != base_config.sha1:
before = ""
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_devicealias.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_devicealias.py
index 71d4ebb67..1aa4c9d75 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_devicealias.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_devicealias.py
@@ -70,23 +70,21 @@ EXAMPLES = """
- name: Test that device alias module works
cisco.nxos.nxos_devicealias:
da:
- - name: test1_add
- pwwn: 56:2:22:11:22:88:11:67
- - name: test2_add
- pwwn: 65:22:22:11:22:22:11:d
- - name: dev1
- remove: true
- - name: dev2
- remove: true
+ - name: test1_add
+ pwwn: 56:2:22:11:22:88:11:67
+ - name: test2_add
+ pwwn: 65:22:22:11:22:22:11:d
+ - name: dev1
+ remove: true
+ - name: dev2
+ remove: true
distribute: true
mode: enhanced
rename:
- - new_name: bcd
- old_name: abc
- - new_name: bcd1
- old_name: abc1
-
-
+ - new_name: bcd
+ old_name: abc
+ - new_name: bcd1
+ old_name: abc1
"""
RETURN = """
@@ -179,11 +177,15 @@ class showDeviceAliasDatabase(object):
return name in self.da_dict.keys()
def isPwwnInDaDatabase(self, pwwn):
- newpwwn = ":".join(["0" + str(ep) if len(ep) == 1 else ep for ep in pwwn.split(":")])
+ newpwwn = ":".join(
+ ["0" + str(ep) if len(ep) == 1 else ep for ep in pwwn.split(":")],
+ )
return newpwwn in self.da_dict.values()
def isNamePwwnPresentInDatabase(self, name, pwwn):
- newpwwn = ":".join(["0" + str(ep) if len(ep) == 1 else ep for ep in pwwn.split(":")])
+ newpwwn = ":".join(
+ ["0" + str(ep) if len(ep) == 1 else ep for ep in pwwn.split(":")],
+ )
if name in self.da_dict.keys():
if newpwwn == self.da_dict[name]:
return True
@@ -196,7 +198,9 @@ class showDeviceAliasDatabase(object):
return None
def getNameByPwwn(self, pwwn):
- newpwwn = ":".join(["0" + str(ep) if len(ep) == 1 else ep for ep in pwwn.split(":")])
+ newpwwn = ":".join(
+ ["0" + str(ep) if len(ep) == 1 else ep for ep in pwwn.split(":")],
+ )
for n, p in self.da_dict.items():
if p == newpwwn:
return n
@@ -331,7 +335,9 @@ def main():
d = shDAStausObj.getDistribute()
m = shDAStausObj.getMode()
if shDAStausObj.isLocked():
- module.fail_json(msg="device-alias has acquired lock on the switch. Hence cannot procced.")
+ module.fail_json(
+ msg="device-alias has acquired lock on the switch. Hence cannot procced.",
+ )
# Step 1: Process distribute
commands = []
@@ -342,7 +348,9 @@ def main():
# but switch distribute is disabled(false), so set it to
# true(enabled)
commands.append("device-alias distribute")
- messages.append("device-alias distribute changed from disabled to enabled")
+ messages.append(
+ "device-alias distribute changed from disabled to enabled",
+ )
else:
messages.append(
"device-alias distribute remains unchanged. current distribution mode is enabled",
@@ -353,7 +361,9 @@ def main():
# but switch distribute is enabled(true), so set it to
# false(disabled)
commands.append("no device-alias distribute")
- messages.append("device-alias distribute changed from enabled to disabled")
+ messages.append(
+ "device-alias distribute changed from enabled to disabled",
+ )
else:
messages.append(
"device-alias distribute remains unchanged. current distribution mode is disabled",
@@ -379,7 +389,9 @@ def main():
commands.append("no device-alias mode enhanced")
messages.append("device-alias mode changed from enhanced to basic")
else:
- messages.append("device-alias mode remains unchanged. current mode is basic")
+ messages.append(
+ "device-alias mode remains unchanged. current mode is basic",
+ )
else:
# playbook has mode as enhanced
@@ -388,7 +400,9 @@ def main():
commands.append("device-alias mode enhanced")
messages.append("device-alias mode changed from basic to enhanced")
else:
- messages.append("device-alias mode remains unchanged. current mode is enhanced")
+ messages.append(
+ "device-alias mode remains unchanged. current mode is enhanced",
+ )
if commands:
if distribute:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_evpn_vni.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_evpn_vni.py
index d4490bb7b..89771f374 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_evpn_vni.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_evpn_vni.py
@@ -89,8 +89,8 @@ EXAMPLES = """
vni: 6000
route_distinguisher: 60:10
route_target_import:
- - 5000:10
- - 4100:100
+ - "5000:10"
+ - "4100:100"
route_target_export: auto
route_target_both: default
"""
@@ -215,7 +215,9 @@ def state_present(module, existing, proposed):
if target == "default":
continue
if existing:
- if target not in existing.get(key.replace("-", "_").replace(" ", "_")):
+ if target not in existing.get(
+ key.replace("-", "_").replace(" ", "_"),
+ ):
commands.append("{0} {1}".format(key, target))
else:
commands.append("{0} {1}".format(key, target))
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_facts.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_facts.py
index 24e0dad22..77ca123d5 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_facts.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_facts.py
@@ -77,11 +77,11 @@ EXAMPLES = """
- name: Gather only the config and default facts
cisco.nxos.nxos_facts:
gather_subset:
- - config
+ - config
- name: Do not gather hardware facts
cisco.nxos.nxos_facts:
gather_subset:
- - '!hardware'
+ - '!hardware'
- name: Gather legacy and resource facts
cisco.nxos.nxos_facts:
gather_subset: all
@@ -89,10 +89,10 @@ EXAMPLES = """
- name: Gather only the interfaces resource facts and no legacy facts
cisco.nxos.nxos_facts:
gather_subset:
- - '!all'
- - '!min'
+ - '!all'
+ - '!min'
gather_network_resources:
- - interfaces
+ - interfaces
- name: Gather interfaces resource and minimal legacy facts
cisco.nxos.nxos_facts:
gather_subset: min
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_fc_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_fc_interfaces.py
index b0c58a5e3..a77deffdb 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_fc_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_fc_interfaces.py
@@ -50,7 +50,7 @@ options:
enabled:
description:
- Administrative state of the interface. Set the value to C(true) to
- administratively enable the interface or C(false) to disable it
+ administratively enable the interface or C(true) to disable it
type: bool
speed:
description:
@@ -131,8 +131,8 @@ EXAMPLES = """
- name: Merge provided configuration with device configuration
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc18/10
- analytics: fc-scsi
+ - name: fc18/10
+ analytics: fc-scsi
state: merged
# Task Output
@@ -143,7 +143,7 @@ EXAMPLES = """
# speed: auto max 16000
# mode: auto
# trunk_mode: on
-# enabled: False
+# enabled: true
# description: $
# analytics: fc-nvme
# commands:
@@ -154,7 +154,7 @@ EXAMPLES = """
# speed: auto max 16000
# mode: auto
# trunk_mode: on
-# enabled: False
+# enabled: true
# description: $
# analytics: fc-all
@@ -189,13 +189,13 @@ EXAMPLES = """
- name: Replaces device configuration of listed interfaces with provided configuration
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc18/12
- speed: auto max 64000
- mode: auto
- trunk_mode: on
- enabled: True
- description: 1
- analytics: fc-scsi
+ - name: fc18/12
+ speed: auto max 64000
+ mode: auto
+ trunk_mode: "on"
+ enabled: true
+ description: 1
+ analytics: fc-scsi
state: replaced
# Task Output
@@ -206,7 +206,7 @@ EXAMPLES = """
# speed: auto max 64000
# mode: auto
# trunk_mode: on
-# enabled: True
+# enabled: true
# description: 1
# analytics: fc-all
# commands:
@@ -218,7 +218,7 @@ EXAMPLES = """
# speed: auto max 64000
# mode: auto
# trunk_mode: on
-# enabled: True
+# enabled: true
# description: 1
# analytics: fc-scsi
@@ -251,7 +251,7 @@ EXAMPLES = """
- name: Delete or return interface parameters to default settings
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc1/2
+ - name: fc1/2
state: deleted
# Task Output
@@ -262,7 +262,7 @@ EXAMPLES = """
# speed: 1000
# mode: E
# trunk_mode: off
-# enabled: True
+# enabled: true
# commands:
# - interface fc1/2
# - no switchport speed 1000
@@ -274,7 +274,7 @@ EXAMPLES = """
# speed: auto
# mode: auto
# trunk_mode: on
-# enabled: False
+# enabled: true
# After state:
# ------------
@@ -313,13 +313,13 @@ EXAMPLES = """
- name: Replaces device configuration of listed interfaces with provided configuration
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc18/12
- speed: auto max 64000
- mode: auto
- trunk_mode: on
- enabled: True
- description: 1
- analytics: fc-scsi
+ - name: fc18/12
+ speed: auto max 64000
+ mode: auto
+ trunk_mode: "on"
+ enabled: true
+ description: 1
+ analytics: fc-scsi
state: overridden
# Task Output
@@ -330,14 +330,14 @@ EXAMPLES = """
# speed: auto max 64000
# mode: auto
# trunk_mode: on
-# enabled: True
+# enabled: true
# description: 1
# analytics: fc-all
# - name: fc18/13
# speed: auto max 64000
# mode: auto
# trunk_mode: on
-# enabled: True
+# enabled: true
# description: 1
# analytics: fc-all
# commands:
@@ -355,14 +355,14 @@ EXAMPLES = """
# speed: auto max 64000
# mode: auto
# trunk_mode: on
-# enabled: True
+# enabled: true
# description: 1
# analytics: fc-scsi
# - name: fc18/13
# speed: auto max 64000
# mode: auto
# trunk_mode: on
-# enabled: False
+# enabled: true
# After state:
# ------------
@@ -380,29 +380,23 @@ EXAMPLES = """
# switchport trunk mode on
# shutdown
-
-
-
-
-
-
# Using rendered
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_fc_interfaces:
config:
- - name: fc1/1
- speed: auto
- mode: auto
- trunk_mode: on
- enabled: True
- description: This is a sample line
- - name: fc1/2
- speed: 1000
- mode: E
- trunk_mode: off
- enabled: True
- state: rendered
+ - name: fc1/1
+ speed: auto
+ mode: auto
+ trunk_mode: "on"
+ enabled: true
+ description: This is a sample line
+ - name: fc1/2
+ speed: 1000
+ mode: E
+ trunk_mode: "off"
+ enabled: true
+ state: rendered
# Task Output
# -----------
@@ -454,13 +448,13 @@ EXAMPLES = """
# speed: auto
# mode: auto
# trunk_mode: on
-# enabled: True
+# enabled: true
# description: This is a sample line
# - name: fc1/2
# speed: 1000
# mode: E
# trunk_mode: off
-# enabled: True
+# enabled: true
# Using gathered
@@ -493,17 +487,13 @@ EXAMPLES = """
# speed: auto
# mode: auto
# trunk_mode: on
-# enabled: True
+# enabled: true
# description: This is a sample line
# - name: fc1/2
# speed: 1000
# mode: E
# trunk_mode: off
-# enabled: True
-
-
-
-
+# enabled: true
"""
RETURN = """
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_gir_profile_management.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_gir_profile_management.py
index 84cfc1456..2ddf2ce60 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_gir_profile_management.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_gir_profile_management.py
@@ -65,8 +65,8 @@ EXAMPLES = """
- cisco.nxos.nxos_gir_profile_management:
mode: maintenance
commands:
- - router eigrp 11
- - isolate
+ - router eigrp 11
+ - isolate
# Remove the maintenance-mode profile
- cisco.nxos.nxos_gir_profile_management:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_hostname.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_hostname.py
index 42e45677a..3f141562c 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_hostname.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_hostname.py
@@ -146,7 +146,6 @@ EXAMPLES = """
# -----------------------
# parsed:
# hostname: NXOSv-9k
-
"""
RETURN = """
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_hsrp_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_hsrp_interfaces.py
index e5ac67376..3e11949dc 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_hsrp_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_hsrp_interfaces.py
@@ -88,8 +88,8 @@ EXAMPLES = """
- name: Configure hsrp attributes on interfaces
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/1
- - name: Ethernet1/2
+ - name: Ethernet1/1
+ - name: Ethernet1/2
operation: deleted
@@ -98,10 +98,10 @@ EXAMPLES = """
- name: Configure hsrp attributes on interfaces
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- - name: Ethernet1/2
- bfd: disable
+ - name: Ethernet1/1
+ bfd: enable
+ - name: Ethernet1/2
+ bfd: disable
operation: merged
@@ -110,10 +110,10 @@ EXAMPLES = """
- name: Configure hsrp attributes on interfaces
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- - name: Ethernet1/2
- bfd: disable
+ - name: Ethernet1/1
+ bfd: enable
+ - name: Ethernet1/2
+ bfd: disable
operation: overridden
@@ -122,10 +122,10 @@ EXAMPLES = """
- name: Configure hsrp attributes on interfaces
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/1
- bfd: enable
- - name: Ethernet1/2
- bfd: disable
+ - name: Ethernet1/1
+ bfd: enable
+ - name: Ethernet1/2
+ bfd: disable
operation: replaced
# Using rendered
@@ -133,10 +133,10 @@ EXAMPLES = """
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_hsrp_interfaces:
config:
- - name: Ethernet1/800
- bfd: enable
- - name: Ethernet1/801
- bfd: enable
+ - name: Ethernet1/800
+ bfd: enable
+ - name: Ethernet1/801
+ bfd: enable
state: rendered
# Task Output (redacted)
@@ -199,7 +199,6 @@ EXAMPLES = """
# bfd: enable
# - name: Ethernet1/2
# bfd: enable
-
"""
RETURN = """
before:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_igmp_interface.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_igmp_interface.py
index 105dac5e6..66a2a495e 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_igmp_interface.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_igmp_interface.py
@@ -154,8 +154,8 @@ EXAMPLES = """
interface: ethernet1/32
startup_query_interval: 30
oif_ps:
- - {prefix: 238.2.2.6}
- - {source: 192.168.0.1, prefix: 238.2.2.5}
+ - {prefix: 238.2.2.6}
+ - {source: 192.168.0.1, prefix: 238.2.2.5}
state: present
"""
RETURN = """
@@ -385,7 +385,9 @@ def config_igmp_interface(delta, existing, existing_oif_prefix_source):
if "source" in each.keys():
src = each["source"]
if src:
- commands.append("no " + CMDS.get("oif_prefix_source").format(pf, src))
+ commands.append(
+ "no " + CMDS.get("oif_prefix_source").format(pf, src),
+ )
else:
commands.append("no " + CMDS.get("oif_prefix").format(pf))
elif key == "oif_routemap":
@@ -450,7 +452,11 @@ def config_default_igmp_interface(existing, delta):
proposed = get_igmp_interface_defaults()
delta = dict(set(proposed.items()).difference(existing.items()))
if delta:
- command = config_igmp_interface(delta, existing, existing_oif_prefix_source=None)
+ command = config_igmp_interface(
+ delta,
+ existing,
+ existing_oif_prefix_source=None,
+ )
if command:
for each in command:
@@ -463,7 +469,9 @@ def config_remove_oif(existing, existing_oif_prefix_source):
commands = []
command = None
if existing.get("oif_routemap"):
- commands.append("no ip igmp static-oif route-map {0}".format(existing.get("oif_routemap")))
+ commands.append(
+ "no ip igmp static-oif route-map {0}".format(existing.get("oif_routemap")),
+ )
elif existing_oif_prefix_source:
for each in existing_oif_prefix_source:
if each.get("prefix") and each.get("source"):
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_install_os.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_install_os.py
index 53fe00aac..9b64a8989 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_install_os.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_install_os.py
@@ -95,9 +95,10 @@ EXAMPLES = """
nxos_command:
commands: [show version | json]
register: output
+
- assert:
that:
- - output['stdout'][0]['kickstart_ver_str'] == '7.0(3)I6(1)'
+ - output['stdout'][0]['kickstart_ver_str'] == '7.0(3)I6(1)'
"""
RETURN = """
@@ -390,7 +391,9 @@ def build_install_cmd_set(issu, image, kick, type, force=True):
if kick is None:
commands.append("%s nxos %s %s" % (rootcmd, image, issu_cmd))
else:
- commands.append("%s %s system %s kickstart %s" % (rootcmd, issu_cmd, image, kick))
+ commands.append(
+ "%s %s system %s kickstart %s" % (rootcmd, issu_cmd, image, kick),
+ )
return commands
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_interfaces.py
index 7884098a7..30045188d 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_interfaces.py
@@ -142,12 +142,12 @@ EXAMPLES = """
- name: Merge provided configuration with device configuration
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/1
- description: Configured by Ansible
- enabled: true
- - name: Ethernet1/2
- description: Configured by Ansible Network
- enabled: false
+ - name: Ethernet1/1
+ description: Configured by Ansible
+ enabled: true
+ - name: Ethernet1/2
+ description: Configured by Ansible Network
+ enabled: false
state: merged
# Task Output
@@ -206,14 +206,14 @@ EXAMPLES = """
- name: Replaces device configuration of listed interfaces with provided configuration
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/1
- description: Configured by Ansible
- enabled: true
- mtu: 9000
- - name: Ethernet1/2
- description: Configured by Ansible Network
- enabled: false
- mode: layer2
+ - name: Ethernet1/1
+ description: Configured by Ansible
+ enabled: true
+ mtu: 9000
+ - name: Ethernet1/2
+ description: Configured by Ansible Network
+ enabled: false
+ mode: layer2
state: replaced
# Task Output
@@ -274,13 +274,13 @@ EXAMPLES = """
- name: Override device configuration of all interfaces with provided configuration
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/1
- enabled: true
- - name: Ethernet1/2
- description: Configured by Ansible Network
- enabled: false
- - description: mgmt interface
- name: mgmt0
+ - name: Ethernet1/1
+ enabled: true
+ - name: Ethernet1/2
+ description: Configured by Ansible Network
+ enabled: false
+ - description: mgmt interface
+ name: mgmt0
state: overridden
# Task Output
@@ -338,7 +338,7 @@ EXAMPLES = """
- name: Delete or return interface parameters to default settings
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/2
+ - name: Ethernet1/2
state: deleted
# Task Output
@@ -377,14 +377,14 @@ EXAMPLES = """
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_interfaces:
config:
- - name: Ethernet1/1
- description: outbound-intf
- mode: layer3
- speed: 100
- - name: Ethernet1/2
- mode: layer2
- enabled: true
- duplex: full
+ - name: Ethernet1/1
+ description: outbound-intf
+ mode: layer3
+ speed: 100
+ - name: Ethernet1/2
+ mode: layer2
+ enabled: true
+ duplex: full
state: rendered
# Task Output
@@ -524,8 +524,6 @@ EXAMPLES = """
# interface port-channel11
# interface Ethernet1/1
# interface Ethernet1/2
-
-
"""
RETURN = """
before:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_l2_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_l2_interfaces.py
index 55149b7bf..c490d65ed 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_l2_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_l2_interfaces.py
@@ -130,13 +130,13 @@ EXAMPLES = """
- name: Merge provided configuration with device configuration
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/1
- trunk:
- native_vlan: 10
- allowed_vlans: 2,4,15
- - name: Ethernet1/2
- access:
- vlan: 30
+ - name: Ethernet1/1
+ trunk:
+ native_vlan: 10
+ allowed_vlans: 2,4,15
+ - name: Ethernet1/2
+ access:
+ vlan: 30
state: merged
# Task Output
@@ -195,10 +195,10 @@ EXAMPLES = """
- name: Replace device configuration of specified L2 interfaces with provided configuration.
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/1
- trunk:
- native_vlan: 20
- allowed_vlans: 5-10, 15
+ - name: Ethernet1/1
+ trunk:
+ native_vlan: 20
+ allowed_vlans: 5-10, 15
state: replaced
# Task Output
@@ -261,9 +261,9 @@ EXAMPLES = """
- name: Override device configuration with provided configuration.
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/2
- access:
- vlan: 30
+ - name: Ethernet1/2
+ access:
+ vlan: 30
state: overridden
# Task Output
@@ -320,8 +320,8 @@ EXAMPLES = """
itself).
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/1
- - name: Ethernet1/2
+ - name: Ethernet1/1
+ - name: Ethernet1/2
state: deleted
# Task Output
@@ -362,17 +362,17 @@ EXAMPLES = """
- name: Render platform specific configuration lines (without connecting to the device)
cisco.nxos.nxos_l2_interfaces:
config:
- - name: Ethernet1/1
- trunk:
- native_vlan: 10
- allowed_vlans: 2,4,15
- - name: Ethernet1/2
- access:
- vlan: 30
- - name: Ethernet1/3
- trunk:
- native_vlan: 20
- allowed_vlans: 5-10, 15
+ - name: Ethernet1/1
+ trunk:
+ native_vlan: 10
+ allowed_vlans: 2,4,15
+ - name: Ethernet1/2
+ access:
+ vlan: 30
+ - name: Ethernet1/3
+ trunk:
+ native_vlan: 20
+ allowed_vlans: 5-10, 15
state: rendered
# Task Output
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_l3_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_l3_interfaces.py
index 1b4d821b2..5dc3d05a9 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_l3_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_l3_interfaces.py
@@ -159,19 +159,19 @@ EXAMPLES = """
- name: Merge provided configuration with device configuration.
cisco.nxos.nxos_l3_interfaces:
config:
- - name: Ethernet1/6
- ipv4:
- - address: 192.168.1.1/24
- tag: 5
- - address: 10.1.1.1/24
- secondary: true
- tag: 10
- ipv6:
- - address: fd5d:12c9:2201:2::1/64
- tag: 6
- - name: Ethernet1/7.42
- redirects: false
- unreachables: false
+ - name: Ethernet1/6
+ ipv4:
+ - address: 192.168.1.1/24
+ tag: 5
+ - address: 10.1.1.1/24
+ secondary: true
+ tag: 10
+ ipv6:
+ - address: fd5d:12c9:2201:2::1/64
+ tag: 6
+ - name: Ethernet1/7.42
+ redirects: false
+ unreachables: false
state: merged
# Task Output
@@ -258,9 +258,9 @@ EXAMPLES = """
- name: Replace device configuration of specified L3 interfaces with provided configuration.
cisco.nxos.nxos_l3_interfaces:
config:
- - name: Ethernet1/6
- ipv4:
- - address: 192.168.22.3/24
+ - name: Ethernet1/6
+ ipv4:
+ - address: 192.168.22.3/24
state: replaced
# Task Output
@@ -352,12 +352,12 @@ EXAMPLES = """
- name: Override device configuration with provided configuration.
cisco.nxos.nxos_l3_interfaces:
config:
- - ipv4:
- - address: dhcp
- name: mgmt0
- - name: Ethernet1/6
- ipv4:
- - address: 192.168.22.3/24
+ - ipv4:
+ - address: dhcp
+ name: mgmt0
+ - name: Ethernet1/6
+ ipv4:
+ - address: 192.168.22.3/24
state: overridden
# Task Output
@@ -446,8 +446,8 @@ EXAMPLES = """
itself).
cisco.nxos.nxos_l3_interfaces:
config:
- - name: Ethernet1/6
- - name: Ethernet1/2
+ - name: Ethernet1/6
+ - name: Ethernet1/2
state: deleted
# Task Output
@@ -497,17 +497,17 @@ EXAMPLES = """
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_l3_interfaces:
config:
- - name: Ethernet1/800
- ipv4:
- - address: 192.168.1.100/24
- tag: 5
- - address: 10.1.1.1/24
- secondary: true
- tag: 10
- - name: Ethernet1/800
- ipv6:
- - address: fd5d:12c9:2201:2::1/64
- tag: 6
+ - name: Ethernet1/800
+ ipv4:
+ - address: 192.168.1.100/24
+ tag: 5
+ - address: 10.1.1.1/24
+ secondary: true
+ tag: 10
+ - name: Ethernet1/800
+ ipv6:
+ - address: fd5d:12c9:2201:2::1/64
+ tag: 6
state: rendered
# Task Output
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_lacp_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_lacp_interfaces.py
index 98e5a6339..d51ea0a71 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_lacp_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_lacp_interfaces.py
@@ -143,9 +143,9 @@ EXAMPLES = """
- name: Merge provided configuration with device configuration.
cisco.nxos.nxos_lacp_interfaces:
config:
- - name: Ethernet1/3
- port_priority: 5
- rate: fast
+ - name: Ethernet1/3
+ port_priority: 5
+ rate: fast
state: merged
# After state:
@@ -169,9 +169,9 @@ EXAMPLES = """
- name: Replace device lacp interfaces configuration with the given configuration.
cisco.nxos.nxos_lacp_interfaces:
config:
- - name: port-channel11
- links:
- min: 4
+ - name: port-channel11
+ links:
+ min: 4
state: replaced
# After state:
@@ -197,9 +197,9 @@ EXAMPLES = """
on device with provided configuration.
cisco.nxos.nxos_lacp_interfaces:
config:
- - name: port-channel11
- links:
- min: 4
+ - name: port-channel11
+ links:
+ min: 4
state: overridden
# After state:
@@ -232,17 +232,17 @@ EXAMPLES = """
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_lacp_interfaces:
config:
- - name: Ethernet1/800
- rate: fast
- - name: Ethernet1/801
- rate: fast
- port_priority: 32
- - name: port-channel10
- links:
- max: 15
- min: 2
- convergence:
- graceful: true
+ - name: Ethernet1/800
+ rate: fast
+ - name: Ethernet1/801
+ rate: fast
+ port_priority: 32
+ - name: port-channel10
+ links:
+ max: 15
+ min: 2
+ convergence:
+ graceful: true
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_lag_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_lag_interfaces.py
index ce06462ed..8d0fabf7a 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_lag_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_lag_interfaces.py
@@ -113,9 +113,9 @@ EXAMPLES = """
- name: Merge provided configuration with device configuration.
cisco.nxos.nxos_lag_interfaces:
config:
- - name: port-channel99
- members:
- - member: Ethernet1/4
+ - name: port-channel99
+ members:
+ - member: Ethernet1/4
state: merged
# After state:
@@ -137,9 +137,9 @@ EXAMPLES = """
with provided configuration.
cisco.nxos.nxos_lag_interfaces:
config:
- - name: port-channel10
- members:
- - member: Ethernet1/4
+ - name: port-channel10
+ members:
+ - member: Ethernet1/4
state: replaced
# After state:
@@ -163,10 +163,10 @@ EXAMPLES = """
device with provided configuration.
cisco.nxos.nxos_lag_interfaces:
config:
- - name: port-channel20
- members:
- - member: Ethernet1/6
- force: true
+ - name: port-channel20
+ members:
+ - member: Ethernet1/6
+ force: true
state: overridden
# After state:
@@ -189,7 +189,7 @@ EXAMPLES = """
itself).
cisco.nxos.nxos_lag_interfaces:
config:
- - port-channel: port-channel99
+ - port-channel: port-channel99
state: deleted
- name: Delete LAG attributes of all the interfaces
@@ -207,15 +207,15 @@ EXAMPLES = """
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_lag_interfaces:
config:
- - name: port-channel10
- members:
- - member: Ethernet1/800
- mode: active
- - member: Ethernet1/801
- - name: port-channel11
- members:
- - member: Ethernet1/802
- mode: passive
+ - name: port-channel10
+ members:
+ - member: Ethernet1/800
+ mode: active
+ - member: Ethernet1/801
+ - name: port-channel11
+ members:
+ - member: Ethernet1/802
+ mode: passive
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_lldp_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_lldp_interfaces.py
index 2006001de..44ac5b09e 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_lldp_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_lldp_interfaces.py
@@ -111,12 +111,12 @@ EXAMPLES = """
- name: Merge provided configuration with device configuration
cisco.nxos.nxos_lldp_interfaces:
config:
- - name: Ethernet1/4
- receive: false
- transmit: true
- tlv_set:
- management_address: 192.168.122.64
- vlan: 12
+ - name: Ethernet1/4
+ receive: false
+ transmit: true
+ tlv_set:
+ management_address: 192.168.122.64
+ vlan: 12
state: merged
# After state:
@@ -143,10 +143,10 @@ EXAMPLES = """
- name: Replace LLDP configuration on interfaces with given configuration
cisco.nxos.nxos_lldp_interfaces:
config:
- - name: Ethernet1/4
- transmit: false
- tlv_set:
- vlan: 2
+ - name: Ethernet1/4
+ transmit: false
+ tlv_set:
+ vlan: 2
state: replaced
@@ -176,10 +176,10 @@ EXAMPLES = """
- name: Override LLDP configuration on all interfaces with given configuration
cisco.nxos.nxos_lldp_interfaces:
config:
- - name: Ethernet1/7
- receive: false
- tlv_set:
- vlan: 12
+ - name: Ethernet1/7
+ receive: false
+ tlv_set:
+ vlan: 12
state: overridden
@@ -209,8 +209,6 @@ EXAMPLES = """
# After state:
# ------------
#
-
-
"""
RETURN = """
before:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_logging.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_logging.py
deleted file mode 100644
index 7782eb32c..000000000
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_logging.py
+++ /dev/null
@@ -1,940 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-from __future__ import absolute_import, division, print_function
-
-
-__metaclass__ = type
-
-# Copyright: (c) 2017, Ansible by Red Hat, inc
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-
-DOCUMENTATION = """
-module: nxos_logging
-author: Trishna Guha (@trishnaguha)
-short_description: Manage logging on network devices
-notes:
-- Limited Support for Cisco MDS
-description:
-- This module provides declarative management of logging on Cisco NX-OS devices.
-version_added: 1.0.0
-deprecated:
- alternative: nxos_logging_global
- why: Updated module released with more functionality.
- removed_at_date: '2023-08-01'
-options:
- dest:
- description:
- - Destination of the logs.
- choices:
- - console
- - logfile
- - module
- - monitor
- - server
- type: str
- remote_server:
- description:
- - Hostname or IP Address for remote logging (when dest is 'server').
- type: str
- use_vrf:
- description:
- - VRF to be used while configuring remote logging (when dest is 'server').
- type: str
- interface:
- description:
- - Interface to be used while configuring source-interface for logging (e.g., 'Ethernet1/2',
- 'mgmt0')
- type: str
- name:
- description:
- - If value of C(dest) is I(logfile) it indicates file-name.
- type: str
- facility:
- description:
- - Facility name for logging.
- type: str
- dest_level:
- description:
- - Set logging severity levels.
- aliases:
- - level
- type: int
- facility_level:
- description:
- - Set logging severity levels for facility based log messages.
- type: int
- aggregate:
- description: List of logging definitions.
- type: list
- elements: dict
- state:
- description:
- - State of the logging configuration.
- default: present
- choices:
- - present
- - absent
- type: str
- event:
- description:
- - Link/trunk enable/default interface configuration logging
- choices:
- - link-enable
- - link-default
- - trunk-enable
- - trunk-default
- type: str
- interface_message:
- description:
- - Add interface description to interface syslogs. Does not work with version 6.0
- images using nxapi as a transport.
- choices:
- - add-interface-description
- type: str
- file_size:
- description:
- - Set logfile size
- type: int
- facility_link_status:
- description:
- - Set logging facility ethpm link status. Not idempotent with version 6.0 images.
- choices:
- - link-down-notif
- - link-down-error
- - link-up-notif
- - link-up-error
- type: str
- timestamp:
- description:
- - Set logging timestamp format
- choices:
- - microseconds
- - milliseconds
- - seconds
- type: str
- purge:
- description:
- - Remove any switch logging configuration that does not match what has been configured
- Not supported for ansible_connection local. All nxos_logging tasks must use
- the same ansible_connection type.
- type: bool
- default: false
-extends_documentation_fragment:
-- cisco.nxos.nxos
-"""
-
-EXAMPLES = """
-- name: configure console logging with level
- cisco.nxos.nxos_logging:
- dest: console
- level: 2
- state: present
-- name: remove console logging configuration
- cisco.nxos.nxos_logging:
- dest: console
- level: 2
- state: absent
-- name: configure file logging with level
- cisco.nxos.nxos_logging:
- dest: logfile
- name: testfile
- dest_level: 3
- state: present
-- name: Configure logging logfile with size
- cisco.nxos.nxos_logging:
- dest: logfile
- name: testfile
- dest_level: 3
- file_size: 16384
-- name: configure facility level logging
- cisco.nxos.nxos_logging:
- facility: daemon
- facility_level: 0
- state: present
-- name: remove facility level logging
- cisco.nxos.nxos_logging:
- facility: daemon
- facility_level: 0
- state: absent
-- name: Configure Remote Logging
- cisco.nxos.nxos_logging:
- dest: server
- remote_server: test-syslogserver.com
- facility: auth
- facility_level: 1
- use_vrf: management
- state: present
-- name: Configure Source Interface for Logging
- cisco.nxos.nxos_logging:
- interface: mgmt0
- state: present
-- name: Purge nxos_logging configuration not managed by this playbook
- cisco.nxos.nxos_logging:
- purge: true
-- name: Configure logging timestamp
- cisco.nxos.nxos_logging:
- timestamp: milliseconds
- state: present
-- name: Configure logging facility ethpm link status
- cisco.nxos.nxos_logging:
- facility: ethpm
- facility_link_status: link-up-notif
- state: present
-- name: Configure logging message ethernet description
- cisco.nxos.nxos_logging:
- interface_message: add-interface-description
- state: present
-- name: Configure logging event link enable
- cisco.nxos.nxos_logging:
- event: link-enable
- state: present
-- name: Configure logging using aggregate
- cisco.nxos.nxos_logging:
- aggregate:
- - {dest: console, dest_level: 2}
- - {dest: logfile, dest_level: 2, name: testfile}
- - {facility: daemon, facility_level: 0}
- state: present
-"""
-
-RETURN = """
-commands:
- description: The list of configuration mode commands to send to the device
- returned: always
- type: list
- sample:
- - logging console 2
- - logging logfile testfile 3
- - logging level daemon 0
-"""
-
-import copy
-import re
-
-from ansible.module_utils.basic import AnsibleModule
-
-from ansible_collections.cisco.nxos.plugins.module_utils.network.nxos.nxos import (
- get_config,
- load_config,
- normalize_interface,
- read_module_context,
- run_commands,
- save_module_context,
-)
-
-
-STATIC_CLI = {
- "link-enable": "logging event link-status enable",
- "link-default": "logging event link-status default",
- "trunk-enable": "logging event trunk-status enable",
- "trunk-default": "logging event trunk-status default",
- "microseconds": "logging timestamp microseconds",
- "milliseconds": "logging timestamp milliseconds",
- "seconds": "logging timestamp seconds",
- "link-up-error": "link-up error",
- "link-up-notif": "link-up notif",
- "link-down-error": "link-down error",
- "link-down-notif": "link-down notif",
- "add-interface-description": "logging message interface type ethernet description",
-}
-
-DEFAULT_LOGGING_LEVEL = {
- 0: [],
- 1: [],
- 2: ["pktmgr"],
- 3: ["adjmgr", "arp", "icmpv6", "l2rib", "netstack"],
- 4: [],
- 5: ["mrib", "m6rib"],
- 6: [],
- 7: [],
-}
-
-DEST_GROUP = ["console", "logfile", "module", "monitor", "server"]
-
-
-def map_obj_to_commands(module, updates):
- commands = list()
- want, have = updates
-
- for w in want:
- state = w["state"]
- del w["state"]
-
- if state == "absent" and w in have:
- if w["facility"] is not None:
- if (
- not w["dest"]
- and not w["facility_link_status"]
- and w["facility"] not in DEFAULT_LOGGING_LEVEL[int(w["facility_level"])]
- ):
- commands.append(
- "no logging level {0} {1}".format(w["facility"], w["facility_level"]),
- )
-
- if w["facility_link_status"] and w["facility"] in ("ethpm"):
- commands.append(
- "no logging level {0} {1}".format(
- w["facility"],
- STATIC_CLI[w["facility_link_status"]],
- ),
- )
-
- if w["name"] is not None:
- commands.append("no logging logfile")
-
- if w["dest"] in ("console", "module", "monitor"):
- commands.append("no logging {0}".format(w["dest"]))
-
- if w["dest"] == "server":
- commands.append("no logging server {0}".format(w["remote_server"]))
-
- if w["interface"]:
- commands.append("no logging source-interface")
-
- if w["event"] and w["event"] in STATIC_CLI:
- commands.append("no " + STATIC_CLI[w["event"]])
-
- if w["message"] and w["message"] in STATIC_CLI:
- commands.append("no " + STATIC_CLI[w["message"]])
-
- if w["timestamp"] and w["timestamp"] in STATIC_CLI:
- commands.append("no " + STATIC_CLI[w["timestamp"]])
-
- if state == "present" and w not in have:
- if w["facility"] is None:
- if w["dest"]:
- if w["dest"] not in ("logfile", "server"):
- commands.append("logging {0} {1}".format(w["dest"], w["dest_level"]))
-
- elif w["dest"] == "logfile":
- if w["file_size"]:
- commands.append(
- "logging logfile {0} {1} size {2}".format(
- w["name"],
- w["dest_level"],
- w["file_size"],
- ),
- )
- else:
- commands.append(
- "logging logfile {0} {1}".format(w["name"], w["dest_level"]),
- )
-
- elif w["dest"] == "server":
- if w["facility_level"]:
- if w["use_vrf"]:
- commands.append(
- "logging server {0} {1} use-vrf {2}".format(
- w["remote_server"],
- w["facility_level"],
- w["use_vrf"],
- ),
- )
- else:
- commands.append(
- "logging server {0} {1}".format(
- w["remote_server"],
- w["facility_level"],
- ),
- )
-
- else:
- if w["use_vrf"]:
- commands.append(
- "logging server {0} use-vrf {1}".format(
- w["remote_server"],
- w["use_vrf"],
- ),
- )
- else:
- commands.append("logging server {0}".format(w["remote_server"]))
-
- if w["facility"]:
- if w["dest"] == "server":
- if w["facility_level"]:
- if w["use_vrf"]:
- commands.append(
- "logging server {0} {1} facility {2} use-vrf {3}".format(
- w["remote_server"],
- w["facility_level"],
- w["facility"],
- w["use_vrf"],
- ),
- )
- else:
- commands.append(
- "logging server {0} {1} facility {2}".format(
- w["remote_server"],
- w["facility_level"],
- w["facility"],
- ),
- )
- else:
- if w["use_vrf"]:
- commands.append(
- "logging server {0} facility {1} use-vrf {2}".format(
- w["remote_server"],
- w["facility"],
- w["use_vrf"],
- ),
- )
- else:
- commands.append(
- "logging server {0} facility {1}".format(
- w["remote_server"],
- w["facility"],
- ),
- )
- else:
- if w["facility_link_status"]:
- commands.append(
- "logging level {0} {1}".format(
- w["facility"],
- STATIC_CLI[w["facility_link_status"]],
- ),
- )
- else:
- if not match_facility_default(module, w["facility"], w["facility_level"]):
- commands.append(
- "logging level {0} {1}".format(w["facility"], w["facility_level"]),
- )
-
- if w["interface"]:
- commands.append(
- "logging source-interface {0} {1}".format(*split_interface(w["interface"])),
- )
-
- if w["event"] and w["event"] in STATIC_CLI:
- commands.append(STATIC_CLI[w["event"]])
-
- if w["message"] and w["message"] in STATIC_CLI:
- commands.append(STATIC_CLI[w["message"]])
-
- if w["timestamp"] and w["timestamp"] in STATIC_CLI:
- commands.append(STATIC_CLI[w["timestamp"]])
-
- return commands
-
-
-def match_facility_default(module, facility, want_level):
- """Check wanted facility to see if it matches current device default"""
-
- matches_default = False
- # Sample output from show logging level command
- # Facility Default Severity Current Session Severity
- # -------- ---------------- ------------------------
- # bfd 5 5
- #
- # 0(emergencies) 1(alerts) 2(critical)
- # 3(errors) 4(warnings) 5(notifications)
- # 6(information) 7(debugging)
-
- regexl = r"\S+\s+(\d+)\s+(\d+)"
- cmd = {
- "command": "show logging level {0}".format(facility),
- "output": "text",
- }
- facility_data = run_commands(module, cmd)
- for line in facility_data[0].split("\n"):
- mo = re.search(regexl, line)
- if mo and int(mo.group(1)) == int(want_level) and int(mo.group(2)) == int(want_level):
- matches_default = True
-
- return matches_default
-
-
-def split_interface(interface):
- match = re.search(r"(\D+)(\S*)", interface, re.M)
- if match:
- return match.group(1), match.group(2)
-
-
-def parse_facility_link_status(line, facility, status):
- facility_link_status = None
-
- if facility is not None:
- match = re.search(r"logging level {0} {1} (\S+)".format(facility, status), line, re.M)
- if match:
- facility_link_status = status + "-" + match.group(1)
-
- return facility_link_status
-
-
-def parse_event_status(line, event):
- status = None
-
- match = re.search(r"logging event {0} (\S+)".format(event + "-status"), line, re.M)
- if match:
- state = match.group(1)
- if state:
- status = state
-
- return status
-
-
-def parse_event(line):
- event = None
-
- match = re.search(r"logging event (\S+)", line, re.M)
- if match:
- state = match.group(1)
- if state == "link-status":
- event = "link"
- elif state == "trunk-status":
- event = "trunk"
-
- return event
-
-
-def parse_message(line):
- message = None
-
- match = re.search(r"logging message interface type ethernet description", line, re.M)
- if match:
- message = "add-interface-description"
-
- return message
-
-
-def parse_file_size(line, name, level):
- file_size = None
-
- match = re.search(r"logging logfile {0} {1} size (\S+)".format(name, level), line, re.M)
- if match:
- file_size = match.group(1)
- if file_size == "8192" or file_size == "4194304":
- file_size = None
-
- return file_size
-
-
-def parse_timestamp(line):
- timestamp = None
-
- match = re.search(r"logging timestamp (\S+)", line, re.M)
- if match:
- timestamp = match.group(1)
-
- return timestamp
-
-
-def parse_name(line, dest):
- name = None
-
- if dest is not None:
- if dest == "logfile":
- match = re.search(r"logging logfile (\S+)", line, re.M)
- if match:
- name = match.group(1)
- else:
- pass
-
- return name
-
-
-def parse_remote_server(line, dest):
- remote_server = None
-
- if dest and dest == "server":
- match = re.search(r"logging server (\S+)", line, re.M)
- if match:
- remote_server = match.group(1)
-
- return remote_server
-
-
-def parse_dest_level(line, dest, name):
- dest_level = None
-
- def parse_match(match):
- level = None
- if match:
- if int(match.group(1)) in range(0, 8):
- level = match.group(1)
- else:
- pass
- return level
-
- if dest and dest != "server":
- if dest == "logfile":
- match = re.search(r"logging logfile {0} (\S+)".format(name), line, re.M)
- if match:
- dest_level = parse_match(match)
-
- elif dest == "server":
- match = re.search(r"logging server (?:\S+) (\d+)", line, re.M)
- if match:
- dest_level = parse_match(match)
- else:
- match = re.search(r"logging {0} (\S+)".format(dest), line, re.M)
- if match:
- dest_level = parse_match(match)
-
- return dest_level
-
-
-def parse_facility_level(line, facility, dest):
- facility_level = None
-
- if dest == "server":
- match = re.search(r"logging server (?:\S+) (\d+)", line, re.M)
- if match:
- facility_level = match.group(1)
-
- elif facility is not None:
- match = re.search(r"logging level {0} (\S+)".format(facility), line, re.M)
- if match:
- facility_level = match.group(1)
-
- return facility_level
-
-
-def parse_facility(line):
- facility = None
-
- match = re.search(
- r"logging server (?:\S+) (?:\d+) (?:\S+) (?:\S+) (?:\S+) (\S+)",
- line,
- re.M,
- )
- if match:
- facility = match.group(1)
-
- return facility
-
-
-def parse_use_vrf(line, dest):
- use_vrf = None
-
- if dest and dest == "server":
- match = re.search(r"logging server (?:\S+) (?:\d+) use-vrf (\S+)", line, re.M)
- if match:
- use_vrf = match.group(1)
-
- return use_vrf
-
-
-def parse_interface(line):
- interface = None
-
- match = re.search(r"logging source-interface (\S*)", line, re.M)
- if match:
- interface = match.group(1)
-
- return interface
-
-
-def map_config_to_obj(module):
- obj = []
-
- data = get_config(module, flags=[" all | section logging"])
-
- for line in data.split("\n"):
- if re.search(r"no (\S+)", line, re.M):
- state = "absent"
- else:
- state = "present"
-
- match = re.search(r"logging (\S+)", line, re.M)
- if state == "present" and match:
- event_status = None
- name = None
- dest_level = None
- dest = None
- facility = None
- remote_server = None
- facility_link_status = None
- file_size = None
- facility_level = None
-
- if match.group(1) in DEST_GROUP:
- dest = match.group(1)
-
- name = parse_name(line, dest)
- remote_server = parse_remote_server(line, dest)
- dest_level = parse_dest_level(line, dest, name)
-
- if dest == "server":
- facility = parse_facility(line)
-
- facility_level = parse_facility_level(line, facility, dest)
-
- if dest == "logfile":
- file_size = parse_file_size(line, name, dest_level)
-
- elif match.group(1) == "level":
- match_facility = re.search(r"logging level (\S+)", line, re.M)
- facility = match_facility.group(1)
-
- level = parse_facility_level(line, facility, dest)
- if level.isdigit():
- facility_level = level
- else:
- facility_link_status = parse_facility_link_status(line, facility, level)
-
- elif match.group(1) == "event" and state == "present":
- event = parse_event(line)
- if event:
- status = parse_event_status(line, event)
- if status:
- event_status = event + "-" + status
- else:
- continue
-
- else:
- pass
-
- obj.append(
- {
- "dest": dest,
- "remote_server": remote_server,
- "use_vrf": parse_use_vrf(line, dest),
- "name": name,
- "facility": facility,
- "dest_level": dest_level,
- "facility_level": facility_level,
- "interface": parse_interface(line),
- "facility_link_status": facility_link_status,
- "event": event_status,
- "file_size": file_size,
- "message": parse_message(line),
- "timestamp": parse_timestamp(line),
- },
- )
-
- cmd = [
- {
- "command": "show logging | section enabled | section console",
- "output": "text",
- },
- {
- "command": "show logging | section enabled | section monitor",
- "output": "text",
- },
- ]
-
- default_data = run_commands(module, cmd)
-
- for line in default_data:
- flag = False
- match = re.search(
- r"Logging (\w+):(?:\s+) (?:\w+) (?:\W)Severity: (\w+)",
- str(line),
- re.M,
- )
- if match:
- if match.group(1) == "console" and match.group(2) == "critical":
- dest_level = "2"
- flag = True
- elif match.group(1) == "monitor" and match.group(2) == "notifications":
- dest_level = "5"
- flag = True
- if flag:
- obj.append(
- {
- "dest": match.group(1),
- "remote_server": None,
- "name": None,
- "facility": None,
- "dest_level": dest_level,
- "facility_level": None,
- "use_vrf": None,
- "interface": None,
- "facility_link_status": None,
- "event": None,
- "file_size": None,
- "message": None,
- "timestamp": None,
- },
- )
-
- return obj
-
-
-def map_params_to_obj(module):
- obj = []
-
- if "aggregate" in module.params and module.params["aggregate"]:
- args = {
- "dest": "",
- "remote_server": "",
- "use_vrf": "",
- "name": "",
- "facility": "",
- "dest_level": "",
- "facility_level": "",
- "interface": "",
- "facility_link_status": None,
- "event": None,
- "file_size": None,
- "message": None,
- "timestamp": None,
- }
-
- for c in module.params["aggregate"]:
- d = c.copy()
-
- for key in args:
- if key not in d:
- d[key] = None
-
- if d["dest_level"] is not None:
- d["dest_level"] = str(d["dest_level"])
-
- if d["facility_level"] is not None:
- d["facility_level"] = str(d["facility_level"])
-
- if d["interface"]:
- d["interface"] = normalize_interface(d["interface"])
-
- if "state" not in d:
- d["state"] = module.params["state"]
-
- if d["file_size"]:
- d["file_size"] = str(d["file_size"])
-
- obj.append(d)
-
- else:
- dest_level = None
- facility_level = None
- file_size = None
-
- if module.params["dest_level"] is not None:
- dest_level = str(module.params["dest_level"])
-
- if module.params["facility_level"] is not None:
- facility_level = str(module.params["facility_level"])
-
- if module.params["file_size"] is not None:
- file_size = str(module.params["file_size"])
-
- obj.append(
- {
- "dest": module.params["dest"],
- "remote_server": module.params["remote_server"],
- "use_vrf": module.params["use_vrf"],
- "name": module.params["name"],
- "facility": module.params["facility"],
- "dest_level": dest_level,
- "facility_level": facility_level,
- "interface": normalize_interface(module.params["interface"]),
- "state": module.params["state"],
- "facility_link_status": module.params["facility_link_status"],
- "event": module.params["event"],
- "message": module.params["interface_message"],
- "file_size": file_size,
- "timestamp": module.params["timestamp"],
- },
- )
- return obj
-
-
-def merge_wants(wants, want):
- if not wants:
- wants = list()
-
- for w in want:
- w = copy.copy(w)
- state = w["state"]
- del w["state"]
-
- if state == "absent":
- if w in wants:
- wants.remove(w)
- elif w not in wants:
- wants.append(w)
-
- return wants
-
-
-def absent(h):
- h["state"] = "absent"
- return h
-
-
-def outliers(haves, wants):
- wants = list(wants)
- return [absent(h) for h in haves if not (h in wants or wants.append(h))]
-
-
-def main():
- """main entry point for module execution"""
- argument_spec = dict(
- dest=dict(choices=DEST_GROUP),
- name=dict(),
- facility=dict(),
- remote_server=dict(),
- use_vrf=dict(),
- dest_level=dict(type="int", aliases=["level"]),
- facility_level=dict(type="int"),
- interface=dict(),
- facility_link_status=dict(
- choices=[
- "link-down-notif",
- "link-down-error",
- "link-up-notif",
- "link-up-error",
- ],
- ),
- event=dict(
- choices=[
- "link-enable",
- "link-default",
- "trunk-enable",
- "trunk-default",
- ],
- ),
- interface_message=dict(choices=["add-interface-description"]),
- file_size=dict(type="int"),
- timestamp=dict(choices=["microseconds", "milliseconds", "seconds"]),
- state=dict(default="present", choices=["present", "absent"]),
- aggregate=dict(type="list", elements="dict"),
- purge=dict(default=False, type="bool"),
- )
-
- required_if = [
- ("dest", "logfile", ["name"]),
- ("dest", "server", ["remote_server"]),
- ]
-
- module = AnsibleModule(
- argument_spec=argument_spec,
- required_if=required_if,
- supports_check_mode=True,
- )
-
- warnings = list()
-
- result = {"changed": False}
- if warnings:
- result["warnings"] = warnings
-
- want = map_params_to_obj(module)
- merged_wants = merge_wants(read_module_context(module), want)
- have = map_config_to_obj(module)
-
- commands = map_obj_to_commands(module, (want, have))
- result["commands"] = commands
-
- if commands:
- if not module.check_mode:
- load_config(module, commands)
- result["changed"] = True
-
- save_module_context(module, merged_wants)
-
- if module.params.get("purge"):
- pcommands = map_obj_to_commands(module, (outliers(have, merged_wants), have))
- if pcommands:
- if not module.check_mode:
- load_config(module, pcommands)
- result["changed"] = True
- result["commands"] += pcommands
-
- module.exit_json(**result)
-
-
-if __name__ == "__main__":
- main()
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_logging_global.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_logging_global.py
index 1c060b01b..759dee67c 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_logging_global.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_logging_global.py
@@ -290,7 +290,7 @@ EXAMPLES = """
facility: local6
use_vrf: default
origin_id:
- hostname: True
+ hostname: true
# Task output
# -------------
@@ -576,7 +576,7 @@ EXAMPLES = """
facility: local6
use_vrf: default
origin_id:
- hostname: True
+ hostname: true
# Task Output (redacted)
# -----------------------
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp.py
deleted file mode 100644
index 046436d47..000000000
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp.py
+++ /dev/null
@@ -1,446 +0,0 @@
-#!/usr/bin/python
-# Copyright: Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-
-
-__metaclass__ = type
-
-
-DOCUMENTATION = """
-module: nxos_ntp
-extends_documentation_fragment:
-- cisco.nxos.nxos
-short_description: Manages core NTP configuration.
-notes:
-- Limited Support for Cisco MDS
-description:
-- Manages core NTP configuration.
-version_added: 1.0.0
-deprecated:
- alternative: nxos_ntp_global
- why: Updated module released with more functionality.
- removed_at_date: '2024-01-01'
-author:
-- Jason Edelman (@jedelman8)
-options:
- server:
- description:
- - Network address of NTP server.
- type: str
- peer:
- description:
- - Network address of NTP peer.
- type: str
- key_id:
- description:
- - Authentication key identifier to use with given NTP server or peer or keyword
- 'default'.
- type: str
- prefer:
- description:
- - Makes given NTP server or peer the preferred NTP server or peer for the device.
- choices:
- - enabled
- - disabled
- type: str
- vrf_name:
- description:
- - Makes the device communicate with the given NTP server or peer over a specific
- VRF or keyword 'default'.
- type: str
- source_addr:
- description:
- - Local source address from which NTP messages are sent or keyword 'default'.
- type: str
- source_int:
- description:
- - Local source interface from which NTP messages are sent. Must be fully qualified
- interface name or keyword 'default'
- type: str
- state:
- description:
- - Manage the state of the resource.
- default: present
- choices:
- - present
- - absent
- type: str
-"""
-
-EXAMPLES = """
-# Set NTP Server with parameters
-- cisco.nxos.nxos_ntp:
- server: 1.2.3.4
- key_id: 32
- prefer: enabled
- host: '{{ inventory_hostname }}'
- username: '{{ un }}'
- password: '{{ pwd }}'
-"""
-
-RETURN = """
-proposed:
- description: k/v pairs of parameters passed into module
- returned: always
- type: dict
- sample: {"address": "192.0.2.2", "key_id": "48",
- "peer_type": "server", "prefer": "enabled",
- "source": "192.0.2.3", "source_type": "source"}
-existing:
- description:
- - k/v pairs of existing ntp server/peer
- returned: always
- type: dict
- sample: {"address": "192.0.2.2", "key_id": "32",
- "peer_type": "server", "prefer": "enabled",
- "source": "ethernet2/1", "source_type": "source-interface"}
-end_state:
- description: k/v pairs of ntp info after module execution
- returned: always
- type: dict
- sample: {"address": "192.0.2.2", "key_id": "48",
- "peer_type": "server", "prefer": "enabled",
- "source": "192.0.2.3", "source_type": "source"}
-updates:
- description: command sent to the device
- returned: always
- type: list
- sample: ["ntp server 192.0.2.2 prefer key 48",
- "no ntp source-interface ethernet2/1", "ntp source 192.0.2.3"]
-changed:
- description: check to see if a change was made on the device
- returned: always
- type: bool
- sample: true
-"""
-
-import re
-
-from ansible.module_utils.basic import AnsibleModule
-
-from ansible_collections.cisco.nxos.plugins.module_utils.network.nxos.nxos import (
- load_config,
- run_commands,
-)
-
-
-def execute_show_command(command, module, command_type="cli_show"):
- if "show run" not in command:
- output = "json"
- else:
- output = "text"
-
- commands = [{"command": command, "output": output}]
- return run_commands(module, commands)
-
-
-def flatten_list(command_lists):
- flat_command_list = []
- for command in command_lists:
- if isinstance(command, list):
- flat_command_list.extend(command)
- else:
- flat_command_list.append(command)
- return flat_command_list
-
-
-def get_ntp_source(module):
- source_type = None
- source = None
- command = "show run | inc ntp.source"
- output = execute_show_command(command, module, command_type="cli_show_ascii")
-
- if output:
- try:
- if "interface" in output[0]:
- source_type = "source-interface"
- else:
- source_type = "source"
- source = output[0].split()[2].lower()
- except (AttributeError, IndexError):
- source_type = None
- source = None
-
- return source_type, source
-
-
-def get_ntp_peer(module):
- command = "show run | inc ntp.(server|peer)"
- ntp_peer_list = []
- response = execute_show_command(command, module, command_type="cli_show_ascii")
-
- if response:
- if isinstance(response, list):
- ntp = response[0]
- else:
- ntp = response
- if ntp:
- ntp_regex = (
- r".*ntp\s(server\s(?P<address>\S+)|peer\s(?P<peer_address>\S+))"
- r"\s*((?P<prefer>prefer)\s*)?(use-vrf\s(?P<vrf_name>\S+)\s*)?"
- r"(key\s(?P<key_id>\d+))?.*"
- )
-
- split_ntp = ntp.splitlines()
- for peer_line in split_ntp:
- if "access-group" in peer_line:
- continue
- ntp_peer = {}
- try:
- peer_address = None
- vrf_name = "default"
- prefer = None
- key_id = None
- match_ntp = re.match(ntp_regex, peer_line, re.DOTALL)
- group_ntp = match_ntp.groupdict()
-
- address = group_ntp["address"]
- peer_address = group_ntp["peer_address"]
- prefer = group_ntp["prefer"]
- vrf_name = group_ntp["vrf_name"]
- key_id = group_ntp["key_id"]
-
- if prefer is not None:
- prefer = "enabled"
- else:
- prefer = "disabled"
-
- if address is not None:
- peer_type = "server"
- elif peer_address is not None:
- peer_type = "peer"
- address = peer_address
-
- args = dict(
- peer_type=peer_type,
- address=address,
- prefer=prefer,
- vrf_name=vrf_name,
- key_id=key_id,
- )
-
- ntp_peer = dict((k, v) for k, v in args.items())
- ntp_peer_list.append(ntp_peer)
- except AttributeError:
- ntp_peer_list = []
-
- return ntp_peer_list
-
-
-def get_ntp_existing(address, peer_type, module):
- peer_dict = {}
- peer_server_list = []
-
- peer_list = get_ntp_peer(module)
- for peer in peer_list:
- if peer["address"] == address:
- peer_dict.update(peer)
- else:
- peer_server_list.append(peer)
-
- source_type, source = get_ntp_source(module)
-
- if source_type is not None and source is not None:
- peer_dict["source_type"] = source_type
- peer_dict["source"] = source
-
- return (peer_dict, peer_server_list)
-
-
-def set_ntp_server_peer(peer_type, address, prefer, key_id, vrf_name):
- command_strings = []
-
- if prefer:
- command_strings.append(" prefer")
- if key_id:
- command_strings.append(" key {0}".format(key_id))
- if vrf_name:
- command_strings.append(" use-vrf {0}".format(vrf_name))
-
- command_strings.insert(0, "ntp {0} {1}".format(peer_type, address))
-
- command = "".join(command_strings)
-
- return command
-
-
-def config_ntp(delta, existing):
- if (
- delta.get("address")
- or delta.get("peer_type")
- or delta.get("vrf_name")
- or delta.get("key_id")
- or delta.get("prefer")
- ):
- address = delta.get("address", existing.get("address"))
- peer_type = delta.get("peer_type", existing.get("peer_type"))
- key_id = delta.get("key_id", existing.get("key_id"))
- prefer = delta.get("prefer", existing.get("prefer"))
- vrf_name = delta.get("vrf_name", existing.get("vrf_name"))
- if delta.get("key_id") == "default":
- key_id = None
- else:
- peer_type = None
- prefer = None
-
- source_type = delta.get("source_type")
- source = delta.get("source")
-
- if prefer:
- if prefer == "enabled":
- prefer = True
- elif prefer == "disabled":
- prefer = False
-
- if source:
- source_type = delta.get("source_type", existing.get("source_type"))
-
- ntp_cmds = []
- if peer_type:
- if existing.get("peer_type") and existing.get("address"):
- ntp_cmds.append(
- "no ntp {0} {1}".format(existing.get("peer_type"), existing.get("address")),
- )
- ntp_cmds.append(set_ntp_server_peer(peer_type, address, prefer, key_id, vrf_name))
- if source:
- existing_source_type = existing.get("source_type")
- existing_source = existing.get("source")
- if existing_source_type and source_type != existing_source_type:
- ntp_cmds.append("no ntp {0} {1}".format(existing_source_type, existing_source))
- if source == "default":
- if existing_source_type and existing_source:
- ntp_cmds.append("no ntp {0} {1}".format(existing_source_type, existing_source))
- else:
- ntp_cmds.append("ntp {0} {1}".format(source_type, source))
-
- return ntp_cmds
-
-
-def main():
- argument_spec = dict(
- server=dict(type="str"),
- peer=dict(type="str"),
- key_id=dict(type="str"),
- prefer=dict(type="str", choices=["enabled", "disabled"]),
- vrf_name=dict(type="str"),
- source_addr=dict(type="str"),
- source_int=dict(type="str"),
- state=dict(choices=["absent", "present"], default="present"),
- )
-
- module = AnsibleModule(
- argument_spec=argument_spec,
- mutually_exclusive=[["server", "peer"], ["source_addr", "source_int"]],
- supports_check_mode=True,
- )
-
- warnings = list()
-
- server = module.params["server"] or None
- peer = module.params["peer"] or None
- key_id = module.params["key_id"]
- prefer = module.params["prefer"]
- vrf_name = module.params["vrf_name"]
- source_addr = module.params["source_addr"]
- source_int = module.params["source_int"]
- state = module.params["state"]
-
- if source_int is not None:
- source_int = source_int.lower()
-
- if server:
- peer_type = "server"
- address = server
- elif peer:
- peer_type = "peer"
- address = peer
- else:
- peer_type = None
- address = None
-
- source_type = None
- source = None
- if source_addr:
- source_type = "source"
- source = source_addr
- elif source_int:
- source_type = "source-interface"
- source = source_int
-
- if key_id or vrf_name or prefer:
- if not server and not peer:
- module.fail_json(msg="Please supply the server or peer parameter")
-
- args = dict(
- peer_type=peer_type,
- address=address,
- key_id=key_id,
- prefer=prefer,
- vrf_name=vrf_name,
- source_type=source_type,
- source=source,
- )
-
- proposed = dict((k, v) for k, v in args.items() if v is not None)
-
- existing, peer_server_list = get_ntp_existing(address, peer_type, module)
-
- end_state = existing
- changed = False
- commands = []
-
- if state == "present":
- delta = dict(set(proposed.items()).difference(existing.items()))
- if delta.get("key_id") and delta.get("key_id") == "default":
- if not existing.get("key_id"):
- delta.pop("key_id")
- if delta:
- command = config_ntp(delta, existing)
- if command:
- commands.append(command)
-
- elif state == "absent":
- if existing.get("peer_type") and existing.get("address"):
- command = "no ntp {0} {1}".format(existing["peer_type"], existing["address"])
- if command:
- commands.append([command])
-
- existing_source_type = existing.get("source_type")
- existing_source = existing.get("source")
- proposed_source_type = proposed.get("source_type")
- proposed_source = proposed.get("source")
-
- if proposed_source_type:
- if proposed_source_type == existing_source_type:
- if proposed_source == existing_source:
- command = "no ntp {0} {1}".format(existing_source_type, existing_source)
- if command:
- commands.append([command])
-
- cmds = flatten_list(commands)
- if cmds:
- if module.check_mode:
- module.exit_json(changed=True, commands=cmds)
- else:
- changed = True
- load_config(module, cmds)
- end_state = get_ntp_existing(address, peer_type, module)[0]
- if "configure" in cmds:
- cmds.pop(0)
-
- results = {}
- results["proposed"] = proposed
- results["existing"] = existing
- results["updates"] = cmds
- results["changed"] = changed
- results["warnings"] = warnings
- results["end_state"] = end_state
- results["peer_server_list"] = peer_server_list
-
- module.exit_json(**results)
-
-
-if __name__ == "__main__":
- main()
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_auth.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_auth.py
deleted file mode 100644
index 3e5643812..000000000
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_auth.py
+++ /dev/null
@@ -1,336 +0,0 @@
-#!/usr/bin/python
-#
-# This file is part of Ansible
-#
-# Ansible is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Ansible is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
-#
-from __future__ import absolute_import, division, print_function
-
-
-__metaclass__ = type
-
-
-DOCUMENTATION = """
-module: nxos_ntp_auth
-extends_documentation_fragment:
-- cisco.nxos.nxos
-short_description: Manages NTP authentication.
-description:
-- Manages NTP authentication.
-version_added: 1.0.0
-deprecated:
- alternative: nxos_ntp_global
- why: Updated module released with more functionality.
- removed_at_date: '2024-01-01'
-author:
-- Jason Edelman (@jedelman8)
-notes:
-- Tested against NXOSv 7.3.(0)D1(1) on VIRL
-- Limited Support for Cisco MDS
-- If C(state=absent), the module will remove the given key configuration if it exists.
-- If C(state=absent) and C(authentication=on), authentication will be turned off.
-options:
- key_id:
- description:
- - Authentication key identifier (numeric).
- type: str
- md5string:
- description:
- - MD5 String.
- type: str
- auth_type:
- description:
- - Whether the given md5string is in cleartext or has been encrypted. If in cleartext,
- the device will encrypt it before storing it.
- default: text
- choices:
- - text
- - encrypt
- type: str
- trusted_key:
- description:
- - Whether the given key is required to be supplied by a time source for the device
- to synchronize to the time source.
- choices:
- - 'false'
- - 'true'
- default: 'false'
- type: str
- authentication:
- description:
- - Turns NTP authentication on or off.
- choices:
- - "on"
- - "off"
- type: str
- state:
- description:
- - Manage the state of the resource.
- default: present
- choices:
- - present
- - absent
- type: str
-"""
-
-EXAMPLES = """
-# Basic NTP authentication configuration
-- cisco.nxos.nxos_ntp_auth:
- key_id: 32
- md5string: hello
- auth_type: text
-"""
-
-RETURN = """
-commands:
- description: command sent to the device
- returned: always
- type: list
- sample: ["ntp authentication-key 32 md5 helloWorld 0", "ntp trusted-key 32"]
-"""
-
-
-import re
-
-from ansible.module_utils.basic import AnsibleModule
-
-from ansible_collections.cisco.nxos.plugins.module_utils.network.nxos.nxos import (
- load_config,
- run_commands,
-)
-
-
-def execute_show_command(command, module):
- if "show run" not in command:
- command = {"command": command, "output": "json"}
- else:
- command = {"command": command, "output": "text"}
-
- return run_commands(module, [command])
-
-
-def flatten_list(command_lists):
- flat_command_list = []
- for command in command_lists:
- if isinstance(command, list):
- flat_command_list.extend(command)
- else:
- flat_command_list.append(command)
- return flat_command_list
-
-
-def get_ntp_auth(module):
- command = "show ntp authentication-status"
-
- body = execute_show_command(command, module)[0]
- ntp_auth_str = body["authentication"]
-
- if "enabled" in ntp_auth_str:
- ntp_auth = True
- else:
- ntp_auth = False
-
- return ntp_auth
-
-
-def get_ntp_trusted_key(module):
- trusted_key_list = []
- command = "show run | inc ntp.trusted-key"
-
- trusted_key_str = execute_show_command(command, module)[0]
- if trusted_key_str:
- trusted_keys = trusted_key_str.splitlines()
-
- else:
- trusted_keys = []
-
- for line in trusted_keys:
- if line:
- trusted_key_list.append(str(line.split()[2]))
-
- return trusted_key_list
-
-
-def get_ntp_auth_key(key_id, module):
- authentication_key = {}
- command = "show run | inc ntp.authentication-key.{0}".format(key_id)
- auth_regex = (
- r".*ntp\sauthentication-key\s(?P<key_id>\d+)\smd5\s(?P<md5string>\S+)\s(?P<atype>\S+).*"
- )
-
- body = execute_show_command(command, module)[0]
-
- try:
- match_authentication = re.match(auth_regex, body, re.DOTALL)
- group_authentication = match_authentication.groupdict()
- authentication_key["key_id"] = group_authentication["key_id"]
- authentication_key["md5string"] = group_authentication["md5string"]
- if group_authentication["atype"] == "7":
- authentication_key["auth_type"] = "encrypt"
- else:
- authentication_key["auth_type"] = "text"
- except (AttributeError, TypeError):
- authentication_key = {}
-
- return authentication_key
-
-
-def get_ntp_auth_info(key_id, module):
- auth_info = get_ntp_auth_key(key_id, module)
- trusted_key_list = get_ntp_trusted_key(module)
- auth_power = get_ntp_auth(module)
-
- if key_id in trusted_key_list:
- auth_info["trusted_key"] = "true"
- else:
- auth_info["trusted_key"] = "false"
-
- if auth_power:
- auth_info["authentication"] = "on"
- else:
- auth_info["authentication"] = "off"
-
- return auth_info
-
-
-def auth_type_to_num(auth_type):
- if auth_type == "encrypt":
- return "7"
- else:
- return "0"
-
-
-def set_ntp_auth_key(key_id, md5string, auth_type, trusted_key, authentication):
- ntp_auth_cmds = []
- if key_id and md5string:
- auth_type_num = auth_type_to_num(auth_type)
- ntp_auth_cmds.append(
- "ntp authentication-key {0} md5 {1} {2}".format(key_id, md5string, auth_type_num),
- )
-
- if trusted_key == "true":
- ntp_auth_cmds.append("ntp trusted-key {0}".format(key_id))
- elif trusted_key == "false":
- ntp_auth_cmds.append("no ntp trusted-key {0}".format(key_id))
-
- if authentication == "on":
- ntp_auth_cmds.append("ntp authenticate")
- elif authentication == "off":
- ntp_auth_cmds.append("no ntp authenticate")
-
- return ntp_auth_cmds
-
-
-def remove_ntp_auth_key(key_id, md5string, auth_type, trusted_key, authentication):
- auth_remove_cmds = []
- if key_id:
- auth_type_num = auth_type_to_num(auth_type)
- auth_remove_cmds.append(
- "no ntp authentication-key {0} md5 {1} {2}".format(key_id, md5string, auth_type_num),
- )
-
- if authentication:
- auth_remove_cmds.append("no ntp authenticate")
- return auth_remove_cmds
-
-
-def main():
- argument_spec = dict(
- key_id=dict(type="str"),
- md5string=dict(type="str"),
- auth_type=dict(choices=["text", "encrypt"], default="text"),
- trusted_key=dict(choices=["true", "false"], default="false"),
- authentication=dict(choices=["on", "off"]),
- state=dict(choices=["absent", "present"], default="present"),
- )
-
- module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
-
- warnings = list()
-
- key_id = module.params["key_id"]
- md5string = module.params["md5string"]
- auth_type = module.params["auth_type"]
- trusted_key = module.params["trusted_key"]
- authentication = module.params["authentication"]
- state = module.params["state"]
-
- if key_id:
- if not trusted_key and not md5string:
- module.fail_json(msg="trusted_key or md5string MUST be specified")
-
- args = dict(
- key_id=key_id,
- md5string=md5string,
- auth_type=auth_type,
- trusted_key=trusted_key,
- authentication=authentication,
- )
-
- changed = False
- proposed = dict((k, v) for k, v in args.items() if v is not None)
-
- existing = get_ntp_auth_info(key_id, module)
- end_state = existing
-
- delta = dict(set(proposed.items()).difference(existing.items()))
-
- commands = []
- if state == "present":
- if delta:
- command = set_ntp_auth_key(
- key_id,
- md5string,
- delta.get("auth_type"),
- delta.get("trusted_key"),
- delta.get("authentication"),
- )
- if command:
- commands.append(command)
- elif state == "absent":
- auth_toggle = None
- if existing.get("authentication") == "on":
- auth_toggle = True
- if not existing.get("key_id"):
- key_id = None
- command = remove_ntp_auth_key(key_id, md5string, auth_type, trusted_key, auth_toggle)
- if command:
- commands.append(command)
-
- cmds = flatten_list(commands)
- if cmds:
- if module.check_mode:
- module.exit_json(changed=True, commands=cmds)
- else:
- load_config(module, cmds)
- end_state = get_ntp_auth_info(key_id, module)
- delta = dict(set(end_state.items()).difference(existing.items()))
- if delta or (len(existing) != len(end_state)):
- changed = True
- if "configure" in cmds:
- cmds.pop(0)
-
- results = {}
- results["proposed"] = proposed
- results["existing"] = existing
- results["updates"] = cmds
- results["changed"] = changed
- results["warnings"] = warnings
- results["end_state"] = end_state
-
- module.exit_json(**results)
-
-
-if __name__ == "__main__":
- main()
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_global.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_global.py
index e99fbef83..18cd851c9 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_global.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_global.py
@@ -241,7 +241,7 @@ EXAMPLES = """
- access_list: PeerAcl1
serve:
- access_list: ServeAcl1
- authenticate: True
+ authenticate: true
authentication_keys:
- id: 1001
key: vagwwtKfkv
@@ -249,7 +249,7 @@ EXAMPLES = """
- id: 1002
key: vagwwtKfkvgthz
encryption: 7
- logging: True
+ logging: true
master:
stratum: 2
peers:
@@ -260,7 +260,7 @@ EXAMPLES = """
vrf: default
- peer: 192.0.2.2
key_id: 2
- prefer: True
+ prefer: true
vrf: siteA
servers:
- server: 198.51.100.1
@@ -293,7 +293,7 @@ EXAMPLES = """
# - access_list: PeerAcl1
# serve:
# - access_list: ServeAcl1
-# authenticate: True
+# authenticate: true
# authentication_keys:
# - id: 1001
# key: vagwwtKfkv
@@ -301,7 +301,7 @@ EXAMPLES = """
# - id: 1002
# key: vagwwtKfkvgthz
# encryption: 7
-# logging: True
+# logging: true
# master:
# stratum: 2
# peers:
@@ -312,7 +312,7 @@ EXAMPLES = """
# vrf: default
# - peer: 192.0.2.2
# key_id: 2
-# prefer: True
+# prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
@@ -362,7 +362,7 @@ EXAMPLES = """
- access_list: PeerAcl2
serve:
- access_list: ServeAcl2
- logging: True
+ logging: true
master:
stratum: 2
peers:
@@ -373,7 +373,7 @@ EXAMPLES = """
vrf: default
- peer: 192.0.2.5
key_id: 2
- prefer: True
+ prefer: true
vrf: siteA
servers:
- server: 198.51.100.1
@@ -389,7 +389,7 @@ EXAMPLES = """
# - access_list: PeerAcl1
# serve:
# - access_list: ServeAcl1
-# authenticate: True
+# authenticate: true
# authentication_keys:
# - id: 1001
# key: vagwwtKfkv
@@ -397,7 +397,7 @@ EXAMPLES = """
# - id: 1002
# key: vagwwtKfkvgthz
# encryption: 7
-# logging: True
+# logging: true
# master:
# stratum: 2
# peers:
@@ -408,7 +408,7 @@ EXAMPLES = """
# vrf: default
# - peer: 192.0.2.2
# key_id: 2
-# prefer: True
+# prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
@@ -436,7 +436,7 @@ EXAMPLES = """
# - access_list: PeerAcl2
# serve:
# - access_list: ServeAcl2
-# logging: True
+# logging: true
# master:
# stratum: 2
# peers:
@@ -447,7 +447,7 @@ EXAMPLES = """
# vrf: default
# - peer: 192.0.2.5
# key_id: 2
-# prefer: True
+# prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
@@ -483,7 +483,7 @@ EXAMPLES = """
# - access_list: PeerAcl1
# serve:
# - access_list: ServeAcl1
-# authenticate: True
+# authenticate: true
# authentication_keys:
# - id: 1001
# key: vagwwtKfkv
@@ -491,7 +491,7 @@ EXAMPLES = """
# - id: 1002
# key: vagwwtKfkvgthz
# encryption: 7
-# logging: True
+# logging: true
# master:
# stratum: 2
# peers:
@@ -502,7 +502,7 @@ EXAMPLES = """
# vrf: default
# - peer: 192.0.2.2
# key_id: 2
-# prefer: True
+# prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
@@ -542,7 +542,7 @@ EXAMPLES = """
- access_list: PeerAcl1
serve:
- access_list: ServeAcl1
- authenticate: True
+ authenticate: true
authentication_keys:
- id: 1001
key: vagwwtKfkv
@@ -550,7 +550,7 @@ EXAMPLES = """
- id: 1002
key: vagwwtKfkvgthz
encryption: 7
- logging: True
+ logging: true
master:
stratum: 2
peers:
@@ -561,7 +561,7 @@ EXAMPLES = """
vrf: default
- peer: 192.0.2.2
key_id: 2
- prefer: True
+ prefer: true
vrf: siteA
servers:
- server: 198.51.100.1
@@ -616,7 +616,7 @@ EXAMPLES = """
# - access_list: PeerAcl1
# serve:
# - access_list: ServeAcl1
-# authenticate: True
+# authenticate: true
# authentication_keys:
# - id: 1001
# key: vagwwtKfkv
@@ -624,7 +624,7 @@ EXAMPLES = """
# - id: 1002
# key: vagwwtKfkvgthz
# encryption: 7
-# logging: True
+# logging: true
# master:
# stratum: 2
# peers:
@@ -635,7 +635,7 @@ EXAMPLES = """
# vrf: default
# - peer: 192.0.2.2
# key_id: 2
-# prefer: True
+# prefer: true
# vrf: siteA
# servers:
# - server: 198.51.100.1
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_options.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_options.py
deleted file mode 100644
index 28fd1aac6..000000000
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_ntp_options.py
+++ /dev/null
@@ -1,173 +0,0 @@
-#!/usr/bin/python
-#
-# This file is part of Ansible
-#
-# Ansible is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Ansible is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
-#
-from __future__ import absolute_import, division, print_function
-
-
-__metaclass__ = type
-
-
-DOCUMENTATION = """
-module: nxos_ntp_options
-extends_documentation_fragment:
-- cisco.nxos.nxos
-short_description: Manages NTP options.
-description:
-- Manages NTP options, e.g. authoritative server and logging.
-version_added: 1.0.0
-deprecated:
- alternative: nxos_ntp_global
- why: Updated module released with more functionality.
- removed_at_date: '2024-01-01'
-author:
-- Jason Edelman (@jedelman8)
-notes:
-- Tested against NXOSv 7.3.(0)D1(1) on VIRL
-- Limited Support for Cisco MDS
-- When C(state=absent), master and logging will be set to False and stratum will be
- removed as well
-options:
- master:
- description:
- - Sets whether the device is an authoritative NTP server.
- type: bool
- stratum:
- description:
- - If C(master=true), an optional stratum can be supplied (1-15). The device default
- is 8.
- type: str
- logging:
- description:
- - Sets whether NTP logging is enabled on the device.
- type: bool
- state:
- description:
- - Manage the state of the resource.
- default: present
- choices:
- - present
- - absent
- type: str
-"""
-EXAMPLES = """
-# Basic NTP options configuration
-- cisco.nxos.nxos_ntp_options:
- master: true
- stratum: 12
- logging: false
- host: '{{ inventory_hostname }}'
- username: '{{ un }}'
- password: '{{ pwd }}'
-"""
-
-RETURN = """
-updates:
- description: command sent to the device
- returned: always
- type: list
- sample: ["no ntp logging", "ntp master 12"]
-"""
-import re
-
-from ansible.module_utils.basic import AnsibleModule
-
-from ansible_collections.cisco.nxos.plugins.module_utils.network.nxos.nxos import (
- load_config,
- run_commands,
-)
-
-
-def get_current(module):
- cmd = "show running-config | inc ntp"
-
- master = False
- logging = False
- stratum = None
-
- output = run_commands(module, ({"command": cmd, "output": "text"}))[0]
-
- if output:
- match = re.search(r"^ntp master(?: (\d+))", output, re.M)
- if match:
- master = True
- stratum = match.group(1)
- logging = "ntp logging" in output.lower()
-
- return {"master": master, "stratum": stratum, "logging": logging}
-
-
-def main():
- argument_spec = dict(
- master=dict(required=False, type="bool"),
- stratum=dict(required=False, type="str"),
- logging=dict(required=False, type="bool"),
- state=dict(choices=["absent", "present"], default="present"),
- )
-
- module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
-
- warnings = list()
-
- master = module.params["master"]
- stratum = module.params["stratum"]
- logging = module.params["logging"]
- state = module.params["state"]
-
- if stratum and master is False:
- if stratum != 8:
- module.fail_json(msg="master MUST be True when stratum is changed")
-
- current = get_current(module)
-
- result = {"changed": False}
-
- commands = list()
-
- if state == "absent":
- if current["master"]:
- commands.append("no ntp master")
- if current["logging"]:
- commands.append("no ntp logging")
-
- elif state == "present":
- if master and not current["master"]:
- commands.append("ntp master")
- elif master is False and current["master"]:
- commands.append("no ntp master")
- if stratum and stratum != current["stratum"]:
- commands.append("ntp master %s" % stratum)
-
- if logging and not current["logging"]:
- commands.append("ntp logging")
- elif logging is False and current["logging"]:
- commands.append("no ntp logging")
-
- result["commands"] = commands
- result["updates"] = commands
-
- if commands:
- if not module.check_mode:
- load_config(module, commands)
- result["changed"] = True
-
- result["warnings"] = warnings
-
- module.exit_json(**result)
-
-
-if __name__ == "__main__":
- main()
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_ospf_interfaces.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_ospf_interfaces.py
index 81c4ad45b..7ed26117a 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_ospf_interfaces.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_ospf_interfaces.py
@@ -41,7 +41,7 @@ options:
description:
- Name/Identifier of the interface.
type: str
- required: True
+ required: true
address_family:
description:
- OSPF settings on the interfaces in address-family context.
@@ -53,7 +53,7 @@ options:
- Address Family Identifier (AFI) for OSPF settings on the interfaces.
type: str
choices: ['ipv4', 'ipv6']
- required: True
+ required: true
processes:
description:
- Interfaces configuration for an OSPF process.
@@ -64,7 +64,7 @@ options:
description:
- OSPF process tag.
type: str
- required: True
+ required: true
area:
description:
- Area associated with interface.
@@ -74,7 +74,7 @@ options:
description:
- Area ID in IP address format.
type: str
- required: True
+ required: true
secondaries:
description:
- Do not include secondary IPv4/IPv6 addresses.
@@ -129,7 +129,7 @@ options:
- Valid values are Cisco type 7 ENCRYPTED password, 3DES ENCRYPTED password
and UNENCRYPTED (cleartext) password based on the value of encryption key.
type: str
- required: True
+ required: true
message_digest_key:
description:
- Message digest authentication password (key) settings.
@@ -139,7 +139,7 @@ options:
description:
- Key ID.
type: int
- required: True
+ required: true
encryption:
description:
- 0 Specifies an UNENCRYPTED ospf password (key) will follow.
@@ -152,7 +152,7 @@ options:
- Valid values are Cisco type 7 ENCRYPTED password, 3DES ENCRYPTED password
and UNENCRYPTED (cleartext) password based on the value of encryption key.
type: str
- required: True
+ required: true
cost:
description:
- Cost associated with interface.
@@ -236,46 +236,46 @@ EXAMPLES = """
config:
- name: Ethernet1/1
address_family:
- - afi: ipv4
- processes:
- - process_id: "100"
- area:
- area_id: 1.1.1.1
- secondaries: False
- multi_areas:
- - 11.11.11.11
- - afi: ipv6
- processes:
- - process_id: "200"
- area:
- area_id: 2.2.2.2
+ - afi: ipv4
+ processes:
+ - process_id: '100'
+ area:
+ area_id: 1.1.1.1
+ secondaries: false
multi_areas:
- - 21.0.0.0
- - process_id: "300"
+ - 11.11.11.11
+ - afi: ipv6
+ processes:
+ - process_id: '200'
+ area:
+ area_id: 2.2.2.2
+ multi_areas:
+ - 21.0.0.0
+ - process_id: '300'
+ multi_areas:
+ - 50.50.50.50
multi_areas:
- - 50.50.50.50
- multi_areas:
- - 16.10.10.10
+ - 16.10.10.10
- name: Ethernet1/2
address_family:
- - afi: ipv4
- authentication:
- enable: True
- key_chain: test-1
- message_digest_key:
- key_id: 10
- encryption: 3
- key: abc01d272be25d29
- cost: 100
- - afi: ipv6
- network: broadcast
- shutdown: True
+ - afi: ipv4
+ authentication:
+ enable: true
+ key_chain: test-1
+ message_digest_key:
+ key_id: 10
+ encryption: 3
+ key: abc01d272be25d29
+ cost: 100
+ - afi: ipv6
+ network: broadcast
+ shutdown: true
- name: Ethernet1/3
address_family:
- - afi: ipv4
- authentication_key:
- encryption: 7
- key: 12090404011C03162E
+ - afi: ipv4
+ authentication_key:
+ encryption: 7
+ key: 12090404011C03162E
state: merged
# Task output:
@@ -399,17 +399,17 @@ EXAMPLES = """
- name: Replace OSPF configurations of listed interfaces with provided configurations
cisco.nxos.nxos_ospf_interfaces:
config:
- - name: Ethernet1/1
- address_family:
- - afi: ipv4
- processes:
- - process_id: "100"
- area:
- area_id: 1.1.1.1
- secondaries: False
- multi_areas:
- - 11.11.11.12
- - name: Ethernet1/3
+ - name: Ethernet1/1
+ address_family:
+ - afi: ipv4
+ processes:
+ - process_id: "100"
+ area:
+ area_id: 1.1.1.1
+ secondaries: false
+ multi_areas:
+ - 11.11.11.12
+ - name: Ethernet1/3
state: replaced
# Task output:
@@ -543,16 +543,16 @@ EXAMPLES = """
- name: Override all OSPF interfaces configuration with provided configuration
cisco.nxos.nxos_ospf_interfaces:
config:
- - name: Ethernet1/1
- address_family:
- - afi: ipv4
- processes:
- - process_id: "100"
- area:
- area_id: 1.1.1.1
- secondaries: False
- multi_areas:
- - 11.11.11.12
+ - name: Ethernet1/1
+ address_family:
+ - afi: ipv4
+ processes:
+ - process_id: "100"
+ area:
+ area_id: 1.1.1.1
+ secondaries: false
+ multi_areas:
+ - 11.11.11.12
state: overridden
# Task output:
@@ -861,53 +861,56 @@ EXAMPLES = """
# Using rendered
-- name: Render platform specific configuration lines with state rendered (without connecting to the device)
+- name: >-
+ Render platform specific configuration lines with state rendered (without
+ connecting to the device)
cisco.nxos.nxos_ospf_interfaces:
config:
- name: Ethernet1/1
address_family:
- - afi: ipv4
- processes:
- - process_id: "100"
- area:
- area_id: 1.1.1.1
- secondaries: False
- multi_areas:
- - 11.11.11.11
- - afi: ipv6
- processes:
- - process_id: "200"
- area:
- area_id: 2.2.2.2
+ - afi: ipv4
+ processes:
+ - process_id: '100'
+ area:
+ area_id: 1.1.1.1
+ secondaries: false
multi_areas:
- - 21.0.0.0
- - process_id: "300"
+ - 11.11.11.11
+ - afi: ipv6
+ processes:
+ - process_id: '200'
+ area:
+ area_id: 2.2.2.2
+ multi_areas:
+ - 21.0.0.0
+ - process_id: '300'
+ multi_areas:
+ - 50.50.50.50
multi_areas:
- - 50.50.50.50
- multi_areas:
- - 16.10.10.10
+ - 16.10.10.10
- name: Ethernet1/2
address_family:
- - afi: ipv4
- authentication:
- enable: True
- key_chain: test-1
- message_digest_key:
- key_id: 10
- encryption: 3
- key: abc01d272be25d29
- cost: 100
- - afi: ipv6
- network: broadcast
- shutdown: True
+ - afi: ipv4
+ authentication:
+ enable: true
+ key_chain: test-1
+ message_digest_key:
+ key_id: 10
+ encryption: 3
+ key: abc01d272be25d29
+ cost: 100
+ - afi: ipv6
+ network: broadcast
+ shutdown: true
- name: Ethernet1/3
address_family:
- - afi: ipv4
- authentication_key:
- encryption: 7
- key: 12090404011C03162E
+ - afi: ipv4
+ authentication_key:
+ encryption: 7
+ key: 12090404011C03162E
state: rendered
+
# Task Output:
# ------------
# rendered:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv2.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv2.py
index be23724d2..1d127b707 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv2.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv2.py
@@ -1018,56 +1018,56 @@ EXAMPLES = """
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 100
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_1
- direction: in
- - route_map: rmap_2
- direction: out
- ranges:
- - prefix: 198.51.100.64/27
- not_advertise: true
- - prefix: 198.51.100.96/27
- cost: 120
- - area_id: 0.0.0.101
- authentication:
- message_digest: true
- redistribute:
- - protocol: eigrp
- id: 120
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- redistribute:
- - protocol: static
- route_map: zone1-static-connect
- summary_address:
- - prefix: 198.51.100.128/27
- tag: 121
- - prefix: 198.51.100.160/27
+ - process_id: 100
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
- - area_id: 0.0.0.103
- nssa:
- no_summary: true
- translate:
- type7:
- always: true
- - vrf: zone2
- auto_cost:
- reference_bandwidth: 45
- unit: Gbps
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_1
+ direction: in
+ - route_map: rmap_2
+ direction: out
+ ranges:
+ - prefix: 198.51.100.64/27
+ not_advertise: true
+ - prefix: 198.51.100.96/27
+ cost: 120
+ - area_id: 0.0.0.101
+ authentication:
+ message_digest: true
+ redistribute:
+ - protocol: eigrp
+ id: 120
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ redistribute:
+ - protocol: static
+ route_map: zone1-static-connect
+ summary_address:
+ - prefix: 198.51.100.128/27
+ tag: 121
+ - prefix: 198.51.100.160/27
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
+ - area_id: 0.0.0.103
+ nssa:
+ no_summary: true
+ translate:
+ type7:
+ always: true
+ - vrf: zone2
+ auto_cost:
+ reference_bandwidth: 45
+ unit: Gbps
state: merged
# Task output:
@@ -1199,43 +1199,46 @@ EXAMPLES = """
# vrf zone2
# auto-cost reference-bandwidth 45 Gbps
-- name: Replace device configurations of listed OSPF processes with provided configurations
+- name: >-
+ Replace device configurations of listed OSPF processes with provided
+ configurations
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 102
- router_id: 198.51.100.1
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_8
- direction: in
- ranges:
- - prefix: 198.51.100.64/27
- not_advertise: true
- - area_id: 0.0.0.101
- stub:
- no_summary: true
- redistribute:
- - protocol: eigrp
- id: 130
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- redistribute:
- - protocol: bgp
- id: 65563
- route_map: zone1-bgp-connect
+ - process_id: 102
+ router_id: 198.51.100.1
areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_8
+ direction: in
+ ranges:
+ - prefix: 198.51.100.64/27
+ not_advertise: true
+ - area_id: 0.0.0.101
+ stub:
+ no_summary: true
+ redistribute:
+ - protocol: eigrp
+ id: 130
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ redistribute:
+ - protocol: bgp
+ id: 65563
+ route_map: zone1-bgp-connect
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
state: replaced
+
# Task output:
# ------------
# before:
@@ -1389,11 +1392,11 @@ EXAMPLES = """
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 104
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- shutdown: true
+ - process_id: 104
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
+ shutdown: true
state: overridden
# Task output:
@@ -1511,7 +1514,7 @@ EXAMPLES = """
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 102
+ - process_id: 102
state: deleted
# Task output:
@@ -1674,62 +1677,65 @@ EXAMPLES = """
# Using rendered
-- name: Render platform specific configuration lines (without connecting to the device)
+- name: >-
+ Render platform specific configuration lines (without connecting to the
+ device)
cisco.nxos.nxos_ospfv2:
config:
processes:
- - process_id: 100
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_1
- direction: in
- - route_map: rmap_2
- direction: out
- ranges:
- - prefix: 198.51.100.64/27
- not_advertise: true
- - prefix: 198.51.100.96/27
- cost: 120
- - area_id: 0.0.0.101
- authentication:
- message_digest: true
- redistribute:
- - protocol: eigrp
- id: 120
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- redistribute:
- - protocol: static
- route_map: zone1-static-connect
- summary_address:
- - prefix: 198.51.100.128/27
- tag: 121
- - prefix: 198.51.100.160/27
+ - process_id: 100
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
- - area_id: 0.0.0.103
- nssa:
- no_summary: true
- translate:
- type7:
- always: true
- - vrf: zone2
- auto_cost:
- reference_bandwidth: 45
- unit: Gbps
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_1
+ direction: in
+ - route_map: rmap_2
+ direction: out
+ ranges:
+ - prefix: 198.51.100.64/27
+ not_advertise: true
+ - prefix: 198.51.100.96/27
+ cost: 120
+ - area_id: 0.0.0.101
+ authentication:
+ message_digest: true
+ redistribute:
+ - protocol: eigrp
+ id: 120
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ redistribute:
+ - protocol: static
+ route_map: zone1-static-connect
+ summary_address:
+ - prefix: 198.51.100.128/27
+ tag: 121
+ - prefix: 198.51.100.160/27
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
+ - area_id: 0.0.0.103
+ nssa:
+ no_summary: true
+ translate:
+ type7:
+ always: true
+ - vrf: zone2
+ auto_cost:
+ reference_bandwidth: 45
+ unit: Gbps
state: rendered
+
# Task output:
# ------------
# rendered:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv3.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv3.py
index 357afda11..226de291b 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv3.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_ospfv3.py
@@ -87,7 +87,7 @@ options:
description:
- The Area ID in IP Address format.
type: str
- required: True
+ required: true
default_cost:
description:
- Specify the default cost.
@@ -102,13 +102,13 @@ options:
description:
- The Route-map name.
type: str
- required: True
+ required: true
direction:
description:
- The direction to apply the route map.
type: str
choices: [in, out]
- required: True
+ required: true
ranges:
description:
- Configure an address range for the area.
@@ -119,7 +119,7 @@ options:
description:
- IP in Prefix format (x.x.x.x/len)
type: str
- required: True
+ required: true
cost:
description:
- Cost to use for the range.
@@ -169,7 +169,7 @@ options:
- The name of the protocol.
type: str
choices: [bgp, direct, eigrp, isis, lisp, ospfv3, rip, static]
- required: True
+ required: true
id:
description:
- The identifier for the protocol specified.
@@ -178,7 +178,7 @@ options:
description:
- The route map policy to constrain redistribution.
type: str
- required: True
+ required: true
summary_address:
description:
- Configure route summarization for redistribution.
@@ -189,7 +189,7 @@ options:
description:
- IPv6 prefix format 'xxxx:xxxx/ml', 'xxxx:xxxx::/ml' or 'xxxx::xx/128'
type: str
- required: True
+ required: true
not_advertise:
description:
- Suppress advertising the specified summary.
@@ -208,7 +208,7 @@ options:
description:
- The Route Map name.
type: str
- required: True
+ required: true
filter:
description:
- Block the OSPF routes from being sent to RIB.
@@ -250,7 +250,7 @@ options:
description:
- The Area ID in IP Address format.
type: str
- required: True
+ required: true
nssa:
description:
- NSSA settings for the area.
@@ -320,12 +320,12 @@ options:
description:
- Reference bandwidth used to assign OSPF cost.
type: int
- required: True
+ required: true
unit:
description:
- Specify in which unit the reference bandwidth is specified.
type: str
- required: True
+ required: true
choices: [Gbps, Mbps]
flush_routes:
description:
@@ -378,7 +378,7 @@ options:
description:
- Set the maximum number of non self-generated LSAs.
type: int
- required: True
+ required: true
threshold:
description:
- Threshold value (%) at which to generate a warning message.
@@ -477,7 +477,7 @@ options:
description:
- The OSPF process tag.
type: str
- required: True
+ required: true
router_id:
description:
- Set OSPF process router-id.
@@ -537,7 +537,7 @@ options:
description:
- The Area ID in IP Address format.
type: str
- required: True
+ required: true
nssa:
description:
- NSSA settings for the area.
@@ -607,12 +607,12 @@ options:
description:
- Reference bandwidth used to assign OSPF cost.
type: int
- required: True
+ required: true
unit:
description:
- Specify in which unit the reference bandwidth is specified.
type: str
- required: True
+ required: true
choices: [Gbps, Mbps]
graceful_restart:
description:
@@ -657,7 +657,7 @@ options:
description:
- Set the maximum number of non self-generated LSAs.
type: int
- required: True
+ required: true
threshold:
description:
- Threshold value (%) at which to generate a warning message.
@@ -799,7 +799,7 @@ options:
description:
- Name/Identifier of the VRF.
type: str
- required: True
+ required: true
state:
description:
- The state the configuration should be left in.
@@ -826,49 +826,49 @@ EXAMPLES = """
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 100
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- address_family:
- afi: ipv6
- safi: unicast
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_1
- direction: in
- - route_map: rmap_2
- direction: out
- ranges:
- - prefix: 2001:db2::/32
- not_advertise: true
- - prefix: 2001:db3::/32
- cost: 120
- redistribute:
- - protocol: eigrp
- id: 120
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
- - area_id: 0.0.0.103
- nssa:
- no_summary: true
- translate:
- type7:
- always: true
- - vrf: zone2
- auto_cost:
- reference_bandwidth: 45
- unit: Gbps
+ - process_id: 100
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
+ address_family:
+ afi: ipv6
+ safi: unicast
+ areas:
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_1
+ direction: in
+ - route_map: rmap_2
+ direction: out
+ ranges:
+ - prefix: '2001:db2::/32'
+ not_advertise: true
+ - prefix: '2001:db3::/32'
+ cost: 120
+ redistribute:
+ - protocol: eigrp
+ id: 120
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
+ - area_id: 0.0.0.103
+ nssa:
+ no_summary: true
+ translate:
+ type7:
+ always: true
+ - vrf: zone2
+ auto_cost:
+ reference_bandwidth: 45
+ unit: Gbps
state: merged
# Task output:
@@ -992,33 +992,33 @@ EXAMPLES = """
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 102
- router_id: 198.51.100.1
- address_family:
- afi: ipv6
- safi: unicast
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_8
- direction: in
- ranges:
- - not_advertise: true
- prefix: 2001:db2::/32
- redistribute:
- - protocol: eigrp
- id: 130
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: True
- no_summary: True
+ - process_id: 102
+ router_id: 198.51.100.1
+ address_family:
+ afi: ipv6
+ safi: unicast
+ areas:
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_8
+ direction: in
+ ranges:
+ - not_advertise: true
+ prefix: 2001:db2::/32
+ redistribute:
+ - protocol: eigrp
+ id: 130
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
state: replaced
# Task output:
@@ -1158,11 +1158,11 @@ EXAMPLES = """
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 104
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- shutdown: true
+ - process_id: 104
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
+ shutdown: true
state: overridden
# Task output:
@@ -1278,7 +1278,7 @@ EXAMPLES = """
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 102
+ - process_id: 102
state: deleted
# Task output:
@@ -1330,7 +1330,7 @@ EXAMPLES = """
# vrf: zone2
#
# commands:
-# - no router ospfv3 102
+# - no router ospfv3 102
#
# after:
# processes:
@@ -1436,49 +1436,49 @@ EXAMPLES = """
cisco.nxos.nxos_ospfv3:
config:
processes:
- - process_id: 100
- router_id: 203.0.113.20
- - process_id: 102
- router_id: 198.51.100.1
- address_family:
- afi: ipv6
- safi: unicast
- areas:
- - area_id: 0.0.0.100
- filter_list:
- - route_map: rmap_1
- direction: in
- - route_map: rmap_2
- direction: out
- ranges:
- - prefix: 2001:db2::/32
- not_advertise: true
- - prefix: 2001:db3::/32
- cost: 120
- redistribute:
- - protocol: eigrp
- id: 120
- route_map: rmap_1
- - protocol: direct
- route_map: ospf102-direct-connect
- vrfs:
- - vrf: zone1
- router_id: 198.51.100.129
- areas:
- - area_id: 0.0.0.102
- nssa:
- default_information_originate: true
- no_summary: true
- - area_id: 0.0.0.103
- nssa:
- no_summary: true
- translate:
- type7:
- always: true
- - vrf: zone2
- auto_cost:
- reference_bandwidth: 45
- unit: Gbps
+ - process_id: 100
+ router_id: 203.0.113.20
+ - process_id: 102
+ router_id: 198.51.100.1
+ address_family:
+ afi: ipv6
+ safi: unicast
+ areas:
+ - area_id: 0.0.0.100
+ filter_list:
+ - route_map: rmap_1
+ direction: in
+ - route_map: rmap_2
+ direction: out
+ ranges:
+ - prefix: 2001:db2::/32
+ not_advertise: true
+ - prefix: 2001:db3::/32
+ cost: 120
+ redistribute:
+ - protocol: eigrp
+ id: 120
+ route_map: rmap_1
+ - protocol: direct
+ route_map: ospf102-direct-connect
+ vrfs:
+ - vrf: zone1
+ router_id: 198.51.100.129
+ areas:
+ - area_id: 0.0.0.102
+ nssa:
+ default_information_originate: true
+ no_summary: true
+ - area_id: 0.0.0.103
+ nssa:
+ no_summary: true
+ translate:
+ type7:
+ always: true
+ - vrf: zone2
+ auto_cost:
+ reference_bandwidth: 45
+ unit: Gbps
state: rendered
# Task output:
@@ -1571,7 +1571,7 @@ EXAMPLES = """
# router_id: 192.0.100.2
# - process_id: "102"
# router_id: 198.54.100.1
-# shutdown: True
+# shutdown: true
# Using gathered
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_route_maps.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_route_maps.py
index bcf7076f0..bf57dcb7a 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_route_maps.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_route_maps.py
@@ -573,44 +573,44 @@ EXAMPLES = """
- route_map: rmap3
entries:
- - sequence: 10
- description: "*** first stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- verify_availability:
- - address: 3.3.3.3
- track: 1
- - address: 4.4.4.4
- track: 3
+ - sequence: 10
+ description: "*** first stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ verify_availability:
+ - address: 3.3.3.3
+ track: 1
+ - address: 4.4.4.4
+ track: 3
- - sequence: 20
- description: "*** second stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- address: 6.6.6.6 2.2.2.2
- load_share: true
- drop_on_fail: true
+ - sequence: 20
+ description: "*** second stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ address: 6.6.6.6 2.2.2.2
+ load_share: true
+ drop_on_fail: true
- - sequence: 30
- description: "*** third stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- peer_address: true
+ - sequence: 30
+ description: "*** third stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ peer_address: true
- - sequence: 40
- description: "*** fourth stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- unchanged: true
- redist_unchanged: true
+ - sequence: 40
+ description: "*** fourth stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ unchanged: true
+ redist_unchanged: true
state: merged
# Task output
@@ -875,35 +875,35 @@ EXAMPLES = """
- AllowPrefix1
set:
community:
- local_as: True
+ local_as: true
- route_map: rmap3
entries:
- - sequence: 10
- description: "*** first stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- verify_availability:
- - address: 3.3.3.3
- track: 1
- - sequence: 20
- description: "*** second stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- peer_address: true
- - sequence: 30
- description: "*** third stanza ***"
- action: permit
- set:
- ip:
- next_hop:
- address: 6.6.6.6 2.2.2.2
- load_share: true
- drop_on_fail: true
+ - sequence: 10
+ description: "*** first stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ verify_availability:
+ - address: 3.3.3.3
+ track: 1
+ - sequence: 20
+ description: "*** second stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ peer_address: true
+ - sequence: 30
+ description: "*** third stanza ***"
+ action: permit
+ set:
+ ip:
+ next_hop:
+ address: 6.6.6.6 2.2.2.2
+ load_share: true
+ drop_on_fail: true
state: replaced
# Task output
@@ -1062,7 +1062,7 @@ EXAMPLES = """
# - AllowPrefix1
# set:
# community:
-# local_as: True
+# local_as: true
#
# - route_map: rmap2
# entries:
@@ -1210,7 +1210,7 @@ EXAMPLES = """
- AllowPrefix1
set:
community:
- local_as: True
+ local_as: true
state: overridden
# Task output
@@ -1321,7 +1321,7 @@ EXAMPLES = """
# - AllowPrefix1
# set:
# community:
-# local_as: True
+# local_as: true
#
# After state:
# ------------
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_snmp_server.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_snmp_server.py
index 7354dc1ee..d31dbc72c 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_snmp_server.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_snmp_server.py
@@ -727,18 +727,18 @@ EXAMPLES = """
location: serverroom-1
traps:
aaa:
- server_state_change: True
+ server_state_change: true
system:
- clock_change_notification: True
+ clock_change_notification: true
hosts:
- host: 192.0.2.1
- traps: True
+ traps: true
version: '1'
community: public
- host: 192.0.2.1
source_interface: Ethernet1/1
- host: 192.0.2.2
- informs: True
+ informs: true
version: '3'
auth: NMS
users:
@@ -748,16 +748,16 @@ EXAMPLES = """
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
- user: snmp_user_2
group: network-operator
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
priv:
privacy_password: '0x5632724fb8ac3699296af26281e1d0f1'
- aes_128: True
+ aes_128: true
use_acls:
- user: snmp_user_1
ipv4: acl1
@@ -776,7 +776,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
-# localized_key: True
+# localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -808,9 +808,9 @@ EXAMPLES = """
# location: serverroom-1
# traps:
# aaa:
-# server_state_change: True
+# server_state_change: true
# system:
-# clock_change_notification: True
+# clock_change_notification: true
# hosts:
# - host: 192.0.2.1
# traps: true
@@ -831,7 +831,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
-# localized_key: True
+# localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -840,7 +840,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0x5632724fb8ac3699296af26281e1d0f1"
-# localized_key: True
+# localized_key: true
#
# - authentication:
# algorithm: md5
@@ -914,16 +914,16 @@ EXAMPLES = """
location: serverroom-2
traps:
aaa:
- server_state_change: True
+ server_state_change: true
hosts:
- host: 192.0.2.1
- traps: True
+ traps: true
version: '1'
community: public
- host: 192.0.2.1
source_interface: Ethernet1/1
- host: 192.0.3.2
- informs: True
+ informs: true
version: '3'
auth: NMS
users:
@@ -933,7 +933,7 @@ EXAMPLES = """
authentication:
algorithm: md5
password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
- localized_key: True
+ localized_key: true
priv:
privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
@@ -942,17 +942,17 @@ EXAMPLES = """
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
- user: snmp_user_2
group: network-operator
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
priv:
privacy_password: '0x5632724fb8ac3699296af26281e1d0f1'
- aes_128: True
+ aes_128: true
use_acls:
- user: snmp_user_1
ipv4: acl1
@@ -973,9 +973,9 @@ EXAMPLES = """
# location: serverroom-1
# traps:
# aaa:
-# server_state_change: True
+# server_state_change: true
# system:
-# clock_change_notification: True
+# clock_change_notification: true
# hosts:
# - host: 192.0.2.1
# traps: true
@@ -996,7 +996,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
-# localized_key: True
+# localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -1005,7 +1005,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0x5632724fb8ac3699296af26281e1d0f1"
-# localized_key: True
+# localized_key: true
#
# - authentication:
# algorithm: md5
@@ -1047,16 +1047,16 @@ EXAMPLES = """
# location: serverroom-2
# traps:
# aaa:
-# server_state_change: True
+# server_state_change: true
# hosts:
# - host: 192.0.2.1
-# traps: True
+# traps: true
# version: '1'
# community: public
# - host: 192.0.2.1
# source_interface: Ethernet1/1
# - host: 192.0.3.2
-# informs: True
+# informs: true
# version: '3'
# auth: NMS
# users:
@@ -1066,7 +1066,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
-# localized_key: True
+# localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -1075,17 +1075,17 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: '0x5632724fb8ac3699296af26281e1d0f1'
-# localized_key: True
+# localized_key: true
#
# - user: snmp_user_2
# group: network-operator
# authentication:
# algorithm: md5
# password: '0x5632724fb8ac3699296af26281e1d0f1'
-# localized_key: True
+# localized_key: true
# priv:
# privacy_password: '0x5632724fb8ac3699296af26281e1d0f1'
-# aes_128: True
+# aes_128: true
#
# use_acls:
# - user: snmp_user_1
@@ -1151,9 +1151,9 @@ EXAMPLES = """
# location: serverroom-1
# traps:
# aaa:
-# server_state_change: True
+# server_state_change: true
# system:
-# clock_change_notification: True
+# clock_change_notification: true
# hosts:
# - host: 192.0.2.1
# traps: true
@@ -1174,7 +1174,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
-# localized_key: True
+# localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
#
@@ -1183,7 +1183,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0x5632724fb8ac3699296af26281e1d0f1"
-# localized_key: True
+# localized_key: true
#
# - authentication:
# algorithm: md5
@@ -1228,7 +1228,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
-# localized_key: True
+# localized_key: true
# priv:
# privacy_password: "0xcbde46b02c46e0bcd3ac5af6a8b13da9"
@@ -1254,18 +1254,18 @@ EXAMPLES = """
location: serverroom-1
traps:
aaa:
- server_state_change: True
+ server_state_change: true
system:
- clock_change_notification: True
+ clock_change_notification: true
hosts:
- host: 192.0.2.1
- traps: True
+ traps: true
version: '1'
community: public
- host: 192.0.2.1
source_interface: Ethernet1/1
- host: 192.0.2.2
- informs: True
+ informs: true
version: '3'
auth: NMS
users:
@@ -1275,16 +1275,16 @@ EXAMPLES = """
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
- user: snmp_user_2
group: network-operator
authentication:
algorithm: md5
password: '0x5632724fb8ac3699296af26281e1d0f1'
- localized_key: True
+ localized_key: true
priv:
privacy_password: '0x5632724fb8ac3699296af26281e1d0f1'
- aes_128: True
+ aes_128: true
use_acls:
- user: snmp_user_1
ipv4: acl1
@@ -1351,9 +1351,9 @@ EXAMPLES = """
# location: serverroom-1
# traps:
# aaa:
-# server_state_change: True
+# server_state_change: true
# system:
-# clock_change_notification: True
+# clock_change_notification: true
# hosts:
# - host: 192.0.2.1
# traps: true
@@ -1374,7 +1374,7 @@ EXAMPLES = """
# authentication:
# algorithm: md5
# password: "0x5632724fb8ac3699296af26281e1d0f1"
-# localized_key: True
+# localized_key: true
#
# - authentication:
# algorithm: md5
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_static_routes.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_static_routes.py
index a7fdf6713..679f5cdb4 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_static_routes.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_static_routes.py
@@ -184,7 +184,7 @@ EXAMPLES = """
- name: Delete routes based on VRF
cisco.nxos.nxos_static_routes:
config:
- - vrf: trial_vrf
+ - vrf: trial_vrf
state: deleted
# Task Output
@@ -264,9 +264,9 @@ EXAMPLES = """
- name: Delete routes based on AFI in a VRF
cisco.nxos.nxos_static_routes:
config:
- - vrf: trial_vrf
- address_families:
- - afi: ipv4
+ - vrf: trial_vrf
+ address_families:
+ - afi: ipv4
state: deleted
# Task Output
@@ -348,28 +348,28 @@ EXAMPLES = """
- name: Merge new static route configuration
cisco.nxos.nxos_static_routes:
config:
- - vrf: trial_vrf
- address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.64/24
- next_hops:
- - forward_router_address: 192.0.2.22
- tag: 4
- admin_distance: 2
- - address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.16/24
- next_hops:
- - forward_router_address: 192.0.2.24
- route_name: new_route
- - afi: ipv6
- routes:
- - dest: 2001:db8::/64
- next_hops:
- - interface: eth1/3
- forward_router_address: 2001:db8::12
+ - vrf: trial_vrf
+ address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.64/24
+ next_hops:
+ - forward_router_address: 192.0.2.22
+ tag: 4
+ admin_distance: 2
+ - address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.16/24
+ next_hops:
+ - forward_router_address: 192.0.2.24
+ route_name: new_route
+ - afi: ipv6
+ routes:
+ - dest: '2001:db8::/64'
+ next_hops:
+ - interface: eth1/3
+ forward_router_address: '2001:db8::12'
state: merged
# Task Output
@@ -431,19 +431,19 @@ EXAMPLES = """
- name: Overridden existing static route configuration with new configuration
cisco.nxos.nxos_static_routes:
config:
- - vrf: trial_vrf
- address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.16/28
- next_hops:
- - forward_router_address: 192.0.2.23
- route_name: overridden_route1
- admin_distance: 3
- - forward_router_address: 192.0.2.45
- route_name: overridden_route2
- dest_vrf: destinationVRF
- interface: Ethernet1/2
+ - vrf: trial_vrf
+ address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.16/28
+ next_hops:
+ - forward_router_address: 192.0.2.23
+ route_name: overridden_route1
+ admin_distance: 3
+ - forward_router_address: 192.0.2.45
+ route_name: overridden_route2
+ dest_vrf: destinationVRF
+ interface: Ethernet1/2
state: overridden
# Task Output
@@ -520,18 +520,18 @@ EXAMPLES = """
- name: Replaced the existing static configuration of a prefix with new configuration
cisco.nxos.nxos_static_routes:
config:
- - address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.16/28
- next_hops:
- - forward_router_address: 192.0.2.23
- route_name: replaced_route1
- admin_distance: 3
- - forward_router_address: 192.0.2.45
- route_name: replaced_route2
- dest_vrf: destinationVRF
- interface: Ethernet1/2
+ - address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.16/28
+ next_hops:
+ - forward_router_address: 192.0.2.23
+ route_name: replaced_route1
+ admin_distance: 3
+ - forward_router_address: 192.0.2.45
+ route_name: replaced_route2
+ dest_vrf: destinationVRF
+ interface: Ethernet1/2
state: replaced
# Task Output
@@ -650,18 +650,18 @@ EXAMPLES = """
- name: Render required configuration to be pushed to the device
cisco.nxos.nxos_static_routes:
config:
- - address_families:
- - afi: ipv4
- routes:
- - dest: 192.0.2.48/28
- next_hops:
- - forward_router_address: 192.0.2.13
- - afi: ipv6
- routes:
- - dest: 2001:db8::/64
- next_hops:
- - interface: eth1/3
- forward_router_address: 2001:db8::12
+ - address_families:
+ - afi: ipv4
+ routes:
+ - dest: 192.0.2.48/28
+ next_hops:
+ - forward_router_address: 192.0.2.13
+ - afi: ipv6
+ routes:
+ - dest: 2001:db8::/64
+ next_hops:
+ - interface: eth1/3
+ forward_router_address: 2001:db8::12
state: rendered
# Task Output
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_system.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_system.py
index df4bbde0d..dafbf9f1f 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_system.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_system.py
@@ -98,14 +98,14 @@ EXAMPLES = """
- name: configure name servers
cisco.nxos.nxos_system:
name_servers:
- - 8.8.8.8
- - 8.8.4.4
+ - 8.8.8.8
+ - 8.8.4.4
- name: configure name servers with VRF support
cisco.nxos.nxos_system:
name_servers:
- - {server: 8.8.8.8, vrf: mgmt}
- - {server: 8.8.4.4, vrf: mgmt}
+ - {server: 8.8.8.8, vrf: mgmt}
+ - {server: 8.8.4.4, vrf: mgmt}
"""
RETURN = """
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_telemetry.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_telemetry.py
index 7498ff880..89a58e2d2 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_telemetry.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_telemetry.py
@@ -225,41 +225,41 @@ EXAMPLES = """
source_interface: Ethernet1/1
vrf: management
destination_groups:
- - id: 2
- destination:
- ip: 192.168.0.2
- port: 50001
- protocol: gRPC
- encoding: GPB
- - id: 55
- destination:
- ip: 192.168.0.55
- port: 60001
- protocol: gRPC
- encoding: GPB
+ - id: 2
+ destination:
+ ip: 192.168.0.2
+ port: 50001
+ protocol: gRPC
+ encoding: GPB
+ - id: 55
+ destination:
+ ip: 192.168.0.55
+ port: 60001
+ protocol: gRPC
+ encoding: GPB
sensor_groups:
- - id: 1
- data_source: NX-API
- path:
- name: '"show lldp neighbors detail"'
- depth: 0
- - id: 55
- data_source: DME
- path:
- name: sys/ch
- depth: unbounded
- filter_condition: ne(eqptFt.operSt,"ok")
+ - id: 1
+ data_source: NX-API
+ path:
+ name: '"show lldp neighbors detail"'
+ depth: 0
+ - id: 55
+ data_source: DME
+ path:
+ name: sys/ch
+ depth: unbounded
+ filter_condition: ne(eqptFt.operSt,"ok")
subscriptions:
- - id: 5
- destination_group: 55
- sensor_group:
- id: 1
- sample_interval: 1000
- - id: 6
- destination_group: 2
- sensor_group:
- id: 55
- sample_interval: 2000
+ - id: 5
+ destination_group: 55
+ sensor_group:
+ id: 1
+ sample_interval: 1000
+ - id: 6
+ destination_group: 2
+ sensor_group:
+ id: 55
+ sample_interval: 2000
state: merged
@@ -277,18 +277,16 @@ EXAMPLES = """
source_interface: Ethernet1/1
vrf: management
destination_groups:
- - id: 2
- destination:
- ip: 192.168.0.2
- port: 50001
- protocol: gRPC
- encoding: GPB
+ - id: 2
+ destination:
+ ip: 192.168.0.2
+ port: 50001
+ protocol: gRPC
+ encoding: GPB
subscriptions:
- - id: 5
- destination_group: 55
+ - id: 5
+ destination_group: 55
state: replaced
-
-
"""
RETURN = """
before:
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_user.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_user.py
index 2456c53ac..d3e847359 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_user.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_user.py
@@ -170,8 +170,8 @@ EXAMPLES = """
- name: set multiple users role
cisco.nxos.nxos_user:
aggregate:
- - name: netop
- - name: netend
+ - name: netop
+ - name: netend
role: network-operator
state: present
"""
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_vlans.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_vlans.py
index cac276b64..4116f524b 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_vlans.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_vlans.py
@@ -117,10 +117,10 @@ EXAMPLES = """
- name: Merge provided configuration with device configuration.
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- name: test-vlan5
- - vlan_id: 10
- enabled: false
+ - vlan_id: 5
+ name: test-vlan5
+ - vlan_id: 10
+ enabled: false
state: merged
# After state:
@@ -147,11 +147,11 @@ EXAMPLES = """
- name: Replace device configuration of specified vlan with provided configuration.
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- name: test-vlan
- enabled: false
- - vlan_id: 10
- enabled: false
+ - vlan_id: 5
+ name: test-vlan
+ enabled: false
+ - vlan_id: 10
+ enabled: false
state: replaced
# After state:
@@ -182,10 +182,10 @@ EXAMPLES = """
- name: Override device configuration of all vlans with provided configuration.
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- name: test-vlan
- - vlan_id: 10
- state: active
+ - vlan_id: 5
+ name: test-vlan
+ - vlan_id: 10
+ state: active
state: overridden
# After state:
@@ -210,8 +210,8 @@ EXAMPLES = """
- name: Delete vlans.
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- - vlan_id: 10
+ - vlan_id: 5
+ - vlan_id: 10
state: deleted
# After state:
@@ -223,13 +223,13 @@ EXAMPLES = """
- name: Use rendered state to convert task input to device specific commands
cisco.nxos.nxos_vlans:
config:
- - vlan_id: 5
- name: vlan5
- mapped_vni: 100
+ - vlan_id: 5
+ name: vlan5
+ mapped_vni: 100
- - vlan_id: 6
- name: vlan6
- state: suspend
+ - vlan_id: 6
+ name: vlan6
+ state: suspend
state: rendered
# Task Output (redacted)
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_vrf.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_vrf.py
index 6b81ba99a..6017d3c88 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_vrf.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_vrf.py
@@ -169,48 +169,48 @@ EXAMPLES = """
name: ntc
description: testing
state: present
-
- name: Aggregate definition of VRFs
cisco.nxos.nxos_vrf:
aggregate:
- - {name: test1, description: Testing, admin_state: down}
- - {name: test2, interfaces: Ethernet1/2}
-
+ - name: test1
+ description: Testing
+ admin_state: down
+ - name: test2
+ interfaces: Ethernet1/2
- name: Aggregate definitions of VRFs with Purge
cisco.nxos.nxos_vrf:
aggregate:
- - {name: ntc1, description: purge test1}
- - {name: ntc2, description: purge test2}
+ - name: ntc1
+ description: purge test1
+ - name: ntc2
+ description: purge test2
state: present
purge: true
-
- name: Delete VRFs exist on switch
cisco.nxos.nxos_vrf:
aggregate:
- - {name: ntc1}
- - {name: ntc2}
+ - name: ntc1
+ - name: ntc2
state: absent
-
- name: Assign interfaces to VRF declaratively
cisco.nxos.nxos_vrf:
name: test1
interfaces:
- - Ethernet2/3
- - Ethernet2/5
-
+ - Ethernet2/3
+ - Ethernet2/5
- name: Check interfaces assigned to VRF
cisco.nxos.nxos_vrf:
name: test1
associated_interfaces:
- - Ethernet2/3
- - Ethernet2/5
-
-- name: Ensure VRF is tagged with interface Ethernet2/5 only (Removes from Ethernet2/3)
+ - Ethernet2/3
+ - Ethernet2/5
+- name: >-
+ Ensure VRF is tagged with interface Ethernet2/5 only (Removes from
+ Ethernet2/3)
cisco.nxos.nxos_vrf:
name: test1
interfaces:
- - Ethernet2/5
-
+ - Ethernet2/5
- name: Delete VRF
cisco.nxos.nxos_vrf:
name: ntc
@@ -375,7 +375,9 @@ def map_obj_to_commands(updates, module):
commands.append("vrf member {0}".format(name))
elif set(interfaces) != set(obj_in_have["interfaces"]):
- missing_interfaces = list(set(interfaces) - set(obj_in_have["interfaces"]))
+ missing_interfaces = list(
+ set(interfaces) - set(obj_in_have["interfaces"]),
+ )
for i in missing_interfaces:
commands.append("vrf context {0}".format(name))
commands.append("exit")
@@ -541,7 +543,9 @@ def check_declarative_intent_params(want, module, element_spec, result):
if obj_in_have:
interfaces = obj_in_have.get("interfaces")
if interfaces is not None and i not in interfaces:
- module.fail_json(msg="Interface %s not configured on vrf %s" % (i, w["name"]))
+ module.fail_json(
+ msg="Interface %s not configured on vrf %s" % (i, w["name"]),
+ )
def vrf_error_check(module, commands, responses):
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_vrf_af.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_vrf_af.py
index bf155ce8f..5bd043706 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_vrf_af.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_vrf_af.py
@@ -103,55 +103,50 @@ EXAMPLES = """
afi: ipv4
route_target_both_auto_evpn: true
state: present
-
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: import
- - rt: 65001:1000
- direction: import
-
+ - rt: '65000:1000'
+ direction: import
+ - rt: '65001:1000'
+ direction: import
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: import
- - rt: 65001:1000
- state: absent
-
+ - rt: '65000:1000'
+ direction: import
+ - rt: '65001:1000'
+ state: absent
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: export
- - rt: 65001:1000
- direction: export
-
+ - rt: '65000:1000'
+ direction: export
+ - rt: '65001:1000'
+ direction: export
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: export
- state: absent
-
+ - rt: '65000:1000'
+ direction: export
+ state: absent
- cisco.nxos.nxos_vrf_af:
vrf: ntc
afi: ipv4
route_targets:
- - rt: 65000:1000
- direction: both
- state: present
- - rt: 65001:1000
- direction: import
- state: present
- - rt: 65002:1000
- direction: both
- state: absent
+ - rt: '65000:1000'
+ direction: both
+ state: present
+ - rt: '65001:1000'
+ direction: import
+ state: present
+ - rt: '65002:1000'
+ direction: both
+ state: absent
"""
RETURN = """
@@ -248,10 +243,25 @@ def main():
if platform.startswith("N9K") and rt.get("rt") == "auto":
rt_commands = match_current_rt(rt, "both", current, rt_commands)
else:
- rt_commands = match_current_rt(rt, "import", current, rt_commands)
- rt_commands = match_current_rt(rt, "export", current, rt_commands)
+ rt_commands = match_current_rt(
+ rt,
+ "import",
+ current,
+ rt_commands,
+ )
+ rt_commands = match_current_rt(
+ rt,
+ "export",
+ current,
+ rt_commands,
+ )
else:
- rt_commands = match_current_rt(rt, rt.get("direction"), current, rt_commands)
+ rt_commands = match_current_rt(
+ rt,
+ rt.get("direction"),
+ current,
+ rt_commands,
+ )
if rt_commands:
commands.extend(rt_commands)
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_vsan.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_vsan.py
index d95d95a96..70f9b50ee 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_vsan.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_vsan.py
@@ -51,25 +51,25 @@ EXAMPLES = """
- name: Test that vsan module works
cisco.nxos.nxos_vsan:
vsan:
- - id: 922
- interface:
- - fc1/1
- - fc1/2
- - port-channel 1
- name: vsan-SAN-A
- remove: false
- suspend: false
- - id: 923
- interface:
- - fc1/11
- - fc1/21
- - port-channel 2
- name: vsan-SAN-B
- remove: false
- suspend: true
- - id: 1923
- name: vsan-SAN-Old
- remove: true
+ - id: 922
+ interface:
+ - fc1/1
+ - fc1/2
+ - port-channel 1
+ name: vsan-SAN-A
+ remove: false
+ suspend: false
+ - id: 923
+ interface:
+ - fc1/11
+ - fc1/21
+ - port-channel 2
+ name: vsan-SAN-B
+ remove: false
+ suspend: true
+ - id: 1923
+ name: vsan-SAN-Old
+ remove: true
"""
RETURN = """
@@ -198,7 +198,9 @@ def main():
interface=dict(type="list", elements="str"),
)
- argument_spec = dict(vsan=dict(type="list", elements="dict", options=vsan_element_spec))
+ argument_spec = dict(
+ vsan=dict(type="list", elements="dict", options=vsan_element_spec),
+ )
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
warnings = list()
@@ -238,7 +240,9 @@ def main():
if vsanremove:
# Negative case:
if vsanid == "4079" or vsanid == "4094":
- messages.append(str(vsanid) + " is a reserved vsan, hence cannot be removed")
+ messages.append(
+ str(vsanid) + " is a reserved vsan, hence cannot be removed",
+ )
continue
if vsanid == sw_vsanid:
commands.append("no vsan " + str(vsanid))
@@ -270,7 +274,9 @@ def main():
if vsanname is not None:
# Negative case:
if vsanid == "4079" or vsanid == "4094":
- messages.append(str(vsanid) + " is a reserved vsan, and cannot be renamed")
+ messages.append(
+ str(vsanid) + " is a reserved vsan, and cannot be renamed",
+ )
else:
if vsanname == sw_vsanname:
messages.append(
@@ -282,12 +288,16 @@ def main():
)
else:
commands.append("vsan " + str(vsanid) + " name " + vsanname)
- messages.append("setting vsan name to " + vsanname + " for vsan " + str(vsanid))
+ messages.append(
+ "setting vsan name to " + vsanname + " for vsan " + str(vsanid),
+ )
if vsansuspend:
# Negative case:
if vsanid == "4079" or vsanid == "4094":
- messages.append(str(vsanid) + " is a reserved vsan, and cannot be suspended")
+ messages.append(
+ str(vsanid) + " is a reserved vsan, and cannot be suspended",
+ )
else:
if sw_vsanstate == "suspended":
messages.append(
@@ -322,7 +332,9 @@ def main():
+ " interface list",
)
else:
- commands.append("vsan " + str(vsanid) + " interface " + each_interface_name)
+ commands.append(
+ "vsan " + str(vsanid) + " interface " + each_interface_name,
+ )
messages.append(
"adding interface " + each_interface_name + " to vsan " + str(vsanid),
)
diff --git a/ansible_collections/cisco/nxos/plugins/modules/nxos_zone_zoneset.py b/ansible_collections/cisco/nxos/plugins/modules/nxos_zone_zoneset.py
index 7c9fba30a..5d519150f 100644
--- a/ansible_collections/cisco/nxos/plugins/modules/nxos_zone_zoneset.py
+++ b/ansible_collections/cisco/nxos/plugins/modules/nxos_zone_zoneset.py
@@ -10,180 +10,184 @@ DOCUMENTATION = """
module: nxos_zone_zoneset
short_description: Configuration of zone/zoneset for Cisco NXOS MDS Switches.
description:
-- Configuration of zone/zoneset for Cisco MDS NXOS.
+ - Configuration of zone/zoneset for Cisco MDS NXOS.
version_added: 1.0.0
author:
-- Suhas Bharadwaj (@srbharadwaj) (subharad@cisco.com)
+ - Suhas Bharadwaj (@srbharadwaj) (subharad@cisco.com)
notes:
-- Tested against Cisco MDS NX-OS 8.4(1)
+ - Tested against Cisco MDS NX-OS 8.4(1)
options:
zone_zoneset_details:
description:
- - List of zone/zoneset details to be added or removed
+ - List of zone/zoneset details to be added or removed
type: list
elements: dict
suboptions:
vsan:
description:
- - vsan id
+ - vsan id
required: true
type: int
mode:
description:
- - mode of the zone for the vsan
+ - mode of the zone for the vsan
choices:
- - enhanced
- - basic
+ - enhanced
+ - basic
type: str
default_zone:
description:
- - default zone behaviour for the vsan
+ - default zone behaviour for the vsan
choices:
- - permit
- - deny
+ - permit
+ - deny
type: str
smart_zoning:
description:
- - Removes the vsan if True
+ - Removes the vsan if True
type: bool
zone:
description:
- - List of zone options for that vsan
+ - List of zone options for that vsan
type: list
elements: dict
suboptions:
name:
description:
- - name of the zone
+ - name of the zone
required: true
type: str
remove:
description:
- - Deletes the zone if True
+ - Deletes the zone if True
type: bool
default: false
members:
description:
- - Members of the zone that needs to be removed or added
+ - Members of the zone that needs to be removed or added
type: list
elements: dict
suboptions:
pwwn:
description:
- - pwwn member of the zone, use alias 'device_alias' as option for
- device_alias member
+ - >-
+ pwwn member of the zone, use alias 'device_alias' as option
+ for device_alias member
aliases:
- - device_alias
+ - device_alias
required: true
type: str
remove:
description:
- - Removes member from the zone if True
+ - Removes member from the zone if True
type: bool
default: false
devtype:
description:
- - devtype of the zone member used along with Smart zoning config
+ - >-
+ devtype of the zone member used along with Smart zoning
+ config
choices:
- - initiator
- - target
- - both
+ - initiator
+ - target
+ - both
type: str
zoneset:
description:
- - List of zoneset options for the vsan
+ - List of zoneset options for the vsan
type: list
elements: dict
suboptions:
name:
description:
- - name of the zoneset
+ - name of the zoneset
required: true
type: str
remove:
description:
- - Removes zoneset if True
+ - Removes zoneset if True
type: bool
default: false
action:
description:
- - activates/de-activates the zoneset
+ - activates/de-activates the zoneset
choices:
- - activate
- - deactivate
+ - activate
+ - deactivate
type: str
members:
description:
- - Members of the zoneset that needs to be removed or added
+ - Members of the zoneset that needs to be removed or added
type: list
elements: dict
suboptions:
name:
description:
- - name of the zone that needs to be added to the zoneset or removed
- from the zoneset
+ - >-
+ name of the zone that needs to be added to the zoneset or
+ removed from the zoneset
required: true
type: str
remove:
description:
- - Removes zone member from the zoneset
+ - Removes zone member from the zoneset
type: bool
default: false
+
"""
EXAMPLES = """
- name: Test that zone/zoneset module works
cisco.nxos.nxos_zone_zoneset:
zone_zoneset_details:
- - mode: enhanced
- vsan: 22
- zone:
- - members:
- - pwwn: 11:11:11:11:11:11:11:11
- - device_alias: test123
- - pwwn: 61:61:62:62:12:12:12:12
- remove: true
- name: zoneA
- - members:
- - pwwn: 10:11:11:11:11:11:11:11
- - pwwn: 62:62:62:62:21:21:21:21
- name: zoneB
- - name: zoneC
- remove: true
- zoneset:
- - action: activate
- members:
- - name: zoneA
- - name: zoneB
- - name: zoneC
- remove: true
- name: zsetname1
- - action: deactivate
- name: zsetTestExtra
- remove: true
- - mode: basic
- smart_zoning: true
- vsan: 21
- zone:
- - members:
- - devtype: both
- pwwn: 11:11:11:11:11:11:11:11
- - pwwn: 62:62:62:62:12:12:12:12
- - devtype: both
- pwwn: 92:62:62:62:12:12:1a:1a
- remove: true
- name: zone21A
- - members:
- - pwwn: 10:11:11:11:11:11:11:11
- - pwwn: 62:62:62:62:21:21:21:21
- name: zone21B
- zoneset:
- - action: activate
- members:
- - name: zone21A
- - name: zone21B
- name: zsetname212
-
+ - mode: enhanced
+ vsan: 22
+ zone:
+ - members:
+ - pwwn: 31314874576271
+ - device_alias: test123
+ - pwwn: '61:61:62:62:12:12:12:12'
+ remove: true
+ name: zoneA
+ - members:
+ - pwwn: 28515514576271
+ - pwwn: '62:62:62:62:21:21:21:21'
+ name: zoneB
+ - name: zoneC
+ remove: true
+ zoneset:
+ - action: activate
+ members:
+ - name: zoneA
+ - name: zoneB
+ - name: zoneC
+ remove: true
+ name: zsetname1
+ - action: deactivate
+ name: zsetTestExtra
+ remove: true
+ - mode: basic
+ smart_zoning: true
+ vsan: 21
+ zone:
+ - members:
+ - devtype: both
+ pwwn: 31314874576271
+ - pwwn: '62:62:62:62:12:12:12:12'
+ - devtype: both
+ pwwn: '92:62:62:62:12:12:1a:1a'
+ remove: true
+ name: zone21A
+ - members:
+ - pwwn: 28515514576271
+ - pwwn: '62:62:62:62:21:21:21:21'
+ name: zone21B
+ zoneset:
+ - action: activate
+ members:
+ - name: zone21A
+ - name: zone21B
+ name: zsetname212
"""
RETURN = """
@@ -472,7 +476,11 @@ def main():
)
argument_spec = dict(
- zone_zoneset_details=dict(type="list", elements="dict", options=zonedetails_spec),
+ zone_zoneset_details=dict(
+ type="list",
+ elements="dict",
+ options=zonedetails_spec,
+ ),
)
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)
@@ -519,13 +527,17 @@ def main():
if op_default_zone is not None:
if op_default_zone != sw_default_zone:
if op_default_zone == "permit":
- commands_executed.append("zone default-zone permit vsan " + str(vsan))
+ commands_executed.append(
+ "zone default-zone permit vsan " + str(vsan),
+ )
messages.append(
"default zone configuration changed from deny to permit for vsan "
+ str(vsan),
)
else:
- commands_executed.append("no zone default-zone permit vsan " + str(vsan))
+ commands_executed.append(
+ "no zone default-zone permit vsan " + str(vsan),
+ )
messages.append(
"default zone configuration changed from permit to deny for vsan "
+ str(vsan),
@@ -565,10 +577,14 @@ def main():
if op_smart_zoning is not None:
if op_smart_zoning != sw_smart_zoning_bool:
if op_smart_zoning:
- commands_executed.append("zone smart-zoning enable vsan " + str(vsan))
+ commands_executed.append(
+ "zone smart-zoning enable vsan " + str(vsan),
+ )
messages.append("smart-zoning enabled for vsan " + str(vsan))
else:
- commands_executed.append("no zone smart-zoning enable vsan " + str(vsan))
+ commands_executed.append(
+ "no zone smart-zoning enable vsan " + str(vsan),
+ )
messages.append("smart-zoning disabled for vsan " + str(vsan))
else:
messages.append(
@@ -589,8 +605,12 @@ def main():
removeflag = eachzone["remove"]
if removeflag:
if shZoneObj.isZonePresent(zname):
- messages.append("zone '" + zname + "' is removed from vsan " + str(vsan))
- commands_executed.append("no zone name " + zname + " vsan " + str(vsan))
+ messages.append(
+ "zone '" + zname + "' is removed from vsan " + str(vsan),
+ )
+ commands_executed.append(
+ "no zone name " + zname + " vsan " + str(vsan),
+ )
else:
messages.append(
"zone '"
@@ -606,8 +626,12 @@ def main():
"zone '" + zname + "' is already present in vsan " + str(vsan),
)
else:
- commands_executed.append("zone name " + zname + " vsan " + str(vsan))
- messages.append("zone '" + zname + "' is created in vsan " + str(vsan))
+ commands_executed.append(
+ "zone name " + zname + " vsan " + str(vsan),
+ )
+ messages.append(
+ "zone '" + zname + "' is created in vsan " + str(vsan),
+ )
else:
cmdmemlist = []
for eachmem in zmembers:
@@ -721,7 +745,9 @@ def main():
+ str(vsan),
)
if len(cmdmemlist) != 0:
- commands_executed.append("zone name " + zname + " vsan " + str(vsan))
+ commands_executed.append(
+ "zone name " + zname + " vsan " + str(vsan),
+ )
commands_executed = commands_executed + cmdmemlist
# Process zoneset member options
@@ -758,7 +784,10 @@ def main():
zsetmem_name = eachzsmem["name"]
zsetmem_removeflag = eachzsmem["remove"]
if zsetmem_removeflag:
- if shZonesetObj.isZonePresentInZoneset(zsetname, zsetmem_name):
+ if shZonesetObj.isZonePresentInZoneset(
+ zsetname,
+ zsetmem_name,
+ ):
cmd = "no member " + zsetmem_name
cmdmemlist.append(cmd)
messages.append(
@@ -780,7 +809,10 @@ def main():
+ " ,hence there is nothing to remove",
)
else:
- if shZonesetObj.isZonePresentInZoneset(zsetname, zsetmem_name):
+ if shZonesetObj.isZonePresentInZoneset(
+ zsetname,
+ zsetmem_name,
+ ):
messages.append(
"zoneset member '"
+ zsetmem_name
@@ -844,7 +876,9 @@ def main():
messages.append(
"activating zoneset '" + zsetname + "' in vsan " + str(vsan),
)
- actcmd.append("zoneset activate name " + zsetname + " vsan " + str(vsan))
+ actcmd.append(
+ "zoneset activate name " + zsetname + " vsan " + str(vsan),
+ )
else:
messages.append(
"no changes to existing zoneset '"
diff --git a/ansible_collections/cisco/nxos/plugins/netconf/nxos.py b/ansible_collections/cisco/nxos/plugins/netconf/nxos.py
index fcbee7952..f144a51aa 100644
--- a/ansible_collections/cisco/nxos/plugins/netconf/nxos.py
+++ b/ansible_collections/cisco/nxos/plugins/netconf/nxos.py
@@ -38,7 +38,6 @@ options:
identify the ncclient device handler name refer ncclient library documentation.
"""
-from ansible.plugins.netconf import NetconfBase
from ansible_collections.ansible.netcommon.plugins.plugin_utils.netconf_base import NetconfBase
diff --git a/ansible_collections/cisco/nxos/pyproject.toml b/ansible_collections/cisco/nxos/pyproject.toml
index fa4225f3e..66aa89b87 100644
--- a/ansible_collections/cisco/nxos/pyproject.toml
+++ b/ansible_collections/cisco/nxos/pyproject.toml
@@ -2,6 +2,8 @@
line-length = 100
[tool.pytest.ini_options]
-addopts = ["-vvv", "-n", "2", "--log-level", "WARNING", "--color", "yes"]
testpaths = ["tests"]
-filterwarnings = ['ignore:AnsibleCollectionFinder has already been configured']
+filterwarnings = [
+ 'ignore:AnsibleCollectionFinder has already been configured',
+ 'ignore:_AnsibleCollectionFinder.find_spec().*',
+]
diff --git a/ansible_collections/cisco/nxos/test-requirements.txt b/ansible_collections/cisco/nxos/test-requirements.txt
index 94ff7c9e3..396789aed 100644
--- a/ansible_collections/cisco/nxos/test-requirements.txt
+++ b/ansible_collections/cisco/nxos/test-requirements.txt
@@ -1,9 +1,7 @@
-# For ansible-tox-linters
-black==23.3.0 ; python_version >= '3.7'
-flake8
-yamllint
+# For CML
+virl2-client==2.6.1
# Unit test runner
-pytest-ansible ; python_version >= '3.9'
-git+https://github.com/ansible-community/pytest-ansible-units.git ; python_version < '3.9'
+pytest-ansible
pytest-xdist
+pytest-cov
diff --git a/ansible_collections/cisco/nxos/tests/unit/compat/__init__.py b/ansible_collections/cisco/nxos/tests/__init__.py
index e69de29bb..e69de29bb 100644
--- a/ansible_collections/cisco/nxos/tests/unit/compat/__init__.py
+++ b/ansible_collections/cisco/nxos/tests/__init__.py
diff --git a/ansible_collections/cisco/nxos/tests/config.yml b/ansible_collections/cisco/nxos/tests/config.yml
index 41f529264..c26ea5966 100644
--- a/ansible_collections/cisco/nxos/tests/config.yml
+++ b/ansible_collections/cisco/nxos/tests/config.yml
@@ -1,3 +1,3 @@
---
modules:
- python_requires: ">=3.6"
+ python_requires: ">=3.9"
diff --git a/ansible_collections/cisco/nxos/tests/integration/__init__.py b/ansible_collections/cisco/nxos/tests/integration/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ansible_collections/cisco/nxos/tests/integration/__init__.py
diff --git a/ansible_collections/cisco/nxos/tests/integration/labs/single.yaml b/ansible_collections/cisco/nxos/tests/integration/labs/single.yaml
new file mode 100644
index 000000000..7f3e4d96f
--- /dev/null
+++ b/ansible_collections/cisco/nxos/tests/integration/labs/single.yaml
@@ -0,0 +1,241 @@
+lab:
+ description: ""
+ notes: ""
+ title: cisco.nxos.nxos
+ version: 0.2.0
+links:
+ - id: l0
+ n1: n0
+ n2: n1
+ i1: i1
+ i2: i0
+ label: nxos9000-0-mgmt0<->ext-conn-0-port
+nodes:
+ - boot_disk_size: null
+ configuration: |2-
+
+ !Command: show running-config
+ !Running configuration last done at: Mon Feb 12 07:11:33 2024
+ !Time: Mon Feb 12 07:11:33 2024
+
+ version 10.3(1) Bios:version
+ hostname R1
+ vdc R1 id 1
+ limit-resource vlan minimum 16 maximum 4094
+ limit-resource vrf minimum 2 maximum 4096
+ limit-resource port-channel minimum 0 maximum 511
+ limit-resource m4route-mem minimum 58 maximum 58
+ limit-resource m6route-mem minimum 8 maximum 8
+
+ no password strength-check
+ username admin password 5 $5$AADOBF$GVXUV2cvmlZH42xDu6wnqfBpV9gXF61WGVNrGF5Gk6C role network-admin
+ username ansible password 5 $5$GHBNKA$8ccD8KWjmP6NzxzkIRufl7giaUWjrhAn4SRrVWYZ4R1 role network-admin
+ username ansible passphrase lifetime 99999 warntime 14 gracetime 3
+ ssh key rsa 2048
+ ip domain-lookup
+ snmp-server user admin network-admin auth md5 040F90283AEB9A92CCAF81F5CDA2639FFFCD priv aes-128 006084272498F8CD8F98DE888DEC6899C6D0 localizedV2key
+ snmp-server user ansible network-admin auth md5 5207BA419F48B4EB39149FDC00BE411BC828 priv aes-128 041EED4A876CACFD7656EA885CE15D3CE108 localizedV2key
+ rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
+ rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
+ rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
+ rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
+ rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
+
+ vlan 1
+
+ vrf context management
+ ip name-server 192.168.255.1
+ ip route 0.0.0.0/0 192.168.255.1
+
+ interface Ethernet1/1
+
+ interface Ethernet1/2
+
+ interface Ethernet1/3
+
+ interface Ethernet1/4
+
+ interface Ethernet1/5
+
+ interface Ethernet1/6
+
+ interface Ethernet1/7
+
+ interface Ethernet1/8
+
+ interface Ethernet1/9
+
+ interface Ethernet1/10
+
+ interface Ethernet1/11
+
+ interface Ethernet1/12
+
+ interface Ethernet1/13
+
+ interface Ethernet1/14
+
+ interface Ethernet1/15
+
+ interface Ethernet1/16
+
+ interface Ethernet1/17
+
+ interface Ethernet1/18
+
+ interface Ethernet1/19
+
+ interface Ethernet1/20
+
+ interface Ethernet1/21
+
+ interface Ethernet1/22
+
+ interface Ethernet1/23
+
+ interface Ethernet1/24
+
+ interface Ethernet1/25
+
+ interface Ethernet1/26
+
+ interface Ethernet1/27
+
+ interface Ethernet1/28
+
+ interface Ethernet1/29
+
+ interface Ethernet1/30
+
+ interface Ethernet1/31
+
+ interface Ethernet1/32
+
+ interface Ethernet1/33
+
+ interface Ethernet1/34
+
+ interface Ethernet1/35
+
+ interface Ethernet1/36
+
+ interface Ethernet1/37
+
+ interface Ethernet1/38
+
+ interface Ethernet1/39
+
+ interface Ethernet1/40
+
+ interface Ethernet1/41
+
+ interface Ethernet1/42
+
+ interface Ethernet1/43
+
+ interface Ethernet1/44
+
+ interface Ethernet1/45
+
+ interface Ethernet1/46
+
+ interface Ethernet1/47
+
+ interface Ethernet1/48
+
+ interface Ethernet1/49
+
+ interface Ethernet1/50
+
+ interface Ethernet1/51
+
+ interface Ethernet1/52
+
+ interface Ethernet1/53
+
+ interface Ethernet1/54
+
+ interface Ethernet1/55
+
+ interface Ethernet1/56
+
+ interface Ethernet1/57
+
+ interface Ethernet1/58
+
+ interface Ethernet1/59
+
+ interface Ethernet1/60
+
+ interface Ethernet1/61
+
+ interface Ethernet1/62
+
+ interface Ethernet1/63
+
+ interface Ethernet1/64
+
+ interface mgmt0
+ ip address dhcp
+ vrf member management
+ icam monitor scale
+
+ line console
+ exec-timeout 0
+ line vty
+ exec-timeout 0
+ boot nxos bootflash:/nxos64-cs.10.3.1.F.bin
+
+ no logging console
+ cpu_limit: null
+ cpus: null
+ data_volume: null
+ hide_links: false
+ id: n0
+ image_definition: null
+ label: nxos9000-0
+ node_definition: nxosv9000
+ ram: null
+ tags: []
+ x: -1750
+ y: -250
+ interfaces:
+ - id: i0
+ label: Loopback0
+ type: loopback
+ - id: i1
+ label: mgmt0
+ slot: 0
+ type: physical
+ - id: i2
+ label: Ethernet1/1
+ slot: 1
+ type: physical
+ - id: i3
+ label: Ethernet1/2
+ slot: 2
+ type: physical
+ - id: i4
+ label: Ethernet1/3
+ slot: 3
+ type: physical
+ - boot_disk_size: null
+ configuration: virbr0
+ cpu_limit: null
+ cpus: null
+ data_volume: null
+ hide_links: false
+ id: n1
+ image_definition: null
+ label: ext-conn-0
+ node_definition: external_connector
+ ram: null
+ tags: []
+ x: -2250
+ y: -250
+ interfaces:
+ - id: i0
+ label: port
+ slot: 0
+ type: physical
+annotations: []
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/remove_config.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/remove_config.yaml
index 3cad7ce53..f76058818 100644
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/remove_config.yaml
+++ b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/remove_config.yaml
@@ -22,6 +22,7 @@
- name: Remove configuration - 3
cisco.nxos.nxos_config:
lines:
+ - no switchport
- no ip access-group ACL1v4 out
parents: interface Ethernet1/3
ignore_errors: true
@@ -41,3 +42,8 @@
- no ip port access-group PortACL in
parents: interface Ethernet1/6
ignore_errors: true
+
+- name: Remove configuration - 6
+ cisco.nxos.nxos_config:
+ lines: no interface loopback1
+ ignore_errors: true
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/rtt.yml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/rtt.yml
index 90f72fb39..d42b4b19a 100644
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/rtt.yml
+++ b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_acl_interfaces/tests/common/rtt.yml
@@ -83,6 +83,9 @@
- "'no ip port access-group PortACL in' in result.commands"
- "'ipv6 port traffic-filter NewACLv6 in' in result.commands"
+ - ansible.builtin.debug:
+ msg: "{{ ansible_facts['network_resources']['acl_interfaces'] }}"
+
- name: Revert back to base configuration using facts round trip
register: result
cisco.nxos.nxos_acl_interfaces:
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_facts/tests/common/interface_facts.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_facts/tests/common/interface_facts.yaml
new file mode 100644
index 000000000..2c237d360
--- /dev/null
+++ b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_facts/tests/common/interface_facts.yaml
@@ -0,0 +1,62 @@
+---
+- ansible.builtin.debug:
+ msg: START connection={{ ansible_connection }}/interface_facts.yaml
+
+- name: Setup
+ cisco.nxos.nxos_config: &default
+ lines:
+ - default interface Ethernet1/1
+ - default interface Ethernet1/2
+
+- block:
+ - name: Make sure interfaces are L3
+ cisco.nxos.nxos_interfaces:
+ config:
+ - name: Ethernet1/1
+ mode: layer3
+ - name: Ethernet1/2
+ mode: layer3
+
+ # since the | json output renders differently when only one
+ # interface has IPv6 address vs when more than one interface
+ # has IPv6 address, we need to test them separately
+
+ - name: Assign IPv6 address to interface - 1
+ register: result
+ cisco.nxos.nxos_l3_interfaces:
+ config:
+ - name: Ethernet1/1
+ ipv6:
+ - address: 2001:db8::2/32
+
+ - name: Gather interface facts
+ cisco.nxos.nxos_facts:
+ gather_subset:
+ - "interfaces"
+
+ - name: Assert that IPv6 address was found
+ ansible.builtin.assert:
+ that:
+ - "'2001:db8::2/32' in ansible_net_all_ipv6_addresses"
+
+ - name: Assign IPv6 address to interface - 2
+ register: result
+ cisco.nxos.nxos_l3_interfaces:
+ config:
+ - name: Ethernet1/2
+ ipv6:
+ - address: 2001:db8::3/32
+
+ - name: Gather interface facts
+ cisco.nxos.nxos_facts:
+ gather_subset:
+ - "interfaces"
+
+ - name: Assert that IPv6 address was found
+ ansible.builtin.assert:
+ that:
+ - "'2001:db8::2/32' in ansible_net_all_ipv6_addresses"
+ - "'2001:db8::3/32' in ansible_net_all_ipv6_addresses"
+ always:
+ - name: Teardown
+ cisco.nxos.nxos_config: *default
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_file_copy/tests/cli/sanity.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_file_copy/tests/cli/sanity.yaml
index 70c450c39..0f2bdbb0f 100644
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_file_copy/tests/cli/sanity.yaml
+++ b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_file_copy/tests/cli/sanity.yaml
@@ -132,11 +132,11 @@
- result.changed == true
- "'copy scp:' in result.copy_cmd"
- "'bootflash:' in result.file_system"
- - "'bootflash:dir1/dir2/dir3/{{ test_destination_file }}_copy' in result.local_file"
- - "'/{{ test_destination_file }}' in result.remote_file"
+ - "'bootflash:dir1/dir2/dir3/test_destination_file_copy' in result.local_file"
+ - "'/test_destination_file' in result.remote_file"
- "'Received: File copied/pulled to nxos device from remote scp server.' in result.transfer_status"
- - "'{{ mgmt0_ip }}' in result.remote_scp_server"
+ - mgmt0_ip in result.remote_scp_server
- ansible.builtin.pause:
seconds: 60
@@ -169,11 +169,11 @@
- result.changed == true
- "'copy sftp:' in result.copy_cmd"
- "'bootflash:' in result.file_system"
- - "'bootflash:dir1/dir2/dir3/{{ test_destination_file }}_another_copy' in result.local_file"
- - "'/bootflash/{{ test_destination_file }}' in result.remote_file"
+ - "'bootflash:dir1/dir2/dir3/test_destination_file_another_copy' in result.local_file"
+ - "'/bootflash/test_destination_file' in result.remote_file"
- "'Received: File copied/pulled to nxos device from remote scp server.' in result.transfer_status"
- - "'{{ mgmt0_ip }}' in result.remote_scp_server"
+ - mgmt0_ip in result.remote_scp_server
always:
- name: Remove file
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/defaults/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/defaults/main.yaml
deleted file mode 100644
index 5f709c5aa..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/defaults/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-testcase: "*"
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/meta/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/meta/main.yaml
deleted file mode 100644
index f504a6ab2..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/meta/main.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
----
-dependencies:
- - prepare_nxos_tests
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/cli.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/cli.yaml
deleted file mode 100644
index d3d521f2a..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/cli.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Collect common test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/common"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: test_cases
-
-- name: Collect CLI test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/cli"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: cli_cases
-
-- name: Set a fact for 'test_cases'
- ansible.builtin.set_fact:
- test_cases:
- files: "{{ test_cases.files + cli_cases.files }}"
-
-- name: Set test_items
- ansible.builtin.set_fact:
- test_items: "{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: Run test cases with connection network_cli
- ansible.builtin.include_tasks: "{{ test_case_to_run }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- vars:
- ansible_connection: ansible.netcommon.network_cli
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/main.yaml
deleted file mode 100644
index ccb324f33..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/main.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
----
-- name: Run the CLI and NX-API tests
- block:
- - name: Include the CLI tasks
- ansible.builtin.include_tasks: cli.yaml
- tags:
- - cli
-
- - name: Include the NX-API tasks
- ansible.builtin.include_tasks: nxapi.yaml
- tags:
- - nxapi
- always:
- - name: Set baud rate back to 9600 so our tests don't break
- connection: ansible.netcommon.network_cli
- cisco.nxos.nxos_config:
- lines:
- - speed 9600
- parents: line console
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/nxapi.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/nxapi.yaml
deleted file mode 100644
index 5fec0f43b..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tasks/nxapi.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Collect common test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/common"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: test_cases
-
-- name: Collect NX-API test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/nxapi"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: nxapi_cases
-
-- name: Set a fact for 'test_cases'
- ansible.builtin.set_fact:
- test_cases:
- files: "{{ test_cases.files + nxapi_cases.files }}"
-
-- name: Set test_items
- ansible.builtin.set_fact:
- test_items: "{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: Run test cases with connection httpapi
- ansible.builtin.include_tasks: "{{ test_case_to_run }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- vars:
- ansible_connection: ansible.netcommon.httpapi
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tests/common/basic.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tests/common/basic.yaml
deleted file mode 100644
index 72bf146d1..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tests/common/basic.yaml
+++ /dev/null
@@ -1,485 +0,0 @@
----
-- ansible.builtin.debug:
- msg: START connection={{ ansible_connection }} nxos_logging basic test
-
-- name: Workaround to clear logging logfile size
- ignore_errors: true
- cisco.nxos.nxos_config:
- lines:
- - logging logfile test 1 size 4194304
-
-- name: Purge logging configuration first
- cisco.nxos.nxos_logging:
- purge: true
-
-- name: Set up console logging
- register: result
- cisco.nxos.nxos_logging: &id001
- dest: console
- dest_level: 0
- state: present
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging console 0" in result.commands'
-
-- name: Set up console logging again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id001
-
-- ansible.builtin.assert: &id003
- that:
- - result.changed == false
-
-- name: Set up console logging with level 2 (edge case)
- register: result
- cisco.nxos.nxos_logging: &id002
- dest: console
- dest_level: 2
- state: present
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging console 2" in result.commands'
-
-- name: Set up console logging with level 2 (edge case) (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id002
-
-- ansible.builtin.assert: *id003
-
-- block:
- - name: Logfile logging with level
- register: result
- cisco.nxos.nxos_logging: &id004
- dest: logfile
- name: test
- dest_level: 1
- state: present
-
- - ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging logfile test 1" in result.commands'
-
- - name: Logfile logging with level (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id004
-
- - ansible.builtin.assert: *id003
- when: platform is not search('N5K|N7K') and imagetag is not search("A8")
-
-- name: Configure module with level
- register: result
- cisco.nxos.nxos_logging: &id005
- dest: module
- dest_level: 2
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging module 2" in result.commands'
-
-- name: Configure module with level (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id005
-
-- ansible.builtin.assert: *id003
-
-- name: Configure monitor with level
- register: result
- cisco.nxos.nxos_logging: &id006
- dest: monitor
- dest_level: 3
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging monitor 3" in result.commands'
-
-- name: Configure monitor with level (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id006
-
-- ansible.builtin.assert: *id003
-
-- name: Configure monitor with level 5 (edge case)
- register: result
- cisco.nxos.nxos_logging: &id007
- dest: monitor
- dest_level: 5
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging monitor 5" in result.commands'
-
-- name: Configure monitor with level 5 (edge case) (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id007
-
-- ansible.builtin.assert: *id003
-
-- name: Configure facility with level
- register: result
- cisco.nxos.nxos_logging: &id008
- facility: daemon
- facility_level: 4
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging level daemon 4" in result.commands'
-
-- name: Configure facility with level (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id008
-
-- ansible.builtin.assert: *id003
-
-- name: Configure remote logging
- register: result
- cisco.nxos.nxos_logging: &id009
- dest: server
- remote_server: test-syslogserver.com
- facility: auth
- facility_level: 1
- use_vrf: management
- state: present
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging server test-syslogserver.com 1 facility auth use-vrf management" in result.commands'
-
-- name: Configure remote logging (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id009
-
-- ansible.builtin.assert: *id003
-
-- name: Configure source interface for logging
- register: result
- cisco.nxos.nxos_logging: &id010
- interface: mgmt0
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging source-interface mgmt 0" in result.commands'
-
-- name: Configure source interface for logging (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id010
-
-- ansible.builtin.assert:
- that:
- - result.changed == false
-
-- name: Remove logging as collection teardown
- register: result
- cisco.nxos.nxos_logging: &id011
- aggregate:
- - dest: console
- dest_level: 3
-
- - dest: module
- dest_level: 2
-
- - dest: monitor
- dest_level: 5
-
- - dest: logfile
- dest_level: 1
- name: test
-
- - facility: daemon
- facility_level: 4
-
- - dest: server
- remote_server: test-syslogserver.com
- facility: auth
- facility_level: 1
- use_vrf: management
-
- - interface: mgmt0
- state: absent
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"no logging logfile" in result.commands'
- - '"no logging level daemon 4" in result.commands'
- - '"no logging monitor" in result.commands'
- - '"no logging module" in result.commands'
- - '"no logging server test-syslogserver.com" in result.commands'
- - '"no logging source-interface" in result.commands'
- when: platform is not search('N5K|N7K') and imagetag is not search("A8")
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"no logging level daemon 4" in result.commands'
- - '"no logging monitor" in result.commands'
- - '"no logging module" in result.commands'
- - '"no logging server test-syslogserver.com" in result.commands'
- - '"no logging source-interface" in result.commands'
- when: platform is search('N5K|N7K') or imagetag is search("A8")
-
-- name: Remove aggregate logging (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id011
-
-- ansible.builtin.assert: *id003
-
-- block:
- - name: Configure logging message
- register: result
- cisco.nxos.nxos_logging: &id012
- interface_message: add-interface-description
- state: present
-
- - ansible.builtin.assert: &id013
- that:
- - result.changed == true
-
- - name: Configure logging message (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id012
-
- - ansible.builtin.assert: *id003
-
- - name: Remove logging message
- register: result
- cisco.nxos.nxos_logging:
- interface_message: add-interface-description
- state: absent
-
- - ansible.builtin.assert: *id013
- when: platform is not search('N5K') and imagetag is not search("A8")
-
-- name: Logfile logging with level and size
- register: result
- cisco.nxos.nxos_logging: &id014
- dest: logfile
- name: test
- dest_level: 1
- file_size: 16384
- state: present
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging logfile test 1 size 16384" in result.commands'
-
-- name: Logfile logging with level and size (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id014
-
-- ansible.builtin.assert: *id003
-
-- name: Remove logfile logging with level and size
- register: result
- cisco.nxos.nxos_logging:
- dest: logfile
- name: test
- dest_level: 1
- file_size: 16384
- state: absent
-
-- ansible.builtin.assert: *id013
-
-- name: Set up logging event link enable
- register: result
- cisco.nxos.nxos_logging: &id015
- event: link-enable
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging event link-status enable" in result.commands'
-
-- name: Set up logging event link enable again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id015
-
-- ansible.builtin.assert: *id003
-
-- name: Remove logging event link enable
- register: result
- cisco.nxos.nxos_logging: &id016
- event: link-enable
- state: absent
-
-- ansible.builtin.assert: *id013
-
-- name: Remove logging event link enable again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id016
-
-- ansible.builtin.assert: *id003
-
-- name: Set up logging event link default
- register: result
- cisco.nxos.nxos_logging: &id017
- event: link-default
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging event link-status default" in result.commands'
-
-- name: Set up logging event link default again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id017
-
-- ansible.builtin.assert: *id003
-
-- name: Remove logging event link default
- register: result
- cisco.nxos.nxos_logging: &id018
- event: link-default
- state: absent
-
-- ansible.builtin.assert: *id013
-
-- name: Remove logging event link default again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id018
-
-- ansible.builtin.assert: *id003
-
-- name: Set up logging event trunk enable
- register: result
- cisco.nxos.nxos_logging: &id019
- event: trunk-enable
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging event trunk-status enable" in result.commands'
-
-- name: Set up logging event trunk enable again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id019
-
-- ansible.builtin.assert: *id003
-
-- name: Remove logging event trunk enable
- register: result
- cisco.nxos.nxos_logging: &id020
- event: trunk-enable
- state: absent
-
-- ansible.builtin.assert: *id013
-
-- name: Remove logging event trunk enable again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id020
-
-- ansible.builtin.assert: *id003
-
-- name: Set up logging event trunk default
- register: result
- cisco.nxos.nxos_logging: &id021
- event: trunk-default
-
-- ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging event trunk-status default" in result.commands'
-
-- name: Set up logging event trunk default again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id021
-
-- ansible.builtin.assert: *id003
-
-- name: Remove logging event trunk default
- register: result
- cisco.nxos.nxos_logging: &id022
- event: trunk-default
- state: absent
-
-- ansible.builtin.assert: *id013
-
-- name: Remove logging event trunk default again (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id022
-
-- ansible.builtin.assert: *id003
-
-- name: Set up logging timestamp
- register: result
- cisco.nxos.nxos_logging: &id023
- timestamp: microseconds
- state: present
-
-- ansible.builtin.assert: *id013
-
-- name: Set up logging timestamp (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id023
-
-- ansible.builtin.assert: *id003
-
-- name: Remove logging timestamp
- register: result
- cisco.nxos.nxos_logging:
- timestamp: microseconds
- state: absent
-
-- ansible.builtin.assert: *id013
-
-- name: Set up facility ethpm link up error
- register: result
- cisco.nxos.nxos_logging: &id024
- facility: ethpm
- facility_link_status: link-up-error
- state: present
-
-- ansible.builtin.assert: *id013
-
-- name: Set up facility ethpm link up error (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id024
-
-- ansible.builtin.assert: *id003
-
-- name: Remove facility ethpm link up error
- register: result
- cisco.nxos.nxos_logging:
- facility: ethpm
- facility_link_status: link-up-error
- state: absent
-
-- ansible.builtin.assert: *id013
-
-- name: Set up facility ethpm link down error
- register: result
- cisco.nxos.nxos_logging: &id025
- facility: ethpm
- facility_link_status: link-down-error
- state: present
-
-- ansible.builtin.assert: *id013
-
-- name: Set up facility ethpm link down error (idempotent)
- register: result
- cisco.nxos.nxos_logging: *id025
-
-- ansible.builtin.assert: *id003
-
-- name: Remove facility ethpm link down error
- register: result
- cisco.nxos.nxos_logging:
- facility: ethpm
- facility_link_status: link-down-error
- state: absent
-
-- ansible.builtin.assert: *id013
-
-- ansible.builtin.debug:
- msg: END connection={{ ansible_connection }} nxos_logging basic test
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tests/common/purge.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tests/common/purge.yaml
deleted file mode 100644
index fa773b58a..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_logging/tests/common/purge.yaml
+++ /dev/null
@@ -1,111 +0,0 @@
----
-- ansible.builtin.debug:
- msg: START connection={{ ansible_connection }} nxos_logging purge test
-
-- name: Purge logging configuration first
- cisco.nxos.nxos_logging:
- purge: true
-
-- block:
- - name: Set up console logging
- register: result
- cisco.nxos.nxos_logging:
- dest: console
- dest_level: 0
- state: present
-
- - ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging console 0" in result.commands'
-
- - name: Set up logging timestamp
- register: result
- cisco.nxos.nxos_logging:
- timestamp: microseconds
- state: present
-
- - ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging timestamp microseconds" in result.commands'
-
- - name: Configure monitor with level
- register: result
- cisco.nxos.nxos_logging:
- dest: monitor
- dest_level: 3
-
- - ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging monitor 3" in result.commands'
-
- - name: Configure facility with level
- register: result
- cisco.nxos.nxos_logging:
- facility: daemon
- facility_level: 4
-
- - ansible.builtin.assert:
- that:
- - result.changed == true
- - '"logging level daemon 4" in result.commands'
-
- - name: Configure logging level virtual-service 7 using nxos_config
- register: result
- cisco.nxos.nxos_config:
- lines: logging level virtual-service 7
-
- - ansible.builtin.assert:
- that:
- - result.changed == true
-
- - name: Purge the outliers
- register: result
- cisco.nxos.nxos_logging:
- purge: true
-
- - ansible.builtin.assert:
- that:
- - result.changed == true
- - '"no logging level virtual-service 7" in result.commands'
-
- - block:
- - name: Purge the outliers (idempotent)
- register: result
- cisco.nxos.nxos_logging:
- purge: true
-
- - assert:
- that:
- - result.changed == false
- when: imagetag is not search("A8")
-
- - name: Remove logging as collection teardown
- register: result
- cisco.nxos.nxos_logging:
- aggregate:
- - dest: console
- dest_level: 0
-
- - dest: monitor
- dest_level: 3
-
- - timestamp: microseconds
-
- - facility: daemon
- facility_level: 4
- state: absent
-
- - ansible.builtin.assert:
- that:
- - result.changed == true
- - '"no logging console" in result.commands'
- - '"no logging timestamp microseconds" in result.commands'
- - '"no logging level daemon 4" in result.commands'
- - '"no logging monitor" in result.commands'
- when: ansible_connection != "local"
-
-- ansible.builtin.debug:
- msg: END connection={{ ansible_connection }} nxos_logging purge test
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/defaults/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/defaults/main.yaml
deleted file mode 100644
index 5f709c5aa..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/defaults/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-testcase: "*"
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/meta/main.yml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/meta/main.yml
deleted file mode 100644
index f504a6ab2..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/meta/main.yml
+++ /dev/null
@@ -1,3 +0,0 @@
----
-dependencies:
- - prepare_nxos_tests
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/cli.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/cli.yaml
deleted file mode 100644
index d3d521f2a..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/cli.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Collect common test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/common"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: test_cases
-
-- name: Collect CLI test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/cli"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: cli_cases
-
-- name: Set a fact for 'test_cases'
- ansible.builtin.set_fact:
- test_cases:
- files: "{{ test_cases.files + cli_cases.files }}"
-
-- name: Set test_items
- ansible.builtin.set_fact:
- test_items: "{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: Run test cases with connection network_cli
- ansible.builtin.include_tasks: "{{ test_case_to_run }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- vars:
- ansible_connection: ansible.netcommon.network_cli
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/main.yaml
deleted file mode 100644
index c9e70304e..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/main.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-- name: Run the CLI and NX-API tests
- block:
- - name: Include the CLI tasks
- ansible.builtin.include_tasks: cli.yaml
- tags:
- - cli
- always:
- - name: Include the NX-API tasks
- ansible.builtin.include_tasks: nxapi.yaml
- tags:
- - nxapi
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/nxapi.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/nxapi.yaml
deleted file mode 100644
index 5fec0f43b..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tasks/nxapi.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Collect common test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/common"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: test_cases
-
-- name: Collect NX-API test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/nxapi"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: nxapi_cases
-
-- name: Set a fact for 'test_cases'
- ansible.builtin.set_fact:
- test_cases:
- files: "{{ test_cases.files + nxapi_cases.files }}"
-
-- name: Set test_items
- ansible.builtin.set_fact:
- test_items: "{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: Run test cases with connection httpapi
- ansible.builtin.include_tasks: "{{ test_case_to_run }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- vars:
- ansible_connection: ansible.netcommon.httpapi
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tests/common/sanity.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tests/common/sanity.yaml
deleted file mode 100644
index f22c99f55..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp/tests/common/sanity.yaml
+++ /dev/null
@@ -1,114 +0,0 @@
----
-- ansible.builtin.debug:
- msg: START connection={{ ansible_connection }} nxos_ntp sanity test
-
-- name: Setup - remove ntp if configured
- ignore_errors: true
- cisco.nxos.nxos_ntp: &id005
- server: 1.2.3.4
- key_id: 32
- prefer: disabled
- vrf_name: management
- source_addr: 192.0.2.5
- state: absent
-
-- block:
- - name: Configure ntp
- register: result
- cisco.nxos.nxos_ntp: &id001
- server: 1.2.3.4
- key_id: 32
- prefer: enabled
- vrf_name: management
- source_addr: 192.0.2.5
- state: present
-
- - ansible.builtin.assert: &id002
- that:
- - result.changed == true
-
- - name: Idempotence check
- register: result
- cisco.nxos.nxos_ntp: *id001
-
- - ansible.builtin.assert: &id004
- that:
- - result.changed == false
-
- - name: Configure ntp with some defaults
- register: result
- cisco.nxos.nxos_ntp: &id003
- peer: 1.2.3.4
- key_id: default
- prefer: enabled
- vrf_name: default
- source_addr: default
- state: present
-
- - ansible.builtin.assert: *id002
-
- - name: Idempotence check
- register: result
- cisco.nxos.nxos_ntp: *id003
-
- - ansible.builtin.assert: *id004
-
- - name: Remove ntp configuration
- register: result
- cisco.nxos.nxos_ntp: *id005
-
- - ansible.builtin.assert: *id002
-
- - name: Remove idempotence check
- register: result
- cisco.nxos.nxos_ntp: *id005
-
- - ansible.builtin.assert: *id004
-
- - name: Configure ntp again
- register: result
- cisco.nxos.nxos_ntp: &id006
- source_int: Ethernet1/3
- peer: 1.2.3.4
- prefer: enabled
- state: present
-
- - ansible.builtin.assert: *id002
-
- - name: Idempotence check
- register: result
- cisco.nxos.nxos_ntp: *id006
-
- - ansible.builtin.assert: *id004
-
- - name: Remove source interface
- register: result
- cisco.nxos.nxos_ntp: &id007
- source_int: default
- state: present
-
- - ansible.builtin.assert: *id002
-
- - name: Idempotence check
- register: result
- cisco.nxos.nxos_ntp: *id007
-
- - ansible.builtin.assert: *id004
-
- - name: Remove ntp
- register: result
- cisco.nxos.nxos_ntp: *id005
-
- - ansible.builtin.assert: *id002
-
- - name: Remove idempotence check
- register: result
- cisco.nxos.nxos_ntp: *id005
-
- - ansible.builtin.assert: *id004
- always:
- - name: Remove ntp configuration
- cisco.nxos.nxos_ntp: *id005
-
- - ansible.builtin.debug:
- msg: END connection={{ ansible_connection }} nxos_ntp sanity test
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/defaults/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/defaults/main.yaml
deleted file mode 100644
index 5f709c5aa..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/defaults/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-testcase: "*"
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/meta/main.yml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/meta/main.yml
deleted file mode 100644
index f504a6ab2..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/meta/main.yml
+++ /dev/null
@@ -1,3 +0,0 @@
----
-dependencies:
- - prepare_nxos_tests
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/cli.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/cli.yaml
deleted file mode 100644
index d3d521f2a..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/cli.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Collect common test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/common"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: test_cases
-
-- name: Collect CLI test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/cli"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: cli_cases
-
-- name: Set a fact for 'test_cases'
- ansible.builtin.set_fact:
- test_cases:
- files: "{{ test_cases.files + cli_cases.files }}"
-
-- name: Set test_items
- ansible.builtin.set_fact:
- test_items: "{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: Run test cases with connection network_cli
- ansible.builtin.include_tasks: "{{ test_case_to_run }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- vars:
- ansible_connection: ansible.netcommon.network_cli
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/main.yaml
deleted file mode 100644
index a1da90e57..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/main.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
----
-- name: Include the CLI tasks
- ansible.builtin.include_tasks: cli.yaml
- tags:
- - cli
-
-- name: Include the NX-API tasks
- ansible.builtin.include_tasks: nxapi.yaml
- tags:
- - nxapi
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/nxapi.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/nxapi.yaml
deleted file mode 100644
index 5fec0f43b..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tasks/nxapi.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Collect common test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/common"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: test_cases
-
-- name: Collect NX-API test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/nxapi"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: nxapi_cases
-
-- name: Set a fact for 'test_cases'
- ansible.builtin.set_fact:
- test_cases:
- files: "{{ test_cases.files + nxapi_cases.files }}"
-
-- name: Set test_items
- ansible.builtin.set_fact:
- test_items: "{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: Run test cases with connection httpapi
- ansible.builtin.include_tasks: "{{ test_case_to_run }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- vars:
- ansible_connection: ansible.netcommon.httpapi
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tests/common/sanity.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tests/common/sanity.yaml
deleted file mode 100644
index 3ceb9e122..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_auth/tests/common/sanity.yaml
+++ /dev/null
@@ -1,133 +0,0 @@
----
-- ansible.builtin.debug:
- msg: START connection={{ ansible_connection }} nxos_ntp_auth sanity test
-
-- name: Configure text ntp authentication
- ignore_errors: true
- cisco.nxos.nxos_ntp_auth: &id009
- key_id: 32
- md5string: hello
- state: absent
-
-- block:
- - name: Configure text ntp authentication
- register: result
- cisco.nxos.nxos_ntp_auth:
- key_id: 32
- md5string: hello
- authentication: false
- state: present
-
- - ansible.builtin.assert: &id001
- that:
- - result.changed == true
-
- - name: Remove text ntp authentication
- register: result
- cisco.nxos.nxos_ntp_auth:
- key_id: 32
- md5string: hello
- authentication: false
- state: absent
-
- - ansible.builtin.assert: *id001
-
- - name: Configure encrypt ntp authentication
- register: result
- cisco.nxos.nxos_ntp_auth: &id002
- key_id: 32
- md5string: hello
- auth_type: encrypt
- state: present
-
- - ansible.builtin.assert: *id001
-
- - name: Check idempotence - configure encrypt ntp authentication
- register: result
- cisco.nxos.nxos_ntp_auth: *id002
-
- - ansible.builtin.assert: &id004
- that:
- - result.changed == false
-
- - name: Turn on authentication
- register: result
- cisco.nxos.nxos_ntp_auth: &id003
- authentication: true
- state: present
-
- - ansible.builtin.assert: *id001
-
- - name: Check idempotence - turn on authentication
- register: result
- cisco.nxos.nxos_ntp_auth: *id003
-
- - ansible.builtin.assert: *id004
-
- - name: Turn off authentication
- register: result
- cisco.nxos.nxos_ntp_auth: &id005
- authentication: false
- state: present
-
- - ansible.builtin.assert: *id001
-
- - name: Check idempotence - turn off authentication
- register: result
- cisco.nxos.nxos_ntp_auth: *id005
-
- - ansible.builtin.assert: *id004
-
- - name: Add trusted key
- register: result
- cisco.nxos.nxos_ntp_auth: &id006
- key_id: 32
- trusted_key: true
- state: present
-
- - ansible.builtin.assert: *id001
-
- - name: Check idempotence - add trusted key
- register: result
- cisco.nxos.nxos_ntp_auth: *id006
-
- - ansible.builtin.assert: *id004
-
- - name: Remove trusted key
- register: result
- cisco.nxos.nxos_ntp_auth: &id007
- key_id: 32
- trusted_key: false
- state: present
-
- - ansible.builtin.assert: *id001
-
- - name: Check idempotence - remove trusted key
- register: result
- cisco.nxos.nxos_ntp_auth: *id007
-
- - ansible.builtin.assert: *id004
-
- - name: Remove encrypt ntp authentication
- register: result
- cisco.nxos.nxos_ntp_auth: &id008
- key_id: 32
- md5string: hello
- auth_type: encrypt
- authentication: true
- state: absent
-
- - ansible.builtin.assert: *id001
-
- - name: Check idempotence - remove encrypt ntp authentication
- register: result
- cisco.nxos.nxos_ntp_auth: *id008
-
- - ansible.builtin.assert: *id004
- always:
- - name: Cleanup ntp auth configuration
- ignore_errors: true
- cisco.nxos.nxos_ntp_auth: *id009
-
- - ansible.builtin.debug:
- msg: END connection={{ ansible_connection }} nxos_ntp_auth sanity test
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/defaults/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/defaults/main.yaml
deleted file mode 100644
index 5f709c5aa..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/defaults/main.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-testcase: "*"
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/meta/main.yml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/meta/main.yml
deleted file mode 100644
index f504a6ab2..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/meta/main.yml
+++ /dev/null
@@ -1,3 +0,0 @@
----
-dependencies:
- - prepare_nxos_tests
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/cli.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/cli.yaml
deleted file mode 100644
index d3d521f2a..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/cli.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Collect common test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/common"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: test_cases
-
-- name: Collect CLI test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/cli"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: cli_cases
-
-- name: Set a fact for 'test_cases'
- ansible.builtin.set_fact:
- test_cases:
- files: "{{ test_cases.files + cli_cases.files }}"
-
-- name: Set test_items
- ansible.builtin.set_fact:
- test_items: "{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: Run test cases with connection network_cli
- ansible.builtin.include_tasks: "{{ test_case_to_run }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- vars:
- ansible_connection: ansible.netcommon.network_cli
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/main.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/main.yaml
deleted file mode 100644
index a1da90e57..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/main.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
----
-- name: Include the CLI tasks
- ansible.builtin.include_tasks: cli.yaml
- tags:
- - cli
-
-- name: Include the NX-API tasks
- ansible.builtin.include_tasks: nxapi.yaml
- tags:
- - nxapi
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/nxapi.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/nxapi.yaml
deleted file mode 100644
index 5fec0f43b..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tasks/nxapi.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Collect common test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/common"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: test_cases
-
-- name: Collect NX-API test cases
- ansible.builtin.find:
- paths: "{{ role_path }}/tests/nxapi"
- patterns: "{{ testcase }}.yaml"
- connection: local
- register: nxapi_cases
-
-- name: Set a fact for 'test_cases'
- ansible.builtin.set_fact:
- test_cases:
- files: "{{ test_cases.files + nxapi_cases.files }}"
-
-- name: Set test_items
- ansible.builtin.set_fact:
- test_items: "{{ test_cases.files | map(attribute='path') | list }}"
-
-- name: Run test cases with connection httpapi
- ansible.builtin.include_tasks: "{{ test_case_to_run }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
- vars:
- ansible_connection: ansible.netcommon.httpapi
diff --git a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tests/common/sanity.yaml b/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tests/common/sanity.yaml
deleted file mode 100644
index 1ee9433ef..000000000
--- a/ansible_collections/cisco/nxos/tests/integration/targets/nxos_ntp_options/tests/common/sanity.yaml
+++ /dev/null
@@ -1,99 +0,0 @@
----
-- ansible.builtin.debug:
- msg: START connection={{ ansible_connection }} nxos_ntp_options sanity test
-
-- name: Apply default ntp configuration
- ignore_errors: true
- cisco.nxos.nxos_ntp_options: &id007
- state: absent
-
-- block:
- - name: Configure ntp with master and default stratum
- register: result
- cisco.nxos.nxos_ntp_options: &id001
- master: true
- logging: true
- state: present
-
- - ansible.builtin.assert: &id002
- that:
- - result.changed == true
-
- - name: Check idempotence - configure ntp with master and default stratum
- register: result
- cisco.nxos.nxos_ntp_options: *id001
-
- - ansible.builtin.assert: &id004
- that:
- - result.changed == false
-
- - name: Configure ntp with master and non-default stratum
- register: result
- cisco.nxos.nxos_ntp_options: &id003
- master: true
- stratum: 10
- state: present
-
- - ansible.builtin.assert: *id002
-
- - name: Check idempotence - configure ntp with master and non-default stratum
- register: result
- cisco.nxos.nxos_ntp_options: *id003
-
- - ansible.builtin.assert: *id004
-
- - name: Configure ntp with master and no logging
- register: result
- cisco.nxos.nxos_ntp_options: &id005
- master: true
- stratum: 10
- logging: false
- state: present
-
- - ansible.builtin.assert: *id002
-
- - name: Check idempotence - configure ntp with master and no logging
- register: result
- cisco.nxos.nxos_ntp_options: *id005
-
- - ansible.builtin.assert: *id004
-
- - name: Configure ntp with logging and no master
- register: result
- cisco.nxos.nxos_ntp_options: &id006
- master: false
- logging: true
- state: present
-
- - ansible.builtin.assert: *id002
-
- - name: Check idempotence - configure ntp with logging and no master
- register: result
- cisco.nxos.nxos_ntp_options: *id006
-
- - ansible.builtin.assert: *id004
-
- - name: Configure ntp with master and non-default stratum again
- register: result
- cisco.nxos.nxos_ntp_options: *id003
-
- - ansible.builtin.assert: *id002
-
- - name: Remove ntp options
- register: result
- cisco.nxos.nxos_ntp_options: *id007
-
- - ansible.builtin.assert: *id002
-
- - name: Check idempotence - remove
- register: result
- cisco.nxos.nxos_ntp_options: *id007
-
- - ansible.builtin.assert: *id004
- always:
- - name: Cleanup ntp configuration
- register: result
- cisco.nxos.nxos_ntp_options: *id007
-
- - ansible.builtin.debug:
- msg: END connection={{ ansible_connection }} nxos_ntp_options sanity test
diff --git a/ansible_collections/cisco/nxos/tests/integration/test_integration.py b/ansible_collections/cisco/nxos/tests/integration/test_integration.py
new file mode 100644
index 000000000..aed5c0548
--- /dev/null
+++ b/ansible_collections/cisco/nxos/tests/integration/test_integration.py
@@ -0,0 +1,43 @@
+import subprocess
+
+import pytest
+
+
+def run(ansible_project, environment):
+ __tracebackhide__ = True
+ args = [
+ "ansible-navigator",
+ "run",
+ str(ansible_project.playbook),
+ "-i",
+ str(ansible_project.inventory),
+ "--ee",
+ "false",
+ "--mode",
+ "stdout",
+ "--pas",
+ str(ansible_project.playbook_artifact),
+ "--ll",
+ "debug",
+ "--lf",
+ str(ansible_project.log_file),
+ "--skip-tags",
+ "local,nxapi",
+ ]
+ process = subprocess.run(
+ args=args,
+ env=environment,
+ stderr=subprocess.PIPE,
+ stdout=subprocess.PIPE,
+ check=False,
+ shell=False,
+ )
+ if process.returncode:
+ print(process.stdout.decode("utf-8"))
+ print(process.stderr.decode("utf-8"))
+
+ pytest.fail(reason=f"Integration test failed: {ansible_project.role}")
+
+
+def test_integration(ansible_project, environment):
+ run(ansible_project, environment)
diff --git a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.10.txt b/ansible_collections/cisco/nxos/tests/sanity/ignore-2.10.txt
deleted file mode 100644
index 4f8c291ee..000000000
--- a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.10.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-plugins/action/nxos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local`
-plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py compile-2.6!skip
-plugins/modules/nxos_bgp_address_family.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py compile-2.6!skip
-plugins/modules/nxos_bgp_neighbor_address_family.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py import-2.6!skip
-plugins/modules/nxos_bgp_global.py import-2.6!skip
-plugins/modules/nxos_ospf_interfaces.py import-2.6!skip
-plugins/modules/nxos_ospfv2.py import-2.6!skip
-plugins/modules/nxos_ospfv3.py import-2.6!skip
-plugins/modules/nxos_route_maps.py import-2.6!skip
-plugins/module_utils/network/nxos/config/route_maps/route_maps.py import-2.6!skip
-plugins/module_utils/network/nxos/config/route_maps/route_maps.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py import-2.6!skip
-plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py import-2.6!skip
-plugins/modules/nxos_bgp_address_family.py import-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py import-2.6!skip
-plugins/modules/nxos_bgp_neighbor_address_family.py import-2.6!skip
-plugins/modules/nxos_prefix_lists.py import-2.6!skip
-plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py import-2.6!skip
-plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py compile-2.6!skip
-plugins/modules/nxos_logging_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/logging_global/logging_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/logging_global/logging_global.py compile-2.6!skip
-plugins/module_utils/network/nxos/utils/utils.py import-2.6!skip
-plugins/module_utils/network/nxos/utils/utils.py compile-2.6!skip
diff --git a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.11.txt b/ansible_collections/cisco/nxos/tests/sanity/ignore-2.11.txt
deleted file mode 100644
index 4f8c291ee..000000000
--- a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.11.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-plugins/action/nxos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local`
-plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py compile-2.6!skip
-plugins/modules/nxos_bgp_address_family.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py compile-2.6!skip
-plugins/modules/nxos_bgp_neighbor_address_family.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py import-2.6!skip
-plugins/modules/nxos_bgp_global.py import-2.6!skip
-plugins/modules/nxos_ospf_interfaces.py import-2.6!skip
-plugins/modules/nxos_ospfv2.py import-2.6!skip
-plugins/modules/nxos_ospfv3.py import-2.6!skip
-plugins/modules/nxos_route_maps.py import-2.6!skip
-plugins/module_utils/network/nxos/config/route_maps/route_maps.py import-2.6!skip
-plugins/module_utils/network/nxos/config/route_maps/route_maps.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py import-2.6!skip
-plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py import-2.6!skip
-plugins/modules/nxos_bgp_address_family.py import-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py import-2.6!skip
-plugins/modules/nxos_bgp_neighbor_address_family.py import-2.6!skip
-plugins/modules/nxos_prefix_lists.py import-2.6!skip
-plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py import-2.6!skip
-plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py compile-2.6!skip
-plugins/modules/nxos_logging_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/logging_global/logging_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/logging_global/logging_global.py compile-2.6!skip
-plugins/module_utils/network/nxos/utils/utils.py import-2.6!skip
-plugins/module_utils/network/nxos/utils/utils.py compile-2.6!skip
diff --git a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.12.txt b/ansible_collections/cisco/nxos/tests/sanity/ignore-2.12.txt
deleted file mode 100644
index d7b9bbd97..000000000
--- a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.12.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-plugins/action/nxos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local`
-plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py compile-2.6!skip
-plugins/modules/nxos_bgp_address_family.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py compile-2.6!skip
-plugins/modules/nxos_bgp_neighbor_address_family.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py import-2.6!skip
-plugins/modules/nxos_bgp_global.py import-2.6!skip
-plugins/modules/nxos_ospf_interfaces.py import-2.6!skip
-plugins/modules/nxos_ospfv2.py import-2.6!skip
-plugins/modules/nxos_ospfv3.py import-2.6!skip
-plugins/modules/nxos_route_maps.py import-2.6!skip
-plugins/module_utils/network/nxos/config/route_maps/route_maps.py import-2.6!skip
-plugins/module_utils/network/nxos/config/route_maps/route_maps.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py import-2.6!skip
-plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py import-2.6!skip
-plugins/modules/nxos_bgp_address_family.py import-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py import-2.6!skip
-plugins/modules/nxos_bgp_neighbor_address_family.py import-2.6!skip
-plugins/modules/nxos_prefix_lists.py import-2.6!skip
-plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py import-2.6!skip
-plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py compile-2.6!skip
-plugins/modules/nxos_logging_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/logging_global/logging_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/logging_global/logging_global.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ntp_global/ntp_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ntp_global/ntp_global.py compile-2.6!skip
-plugins/module_utils/network/nxos/utils/utils.py import-2.6!skip
-plugins/module_utils/network/nxos/utils/utils.py compile-2.6!skip
diff --git a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.13.txt b/ansible_collections/cisco/nxos/tests/sanity/ignore-2.18.txt
index 46cfbc643..46cfbc643 100644
--- a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.13.txt
+++ b/ansible_collections/cisco/nxos/tests/sanity/ignore-2.18.txt
diff --git a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.9.txt b/ansible_collections/cisco/nxos/tests/sanity/ignore-2.9.txt
deleted file mode 100644
index ada896a7b..000000000
--- a/ansible_collections/cisco/nxos/tests/sanity/ignore-2.9.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-plugins/modules/nxos_logging.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_logging.py validate-modules:invalid-documentation # removed_at_date not
-plugins/action/nxos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local`
-plugins/modules/nxos_ntp.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_ntp.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/modules/nxos_ntp_auth.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_ntp_auth.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/modules/nxos_ntp_options.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_ntp_options.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/modules/nxos_snmp_community.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_snmp_community.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/modules/nxos_snmp_contact.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_snmp_contact.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/modules/nxos_snmp_host.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_snmp_host.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/modules/nxos_snmp_location.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_snmp_location.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/modules/nxos_snmp_traps.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_snmp_traps.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/modules/nxos_snmp_user.py validate-modules:deprecation-mismatch # 2.9 expects METADATA
-plugins/modules/nxos_snmp_user.py validate-modules:invalid-documentation # removed_at_date not supported in `deprecated` dict
-plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py compile-2.6!skip
-plugins/modules/nxos_bgp_address_family.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py compile-2.6!skip
-plugins/modules/nxos_bgp_neighbor_address_family.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_global/bgp_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospf_interfaces/ospf_interfaces.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv2/ospfv2.py import-2.6!skip
-plugins/module_utils/network/nxos/config/ospfv3/ospfv3.py import-2.6!skip
-plugins/modules/nxos_bgp_global.py import-2.6!skip
-plugins/modules/nxos_ospf_interfaces.py import-2.6!skip
-plugins/modules/nxos_ospfv2.py import-2.6!skip
-plugins/modules/nxos_ospfv3.py import-2.6!skip
-plugins/modules/nxos_route_maps.py import-2.6!skip
-plugins/module_utils/network/nxos/config/route_maps/route_maps.py import-2.6!skip
-plugins/module_utils/network/nxos/config/route_maps/route_maps.py compile-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_address_family/bgp_address_family.py import-2.6!skip
-plugins/modules/nxos_bgp_address_family.py import-2.6!skip
-plugins/module_utils/network/nxos/config/bgp_neighbor_address_family/bgp_neighbor_address_family.py import-2.6!skip
-plugins/modules/nxos_bgp_neighbor_address_family.py import-2.6!skip
-plugins/modules/nxos_prefix_lists.py import-2.6!skip
-plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py import-2.6!skip
-plugins/module_utils/network/nxos/config/prefix_lists/prefix_lists.py compile-2.6!skip
-plugins/modules/nxos_logging_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/logging_global/logging_global.py import-2.6!skip
-plugins/module_utils/network/nxos/config/logging_global/logging_global.py compile-2.6!skip
-plugins/modules/nxos_snmp_server.py import-2.6!skip
-plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py import-2.6!skip
-plugins/module_utils/network/nxos/config/snmp_server/snmp_server.py compile-2.6!skip
-plugins/module_utils/network/nxos/utils/utils.py import-2.6!skip
-plugins/module_utils/network/nxos/utils/utils.py compile-2.6!skip
diff --git a/ansible_collections/cisco/nxos/tests/unit/compat/mock.py b/ansible_collections/cisco/nxos/tests/unit/compat/mock.py
deleted file mode 100644
index 50583cd6f..000000000
--- a/ansible_collections/cisco/nxos/tests/unit/compat/mock.py
+++ /dev/null
@@ -1,127 +0,0 @@
-# (c) 2014, Toshio Kuratomi <tkuratomi@ansible.com>
-#
-# This file is part of Ansible
-#
-# Ansible is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Ansible is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
-
-# Make coding more python3-ish
-from __future__ import absolute_import, division, print_function
-
-
-__metaclass__ = type
-
-"""
-Compat module for Python3.x's unittest.mock module
-"""
-import sys
-
-
-# Python 2.7
-
-# Note: Could use the pypi mock library on python3.x as well as python2.x. It
-# is the same as the python3 stdlib mock library
-
-try:
- # Allow wildcard import because we really do want to import all of mock's
- # symbols into this compat shim
- # pylint: disable=wildcard-import,unused-wildcard-import
- from unittest.mock import *
-except ImportError:
- # Python 2
- # pylint: disable=wildcard-import,unused-wildcard-import
- try:
- from mock import *
- except ImportError:
- print("You need the mock library installed on python2.x to run tests")
-
-
-# Prior to 3.4.4, mock_open cannot handle binary read_data
-if sys.version_info >= (3,) and sys.version_info < (3, 4, 4):
- file_spec = None
-
- def _iterate_read_data(read_data):
- # Helper for mock_open:
- # Retrieve lines from read_data via a generator so that separate calls to
- # readline, read, and readlines are properly interleaved
- sep = b"\n" if isinstance(read_data, bytes) else "\n"
- data_as_list = [l + sep for l in read_data.split(sep)]
-
- if data_as_list[-1] == sep:
- # If the last line ended in a newline, the list comprehension will have an
- # extra entry that's just a newline. Remove this.
- data_as_list = data_as_list[:-1]
- else:
- # If there wasn't an extra newline by itself, then the file being
- # emulated doesn't have a newline to end the last line remove the
- # newline that our naive format() added
- data_as_list[-1] = data_as_list[-1][:-1]
-
- for line in data_as_list:
- yield line
-
- def mock_open(mock=None, read_data=""):
- """
- A helper function to create a mock to replace the use of `open`. It works
- for `open` called directly or used as a context manager.
-
- The `mock` argument is the mock object to configure. If `None` (the
- default) then a `MagicMock` will be created for you, with the API limited
- to methods or attributes available on standard file handles.
-
- `read_data` is a string for the `read` methoddline`, and `readlines` of the
- file handle to return. This is an empty string by default.
- """
-
- def _readlines_side_effect(*args, **kwargs):
- if handle.readlines.return_value is not None:
- return handle.readlines.return_value
- return list(_data)
-
- def _read_side_effect(*args, **kwargs):
- if handle.read.return_value is not None:
- return handle.read.return_value
- return type(read_data)().join(_data)
-
- def _readline_side_effect():
- if handle.readline.return_value is not None:
- while True:
- yield handle.readline.return_value
- for line in _data:
- yield line
-
- global file_spec
- if file_spec is None:
- import _io
-
- file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
-
- if mock is None:
- mock = MagicMock(name="open", spec=open)
-
- handle = MagicMock(spec=file_spec)
- handle.__enter__.return_value = handle
-
- _data = _iterate_read_data(read_data)
-
- handle.write.return_value = None
- handle.read.return_value = None
- handle.readline.return_value = None
- handle.readlines.return_value = None
-
- handle.read.side_effect = _read_side_effect
- handle.readline.side_effect = _readline_side_effect()
- handle.readlines.side_effect = _readlines_side_effect
-
- mock.return_value = handle
- return mock
diff --git a/ansible_collections/cisco/nxos/tests/unit/compat/unittest.py b/ansible_collections/cisco/nxos/tests/unit/compat/unittest.py
deleted file mode 100644
index df4266ec9..000000000
--- a/ansible_collections/cisco/nxos/tests/unit/compat/unittest.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# (c) 2014, Toshio Kuratomi <tkuratomi@ansible.com>
-#
-# This file is part of Ansible
-#
-# Ansible is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Ansible is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
-
-# Make coding more python3-ish
-from __future__ import absolute_import, division, print_function
-
-
-__metaclass__ = type
-
-"""
-Compat module for Python2.7's unittest module
-"""
-
-import sys
-
-
-# Allow wildcard import because we really do want to import all of
-# unittests's symbols into this compat shim
-# pylint: disable=wildcard-import,unused-wildcard-import
-if sys.version_info < (2, 7):
- try:
- # Need unittest2 on python2.6
- from unittest2 import *
- except ImportError:
- print("You need unittest2 installed on python2.6.x to run tests")
-else:
- from unittest import *
diff --git a/ansible_collections/cisco/nxos/tests/unit/mock/path.py b/ansible_collections/cisco/nxos/tests/unit/mock/path.py
index d15430fde..6053b30f2 100644
--- a/ansible_collections/cisco/nxos/tests/unit/mock/path.py
+++ b/ansible_collections/cisco/nxos/tests/unit/mock/path.py
@@ -2,9 +2,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
-from ansible.utils.path import unfrackpath
+from unittest.mock import MagicMock
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import MagicMock
+from ansible.utils.path import unfrackpath
mock_unfrackpath_noop = MagicMock(spec_set=unfrackpath, side_effect=lambda x, *args, **kwargs: x)
diff --git a/ansible_collections/cisco/nxos/tests/unit/mock/procenv.py b/ansible_collections/cisco/nxos/tests/unit/mock/procenv.py
index e14ad0ece..e6e09464b 100644
--- a/ansible_collections/cisco/nxos/tests/unit/mock/procenv.py
+++ b/ansible_collections/cisco/nxos/tests/unit/mock/procenv.py
@@ -27,12 +27,11 @@ import sys
from contextlib import contextmanager
from io import BytesIO, StringIO
+from unittest import TestCase
from ansible.module_utils._text import to_bytes
from ansible.module_utils.six import PY3
-from ansible_collections.cisco.nxos.tests.unit.compat import unittest
-
@contextmanager
def swap_stdin_and_argv(stdin_data="", argv_data=tuple()):
@@ -78,7 +77,7 @@ def swap_stdout():
sys.stdout = old_stdout
-class ModuleTestCase(unittest.TestCase):
+class ModuleTestCase(TestCase):
def setUp(self, module_args=None):
if module_args is None:
module_args = {
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos.py
index fd5cdb36f..25f3dfe62 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos.py
@@ -29,13 +29,14 @@ try:
except ImportError:
from mock import MagicMock
+from unittest import TestCase
+
from ansible.module_utils._text import to_bytes, to_text
from ansible_collections.cisco.nxos.plugins.cliconf import nxos
-from ansible_collections.cisco.nxos.tests.unit.compat import unittest
-class TestPluginCLIConfNXOS(unittest.TestCase):
+class TestPluginCLIConfNXOS(TestCase):
"""Test class for NXOS CLI Conf Methods"""
def setUp(self):
@@ -112,13 +113,19 @@ class TestPluginCLIConfNXOS(unittest.TestCase):
def test_get_command_with_output_nxos(self):
"""Test _get_command_with_output for nxos"""
self._prepare()
- cmd = self._cliconf._get_command_with_output(command="show version", output="json")
+ cmd = self._cliconf._get_command_with_output(
+ command="show version",
+ output="json",
+ )
self.assertEqual(cmd, "show version | json")
def test_get_command_with_output_mds(self):
"""Test _get_command_with_output for mds"""
self._prepare(platform="mds")
- cmd = self._cliconf._get_command_with_output(command="show version", output="json")
+ cmd = self._cliconf._get_command_with_output(
+ command="show version",
+ output="json",
+ )
self.assertEqual(cmd, "show version | json native")
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acl_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acl_interfaces.py
index ae56208fd..0c262d6a3 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acl_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acl_interfaces.py
@@ -8,8 +8,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_acl_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from ansible_collections.cisco.nxos.tests.unit.modules.utils import set_module_args
from .nxos_module import TestNxosModule
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acls.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acls.py
index b7c0e8663..de3595cef 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acls.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_acls.py
@@ -9,9 +9,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_acls
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from ansible_collections.cisco.nxos.tests.unit.modules.utils import set_module_args
from .nxos_module import TestNxosModule
@@ -475,22 +475,33 @@ class TestNxosAclsModule(TestNxosModule):
self.assertEqual(result["parsed"], compare_list, result["parsed"])
def test_nxos_acls_gathered(self):
+ self.execute_show_command.return_value = dedent(
+ """\
+ ip access-list ACL1v4
+ 10 permit ip any any
+ 20 deny udp any any
+ ip access-list ComplicatedAcl
+ 10 permit tcp any range 1024 65500 192.168.0.0 0.0.0.255 eq 1700
+ ipv6 access-list ACL1v6
+ 10 permit sctp any any
+ """,
+ )
set_module_args(dict(config=[], state="gathered"))
result = self.execute_module(changed=False)
compare_list = [
{
"acls": [
{
+ "name": "ACL1v6",
"aces": [
{
- "destination": {"any": True},
"sequence": 10,
+ "grant": "permit",
"protocol": "sctp",
"source": {"any": True},
- "grant": "permit",
+ "destination": {"any": True},
},
],
- "name": "ACL1v6",
},
],
"afi": "ipv6",
@@ -498,23 +509,42 @@ class TestNxosAclsModule(TestNxosModule):
{
"acls": [
{
+ "name": "ACL1v4",
"aces": [
{
- "destination": {"any": True},
"sequence": 10,
+ "grant": "permit",
"protocol": "ip",
"source": {"any": True},
- "grant": "permit",
+ "destination": {"any": True},
},
{
- "destination": {"any": True},
"sequence": 20,
+ "grant": "deny",
"protocol": "udp",
"source": {"any": True},
- "grant": "deny",
+ "destination": {"any": True},
+ },
+ ],
+ },
+ {
+ "name": "ComplicatedAcl",
+ "aces": [
+ {
+ "sequence": 10,
+ "grant": "permit",
+ "protocol": "tcp",
+ "source": {
+ "any": True,
+ "port_protocol": {"range": {"start": "1024", "end": "65500"}},
+ },
+ "destination": {
+ "address": "192.168.0.0",
+ "wildcard_bits": "0.0.0.255",
+ "port_protocol": {"eq": "1700"},
+ },
},
],
- "name": "ACL1v4",
},
],
"afi": "ipv4",
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_banner.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_banner.py
index c9d564ddb..9f5a63a92 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_banner.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_banner.py
@@ -20,8 +20,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_banner
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_global.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_global.py
index e0e48ac7a..1ccc9dacf 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_global.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_global.py
@@ -22,6 +22,8 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
# TBD: These imports / import checks are only needed as a workaround for
# shippable, which fails this test due to import yaml & import ordereddict.
import pytest
@@ -30,7 +32,6 @@ from ansible_collections.cisco.nxos.plugins.module_utils.network.nxos.nxos impor
nxosCmdRef_import_check,
)
from ansible_collections.cisco.nxos.plugins.modules import nxos_bfd_global
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_interfaces.py
index e40f5fc2e..848788c46 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bfd_interfaces.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_bfd_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_address_family.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_address_family.py
index d9c6c2357..10140e776 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_address_family.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_address_family.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_bgp_address_family
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
@@ -2314,7 +2314,7 @@ class TestNxosBGPAddressFamilyModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_bgp_af_delete(self):
+ def test_nxos_bgp_af_delete_1(self):
# test gathered
self.get_config.return_value = dedent(
"""\
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_global.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_global.py
index 22c9378eb..acf79b77e 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_global.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_global.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_bgp_global
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
@@ -233,7 +233,7 @@ class TestNxosBgpGlobalModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_bgp_global_bfd(self):
+ def test_nxos_bgp_global_bfd_1(self):
run_cfg = dedent(
"""\
router bgp 65536
@@ -1046,7 +1046,7 @@ class TestNxosBgpGlobalModule(TestNxosModule):
result = self.execute_module(changed=False)
self.assertEqual(result["commands"], [])
- def test_nxos_bgp_global_purged(self):
+ def test_nxos_bgp_global_purged_1(self):
run_cfg = dedent(
"""\
router bgp 65001
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_neighbor_address_family.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_neighbor_address_family.py
index b3943f370..0b325d2e8 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_neighbor_address_family.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_neighbor_address_family.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_bgp_neighbor_address_family
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
@@ -868,7 +868,7 @@ class TestNxosBGPNeighborAddressFamilyModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_bgp_nbr_af_originate_peer_as_merged(self):
+ def test_nxos_bgp_nbr_af_originate_peer_as_merged_1(self):
# test merged for default_originate, disable_peer_as_check
self.get_config.return_value = dedent(
"""\
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_templates.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_templates.py
index 8d2fd74b5..2eedccaf8 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_templates.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_bgp_templates.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_bgp_templates
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_command.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_command.py
index cb7c40ba9..9a0714e9c 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_command.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_command.py
@@ -24,8 +24,9 @@ __metaclass__ = type
import json
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_command
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_config.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_config.py
index ce5c987c7..be762de23 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_config.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_config.py
@@ -22,9 +22,10 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import MagicMock, patch
+
from ansible_collections.cisco.nxos.plugins.cliconf.nxos import Cliconf
from ansible_collections.cisco.nxos.plugins.modules import nxos_config
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import MagicMock, patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_devicealias.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_devicealias.py
index 640bcd150..d034a3aaa 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_devicealias.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_devicealias.py
@@ -7,10 +7,11 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
import pytest
from ansible_collections.cisco.nxos.plugins.modules import nxos_devicealias
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from ansible_collections.cisco.nxos.tests.unit.modules.utils import AnsibleFailJson
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_global.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_global.py
index c9fa7911e..55e2a4151 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_global.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_global.py
@@ -23,8 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_evpn_global
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_vni.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_vni.py
index 0211a5a31..9b08b6164 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_vni.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_evpn_vni.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_evpn_vni
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_fc_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_fc_interfaces.py
index 098a5b7ff..18cef069a 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_fc_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_fc_interfaces.py
@@ -29,13 +29,13 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.module_utils.network.nxos.rm_templates.fc_interfaces import (
allowed_port_modes,
allowed_speed_values,
)
from ansible_collections.cisco.nxos.plugins.modules import nxos_fc_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_feature.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_feature.py
index 1c79537f1..e98fbce1e 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_feature.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_feature.py
@@ -24,8 +24,9 @@ __metaclass__ = type
import json
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_feature
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hostname.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hostname.py
index 732f59e7a..9ddb9e306 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hostname.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hostname.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_hostname
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp.py
index 4ffcc43f3..794ecd896 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_hsrp
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp_interfaces.py
index e4f21a825..8bbe79ae4 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_hsrp_interfaces.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_hsrp_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_interfaces.py
index fb8dae234..e0b0b55ce 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_interfaces.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
@@ -84,7 +84,7 @@ class TestNxosInterfacesModule(TestNxosModule):
self.edit_config.return_value = None
if device == "legacy":
# call execute_module() with device='legacy' to use this codepath
- self.get_platform.return_value = "N3K-Cxxx"
+ self.get_platform.return_value = "N5K-Cxxx"
else:
self.get_platform.return_value = "N9K-Cxxx"
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_l3_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_l3_interfaces.py
index 289c36ffd..7bb5da30e 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_l3_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_l3_interfaces.py
@@ -23,12 +23,12 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import PropertyMock, patch
from ansible_collections.cisco.nxos.plugins.module_utils.network.nxos.config.l3_interfaces.l3_interfaces import (
L3_interfaces,
)
from ansible_collections.cisco.nxos.plugins.modules import nxos_l3_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import PropertyMock, patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lacp_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lacp_interfaces.py
index e6850278a..3e9c0c64d 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lacp_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lacp_interfaces.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_lacp_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lldp_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lldp_interfaces.py
index c2acfcc49..c2292a3cb 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lldp_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_lldp_interfaces.py
@@ -8,8 +8,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_lldp_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from ansible_collections.cisco.nxos.tests.unit.modules.utils import set_module_args
from .nxos_module import TestNxosModule
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_logging_global.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_logging_global.py
index aea13fc94..465ea0116 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_logging_global.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_logging_global.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_logging_global
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
@@ -190,7 +190,7 @@ class TestNxosLoggingGlobalModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_logging_global_linear_replaced(self):
+ def test_nxos_logging_global_linear_replaced_1(self):
# test replaced for linear attributes
self.get_config.return_value = dedent(
"""\
@@ -464,7 +464,7 @@ class TestNxosLoggingGlobalModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_logging_global_event_merged(self):
+ def test_nxos_logging_global_event_merged_1(self):
# test merged for `event`
self.get_config.return_value = dedent(
"""\
@@ -731,7 +731,7 @@ class TestNxosLoggingGlobalModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_logging_global_event_replaced_2(self):
+ def test_nxos_logging_global_event_replaced_3(self):
# test replaced for `event` - 2
self.get_config.return_value = dedent(
"""\
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ntp_global.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ntp_global.py
index 7c49d8668..d931a357b 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ntp_global.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ntp_global.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_ntp_global
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
@@ -268,7 +268,7 @@ class TestNxosNtpGlobalModule(TestNxosModule):
result = self.execute_module(changed=False)
self.assertEqual(result["commands"], [])
- def test_nxos_ntp_global_complex_merged_idempotent(self):
+ def test_nxos_ntp_global_complex_merged_idempotent_1(self):
# test merged for complex attributes
self.get_config.return_value = dedent(
"""\
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_nxapi.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_nxapi.py
index 7eb12a21c..12ceeac82 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_nxapi.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_nxapi.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_nxapi
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospf_interfaces.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospf_interfaces.py
index f22889574..159086004 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospf_interfaces.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospf_interfaces.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_ospf_interfaces
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv2.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv2.py
index 175570499..80234c11a 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv2.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv2.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_ospfv2
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv3.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv3.py
index 70a2ae47e..ea8759c20 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv3.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ospfv3.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_ospfv3
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_overlay_global.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_overlay_global.py
index 976aa0964..1368ab240 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_overlay_global.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_overlay_global.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_overlay_global
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim.py
index eea384836..cb427c967 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_pim
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_interface.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_interface.py
index b746b8b46..9cc7b48ed 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_interface.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_interface.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_pim_interface
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_rp_address.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_rp_address.py
index f4dbd13ac..a03b78026 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_rp_address.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_pim_rp_address.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_pim_rp_address
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ping.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ping.py
index bdaabe881..e92649b74 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ping.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_ping.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_ping
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_prefix_lists.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_prefix_lists.py
index d94f0b3e0..f93f9b8f4 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_prefix_lists.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_prefix_lists.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_prefix_lists
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_route_maps.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_route_maps.py
index 06d76fe38..d247c02b4 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_route_maps.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_route_maps.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_route_maps
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_snmp_server.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_snmp_server.py
index 1b7672775..a15562b10 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_snmp_server.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_snmp_server.py
@@ -23,9 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_snmp_server
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
@@ -391,7 +391,7 @@ class TestNxosSnmpServerModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_snmp_server_traps_replaced(self):
+ def test_nxos_snmp_server_traps_replaced_1(self):
# test replaced for traps
self.get_config.return_value = dedent(
"""\
@@ -482,7 +482,7 @@ class TestNxosSnmpServerModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_snmp_server_hosts_merged(self):
+ def test_nxos_snmp_server_hosts_merged_1(self):
# test merged for hosts
self.get_config.return_value = dedent(
"""\
@@ -591,7 +591,7 @@ class TestNxosSnmpServerModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_snmp_server_users_merged(self):
+ def test_nxos_snmp_server_users_merged_1(self):
# test merged for users
self.get_config.return_value = dedent(
"""\
@@ -662,18 +662,19 @@ class TestNxosSnmpServerModule(TestNxosModule):
)
commands = [
"snmp-server user snmp_user_2 network-admin auth md5 0x5632724fb8ac3699296af26281e1d0f1 priv 0x5632724fb8ac3699296af26281e1d0f1"
- " localizedkey engineID 2:2:2:2:2",
+ " localizedV2key engineID 2:2:2:2:2",
"snmp-server user snmp_user_3 network-admin auth md5 0x5632724fb8ac3699296af26281e1d0f1 priv aes-128"
- " 0x5632724fb8ac3699296af26281e1d0f1 localizedV2key engineID 3:3:3:3:3",
+ " 0x5632724fb8ac3699296af26281e1d0f1 localizedkey engineID 3:3:3:3:3",
"snmp-server user snmp_user_1 network-admin auth md5 0x5632724fb8ac3699296af26281e1d0f1"
" localizedkey engineID 1:1:1:1:1",
"snmp-server user snmp_user_4 network-admin auth sha-256 0x5632724fb8ac3699296af26281e1d0f1 priv aes-128"
" 0x5632724fb8ac3699296af26281e1d0f1 localizedkey engineID 4:4:4:4:4",
]
result = self.execute_module(changed=True)
+ print(result["commands"])
self.assertEqual(set(result["commands"]), set(commands))
- def test_nxos_snmp_server_users_merged(self):
+ def test_nxos_snmp_server_users_merged_2(self):
# test merged for users
self.get_config.return_value = dedent(
"""\
@@ -705,7 +706,9 @@ class TestNxosSnmpServerModule(TestNxosModule):
algorithm="md5",
password="0x5632724fb8ac3699296af262",
engine_id="2:2:2:2:2",
- priv=dict(privacy_password="0x5632724fb8ac3699296af262"),
+ priv=dict(
+ privacy_password="0x5632724fb8ac3699296af262",
+ ),
localizedv2_key=True,
),
),
@@ -906,7 +909,9 @@ class TestNxosSnmpServerModule(TestNxosModule):
algorithm="md5",
password="0x7d425fbf09417c44bca69e1d9e9ce889",
localized_key=True,
- priv=dict(privacy_password="0x7d425fbf09417c44bca69e1d9e9ce889"),
+ priv=dict(
+ privacy_password="0x7d425fbf09417c44bca69e1d9e9ce889",
+ ),
),
),
dict(
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_static_routes.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_static_routes.py
index 76ed4a3a9..7cd021314 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_static_routes.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_static_routes.py
@@ -9,9 +9,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
from ansible_collections.cisco.nxos.plugins.modules import nxos_static_routes
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_system.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_system.py
index ea7eec95c..634f69758 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_system.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_system.py
@@ -23,8 +23,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_system
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_telemetry.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_telemetry.py
index 160804c11..2c8027443 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_telemetry.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_telemetry.py
@@ -23,6 +23,7 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
from textwrap import dedent
+from unittest.mock import patch
# TBD: These imports / import checks are only needed as a workaround for
# shippable, which fails this test due to import yaml & import ordereddict.
@@ -32,7 +33,6 @@ from ansible_collections.cisco.nxos.plugins.module_utils.network.nxos.nxos impor
nxosCmdRef_import_check,
)
from ansible_collections.cisco.nxos.plugins.modules import nxos_telemetry
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from ansible_collections.cisco.nxos.tests.unit.modules.utils import AnsibleFailJson
from .nxos_module import TestNxosModule, load_fixture, set_module_args
@@ -183,7 +183,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_global_idempotent_n9k(self):
# Assumes feature telemetry is enabled
# TMS global config is present.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
dict(
@@ -205,7 +208,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# Assumes feature telemetry is enabled
# TMS global config is present
# Change certificate
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
dict(
@@ -233,7 +239,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# Assumes feature telemetry is enabled
# TMS global config is present
# Change interface
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
dict(
@@ -262,7 +271,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# Assumes feature telemetry is enabled
# TMS global config is present
# Change source_interface, vrf and cert
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
dict(
@@ -314,14 +326,19 @@ class TestNxosTelemetryModule(TestNxosModule):
with pytest.raises(AnsibleFailJson) as errinfo:
self.execute_module()
testdata = errinfo.value.args[0]
- assert "Parameter <id> under <destination_groups> is required" in str(testdata["msg"])
+ assert "Parameter <id> under <destination_groups> is required" in str(
+ testdata["msg"],
+ )
assert testdata["failed"]
def test_tms_destgroup_input_validation_2(self):
# Parameter 'destination' is not a dict.
self.execute_show_command.return_value = None
self.get_platform_shortname.return_value = "N9K"
- args = build_args([{"id": "88", "destination": "192.168.1.1"}], "destination_groups")
+ args = build_args(
+ [{"id": "88", "destination": "192.168.1.1"}],
+ "destination_groups",
+ )
set_module_args(args, ignore_provider_arg)
with pytest.raises(AnsibleFailJson) as errinfo:
self.execute_module()
@@ -343,7 +360,9 @@ class TestNxosTelemetryModule(TestNxosModule):
with pytest.raises(AnsibleFailJson) as errinfo:
self.execute_module()
testdata = errinfo.value.args[0]
- assert "Playbook entry contains unrecongnized parameters" in str(testdata["msg"])
+ assert "Playbook entry contains unrecongnized parameters" in str(
+ testdata["msg"],
+ )
assert testdata["failed"]
def test_tms_destgroup_merged_n9k(self):
@@ -460,7 +479,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# Assumes feature telemetry is enabled
# TMS destgroup config is not present.
# Configure only identifier
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -483,7 +505,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# Assumes feature telemetry is enabled
# TMS destgroup config is not present.
# Configure only identifier
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args([{"id": "2"}], "destination_groups")
set_module_args(args, ignore_provider_arg)
@@ -492,7 +517,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_destgroup_merged_aggregate_idempotent_n9k(self):
# Assumes feature telemetry is enabled
# TMS destgroup config is present.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -523,7 +551,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_destgroup_change_n9k(self):
# TMS destgroup config is not present.
# Change protocol and encoding for dest group 2
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -562,7 +593,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# TMS destgroup config is not present.
# Add destinations to destgroup 10
# Add new destgroup 55 and 56
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -705,7 +739,9 @@ class TestNxosTelemetryModule(TestNxosModule):
with pytest.raises(AnsibleFailJson) as errinfo:
self.execute_module()
testdata = errinfo.value.args[0]
- assert "Parameter <id> under <sensor_groups> is required" in str(testdata["msg"])
+ assert "Parameter <id> under <sensor_groups> is required" in str(
+ testdata["msg"],
+ )
assert testdata["failed"]
def test_tms_sensorgroup_input_validation_2(self):
@@ -730,7 +766,9 @@ class TestNxosTelemetryModule(TestNxosModule):
with pytest.raises(AnsibleFailJson) as errinfo:
self.execute_module()
testdata = errinfo.value.args[0]
- assert "Parameter <path> under <sensor_groups> requires <name> key" in str(testdata["msg"])
+ assert "Parameter <path> under <sensor_groups> requires <name> key" in str(
+ testdata["msg"],
+ )
assert testdata["failed"]
def test_tms_sensorgroup_resource_key_n9k(self):
@@ -857,7 +895,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_sensorgroup_merged_idempotent_n9k(self):
# Assumes feature telemetry is enabled
# TMS sensorgroup config is not present.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -880,7 +921,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_sensorgroup_quotes_merged_idempotent_n9k(self):
# Assumes feature telemetry is enabled
# TMS sensorgroup config is present with quotes in NX-API path.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K_SGs.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K_SGs.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -906,7 +950,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_sensorgroup_vxlan_idempotent_n9k(self):
# TMS sensorgroup config present.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[{"id": "56", "data_source": "DME", "path": {"name": "vxlan"}}],
@@ -917,7 +964,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_sensorgroup_idempotent_variable1_n9k(self):
# TMS sensorgroup config is present with path key name.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -936,7 +986,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_sensorgroup_idempotent_variable2_n9k(self):
# TMS sensorgroup config is present with path key name and depth.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -953,7 +1006,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_sensorgroup_idempotent_resource_key_n9k(self):
# TMS sensorgroup config is present resource key only.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args([{"id": "55"}], "sensor_groups")
set_module_args(args, ignore_provider_arg)
@@ -1013,7 +1069,7 @@ class TestNxosTelemetryModule(TestNxosModule):
],
)
- def test_tms_sensorgroup_present_path_interface_n9k(self):
+ def test_tms_sensorgroup_present_path_interface_n9k_1(self):
# TMS sensorgroup config is not present.
# Path name 'resources' test
self.execute_show_command.return_value = None
@@ -1080,7 +1136,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_subscription_merged_idempotent_n9k(self):
# TMS subscription config is not present.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -1104,7 +1163,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_subscription_merged_change1_n9k(self):
# TMS subscription config present.
# Change sample interval for sensor group 2
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -1135,7 +1197,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_subscription_add_n9k(self):
# TMS subscription config present.
# Add new destination_group and sensor_group to subscription 5
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
args = build_args(
[
@@ -1322,7 +1387,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_telemetry_deleted_input_validation_n9k(self):
# State is 'deleted' and 'config' key present.
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
dict(
@@ -1342,14 +1410,19 @@ class TestNxosTelemetryModule(TestNxosModule):
with pytest.raises(AnsibleFailJson) as errinfo:
self.execute_module()
testdata = errinfo.value.args[0]
- assert "Remove config key from playbook when state is <deleted>" in str(testdata["msg"])
+ assert "Remove config key from playbook when state is <deleted>" in str(
+ testdata["msg"],
+ )
assert testdata["failed"]
def test_telemetry_deleted_n9k(self):
# Assumes feature telemetry is enabled
# TMS global config is present.
# Make absent with all playbook keys provided
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(dict(state="deleted"), ignore_provider_arg)
self.execute_module(changed=True, commands=["no telemetry"])
@@ -1366,7 +1439,10 @@ class TestNxosTelemetryModule(TestNxosModule):
def test_tms_replaced1_n9k(self):
# Assumes feature telemetry is enabled
# Modify global config and remove everything else
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
dict(
@@ -1409,7 +1485,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# Modify destination-group 10, add 11 and 99, remove 2
# Modify sensor-group 55, 56
# remove all subscriptions
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
{
@@ -1525,7 +1604,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# remove all other destination-groups
# Modify sensor-group 55 and delete all others
# Modify subscription 7, add 10 and delete all others
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
{
@@ -1616,7 +1698,10 @@ class TestNxosTelemetryModule(TestNxosModule):
# remove all other destination-groups
# Modify sensor-group 55 and delete all others
# Modify subscription 7, add 10 and delete all others
- self.execute_show_command.return_value = load_fixture("nxos_telemetry", "N9K.cfg")
+ self.execute_show_command.return_value = load_fixture(
+ "nxos_telemetry",
+ "N9K.cfg",
+ )
self.get_platform_shortname.return_value = "N9K"
set_module_args(
{
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_user.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_user.py
index c397c82cb..ba0d43756 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_user.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_user.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_user
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vlans.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vlans.py
index 97870e76d..d686e74fb 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vlans.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vlans.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_vlans
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc.py
index a74525e86..5475b52e7 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_vpc
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc_interface.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc_interface.py
index de7ad79bd..4ccb31994 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc_interface.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vpc_interface.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_vpc_interface
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf.py
index 8f2a2ae1d..e69cdc2aa 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_vrf
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf_af.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf_af.py
index bfc2adef8..f104fc295 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf_af.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vrf_af.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_vrf_af
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vsan.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vsan.py
index af9ee7ad3..66e04ba79 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vsan.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vsan.py
@@ -7,10 +7,11 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
import pytest
from ansible_collections.cisco.nxos.plugins.modules import nxos_vsan
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from ansible_collections.cisco.nxos.tests.unit.modules.utils import AnsibleFailJson
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep.py
index f6862a77e..e30c5c01f 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_vxlan_vtep
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep_vni.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep_vni.py
index c6dc6e8d8..2592b1a6a 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep_vni.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_vxlan_vtep_vni.py
@@ -22,8 +22,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_vxlan_vtep_vni
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_zone_zoneset.py b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_zone_zoneset.py
index 6afe78a5b..381eef8a6 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_zone_zoneset.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/network/nxos/test_nxos_zone_zoneset.py
@@ -8,8 +8,9 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
+from unittest.mock import patch
+
from ansible_collections.cisco.nxos.plugins.modules import nxos_zone_zoneset
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
from .nxos_module import TestNxosModule, load_fixture, set_module_args
diff --git a/ansible_collections/cisco/nxos/tests/unit/modules/utils.py b/ansible_collections/cisco/nxos/tests/unit/modules/utils.py
index cd3b7b05f..87be9cf8e 100644
--- a/ansible_collections/cisco/nxos/tests/unit/modules/utils.py
+++ b/ansible_collections/cisco/nxos/tests/unit/modules/utils.py
@@ -4,12 +4,12 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
import json
+from unittest import TestCase
+from unittest.mock import patch
+
from ansible.module_utils import basic
from ansible.module_utils._text import to_bytes
-from ansible_collections.cisco.nxos.tests.unit.compat import unittest
-from ansible_collections.cisco.nxos.tests.unit.compat.mock import patch
-
def set_module_args(args):
if "_ansible_remote_tmp" not in args:
@@ -40,7 +40,7 @@ def fail_json(*args, **kwargs):
raise AnsibleFailJson(kwargs)
-class ModuleTestCase(unittest.TestCase):
+class ModuleTestCase(TestCase):
def setUp(self):
self.mock_module = patch.multiple(
basic.AnsibleModule,
diff --git a/ansible_collections/cisco/nxos/tox-ansible.ini b/ansible_collections/cisco/nxos/tox-ansible.ini
new file mode 100644
index 000000000..5e1f4b36a
--- /dev/null
+++ b/ansible_collections/cisco/nxos/tox-ansible.ini
@@ -0,0 +1,10 @@
+[ansible]
+
+skip =
+ py3.7
+ py3.8
+ 2.9
+ 2.10
+ 2.11
+ 2.12
+ 2.13
diff --git a/ansible_collections/cisco/nxos/tox.ini b/ansible_collections/cisco/nxos/tox.ini
deleted file mode 100644
index 6ada631cb..000000000
--- a/ansible_collections/cisco/nxos/tox.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[tox]
-minversion = 1.4.2
-envlist = linters
-skipsdist = True
-
-[testenv]
-deps = -r{toxinidir}/requirements.txt
- -r{toxinidir}/test-requirements.txt
-
-[testenv:black]
-install_command = pip install {opts} {packages}
-commands =
- black -v {toxinidir}
-
-[testenv:linters]
-install_command = pip install {opts} {packages}
-commands =
- black -v --diff --check {toxinidir}
- flake8 {posargs}
-
-[testenv:venv]
-commands = {posargs}
-
-[flake8]
-# E123, E125 skipped as they are invalid PEP-8.
-
-show-source = True
-ignore = E123,E125,E203,E402,E501,E741,F401,F811,F841,W503
-max-line-length = 160
-builtins = _
-exclude = .git,.tox,tests/unit/compat/