├── docs ├── BRANCHING.md └── MAINTAINER_GUIDE.md ├── plugins ├── action │ ├── __init__.py │ ├── aaa.py │ ├── api.py │ ├── ars.py │ ├── bfd.py │ ├── bgp.py │ ├── bgp_af.py │ ├── br_l2pt.py │ ├── command.py │ ├── config.py │ ├── copp.py │ ├── dcbx.py │ ├── facts.py │ ├── fips.py │ ├── l2_acls.py │ ├── l3_acls.py │ ├── ldap.py │ ├── logging.py │ ├── lst.py │ ├── mac.py │ ├── mclag.py │ ├── ntp.py │ ├── ospfv2.py │ ├── ospfv3.py │ ├── pki.py │ ├── pms.py │ ├── poe.py │ ├── qos_pfc.py │ ├── roce.py │ ├── sflow.py │ ├── ssh.py │ ├── stp.py │ ├── system.py │ ├── users.py │ ├── vlans.py │ ├── vrfs.py │ ├── vrrp.py │ ├── vxlans.py │ ├── bgp_as_paths.py │ ├── dhcp_relay.py │ ├── drop_counter.py │ ├── fbs_groups.py │ ├── fbs_policies.py │ ├── interfaces.py │ ├── ip_neighbor.py │ ├── lldp_global.py │ ├── mgmt_servers.py │ ├── mirroring.py │ ├── ospf_area.py │ ├── ospfv3_area.py │ ├── pim_global.py │ ├── port_group.py │ ├── prefix_lists.py │ ├── ptp_port_ds.py │ ├── qos_buffer.py │ ├── qos_maps.py │ ├── qos_wred.py │ ├── route_maps.py │ ├── ssh_server.py │ ├── vlan_mapping.py │ ├── acl_interfaces.py │ ├── bgp_communities.py │ ├── bgp_neighbors.py │ ├── bgp_neighbors_af.py │ ├── dhcp_snooping.py │ ├── ecmp_load_share.py │ ├── fbs_classifiers.py │ ├── fbs_interfaces.py │ ├── image_management.py │ ├── l2_interfaces.py │ ├── l3_interfaces.py │ ├── lag_interfaces.py │ ├── lldp_interfaces.py │ ├── login_lockout.py │ ├── network_policy.py │ ├── ospfv2_interfaces.py │ ├── ospfv3_interfaces.py │ ├── pim_interfaces.py │ ├── port_breakout.py │ ├── ptp_default_ds.py │ ├── qos_interfaces.py │ ├── qos_scheduler.py │ ├── radius_server.py │ ├── static_routes.py │ ├── tacacs_server.py │ ├── bgp_ext_communities.py │ ├── evpn_esi_multihome.py │ ├── ip_neighbor_interfaces.py │ └── ipv6_router_advertisement.py ├── cliconf │ └── __init__.py ├── httpapi │ └── __init__.py ├── modules │ └── __init__.py ├── terminal │ └── __init__.py └── module_utils │ ├── __init__.py │ └── network │ ├── __init__.py │ └── sonic │ ├── __init__.py │ ├── config │ ├── __init__.py │ ├── aaa │ │ └── __init__.py │ ├── ars │ │ └── __init__.py │ ├── bfd │ │ └── __init__.py │ ├── copp │ │ └── __init__.py │ ├── dcbx │ │ └── __init__.py │ ├── fips │ │ └── __init__.py │ ├── ldap │ │ └── __init__.py │ ├── lst │ │ └── __init__.py │ ├── mac │ │ └── __init__.py │ ├── pki │ │ └── __init__.py │ ├── pms │ │ └── __init__.py │ ├── poe │ │ └── __init__.py │ ├── roce │ │ └── __init__.py │ ├── stp │ │ └── __init__.py │ ├── vrrp │ │ └── __init__.py │ ├── br_l2pt │ │ └── __init__.py │ ├── l2_acls │ │ └── __init__.py │ ├── l3_acls │ │ └── __init__.py │ ├── ospfv2 │ │ └── __init__.py │ ├── ospfv3 │ │ └── __init__.py │ ├── qos_maps │ │ └── __init__.py │ ├── qos_pfc │ │ └── __init__.py │ ├── qos_wred │ │ └── __init__.py │ ├── sflow │ │ └── __init__.py │ ├── system │ │ └── __init__.py │ ├── acl_interfaces │ │ └── __init__.py │ ├── dhcp_relay │ │ └── __init__.py │ ├── dhcp_snooping │ │ └── __init__.py │ ├── drop_counter │ │ └── __init__.py │ ├── fbs_groups │ │ └── __init__.py │ ├── fbs_interfaces │ │ └── __init__.py │ ├── fbs_policies │ │ └── __init__.py │ ├── lldp_global │ │ └── __init__.py │ ├── login_lockout │ │ └── __init__.py │ ├── network_policy │ │ └── __init__.py │ ├── ospfv3_area │ │ └── __init__.py │ ├── pim_global │ │ └── __init__.py │ ├── pim_interfaces │ │ └── __init__.py │ ├── prefix_lists │ │ └── __init__.py │ ├── ptp_default_ds │ │ └── __init__.py │ ├── ptp_port_ds │ │ └── __init__.py │ ├── qos_buffer │ │ └── __init__.py │ ├── qos_interfaces │ │ └── __init__.py │ ├── qos_scheduler │ │ └── __init__.py │ ├── ssh_server │ │ └── __init__.py │ ├── static_routes │ │ └── __init__.py │ ├── vlan_mapping │ │ └── __init__.py │ ├── bgp_communities │ │ └── __init__.py │ ├── bgp_ext_communities │ │ └── __init__.py │ ├── fbs_classifiers │ │ └── __init__.py │ ├── lldp_interfaces │ │ └── __init__.py │ ├── ospfv2_interfaces │ │ └── __init__.py │ ├── ip_neighbor_interfaces │ │ └── __init__.py │ └── ipv6_router_advertisement │ │ └── __init__.py │ ├── facts │ ├── __init__.py │ ├── aaa │ │ └── __init__.py │ ├── ars │ │ └── __init__.py │ ├── bfd │ │ └── __init__.py │ ├── bgp │ │ └── __init__.py │ ├── copp │ │ └── __init__.py │ ├── dcbx │ │ └── __init__.py │ ├── fips │ │ └── __init__.py │ ├── ldap │ │ └── __init__.py │ ├── lst │ │ └── __init__.py │ ├── mac │ │ └── __init__.py │ ├── ntp │ │ └── __init__.py │ ├── pki │ │ └── __init__.py │ ├── pms │ │ └── __init__.py │ ├── poe │ │ └── __init__.py │ ├── roce │ │ └── __init__.py │ ├── sflow │ │ └── __init__.py │ ├── stp │ │ └── __init__.py │ ├── vlans │ │ └── __init__.py │ ├── vrrp │ │ └── __init__.py │ ├── bgp_af │ │ └── __init__.py │ ├── br_l2pt │ │ └── __init__.py │ ├── dhcp_relay │ │ └── __init__.py │ ├── fbs_groups │ │ └── __init__.py │ ├── interfaces │ │ └── __init__.py │ ├── l2_acls │ │ └── __init__.py │ ├── l3_acls │ │ └── __init__.py │ ├── ospfv2 │ │ └── __init__.py │ ├── ospfv3 │ │ └── __init__.py │ ├── pim_global │ │ └── __init__.py │ ├── qos_buffer │ │ └── __init__.py │ ├── qos_maps │ │ └── __init__.py │ ├── qos_pfc │ │ └── __init__.py │ ├── qos_wred │ │ └── __init__.py │ ├── route_maps │ │ └── __init__.py │ ├── ssh_server │ │ └── __init__.py │ ├── system │ │ └── __init__.py │ ├── vxlans │ │ └── __init__.py │ ├── acl_interfaces │ │ └── __init__.py │ ├── bgp_as_paths │ │ └── __init__.py │ ├── bgp_communities │ │ └── __init__.py │ ├── bgp_neighbors │ │ └── __init__.py │ ├── dhcp_snooping │ │ └── __init__.py │ ├── drop_counter │ │ └── __init__.py │ ├── fbs_classifiers │ │ └── __init__.py │ ├── fbs_interfaces │ │ └── __init__.py │ ├── fbs_policies │ │ └── __init__.py │ ├── l3_interfaces │ │ └── __init__.py │ ├── lag_interfaces │ │ └── __init__.py │ ├── lldp_global │ │ └── __init__.py │ ├── lldp_interfaces │ │ └── __init__.py │ ├── login_lockout │ │ └── __init__.py │ ├── network_policy │ │ └── __init__.py │ ├── ospfv3_area │ │ └── __init__.py │ ├── pim_interfaces │ │ └── __init__.py │ ├── prefix_lists │ │ └── __init__.py │ ├── ptp_default_ds │ │ └── __init__.py │ ├── ptp_port_ds │ │ └── __init__.py │ ├── qos_interfaces │ │ └── __init__.py │ ├── qos_scheduler │ │ └── __init__.py │ ├── static_routes │ │ └── __init__.py │ ├── vlan_mapping │ │ └── __init__.py │ ├── bgp_ext_communities │ │ └── __init__.py │ ├── bgp_neighbors_af │ │ └── __init__.py │ ├── ospfv2_interfaces │ │ └── __init__.py │ ├── ip_neighbor_interfaces │ │ └── __init__.py │ └── ipv6_router_advertisement │ │ └── __init__.py │ ├── utils │ └── __init__.py │ └── argspec │ ├── __init__.py │ ├── aaa │ └── __init__.py │ ├── ars │ └── __init__.py │ ├── bfd │ └── __init__.py │ ├── bgp │ └── __init__.py │ ├── lst │ └── __init__.py │ ├── mac │ └── __init__.py │ ├── pki │ └── __init__.py │ ├── pms │ └── __init__.py │ ├── poe │ └── __init__.py │ ├── stp │ └── __init__.py │ ├── bgp_af │ └── __init__.py │ ├── br_l2pt │ └── __init__.py │ ├── copp │ └── __init__.py │ ├── dcbx │ └── __init__.py │ ├── facts │ └── __init__.py │ ├── fips │ └── __init__.py │ ├── l2_acls │ └── __init__.py │ ├── l3_acls │ └── __init__.py │ ├── ldap │ └── __init__.py │ ├── ospfv2 │ └── __init__.py │ ├── ospfv3 │ └── __init__.py │ ├── qos_maps │ └── __init__.py │ ├── qos_pfc │ └── __init__.py │ ├── qos_wred │ └── __init__.py │ ├── roce │ └── __init__.py │ ├── sflow │ └── __init__.py │ ├── system │ └── __init__.py │ ├── vlans │ └── __init__.py │ ├── vrrp │ └── __init__.py │ ├── vxlans │ └── __init__.py │ ├── bgp_as_paths │ └── __init__.py │ ├── bgp_neighbors │ └── __init__.py │ ├── dhcp_relay │ └── __init__.py │ ├── dhcp_snooping │ └── __init__.py │ ├── drop_counter │ └── __init__.py │ ├── fbs_groups │ └── __init__.py │ ├── fbs_policies │ └── __init__.py │ ├── interfaces │ └── __init__.py │ ├── l3_interfaces │ └── __init__.py │ ├── lldp_global │ └── __init__.py │ ├── login_lockout │ └── __init__.py │ ├── ospfv3_area │ └── __init__.py │ ├── pim_global │ └── __init__.py │ ├── port_group │ └── __init__.py │ ├── prefix_lists │ └── __init__.py │ ├── ptp_port_ds │ └── __init__.py │ ├── qos_buffer │ └── __init__.py │ ├── qos_scheduler │ └── __init__.py │ ├── ssh_server │ └── __init__.py │ ├── static_routes │ └── __init__.py │ ├── vlan_mapping │ └── __init__.py │ ├── acl_interfaces │ └── __init__.py │ ├── bgp_communities │ └── __init__.py │ ├── bgp_neighbors_af │ └── __init__.py │ ├── fbs_classifiers │ └── __init__.py │ ├── fbs_interfaces │ └── __init__.py │ ├── lag_interfaces │ └── __init__.py │ ├── lldp_interfaces │ └── __init__.py │ ├── network_policy │ └── __init__.py │ ├── ospfv2_interfaces │ └── __init__.py │ ├── pim_interfaces │ └── __init__.py │ ├── ptp_default_ds │ └── __init__.py │ ├── qos_interfaces │ └── __init__.py │ ├── bgp_ext_communities │ └── __init__.py │ ├── ip_neighbor_interfaces │ └── __init__.py │ └── ipv6_router_advertisement │ └── __init__.py ├── tests ├── unit │ ├── compat │ │ └── __init__.py │ ├── modules │ │ ├── __init__.py │ │ └── network │ │ │ ├── __init__.py │ │ │ └── sonic │ │ │ ├── __init__.py │ │ │ └── fixtures │ │ │ ├── sonic_facts.yaml │ │ │ ├── sonic_command.yaml │ │ │ └── sonic_api.yaml │ └── utils │ │ ├── run_test_cases.sh │ │ └── test_06_dict_diff_left_only_with_none.yaml └── regression │ └── roles │ ├── test_reports │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── all_tasks_log_template.yaml │ ├── sonic_radius_server │ ├── templates │ │ └── cli_test_case_01.cfg │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── preparation_tests.yaml │ ├── sonic_tacacs_server │ ├── templates │ │ └── cli_test_case_01.cfg │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── common │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── all.facts.summary.report.yaml │ ├── sonic_command │ ├── defaults │ │ └── main.yaml │ └── meta │ │ └── main.yaml │ ├── sonic_config │ ├── templates │ │ ├── src.txt │ │ └── snmp.j2 │ └── meta │ │ └── main.yaml │ ├── sonic_image_management │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── cleanup_files.yml │ ├── sonic_aaa │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_api │ ├── meta │ │ └── main.yaml │ ├── defaults │ │ └── main.yml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── patch.txt │ ├── sonic_ars │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation.yaml │ │ └── main.yml │ ├── sonic_bfd │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_bgp │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── main.yml │ │ └── preparation_tests.yaml │ ├── sonic_dcbx │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── preparations_test.yaml │ ├── sonic_fips │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── preparation_tests.yaml │ ├── sonic_ldap │ └── meta │ │ └── main.yml │ ├── sonic_lst │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── main.yml │ ├── sonic_mac │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── main.yml │ ├── sonic_ntp │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── main.yml │ ├── sonic_pki │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_pms │ └── meta │ │ └── main.yml │ ├── sonic_poe │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_ssh │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_stp │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── main.yml │ ├── sonic_vrrp │ └── meta │ │ └── main.yml │ ├── sonic_bgp_af │ └── meta │ │ └── main.yaml │ ├── sonic_br_l2pt │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── preparation_tests.yaml │ ├── sonic_copp │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_l2_acls │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_l3_acls │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_logging │ └── meta │ │ └── main.yaml │ ├── sonic_mclag │ └── meta │ │ └── main.yaml │ ├── sonic_ospfv2 │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_ospfv3 │ └── meta │ │ └── main.yml │ ├── sonic_qos_maps │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_qos_pfc │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_qos_wred │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_roce │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── main.yml │ ├── sonic_sflow │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── preparation_tests.yml │ │ └── main.yml │ ├── sonic_system │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── preparation_tests.yaml │ ├── sonic_users │ ├── meta │ │ └── main.yaml │ ├── tasks │ │ └── preparation_tests.yaml │ └── templates │ │ └── cli_test_case_01.cfg │ ├── sonic_vlans │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── main.yml │ ├── sonic_vrfs │ ├── meta │ │ └── main.yaml │ └── templates │ │ └── cli_test_case_01.cfg │ ├── sonic_vxlans │ ├── meta │ │ └── main.yaml │ ├── templates │ │ └── cli_test_case_01.cfg │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── main.yml │ ├── sonic_acl_interfaces │ └── meta │ │ └── main.yml │ ├── sonic_bgp_as_paths │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_bgp_neighbors │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_dhcp_relay │ └── meta │ │ └── main.yml │ ├── sonic_dhcp_snooping │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_drop_counter │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── cleanup.yaml │ ├── sonic_fbs_groups │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── cleanup.yaml │ │ └── preparation.yaml │ ├── sonic_fbs_policies │ └── meta │ │ └── main.yaml │ ├── sonic_interfaces │ └── meta │ │ └── main.yaml │ ├── sonic_ip_neighbor │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── main.yml │ ├── sonic_l2_interfaces │ └── meta │ │ └── main.yaml │ ├── sonic_l3_interfaces │ └── meta │ │ └── main.yaml │ ├── sonic_lldp_global │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── preparation_tests.yaml │ ├── sonic_login_lockout │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_mgmt_servers │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_mirroring │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_ospf_area │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_ospfv3_area │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_pim_global │ └── meta │ │ └── main.yml │ ├── sonic_pim_interfaces │ └── meta │ │ └── main.yml │ ├── sonic_port_breakout │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_port_group │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── preparation_tests.yaml │ ├── sonic_prefix_lists │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_ptp_default_ds │ └── meta │ │ └── main.yml │ ├── sonic_ptp_port_ds │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── main.yml │ ├── sonic_qos_buffer │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── main.yml │ ├── sonic_qos_scheduler │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_route_maps │ └── meta │ │ └── main.yaml │ ├── sonic_ssh_server │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yaml │ ├── sonic_static_routes │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── cleanup_tests.yaml │ │ └── preparation_tests.yaml │ ├── sonic_vlan_mapping │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── main.yml │ ├── sonic_bgp_communities │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_bgp_neighbors_af │ └── meta │ │ └── main.yaml │ ├── sonic_ecmp_load_share │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_evpn_esi_multihome │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_fbs_classifiers │ └── meta │ │ └── main.yaml │ ├── sonic_fbs_interfaces │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── cleanup.yaml │ ├── sonic_lag_interfaces │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── main.yml │ ├── sonic_lldp_interfaces │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── cleanup_tests.yaml │ ├── sonic_network_policy │ ├── meta │ │ └── main.yaml │ └── tasks │ │ └── main.yml │ ├── sonic_ospfv2_interfaces │ └── meta │ │ └── main.yml │ ├── sonic_ospfv3_interfaces │ └── meta │ │ └── main.yml │ ├── sonic_qos_interfaces │ └── meta │ │ └── main.yaml │ ├── sonic_bgp_ext_communities │ ├── meta │ │ └── main.yaml │ └── tasks │ │ ├── preparation_tests.yaml │ │ └── main.yml │ ├── sonic_ip_neighbor_interfaces │ └── meta │ │ └── main.yml │ └── sonic_ipv6_router_advertisement │ └── meta │ └── main.yml ├── requirements.txt ├── .github └── ISSUE_TEMPLATE │ ├── config.yml │ └── ask_a_question.md ├── test-requirements.txt ├── playbooks └── common_examples │ ├── src.txt │ ├── mgmt_vrf_on.yaml │ ├── mgmt_vrf_off.yaml │ └── patch.txt ├── meta └── execution-environment.yml ├── .ansible-lint ├── changelogs ├── archive_fragments │ ├── 2.1.0 │ │ ├── 152-copp.yaml │ │ ├── 157-mac.yaml │ │ ├── 177-bfd.yaml │ │ ├── 113-change-ntp-module-name.yaml │ │ ├── 261-interfaces-timeout-fix.yaml │ │ ├── 262-vlan-mapping-bug-fix.yaml │ │ ├── 146-vrf-mgmt-bug-fix.yaml │ │ ├── 180-regression-failures-fix.yaml │ │ ├── 257-vrfs-cli-test-case-fix.yaml │ │ ├── 176-update-netcommon-version.yaml │ │ ├── 254-update-replace-methods.yaml │ │ ├── 106-change-ntp-get-fact.yaml │ │ ├── 233-bgp-neighbors-defaults-fix.yaml │ │ ├── 118-add-ntp-prefer-attribute.yaml │ │ ├── 119-lag_interfaces-port-name-fix.yaml │ │ ├── 182-unit-tests-for-bgp-resource-module.yaml │ │ ├── 198-unit-tests-for-aaa-resource-module.yaml │ │ ├── 207-unit-tests-for-ntp-resource-module.yaml │ │ ├── 214-unit-tests-vlans-resource-module.yaml │ │ ├── 216-unit-tests-for-vrfs-resource-module.yaml │ │ ├── 218-unit-tests-for-api-resource-module.yaml │ │ ├── 244-added-rt-delay-attribute-to-bgp-module.yaml │ │ ├── 250-bgp-as-paths-fix-merged-deleted.yaml │ │ ├── 183-unit-tests-for-bgp-af-resource-module.yaml │ │ ├── 191-unit-tests-for-bgp-af-resource-module.yaml │ │ ├── 213-unit-tests-for-users-resource-module.yaml │ │ ├── 215-unit-tests-for-vxlans-resource-module.yaml │ │ ├── 220-unit-tests-for-config-resource-module.yaml │ │ ├── 222-unit-tests-for-facts-resource-module.yaml │ │ ├── 223-unit-tests-for-system-resource-module.yaml │ │ ├── 231-l3-interfaces-delete-fix.yaml │ │ ├── 240-bgp-replaced-overridden-support.yaml │ │ ├── 160-sanity-check-errors-fix.yaml │ │ ├── 199-code-coverage-workflow-fix.yaml │ │ ├── 219-unit-tests-for-command-resource-module.yaml │ │ ├── 224-ntp-clear-all-fix.yaml │ │ ├── 226-unit-tests-for-logging-resource-module.yaml │ │ ├── 246-bgp-af-replaced-overridden-support.yaml │ │ ├── 247-vxlans-replaced-overridden-support.yaml │ │ ├── 230-vrfs-delete-interface-fix.yaml │ │ ├── 107-change-ntp-key-values-in-regression-script.yaml │ │ ├── 145-mclag-new-attributes.yaml │ │ ├── 197-unit-tests-for-interfaces-resource-module.yaml │ │ ├── 225-unit-tests-for-ip-neighbor-resource-module.yaml │ │ ├── 228-unit-tests-for-port-group-resource-module.yaml │ │ ├── 245-enhance-bgp-neighbors-unit-tests.yaml │ │ ├── 249-dhcp-relay-replaced-overridden-support.yaml │ │ ├── 114-change-ntp-module-name-in-regression-script.yaml │ │ ├── 148-dhcp-relay-unit-tests.yaml │ │ ├── 184-unit-tests-for-bgp-as-paths-resource-module.yaml │ │ ├── 201-bgp-af-modify-vni-advertise-fix.yaml │ │ ├── 209-unit-tests-for-prefix-lists-resource-module.yaml │ │ ├── 221-l2-interfaces-replaced-overridden-support.yaml │ │ ├── 236-static-routes-replaced-overridden-support.yaml │ │ ├── 237-aaa-replaced-overridden-support.yaml │ │ ├── 255-prefix_lists_replaced_overridden_support.yaml │ │ ├── 129-ntp-minpoll-maxpoll-config.yaml │ │ ├── 130-vxlans-attribute-restriction-fix.yaml │ │ ├── 187-unit-tests-for-bgp-neighbors-resource-module.yaml │ │ ├── 200-unit-tests-for-l2-interfaces-resource-module.yaml │ │ ├── 202-unit-tests-for-l3-interfaces-resource-module.yaml │ │ ├── 203-unit-tests-for-lag-interfaces-resource-module.yaml │ │ ├── 208-unit-tests-for-tacacs-server-resource-module.yaml │ │ ├── 210-unit-tests-for-radius-server-resource-module.yaml │ │ ├── 212-unit-tests-for-static-routes-resource-module.yaml │ │ ├── 229-unit-tests-for-port-breakout-resource-module.yaml │ │ ├── 242-users-replaced-overridden-support.yaml │ │ ├── 258-change-logging-module-source-interface-naming.yaml │ │ ├── 151-replaced-overridden-for-ntp-resource-module.yaml │ │ ├── 185-unit-tests-for-bgp-communities-resource-module.yaml │ │ ├── 188-unit-tests-for-bgp-neighbors-af-resource-module.yaml │ │ ├── 149-l2-interfaces-vlan-trunk-range-support.yaml │ │ ├── 156-replaced-overridden-for-vrfs-resource-module.yaml │ │ ├── 217-replaced-overridden-for-vlans-resource-module.yaml │ │ ├── 253-change-replaced-function-for-ip-neighbor-module.yaml │ │ ├── 159-replaced-overridden-for-system-resource-module.yaml │ │ ├── 186-unit-tests-for-bgp-ext-communities-resource-module.yaml │ │ ├── 150-replaced-overridden-for-logging-resource-module.yaml │ │ ├── 227-replaced-overridden-for-port-group-resource-module.yaml │ │ ├── 128-add-several-attributes-to-interface-resource-module.yaml │ │ ├── 196-replaced-overridden-for-lag-interface-resource-module.yaml │ │ ├── 235-replaced-overridden-for-tacacs-server-resource-module.yaml │ │ ├── 239-replaced-overridden-for-radius-server-resource-module.yaml │ │ ├── 124-l2-interfaces-oc-yang-vlan-range-format-config-support.yaml │ │ ├── 141-add-route-distinguisher-target-attributes-to-bgp-af-module.yaml │ │ ├── 195-aaa-login-authentication.yaml │ │ └── 172-module-utils-import-remove-empties-from-ansible-lib.yaml │ ├── 3.0.0 │ │ ├── 466-ospf-area-bugfix.yaml │ │ ├── 481-copp-bugfix.yaml │ │ ├── 423-syslog-over-TLS.yaml │ │ ├── 444-add-buffer-init-attribute.yaml │ │ ├── 473-qos-interfaces-deletion-bugfix.yaml │ │ ├── 424-remote-audit-log.yaml │ │ ├── 471-fix-vxlan-regression-tests.yaml │ │ ├── 382-aaa-breaking-change.yaml │ │ ├── 448-set-suppress-vlan-neigh-option.yaml │ │ ├── 414-ldap-security-profile.yaml │ │ ├── 465-update-qos-wred-test-case.yaml │ │ ├── 478-Adding-severity-option-to-logging-module.yaml │ │ ├── 464-REST-server-cipher-suite.yaml │ │ ├── 453-add-unreliable-los-option-to-interface.yaml │ │ ├── 443-update-regex-edit-config.yaml │ │ ├── 434-changelogs-post-release-2.5.0-pylint-and-doc-fixes.yaml │ │ ├── 459-add-new-message-type.yaml │ │ ├── 460-stp-long-int-vlan-fix.yaml │ │ ├── 463-mclag-prereq-member-deletion.yaml │ │ ├── 470-interfaces-speed-bugfix.yaml │ │ ├── 380-sonic-image-verification.yaml │ │ ├── 446-README-documentation-links-fix.yaml │ │ ├── 477-stp-bugfix-and-refactor.yaml │ │ ├── 445-ConnectionError-add-imports.yaml │ │ ├── 456-tests-sanity-ignore-action-plugin-for-ansible-2.19.yaml │ │ ├── 474-l3_interfaces-ipv6-autoconf-downward-compatibility.yaml │ │ ├── 482-radius_server-regression-test-hostname.yaml │ │ └── 455-fix-vrrp-regression-failure.yaml │ ├── 3.1.0 │ │ ├── 518-fix-stp-check-mode.yaml │ │ ├── 541-ospf-area-bugfix.yaml │ │ ├── 591-mclag-bugfix.yaml │ │ ├── 569-vrfs-bugfix.yaml │ │ ├── 461-copp-traps.yaml │ │ ├── 516-add-ansible-lint-workflow.yaml │ │ ├── 532-aaa-mfa-support.yaml │ │ ├── 558-dcbx-symlink.yaml │ │ ├── 589-vxlans-evpn-nvo-bugfix.yaml │ │ ├── 526-l2-interfaces-bugfix.yaml │ │ ├── 468-cable-length.yaml │ │ ├── 535-ntpregression-test-fix.yaml │ │ ├── 539-add-plugin-routing.yaml │ │ ├── 581-ars-rt-map-support.yaml │ │ ├── 495-aaa-bugfix.yaml │ │ ├── 498-fix-ansible-lint-failures.yaml │ │ ├── 512-user-ssh-key.yaml │ │ ├── 566-bgp-regression-test-fix.yaml │ │ ├── 583-bgp-nbr-auth-pwd-bugfix.yaml │ │ ├── 592-ut-lint-fix.yaml │ │ ├── 593-name-privacy.yaml │ │ ├── 511-stp-bugfix.yaml │ │ ├── 538-graceful-restart-support.yaml │ │ ├── 561-bgp-nbr-af-documentation.yaml │ │ ├── 577-mirroring-regression-test-fix.yaml │ │ ├── 587-stp-request-bugfix.yaml │ │ ├── 419-sflow-max-header-size.yaml │ │ ├── 452-bgp-af-dup-addr-detection-support.yaml │ │ ├── 494-LDAP-security-profile-task.yaml │ │ ├── 562-adjust-txrx-clock-freq.yaml │ │ ├── 578-evpn-esi-multihome-bugfix.yaml │ │ ├── 588-bgp-af-bugfix.yaml │ │ ├── 519-password-complexity.yaml │ │ ├── 543-qos-buffer-bugfix.yaml │ │ ├── 501-fix-ansible-lint-failures-3.yaml │ │ ├── 533-autostate-vlan-module.yaml │ │ ├── 555-Logging-Security-Profile-Ansible-Support.yaml │ │ ├── 575-interfaces-bugfix.yaml │ │ ├── 504-switching-mode-system-module.yaml │ │ ├── 505-concurrent-session-limit.yaml │ │ ├── 576-proxy-arp-nd-proxy-feature-support.yaml │ │ ├── 582-lldp-intf-network-policy-support.yaml │ │ ├── 585-update-port-breakout-mode-choices.yaml │ │ ├── 509-tacacs-server-bugfix.yaml │ │ ├── 590-interfaces-800-GB-support.yaml │ │ ├── 487-port-group_interface_speed_error-handling_enhancement.yaml │ │ ├── 524-lldp-interfaces-check-diff-support.yaml │ │ ├── 563-vlan-mapping-regression-test-fix.yaml │ │ ├── 584-test-reports-reduced-logging.yaml │ │ ├── 486-delete-attribute-logging-server.yaml │ │ ├── 493-tacacs_server-regression-test-hostname.yaml │ │ ├── 406-lldp-tlv-support.yaml │ │ ├── 492-tests-sanity-ignore-action-plugin-for-ansible-2.20.yaml │ │ ├── 496-MCLAG-Backup-Keepalive-Session-Ansible-Support.yaml │ │ ├── 565-lag-interfaces-regression-test-fix.yaml │ │ ├── 534-add-support-for-200gb.yaml │ │ └── 546-image-management-location_change.yaml │ ├── 2.0.0 │ │ ├── 82-static_routes.yaml │ │ ├── 99-ntp-resource-module.yaml │ │ ├── 98-vlans-description.yaml │ │ ├── 100-prefix_lists-resource-module.yaml │ │ ├── 105-vxlan-regression-test-fix.yaml │ │ ├── 85-regression-test-fixes.yaml │ │ ├── 78-aaa-regression-fix.yaml │ │ ├── 76-CLI-command-prompt-answer-fix.yaml │ │ ├── 67-bgp_neighbors-auth_pwd-and-neighbor_description.yaml │ │ ├── 58-vxlan-primary-ip.yaml │ │ ├── 62-bgp-vxlan-primary-ip.yaml │ │ ├── 53-oc-yang-compliance.yaml │ │ ├── 102-example-updates.yaml │ │ └── 101-bgp-prefix_lists.yaml │ ├── 2.5.0 │ │ ├── 381-fix-copp-states.yaml │ │ ├── 405-auditd-config.yaml │ │ ├── 418-github-issue-416-fix.yaml │ │ ├── 401-versatile-hash.yaml │ │ ├── 384-add-route-maps-ut.yaml │ │ ├── 351-bgp-af-import-vrf-support.yaml │ │ ├── 391-fix-qos-pfc-bug.yaml │ │ ├── 400-bgp-af-update-replaced-state.yaml │ │ ├── 422-update-ut-for-bgp-neighbors.yaml │ │ ├── 344-update-ut-config-requests-validation.yaml │ │ ├── 373-qos-scheduler-update-states.yaml │ │ ├── 388-system-update-replaced-state.yaml │ │ ├── 429-cliconf-doc-fix.yaml │ │ ├── 431-l3-interfaces-fix-replaced-state.yaml │ │ ├── 299-mclag-session-vrf-support.yaml │ │ ├── 432-changelogs-v2.5.0-release-note.yaml │ │ ├── 342-system-auto-breakout-module.yaml │ │ ├── 395-comment-out-pfc-pg-test-cases.yaml │ │ ├── 410-sonic_l2_interfaces-fix-facts-exception.yaml │ │ ├── 330-add-external-ip-attribute-for-vxlan.yaml │ │ ├── 374-usgv6r1-related-features-support.yaml │ │ ├── 393-github-issue-376-fix.yaml │ │ ├── 398-bgp-af-aggregate-address-support.yaml │ │ ├── 428-l3-interfaces-default-dad-fix.yaml │ │ ├── 366-github-issue-357-fix.yaml │ │ ├── 317-added-protocol-option-for-syslog-module.yaml │ │ ├── 394-update-version-remove-facts-reports.yaml │ │ ├── 403-lag-interface-evpn-ethernet-segment.yaml │ │ ├── 352-system-standard-extended-interface-naming.yaml │ │ ├── 396-port-group-facts-enhancement.yaml │ │ ├── 328-check-diff-modes-for-l3-interfaces.yaml │ │ ├── 329-regression-test-automated-intf-naming-config.yaml │ │ ├── 413-route-maps-set-tag-support-and-doc-updates.yaml │ │ ├── 377-interfaces-vlans-fix-facts.yaml │ │ └── 354-prefix-lists-fix-replaced-idempotency.yaml │ ├── 2.2.0 │ │ ├── 269-revert-aaa-breaking-changes.yaml │ │ └── 270-galaxy-yml-netcommon-and-version-fixes.yaml │ └── 2.4.0 │ │ ├── 322-docs-README-updates.yaml │ │ └── 321-requirements-update-meta-runtime-ansible-version.yaml └── fragments │ ├── 613-bgp-af-fix-check-mode.yaml │ ├── 559-aaa-accounting-support.yaml │ ├── 567-bam-msa-configuration.yaml │ ├── 571-vrrp-preempt-delay.yaml │ ├── 574-qos-wred-yellow-red-support.yaml │ ├── 603-qos-interfaces-check-mode-fix.yaml │ ├── 572-lag-speed-adv_speed-support.yaml │ ├── 597-regression-lint-fix.yaml │ ├── 598-vxlan_evpn_nvo-fix.yaml │ ├── 609-after-generated-fix.yaml │ └── 600-ansible-core_219_compatibility_changes.yaml ├── .yamllint └── bindep.txt /docs/BRANCHING.md: -------------------------------------------------------------------------------- 1 | TBD -------------------------------------------------------------------------------- /plugins/action/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/cliconf/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/httpapi/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/terminal/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/action/aaa.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/api.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ars.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/bfd.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/bgp.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/bgp_af.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/br_l2pt.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/command.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/config.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/copp.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/dcbx.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/facts.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/fips.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/l2_acls.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/l3_acls.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ldap.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/logging.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/lst.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/mac.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/mclag.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ntp.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ospfv2.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ospfv3.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/pki.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/pms.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/poe.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/qos_pfc.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/roce.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/sflow.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ssh.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/stp.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/system.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/users.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/vlans.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/vrfs.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/vrrp.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/vxlans.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/module_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/compat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/action/bgp_as_paths.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/dhcp_relay.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/drop_counter.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/fbs_groups.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/fbs_policies.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ip_neighbor.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/lldp_global.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/mgmt_servers.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/mirroring.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ospf_area.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ospfv3_area.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/pim_global.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/port_group.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/prefix_lists.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ptp_port_ds.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/qos_buffer.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/qos_maps.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/qos_wred.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/route_maps.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ssh_server.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/vlan_mapping.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /tests/unit/modules/network/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/action/acl_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/bgp_communities.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/bgp_neighbors.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/bgp_neighbors_af.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/dhcp_snooping.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ecmp_load_share.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/fbs_classifiers.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/fbs_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/image_management.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/l2_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/l3_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/lag_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/lldp_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/login_lockout.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/network_policy.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ospfv2_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ospfv3_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/pim_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/port_breakout.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ptp_default_ds.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/qos_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/qos_scheduler.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/radius_server.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/static_routes.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/tacacs_server.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/module_utils/network/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/action/bgp_ext_communities.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/evpn_esi_multihome.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/action/ip_neighbor_interfaces.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | paramiko>=2.7 2 | jinja2>=2.8 -------------------------------------------------------------------------------- /tests/unit/modules/network/sonic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/action/ipv6_router_advertisement.py: -------------------------------------------------------------------------------- 1 | sonic.py -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/regression/roles/test_reports/defaults/main.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/aaa/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ars/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/bfd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/bgp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/lst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/mac/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/pki/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/pms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/poe/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/stp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/aaa/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ars/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/bfd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/copp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/dcbx/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/fips/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ldap/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/lst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/mac/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/pki/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/pms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/poe/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/roce/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/stp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/vrrp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/aaa/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ars/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/bfd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/bgp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/copp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/dcbx/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/fips/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ldap/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/lst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/mac/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ntp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/pki/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/pms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/poe/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/roce/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/sflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/stp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/vlans/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/vrrp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/bgp_af/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/br_l2pt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/copp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/dcbx/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/facts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/fips/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/l2_acls/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/l3_acls/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ldap/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ospfv2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ospfv3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/qos_maps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/qos_pfc/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/qos_wred/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/roce/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/sflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/system/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/vlans/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/vrrp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/vxlans/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/br_l2pt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/l2_acls/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/l3_acls/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ospfv2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ospfv3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/qos_maps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/qos_pfc/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/qos_wred/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/sflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/system/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/bgp_af/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/br_l2pt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/dhcp_relay/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/fbs_groups/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/l2_acls/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/l3_acls/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ospfv2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ospfv3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/pim_global/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/qos_buffer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/qos_maps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/qos_pfc/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/qos_wred/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/route_maps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ssh_server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/system/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/vxlans/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/bgp_as_paths/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/bgp_neighbors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/dhcp_relay/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/dhcp_snooping/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/drop_counter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/fbs_groups/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/fbs_policies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/l3_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/lldp_global/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/login_lockout/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ospfv3_area/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/pim_global/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/port_group/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/prefix_lists/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ptp_port_ds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/qos_buffer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/qos_scheduler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ssh_server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/static_routes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/vlan_mapping/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/acl_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/dhcp_relay/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/dhcp_snooping/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/drop_counter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/fbs_groups/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/fbs_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/fbs_policies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/lldp_global/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/login_lockout/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/network_policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ospfv3_area/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/pim_global/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/pim_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/prefix_lists/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ptp_default_ds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ptp_port_ds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/qos_buffer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/qos_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/qos_scheduler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ssh_server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/static_routes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/vlan_mapping/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/acl_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/bgp_as_paths/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/bgp_communities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/bgp_neighbors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/dhcp_snooping/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/drop_counter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/fbs_classifiers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/fbs_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/fbs_policies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/l3_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/lag_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/lldp_global/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/lldp_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/login_lockout/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/network_policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ospfv3_area/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/pim_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/prefix_lists/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ptp_default_ds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ptp_port_ds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/qos_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/qos_scheduler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/static_routes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/vlan_mapping/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | --- 2 | blank_issues_enabled: false 3 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/acl_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/bgp_communities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/bgp_neighbors_af/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/fbs_classifiers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/fbs_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/lag_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/lldp_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/network_policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ospfv2_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/pim_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ptp_default_ds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/qos_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/bgp_communities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/bgp_ext_communities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/fbs_classifiers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/lldp_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ospfv2_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/bgp_ext_communities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/bgp_neighbors_af/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ospfv2_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_radius_server/templates/cli_test_case_01.cfg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_tacacs_server/templates/cli_test_case_01.cfg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/bgp_ext_communities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ip_neighbor_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ip_neighbor_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ip_neighbor_interfaces/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/facts/ipv6_router_advertisement/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/argspec/ipv6_router_advertisement/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plugins/module_utils/network/sonic/config/ipv6_router_advertisement/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/utils/run_test_cases.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | pytest -vvvv test_diff_util.py 3 | -------------------------------------------------------------------------------- /test-requirements.txt: -------------------------------------------------------------------------------- 1 | pytest-ansible 2 | pytest-cov 3 | pytest-forked 4 | pytest-xdist 5 | -------------------------------------------------------------------------------- /playbooks/common_examples/src.txt: -------------------------------------------------------------------------------- 1 | interface Eth1/10 2 | description hello 3 | mtu 1800 4 | 5 | -------------------------------------------------------------------------------- /meta/execution-environment.yml: -------------------------------------------------------------------------------- 1 | --- 2 | dependencies: 3 | python: requirements.txt 4 | version: 1 5 | -------------------------------------------------------------------------------- /tests/regression/roles/common/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_command/defaults/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | ansible_connection: network_cli 3 | -------------------------------------------------------------------------------- /tests/regression/roles/test_reports/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_config/templates/src.txt: -------------------------------------------------------------------------------- 1 | interface ethernet 40 2 | description hello 3 | mtu 1800 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_image_management/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | ansible_connection: httpapi 3 | module_name: image_management 4 | -------------------------------------------------------------------------------- /docs/MAINTAINER_GUIDE.md: -------------------------------------------------------------------------------- 1 | At this point, only the Dell team is contributing. A guide shall be provided when it is opened for external maintainers. -------------------------------------------------------------------------------- /tests/regression/roles/sonic_aaa/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_api/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ars/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bfd/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_dcbx/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fips/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ldap/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lst/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_mac/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ntp/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_pki/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_pms/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_poe/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ssh/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_stp/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vrrp/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_af/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_br_l2pt/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_command/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_config/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_copp/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_l2_acls/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_l3_acls/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_logging/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_mclag/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospfv2/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospfv3/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_maps/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_pfc/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_wred/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_roce/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_sflow/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_system/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_users/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vlans/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vrfs/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vxlans/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_acl_interfaces/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_as_paths/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_neighbors/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_dhcp_relay/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_dhcp_snooping/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_drop_counter/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fbs_groups/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fbs_policies/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_interfaces/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ip_neighbor/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_l2_interfaces/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_l3_interfaces/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lldp_global/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_login_lockout/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_mgmt_servers/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_mirroring/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospf_area/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospfv3_area/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_pim_global/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_pim_interfaces/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_port_breakout/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_port_group/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_prefix_lists/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ptp_default_ds/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ptp_port_ds/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_buffer/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_scheduler/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_radius_server/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_route_maps/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ssh_server/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_static_routes/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_tacacs_server/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vlan_mapping/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/unit/modules/network/sonic/fixtures/sonic_facts.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | merged_01: 3 | module_args: 4 | gather_network_resources: 5 | - "vlans" 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_communities/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_neighbors_af/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ecmp_load_share/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_evpn_esi_multihome/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fbs_classifiers/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fbs_interfaces/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_image_management/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lag_interfaces/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lldp_interfaces/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_network_policy/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospfv2_interfaces/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospfv3_interfaces/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_interfaces/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_ext_communities/meta/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ip_neighbor_interfaces/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_poe/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete all PoE configuration 3 | sonic_poe: 4 | config: {} 5 | state: deleted 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_sflow/tasks/preparation_tests.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete all sFlow config 3 | sonic_sflow: 4 | config: {} 5 | state: deleted 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_api/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | ansible_connection: httpapi 3 | 4 | preparations_tests: 5 | init_prefix: 6 | - "no ip prefix-list p1" 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_br_l2pt/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Clean up L2PT configurations 3 | sonic_br_l2pt: 4 | config: [] 5 | state: deleted 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ipv6_router_advertisement/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - dellemc.enterprise_sonic 4 | dependencies: 5 | - { role: common } 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_pki/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Deletes old PKI configurations 3 | sonic_pki: 4 | config: {} 5 | state: deleted 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_poe/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old PoE configuration 3 | sonic_poe: 4 | config: {} 5 | state: deleted 6 | -------------------------------------------------------------------------------- /.ansible-lint: -------------------------------------------------------------------------------- 1 | --- 2 | profile: production 3 | 4 | skip_list: 5 | - fqcn[keyword] 6 | - var-naming[no-role-prefix] 7 | 8 | var_naming_pattern: "^[A-Za-z_][A-Za-z0-9_]*$" 9 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_br_l2pt/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old L2PT configurations 3 | sonic_br_l2pt: 4 | config: [] 5 | state: deleted 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lst/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Test started ..." 3 | ansible.builtin.include_tasks: tasks_template.yaml 4 | loop: "{{ sonic_lst_tests }}" 5 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_roce/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Test started ... 3 | ansible.builtin.include_tasks: tasks_template.yaml 4 | loop: "{{ sonic_roce_tests }}" 5 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ars/tasks/preparation.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete ARS configuration 3 | sonic_ars: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_dcbx/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete DCBx configuration 3 | sonic_dcbx: 4 | config: 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fips/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete FIPS configuration 3 | sonic_fips: 4 | config: 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_l2_acls/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete L2 ACLs 3 | sonic_l2_acls: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_l3_acls/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete L3 ACLs 3 | sonic_l3_acls: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/152-copp.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | major_changes: 3 | - Added copp module to collection (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/152). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/157-mac.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | major_changes: 3 | - Added mac module to collection (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/157). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/177-bfd.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | major_changes: 3 | - Added bfd module to collection (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/177). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fbs_interfaces/tasks/cleanup.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete FBS policies 3 | sonic_fbs_policies: 4 | config: 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_mac/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete trunk VLANs 3 | sonic_l2_interfaces: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_buffer/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Test started ... 3 | ansible.builtin.include_tasks: tasks_template.yaml 4 | loop: "{{ sonic_qos_buffer_tests }}" 5 | -------------------------------------------------------------------------------- /changelogs/fragments/613-bgp-af-fix-check-mode.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_bgp_af - Fix check mode behavior (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/613). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bfd/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old BFD configuration 3 | sonic_bfd: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_dcbx/tasks/preparations_test.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old DCBx configuration 3 | sonic_dcbx: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fips/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old FIPS configurations 3 | sonic_fips: 4 | config: 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ip_neighbor/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Test started ..." 3 | ansible.builtin.include_tasks: tasks_template.yaml 4 | loop: "{{ sonic_ip_neighbor_tests }}" 5 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/466-ospf-area-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_ospf_area - Fix OSPF area bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/466). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/518-fix-stp-check-mode.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_stp - Fix STP check mode bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/518). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/541-ospf-area-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_ospf_area - Fix OSPF area bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/541). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/591-mclag-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_mclag - Fix domain ID creation bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/591). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_aaa/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete existing AAA configuration 3 | sonic_aaa: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_copp/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete CoPP groups configuration 3 | sonic_copp: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_network_policy/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Test started ..." 3 | ansible.builtin.include_tasks: tasks_template.yaml 4 | loop: "{{ sonic_network_policy_tests }}" 5 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_pfc/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete QoS PFC onfiguration 3 | sonic_qos_pfc: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_system/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Deletes system configurations 3 | sonic_system: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_tacacs_server/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Deletes old tacacs server configurations 3 | sonic_tacacs_server: 4 | config: {} 5 | state: deleted 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_users/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Deletes all users except admin 3 | sonic_users: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/481-copp-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_copp - Update reserved CoPP names list (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/481). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/569-vrfs-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vrfs - Fix VRFs bug for overridden state (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/569). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_as_paths/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Deletes old BGP AS paths 3 | sonic_bgp_as_paths: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lldp_global/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete global LLDP configurations 3 | sonic_lldp_global: 4 | config: 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_prefix_lists/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old prefix lists 3 | sonic_prefix_lists: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_maps/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete QoS maps configurations 3 | sonic_qos_maps: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_wred/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete QoS WRED configuration 3 | sonic_qos_wred: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/82-static_routes.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | major_changes: 3 | - Added 'static_routes' module to collection (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/82). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/99-ntp-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | major_changes: 3 | - Added a resource module for NTP support (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/99). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/113-change-ntp-module-name.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ntp - change NTP module name (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/113). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/381-fix-copp-states.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_copp - Fix CoPP states implementation bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/381). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/405-auditd-config.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Enable auditd command support(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/405). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/418-github-issue-416-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp - Fix GitHub issue# 416 (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/418). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/461-copp-traps.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_copp - Add 'copp_traps' to CoPP module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/461). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/516-add-ansible-lint-workflow.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - workflow - Add ansible-lint workflow (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/516). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/532-aaa-mfa-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_aaa - Add MFA support for AAA module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/532). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/558-dcbx-symlink.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic_dcbx - Add symlink for action plugin redirect (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/558). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/589-vxlans-evpn-nvo-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vxlans - Fix evpn_nvo request bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/589). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/559-aaa-accounting-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_aaa - Add support for accounting options (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/559). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_port_breakout/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Deletes old port breakouts 3 | sonic_port_breakout: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ssh/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old SSH client algorithm configurations 3 | sonic_ssh: 4 | config: 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/261-interfaces-timeout-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_interfaces - Fixed command timeout issue (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/261) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/262-vlan-mapping-bug-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vlan_mapping - Removed platform checks (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/262) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/401-versatile-hash.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Adding Versatile Hash feature.(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/401). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/526-l2-interfaces-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_l2_interfaces - Fix VLAN deletion bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/526). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/567-bam-msa-configuration.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_interfaces - Support for BAM/MSA configuration (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/567). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/571-vrrp-preempt-delay.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vrrp - Add support for vrrp 'preempt_delay' option (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/571). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_evpn_esi_multihome/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete all EVPN ESI multihome configuration 3 | sonic_evpn_esi_multihome: 4 | config: {} 5 | state: deleted 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_radius_server/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete test VRF 3 | sonic_vrfs: 4 | config: 5 | - name: VrfAnsibleTest 6 | state: deleted 7 | failed_when: false 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ssh_server/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old SSH server configurations 3 | sonic_ssh_server: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/146-vrf-mgmt-bug-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vrfs - Added tasks as a workaround to mgmt VRF bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/146) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/180-regression-failures-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - Fixed regression test bugs in multiple modules (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/180). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/257-vrfs-cli-test-case-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vrfs - Fixed spacing issue in CLI test case (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/257) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/384-add-route-maps-ut.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_route_maps - Add UT for route maps module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/384). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/468-cable-length.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_qos_interfaces - Add 'cable_length' attribute (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/468). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/535-ntpregression-test-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic-ntp - Fixed the NTP regression test failures (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/535). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/539-add-plugin-routing.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - plugin_routing - Add plugin routing for all modules (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/539). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/581-ars-rt-map-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_route_maps - Add support for set ARS object (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/581). 4 | -------------------------------------------------------------------------------- /playbooks/common_examples/mgmt_vrf_on.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Create mgmt VRF configuration 3 | sonic_vrfs: 4 | config: 5 | - name: mgmt 6 | state: merged 7 | ignore_errors: true # noqa: ignore-errors 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lldp_global/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old global LLDP configurations 3 | sonic_lldp_global: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_scheduler/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete QoS scheduler configuration 3 | sonic_qos_scheduler: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/176-update-netcommon-version.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - install-Updated the required ansible.netcommon version (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/176) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/254-update-replace-methods.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bfd, sonic_copp - Updated replaced methods (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/254) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/351-bgp-af-import-vrf-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - bgp_af - Add support for 'import vrf' commands (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/351). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/391-fix-qos-pfc-bug.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_qos_pfc - Add back accidentally deleted line of code (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/391) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/400-bgp-af-update-replaced-state.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_af - Update replaced state handling (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/400) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/422-update-ut-for-bgp-neighbors.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic_bgp_neighbors - Update UT for bgp_neighbors (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/422). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/423-syslog-over-TLS.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_logging - Add TLS protocol in sonic_logging module(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/423) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/444-add-buffer-init-attribute.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_qos_buffer - Add 'buffer_init' attribute (https://github.com/ansible-collection/dellemc.enterprise_sonic/pull/444). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/473-qos-interfaces-deletion-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_qos_interfaces - Fix command deletion bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/473). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/495-aaa-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_aaa - Update AAA module to account for SONiC code changes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/495). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/498-fix-ansible-lint-failures.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - modules - Fix ansible lint failures in module files (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/498). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/512-user-ssh-key.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_users - Add support for user ssh key configuration (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/512). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/566-bgp-regression-test-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_bgp - Remove CLI regression test cases for BGP (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/566). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/583-bgp-nbr-auth-pwd-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_bgp_nbr - Fix 'auth_pwd' diff calculation bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/583). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/592-ut-lint-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - tests/unit - Fix ansible-lint errors in the tests unit directory (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/592). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/593-name-privacy.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - documentation - Abbreviate first name in documentation for privacy (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/593). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/574-qos-wred-yellow-red-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | breaking_changes: 3 | - sonic_qos_wred - Add support for yellow and red colors (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/574). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/603-qos-interfaces-check-mode-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_qos_interfaces - Fix check mode and refactor module code (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/603). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_api/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Remove prefix 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ preparations_tests.init_prefix }}" 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fbs_groups/tasks/cleanup.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete VRFs 3 | sonic_vrfs: 4 | config: 5 | - name: VrfReg1 6 | - name: VrfReg2 7 | state: deleted 8 | failed_when: false 9 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_login_lockout/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old login lockout configurations 3 | sonic_login_lockout: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/98-vlans-description.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - vlans - Added support for the vlan "description" attribute (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/98). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/106-change-ntp-get-fact.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ntp - change NTP get facts to get default parameters (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/106). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/233-bgp-neighbors-defaults-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_neighbors - Fixed handling of default attributes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/233) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/344-update-ut-config-requests-validation.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - unittest - Update config requests validation (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/344). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/373-qos-scheduler-update-states.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_qos_scheduler - Update states implementation (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/373). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/388-system-update-replaced-state.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Update replaced state handling (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/388). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/429-cliconf-doc-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - cliconf - Change inherited OS10 references in description to SONiC (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/429). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/431-l3-interfaces-fix-replaced-state.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_l3_interfaces - Fix replaced state handling (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/431) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/424-remote-audit-log.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_logging - Add audit message-type in sonic_logging module(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/424) 4 | -------------------------------------------------------------------------------- /changelogs/fragments/572-lag-speed-adv_speed-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_lag_interfaces - Add support for 'speed' and 'adv_speed' (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/572). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/597-regression-lint-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - tests/regression - Fix ansible-lint errors in the tests regression directory (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/597). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lldp_interfaces/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete network policies 3 | dellemc.enterprise_sonic.sonic_network_policy: 4 | config: 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/test_reports/tasks/all_tasks_log_template.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Display combined facts test report" 3 | ansible.builtin.import_role: 4 | name: common 5 | tasks_from: all.facts.summary.report.yaml 6 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/100-prefix_lists-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | major_changes: 3 | - Added a resource module for support of prefix lists (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/100). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/105-vxlan-regression-test-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - vxlan - update Vxlan test cases to comply with SONiC behavior (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/105). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/118-add-ntp-prefer-attribute.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ntp - Added prefer attribute to NTP resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/118) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.2.0/269-revert-aaa-breaking-changes.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_aaa - Reverted breaking changes for AAA nodule (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/269) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/299-mclag-session-vrf-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_mclag - Enable session-vrf command support in mclag(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/299). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/432-changelogs-v2.5.0-release-note.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - changelogs - Provide changelog updates for release 2.5.0 (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/432). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/471-fix-vxlan-regression-tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vxlan - Fix failing regression tests for sonic_vxlan (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/471) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/511-stp-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_stp - Add handling for removal of empty data structures for merge state (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/511). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/538-graceful-restart-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp - Add support for graceful restart attributes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/538). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/561-bgp-nbr-af-documentation.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic_bgp_neighbors_af - Fix typos in configuration examples (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/561). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/577-mirroring-regression-test-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_mirroring - Fix mirroring regression test failures (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/577). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/587-stp-request-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_stp - Update request method to use post for enabled_protocol (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/587). 4 | -------------------------------------------------------------------------------- /playbooks/common_examples/mgmt_vrf_off.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete mgmt VRF configuration 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: 7 | - "no ip vrf mgmt" 8 | register: output 9 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ecmp_load_share/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete existing ECMP load share configuration 3 | sonic_ecmp_load_share: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vxlans/templates/cli_test_case_01.cfg: -------------------------------------------------------------------------------- 1 | interface vxlan vtep1 2 | source-ip 1.1.1.1 3 | map vni 101 vlan 105 4 | map vni 102 vlan 106 5 | map vni 101 vrf VrfReg1 6 | map vni 102 vrf VrfReg2 7 | ! 8 | 9 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/119-lag_interfaces-port-name-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_lag_interfaces - Fixed port name issue (GitHub issue#153) (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/119) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/182-unit-tests-for-bgp-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp - Add unit tests for BGP resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/182) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/198-unit-tests-for-aaa-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_aaa - Add unit tests for AAA resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/198) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/207-unit-tests-for-ntp-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ntp - Add unit tests for NTP resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/207) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/214-unit-tests-vlans-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vlans - Add unit tests for Vlans resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/214) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/216-unit-tests-for-vrfs-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vrfs - Add unit tests for VRFS resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/216) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/218-unit-tests-for-api-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_api - Add unit tests for api resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/218) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/244-added-rt-delay-attribute-to-bgp-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp - Added rt_delay attribute to module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/244) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/250-bgp-as-paths-fix-merged-deleted.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_bgp_as_paths - Fix issues with merged and deleted states (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/250) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/382-aaa-breaking-change.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | breaking_changes: 3 | - sonic_aaa - Update AAA module to align with SONiC functionality (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/382) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/448-set-suppress-vlan-neigh-option.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic-vxlan - Add 'suppress_vlan_neigh' vlan list option (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/448). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/419-sflow-max-header-size.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_sflow - Add max header size support in sonic_sflow module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/419). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/452-bgp-af-dup-addr-detection-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - bgp_af - Add support for 'dup-addr-detection' commands (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/452). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/494-LDAP-security-profile-task.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic_ldap - Add prerequisite task for LDAP security profile tests (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/494). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/562-adjust-txrx-clock-freq.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Add support for Tx/Rx clock frequency adjustment (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/562). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/578-evpn-esi-multihome-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_evpn_esi_multihome - Fix EVPN ESI multihome delete all bug (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/578). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/588-bgp-af-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic_bgp_af - Add needed prefix list configuration to BGP AF regression testing (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/588). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_ext_communities/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old BGP ext communities configuration 3 | sonic_bgp_ext_communities: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/183-unit-tests-for-bgp-af-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_af - Add unit tests for BGP AF resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/183) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/191-unit-tests-for-bgp-af-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_af - Add unit tests for BGP AF resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/191) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/213-unit-tests-for-users-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_users - Add unit tests for users resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/213) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/215-unit-tests-for-vxlans-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vxlans - Add unit tests for VxLans resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/215) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/220-unit-tests-for-config-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_config - Add unit tests for config resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/220) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/222-unit-tests-for-facts-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_facts - Add unit tests for facts resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/222) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/223-unit-tests-for-system-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Add unit tests for system resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/223) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/231-l3-interfaces-delete-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_l3_interfaces - Fixed IP address deletion issue (GitHub issue#170) (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/231) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/240-bgp-replaced-overridden-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp - Add support for replaced and overridden states (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/240). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/342-system-auto-breakout-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Add support for configuring auto-breakout feature (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/342). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/395-comment-out-pfc-pg-test-cases.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_qos_maps - Comment out PFC priority group map tests cases (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/395). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/410-sonic_l2_interfaces-fix-facts-exception.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_l2_interfaces - Fix exception when gathering facts (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/410). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/414-ldap-security-profile.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ldap - Add ldap security profile support for sonic_ldap module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/414). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/519-password-complexity.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Add password complexity support for sonic_system module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/519). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/543-qos-buffer-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_qos_buffer - Modify buffer profile handling to match new CVL requirements (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/543). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_communities/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete old sonic_bgp_communities 3 | dellemc.enterprise_sonic.sonic_bgp_communities: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_image_management/tasks/cleanup_files.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Remove file (delete file) 3 | vars: 4 | ansible_connection: ssh 5 | ansible.builtin.file: 6 | path: /home/admin/imageverify 7 | state: absent 8 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/85-regression-test-fixes.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - Fixed regression test sequencing and other regression test bugs in multiple modules (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/85). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/160-sanity-check-errors-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - Fixed sanity check errors in the collection caused by Ansible library changes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/160). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/199-code-coverage-workflow-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - workflows-Fixed dependency installation issue in the code coverage workflow (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/199) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/219-unit-tests-for-command-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_command - Add unit tests for command resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/219) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/224-ntp-clear-all-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_ntp - fixed the issue (GitHub issue#205) with NTP clear all without config given (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/224) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/226-unit-tests-for-logging-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_logging - Add unit tests for logging resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/226) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/246-bgp-af-replaced-overridden-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_af - Add support for replaced and overridden states (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/246). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/247-vxlans-replaced-overridden-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vxlans - Added support for replaced and overridden states (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/247) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/330-add-external-ip-attribute-for-vxlan.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vxlans - Add support for the "external_ip" vxlan option (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/330). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/374-usgv6r1-related-features-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l3_interfaces - Add support for USGv6R1 related features (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/374). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/393-github-issue-376-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vxlan - Fix GitHub issue 376 - Change vxlan module get_fact function (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/393). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/398-bgp-af-aggregate-address-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_af - Add support for aggregate address configuration(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/398). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/428-l3-interfaces-default-dad-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l3_interfaces - Fix IPv6 default dad configuration handling (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/428). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/501-fix-ansible-lint-failures-3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - playbooks - Fix ansible lint failures in playbooks/bgp_l3_fabric directory (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/501). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/533-autostate-vlan-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vlans - Add support for autostate attribute configuration on a VLAN (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/533). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/555-Logging-Security-Profile-Ansible-Support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_logging - Add support for 'security_profile' option (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/555). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/575-interfaces-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_interfaces - Fix port-group interface error handling for speed configuration (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/575). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vxlans/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete VRF configuration 3 | sonic_vrfs: 4 | config: 5 | - name: "{{ vrf1 }}" 6 | - name: "{{ vrf2 }}" 7 | state: deleted 8 | failed_when: false 9 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/ask_a_question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: 💬 Ask a question 3 | about: Ask usage questions here 4 | title: "[QUESTION]:" 5 | labels: type/question 6 | assignees: '' 7 | 8 | --- 9 | ### How can the team help? 10 | 11 | **Details: ?** -------------------------------------------------------------------------------- /.yamllint: -------------------------------------------------------------------------------- 1 | --- 2 | extends: default 3 | 4 | ignore: | 5 | .tox 6 | 7 | rules: 8 | braces: 9 | max-spaces-inside: 1 10 | level: error 11 | brackets: 12 | max-spaces-inside: 1 13 | level: error 14 | line-length: disable 15 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/230-vrfs-delete-interface-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vrfs - fixed the issue (GitHub issue#194) with VRF when deleting interface(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/230) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/366-github-issue-357-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_interfaces - Fix GitHub issue 357 - set proper default value when deleted (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/366). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/465-update-qos-wred-test-case.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_qos_wred - Update QoS WRED regression test case based on SONiC code changes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/465). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/504-switching-mode-system-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Add switching-mode functionality to the sonic_system module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/504). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/505-concurrent-session-limit.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Add concurrent session limit support for sonic_system module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/505). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/576-proxy-arp-nd-proxy-feature-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l3_interfaces - Added support for Proxy-ARP/ND-Proxy feature (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/576). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/582-lldp-intf-network-policy-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_lldp_interfaces - Add support for network policy configuration (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/582). 4 | -------------------------------------------------------------------------------- /playbooks/common_examples/patch.txt: -------------------------------------------------------------------------------- 1 | {"openconfig-if-ip:ipv4": { 2 | "addresses": { 3 | "address": [ 4 | { 5 | "ip": "131.1.1.1", 6 | "config": {"ip": "131.1.1.1", "prefix-length": 24} 7 | }]}} 8 | } 9 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/107-change-ntp-key-values-in-regression-script.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ntp - change NTP key values in NTP regression test script (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/107). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/145-mclag-new-attributes.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_mclag - Added delay_restore, gateway_mac, and peer_gateway attributes to module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/145) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/197-unit-tests-for-interfaces-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_interfaces - Add unit tests for interfaces resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/197) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/225-unit-tests-for-ip-neighbor-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ip_neighbor - Add unit tests for IP neighbor resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/225) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/228-unit-tests-for-port-group-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_port_group - Add unit tests for port group resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/228) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/245-enhance-bgp-neighbors-unit-tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_neighbors - Enhance unit tests for BGP Neighbors resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/245) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/249-dhcp-relay-replaced-overridden-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_dhcp_relay - Add support for replaced and overridden states (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/249). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/317-added-protocol-option-for-syslog-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_logging - Add support for protocol option in logging module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/317). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/394-update-version-remove-facts-reports.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - Update module docummentation and remove extraneous regression facts reports (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/394). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/478-Adding-severity-option-to-logging-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_logging - Adding the "severity" option to the logging module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/478). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/598-vxlan_evpn_nvo-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic.vxlans - Fix VXLAN config/facts handling; moving deprecated uri EVPN_NVO to current one VXLAN_EVPN_NVO (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/598). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/609-after-generated-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - plugins - Change all instances of 'after(generated)' to 'after_generated' to address sanity errors (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/609). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_mirroring/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete LAG interfaces 3 | sonic_lag_interfaces: 4 | config: 5 | - name: Portchannel100 6 | - name: Portchannel200 7 | state: deleted 8 | failed_when: false 9 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/114-change-ntp-module-name-in-regression-script.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ntp - change NTP module names in NTP regression test script (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/114). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/148-dhcp-relay-unit-tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_dhcp_relay - Added a common unit tests module and unit tests for dhcp relay module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/148) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/184-unit-tests-for-bgp-as-paths-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_as_paths - Add unit tests for BGP AS paths resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/184) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/201-bgp-af-modify-vni-advertise-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_bgp_af - Fixed issue with vnis and advertise modification for a single BGP AF (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/201) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/209-unit-tests-for-prefix-lists-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_prefix_lists - Add unit tests for prefix lists resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/209) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/221-l2-interfaces-replaced-overridden-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l2_interfaces - Add support for replaced and overridden states (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/221). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/236-static-routes-replaced-overridden-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_static_routes - Added support for replaced and overridden states (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/236) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/237-aaa-replaced-overridden-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_aaa - Added replaced and overridden states support for AAA resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/237) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/255-prefix_lists_replaced_overridden_support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_prefix_lists - Added support for replaced and overridden states (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/255) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/403-lag-interface-evpn-ethernet-segment.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_lag_interfaces - Add evpn ethernet-segment support for LAG interfaces (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/403). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/464-REST-server-cipher-suite.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_mgmt_servers - Add REST server cipher suite support for sonic_mgmt_servers module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/464). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/585-update-port-breakout-mode-choices.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_port_breakout - Add support for modes 1x800G, 2x400G, 4x200G, and 8x100G (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/585). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_api/tasks/patch.txt: -------------------------------------------------------------------------------- 1 | {"openconfig-if-ip:ipv4": { 2 | "addresses": { 3 | "address": [ 4 | { 5 | "ip": "1.1.1.1", 6 | "config": {"ip": "1.1.1.1", "prefix-length": 24} 7 | }]}} 8 | } 9 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/78-aaa-regression-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - aaa - Modify regression test sequencing to enable correct testing of the functionality for this module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/78). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/129-ntp-minpoll-maxpoll-config.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ntp - change NTP resource module to make minpoll and maxpoll be configured together (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/129). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/130-vxlans-attribute-restriction-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vxlans - Removed required_together restriction for evpn_nvo and source_ip attributes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/130) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/187-unit-tests-for-bgp-neighbors-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_neighbors - Add unit tests for BGP neighbors resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/187) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/200-unit-tests-for-l2-interfaces-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l2_interfaces - Add unit tests for l2_interfaces resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/200) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/202-unit-tests-for-l3-interfaces-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l3_interfaces - Add unit tests for l3_interfaces resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/202) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/203-unit-tests-for-lag-interfaces-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_lag_interfaces - Add unit tests for lag_interfaces resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/203) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/208-unit-tests-for-tacacs-server-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_tacacs_server - Add unit tests for TACACS server resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/208) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/210-unit-tests-for-radius-server-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_radius_server - Add unit tests for RADIUS server resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/210) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/212-unit-tests-for-static-routes-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_static_routes - Add unit tests for static routes resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/212) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/229-unit-tests-for-port-breakout-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_port_breakout - Add unit tests for port breakout resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/229) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/242-users-replaced-overridden-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_users - Add replaced and overridden states support for users resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/242) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/258-change-logging-module-source-interface-naming.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_logging - change logging get facts for source_interface naming (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/258). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.4.0/322-docs-README-updates.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - requirements - Update the README file to document required Ansible and Python updates for this release (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/322). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/352-system-standard-extended-interface-naming.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Add support for 'standard_extended' interface-naming mode (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/352). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/396-port-group-facts-enhancement.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_port_group - Make error message for port group facts gathering more descriptive (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/396). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/453-add-unreliable-los-option-to-interface.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_interfaces - add new unreliable-los option to interface resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/453) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/509-tacacs-server-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_tacacs_server - Add sleep to allow TACACS server config updates to apply to SONiC PAM modules (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/509). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/common/tasks/all.facts.summary.report.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: All facts summary report 3 | ansible.builtin.set_fact: 4 | ansible_facts: 5 | test_reports: "{{ ansible_facts['test_reports'] | default({}) | combine({}, recursive=True) }}" 6 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_dhcp_snooping/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Clean up DCHCP test environment" 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ preparations_tests.cleanup }}" 7 | failed_when: false 8 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/76-CLI-command-prompt-answer-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_command - Fix bugs in handling of CLI commands involving a prompt and answer sequence (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/76/files). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/151-replaced-overridden-for-ntp-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ntp - Added replaced and overridden states support for NTP resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/151) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/185-unit-tests-for-bgp-communities-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_communities - Add unit tests for BGP communities resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/185) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/188-unit-tests-for-bgp-neighbors-af-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_neighbors_af - Add unit tests for BGP neighbors AF resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/188) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/328-check-diff-modes-for-l3-interfaces.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l3_interfaces - Add playbook check and diff modes support for l3_interfaces module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/328). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/443-update-regex-edit-config.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - Update regex search expression for 'not found' error message in httpapi/sonic.py 'edit_config' method (https://github.com/ansible-collection/dellemc.enterprise_sonic/pull/443). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/590-interfaces-800-GB-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_interfaces - Add support for configuring speed and advertised speed for 800 GB interfaces (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/590). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ars/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_ars_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bfd/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_bfd_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_bgp_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_copp/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_copp_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_drop_counter/tasks/cleanup.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete mirror sessions 3 | sonic_mirroring: 4 | config: 5 | span: 6 | - name: session1 7 | - name: session2 8 | state: deleted 9 | failed_when: false 10 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospf_area/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete testing vrf 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ preparations_tests.cleanup }}" 7 | register: output 8 | failed_when: false 9 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_pki/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_pki_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_sflow/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yml 7 | loop: "{{ sonic_sflow_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_static_routes/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete VRFs 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ preparations_tests.delete_vrf }}" 7 | register: output 8 | failed_when: false 9 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/149-l2-interfaces-vlan-trunk-range-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l2_interfaces - Add support for specifying vlan trunk ranges in Ansible playbooks (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/149). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/156-replaced-overridden-for-vrfs-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vrfs - Added replaced and overridden states support for VRF resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/156) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/217-replaced-overridden-for-vlans-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vlans - Added replaced and overridden states support for VLAN resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/217) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/253-change-replaced-function-for-ip-neighbor-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_ip_neighbor - Change the replaced function in ip_neighbor resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/253) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/487-port-group_interface_speed_error-handling_enhancement.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_interfaces - Enhancing port-group and interface speed error handling (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/487). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/524-lldp-interfaces-check-diff-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_lldp_interfaces - Add playbook check and diff modes support for lldp_interfaces module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/524). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/563-vlan-mapping-regression-test-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic-vlan-mapping - Avoid sending a deletion REST API containing a comma-separated list of vlan IDs (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/563). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_aaa/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_aaa_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_wred/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_qos_wred_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ssh/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_ssh_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vlans/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_vlans_tests }}" 8 | -------------------------------------------------------------------------------- /bindep.txt: -------------------------------------------------------------------------------- 1 | # This is a cross-platform list tracking distribution packages needed by tests; 2 | # see https://docs.openstack.org/infra/bindep/ for additional information. 3 | 4 | gcc-c++ [doc test platform:rpm] 5 | python3-devel [test platform:rpm] 6 | python3 [test platform:rpm] 7 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/67-bgp_neighbors-auth_pwd-and-neighbor_description.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - bgp_neighbors - add an auth_pwd dictionary and nbr_description attribute to the argspec (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/67). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/159-replaced-overridden-for-system-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_system - Added replaced and overridden states support for system resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/159) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/186-unit-tests-for-bgp-ext-communities-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_ext_communities - Add unit tests for BGP ext communities resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/186) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/434-changelogs-post-release-2.5.0-pylint-and-doc-fixes.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - changelogs - Fix a release 2.5.0 Pylint 2.7 error and and documentation inaccuracies (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/434). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/459-add-new-message-type.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic-logging - Add new 'auditd_system' choice to the 'message_type' choices for the logging resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/459). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/460-stp-long-int-vlan-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_stp - Change the criteria for converting vlans and vlan ranges to handle vlan IDs with more than one digit (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/460). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/584-test-reports-reduced-logging.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - test_reports - Eliminate redundant order n-squared regression test logging by logging all facts only one time (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/584). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_config/templates/snmp.j2: -------------------------------------------------------------------------------- 1 | {% if snmp_location is defined and snmp_location %} 2 | snmp-server location "{{ snmp_location }}" 3 | {% endif %} 4 | {% if snmp_contact is defined and snmp_contact %} 5 | snmp-server contact "{{ snmp_contact }}" 6 | {% endif %} 7 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_maps/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for tests 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_qos_maps_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_pfc/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_qos_pfc_tests }}" 8 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/150-replaced-overridden-for-logging-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | major_changes: 3 | - sonic_logging - Added replaced and overridden states support for logging resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/150) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/329-regression-test-automated-intf-naming-config.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - tests - Enable automated regression testing of both "native" and "standard" interface naming modes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/329). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ssh_server/tasks/main.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_ssh_server_tests }}" 8 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/58-vxlan-primary-ip.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_vxlans - Add configuration capability for the primary IP address of a vxlan vtep to facilitate vxlan path redundundancy (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/58). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/62-bgp-vxlan-primary-ip.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - bgp_af - Added support for BGP options to configure usage and advertisement of vxlan primary IP address related attributes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/62). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.4.0/321-requirements-update-meta-runtime-ansible-version.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - requirements - Update requires_ansible version in meta/runtime.yml to the oldest supported version (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/321). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/463-mclag-prereq-member-deletion.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_mclag - Delete any remaining PortChannel members for an mclag domain before attempting to delete the mclag domain (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/463). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/470-interfaces-speed-bugfix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_interfaces - Remove the restriction preventing configuration of interface speed for port channel member interfaces (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/470). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/486-delete-attribute-logging-server.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_logging - Adding the ability to delete a specific attribute of a logging server into the logging module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/486). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_as_paths/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_bgp_as_paths_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_port_breakout/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_port_breakout_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_prefix_lists/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_prefix_lists_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ptp_port_ds/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started . . ." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_ptp_port_ds_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_qos_scheduler/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_qos_scheduler_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_tacacs_server/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_tacacs_server_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vlan_mapping/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_vlan_mapping_tests }}" 8 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/227-replaced-overridden-for-port-group-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_port_group - Added replaced and overridden states support for port group resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/227) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/493-tacacs_server-regression-test-hostname.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic_tacacs_server - Change the host name format used in regression tests to match new SONiC host name criteria (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/493). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_lag_interfaces/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_lag_interfaces_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_login_lockout/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_login_lockout_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_port_group/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Reset port groups 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ preparations_tests.delete_port_group_configurations }}" 7 | register: output 8 | failed_when: false 9 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/53-oc-yang-compliance.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | major_changes: 3 | - Updated backend REST API request formats in all applicable modules for compatibility with SONiC 4.x openconfig YANG compliant REST APIs. (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/53) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/128-add-several-attributes-to-interface-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_interfaces - Added speed, auto-negotiate, advertised-speed and FEC to interface resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/128) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/196-replaced-overridden-for-lag-interface-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_lag_interface - Added replaced and overridden states support for LAG interface resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/196) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/235-replaced-overridden-for-tacacs-server-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_tacacs_server - Add replaced and overridden states support for TACACS server resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/235) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/239-replaced-overridden-for-radius-server-resource-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_radius_server - Added replaced and overridden states support for RADIUS server resource module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/239) 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/380-sonic-image-verification.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_image_management - Add support for image GPG Key installation and verification feature in sonic_image_management module (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/380). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/446-README-documentation-links-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - README - Update all links to module documentation to use the new Ansible documentation web site on the galaxy.ansible.com domain(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/446). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/477-stp-bugfix-and-refactor.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_stp - Fix functionality to allow a value of 0 to be configured for the appropriate integer attributes and refactor module code(https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/477). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_communities/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_bgp_communities_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_ext_communities/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_bgp_ext_communities_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ecmp_load_share/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Preparations for test" 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: "Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_ecmp_load_share_tests }}" 8 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_evpn_esi_multihome/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ..." 6 | ansible.builtin.include_tasks: tasks_template.yml 7 | loop: "{{ sonic_evpn_esi_multihome_tests }}" 8 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/124-l2-interfaces-oc-yang-vlan-range-format-config-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_l2_interfaces - Add support for parsing configuration containing the OC Yang vlan range syntax (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/124). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/413-route-maps-set-tag-support-and-doc-updates.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_route_maps - Add support for the 'set tag' option and synchronize module documentation with argspec and model (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/413). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/445-ConnectionError-add-imports.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - ConnectionError - Add the needed import of the Ansible ConnectionError exception class for all files where it was previously missing. (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/445). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_port_group/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Initialize port groups 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ preparations_tests.delete_port_group_configurations }}" 7 | register: output 8 | failed_when: false 9 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_radius_server/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Deletes old radius server configurations 3 | sonic_radius_server: 4 | config: {} 5 | state: deleted 6 | 7 | - name: Create test VRF 8 | sonic_vrfs: 9 | config: 10 | - name: VrfAnsibleTest 11 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/141-add-route-distinguisher-target-attributes-to-bgp-af-module.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_bgp_af - Added several attributes to support configuration of route distinguisher and route target (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/141 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.2.0/270-galaxy-yml-netcommon-and-version-fixes.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - galaxy_yml - Enable installation of Ansible Netcomon versions after 5.0.0 and update the enterprise_sonic release version (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/270). 4 | -------------------------------------------------------------------------------- /changelogs/fragments/600-ansible-core_219_compatibility_changes.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - ansible-core_219_compatibility - Modify the required Netcommon version and UT module param setting method for ansible-core 2.19 compatibility (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/600). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/456-tests-sanity-ignore-action-plugin-for-ansible-2.19.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - tests - Skip Ansible 2.19 checking for a module correspnding to the sonic.py action plugin to avoid invalid sanity failures (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/456). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/406-lldp-tlv-support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_lldp_interfaces - Add support for LLDP TLVs i.e., 'port_vlan_id', 'vlan_name', 'link_aggregation', 'max_frame_size', and 'vlan_name_tlv' attributes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/406). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/492-tests-sanity-ignore-action-plugin-for-ansible-2.20.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - tests - Skip Ansible 2.20 checking for a module corresponding to the sonic.py action plugin to avoid invalid sanity failures (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/492). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/496-MCLAG-Backup-Keepalive-Session-Ansible-Support.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_mclag - Added Ansible support for the yang leafs added as part of the MCLAG Split Brain Detection and Recovery feature (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/496). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_mgmt_servers/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete mgmt VRF 3 | sonic_vrfs: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | 8 | - name: Delete security profiles 9 | sonic_pki: 10 | config: {} 11 | state: deleted 12 | failed_when: false 13 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospfv3_area/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete testing ospfv3 area required configuration 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ sonic_ospfv3_area_preparations_tests.cleanup }}" 7 | register: output 8 | failed_when: false 9 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/565-lag-interfaces-regression-test-fix.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - common_defaults_main - Update interface variables defined in the common defaults main.yml to use lower Ethernet ports 4 | (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/565). 5 | -------------------------------------------------------------------------------- /tests/unit/modules/network/sonic/fixtures/sonic_command.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | merged_01: 3 | module_args: 4 | commands: 5 | - show version 6 | retries: 5 7 | interval: 3 8 | wait_for: 9 | - result[0] contains Version 10 | match: any 11 | expected_command_requests: 12 | - show version 13 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/195-aaa-login-authentication.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | breaking_changes: 3 | - aaa - Added default_auth attribute to the argspec to replace the deleted group and local attributes. This change allows for ordered login authentication. (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/195). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/474-l3_interfaces-ipv6-autoconf-downward-compatibility.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_l3_interfaces - Eliminate unconditional sending of the new autoconf REST API option during replaced and overridden state handling (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/474). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vrfs/templates/cli_test_case_01.cfg: -------------------------------------------------------------------------------- 1 | ip vrf VrfReg1 2 | ip vrf VrfReg2 3 | interface Vlan100 4 | ip vrf forwarding VrfReg1 5 | interface Loopback 100 6 | ip vrf forwarding VrfReg1 7 | interface PortChannel100 8 | ip vrf forwarding VrfReg1 9 | interface {{ interface1 }} 10 | ip vrf forwarding VrfReg1 11 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_stp/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete L2 interfaces configuration 3 | sonic_l2_interfaces: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | 8 | - name: Delete VLANs configuration 9 | sonic_vlans: 10 | config: [] 11 | state: deleted 12 | failed_when: false 13 | -------------------------------------------------------------------------------- /tests/unit/modules/network/sonic/fixtures/sonic_api.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | merged_01: 3 | module_args: 4 | url: data/openconfig-network-instance:network-instances/network-instance=Vlan100/ 5 | method: "PUT" 6 | body: {"openconfig-network-instance:network-instance": [{"name": "Vlan100", "config": {"name": "Vlan100"}}]} 7 | status_code: 204 8 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/534-add-support-for-200gb.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - sonic_interfaces - Add support for speed 200GB (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/534). 4 | - sonic_port_group - Add support for speed 200GB (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/534). 5 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ospfv2/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete OSPFv2 configurations 3 | sonic_ospfv2: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | 8 | - name: Delete test VRFs 9 | sonic_vrfs: 10 | config: "{{ preparations_tests.vrfs }}" 11 | state: deleted 12 | failed_when: false 13 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/377-interfaces-vlans-fix-facts.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_interfaces - Fix exception when gathering facts (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/377). 4 | - sonic_vlans - Fix exception when gathering facts (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/377). 5 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_fbs_groups/tasks/preparation.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete FBS groups configuration 3 | sonic_fbs_groups: 4 | config: {} 5 | state: deleted 6 | failed_when: false 7 | 8 | - name: Create VRFs 9 | sonic_vrfs: 10 | config: 11 | - name: VrfReg1 12 | - name: VrfReg2 13 | failed_when: false 14 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.5.0/354-prefix-lists-fix-replaced-idempotency.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_prefix_lists - Fix replaced state handling (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/354). 4 | - sonic_prefix_lists - Fix idempotency failure (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/354). 5 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Initialize VRFs" 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ preparations_tests.init_vrf }}" 7 | 8 | - name: Delete old BGP configuration 9 | sonic_bgp: 10 | config: [] 11 | state: deleted 12 | failed_when: false 13 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_bgp_neighbors/tasks/cleanup_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Deletes old BGP neighbors configuration 3 | sonic_bgp_neighbors: 4 | config: [] 5 | state: deleted 6 | failed_when: false 7 | 8 | - name: Deletes old BGP configuration 9 | sonic_bgp: 10 | config: [] 11 | state: deleted 12 | failed_when: false 13 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_users/templates/cli_test_case_01.cfg: -------------------------------------------------------------------------------- 1 | username operator1 password $6$E3pDmCbrbYNEw952$6y9rQNgNRVCU4Fgu7QnNa.AYHuDqpzwYiTuR8QG0TUwcAbR/VFK1gZX1EEHpeE0wjgBf6USnLXcgBj8TIS5mg. role operator 2 | username sysadmin password $6$UuxErB15tyodQ3SG$j02rdRERouNP3hed8w0Un5EO3tAhpoQqj6WlvJOU/.zuN3NzdoY/x1sahmgExMeOPeUtaSO.XdheJghewZG2y1 role admin 3 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/102-example-updates.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - bgp_as_paths - updated module examples with 'permit' attribute (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/102) 4 | - playbook - updated examples to reflect module changes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/102) 5 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_static_routes/tasks/preparation_tests.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Initialize VRFs 3 | vars: 4 | ansible_connection: network_cli 5 | sonic_config: 6 | commands: "{{ preparations_tests.init_vrf }}" 7 | 8 | - name: Deletes old static routes configurations 9 | sonic_static_routes: 10 | config: [] 11 | state: deleted 12 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/482-radius_server-regression-test-hostname.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic_radius_server - Change the host name format used in regression tests to match new SONiC host name criteria and document the new host name format requirements for reference by users (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/482). 4 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.1.0/546-image-management-location_change.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | trivial: 3 | - sonic_image_management - Change the location of the SONiC image zip file used by this regression test from a "/tmp" directory location to the "permanent" directory "/usr/local/share/script_files" (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/546). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_mac/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_mac_tests }}" 8 | 9 | - name: Cleanup for test 10 | ansible.builtin.include_tasks: cleanup_tests.yaml 11 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_ntp/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_ntp_tests }}" 8 | 9 | - name: Cleanup for test 10 | ansible.builtin.include_tasks: cleanup_tests.yaml 11 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_poe/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_poe_tests }}" 8 | 9 | - name: Cleanup for test 10 | ansible.builtin.include_tasks: cleanup_tests.yaml 11 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_stp/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_stp_tests }}" 8 | 9 | - name: Cleanup for test 10 | ansible.builtin.include_tasks: cleanup_tests.yaml 11 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.1.0/172-module-utils-import-remove-empties-from-ansible-lib.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - module_utils - Change the location for importing remove_empties from the obsolete Netcommon location to the offically required Ansible library location to fix sanity errors (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/172). 4 | -------------------------------------------------------------------------------- /tests/regression/roles/sonic_vxlans/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Preparations for test 3 | ansible.builtin.include_tasks: preparation_tests.yaml 4 | 5 | - name: Test started ... 6 | ansible.builtin.include_tasks: tasks_template.yaml 7 | loop: "{{ sonic_vxlans_tests }}" 8 | 9 | - name: Cleanup for test 10 | ansible.builtin.include_tasks: cleanup_tests.yaml 11 | -------------------------------------------------------------------------------- /tests/unit/utils/test_06_dict_diff_left_only_with_none.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | want: 3 | auth_type: chap 4 | key: 5 | source_interface: Eth 12 6 | timeout: 12 7 | host: 8 | auth_type: 9 | port: 10 | timeout: 15 11 | have: 12 | key: chap 13 | diff: 14 | auth_type: chap 15 | source_interface: Eth 12 16 | timeout: 12 17 | host: 18 | timeout: 15 19 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/2.0.0/101-bgp-prefix_lists.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minor_changes: 3 | - bgp_neighbors - added prefix-list related peer-group attributes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/101). 4 | - bgp_neighbors_af - added prefix-list related neighbor attributes (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/101). 5 | -------------------------------------------------------------------------------- /changelogs/archive_fragments/3.0.0/455-fix-vrrp-regression-failure.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | bugfixes: 3 | - sonic_vrrp - Update delete handling to fix regression failure (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/455). 4 | - Update 'update_url' method to handle multiple interface names (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/455). 5 | --------------------------------------------------------------------------------