├── .coveragerc ├── .editorconfig ├── .flake8 ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml └── workflows │ └── main.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .readthedocs.yaml ├── CONTRIBUTING.md ├── LICENSE ├── Procfile ├── README.md ├── contrib └── oxidized │ ├── cfgchanged.sh │ └── validate_config.sh ├── docs ├── .gitignore ├── Makefile ├── make.bat └── source │ ├── check.rst │ ├── checks.j2 │ ├── checks_index.j2 │ ├── cli.rst │ ├── conf.py │ ├── contributing.rst │ ├── index.rst │ ├── integrations │ ├── index.rst │ └── oxidized.rst │ ├── nos │ ├── cisco_ios.rst │ ├── cisco_nxos.rst │ └── index.rst │ └── usage.rst ├── mypy.ini ├── netlint ├── __init__.py ├── __main__.py ├── checks │ ├── __init__.py │ ├── checker.py │ ├── cisco_ios │ │ └── __init__.py │ ├── cisco_nxos │ │ ├── __init__.py │ │ └── utils.py │ ├── constants.py │ ├── types.py │ ├── utils.py │ └── various │ │ └── __init__.py ├── cli │ ├── __init__.py │ ├── main.py │ ├── types.py │ └── utils.py └── weblint │ ├── __init__.py │ └── templates │ └── base.j2 ├── poetry.lock ├── pyproject.toml └── tests ├── __init__.py ├── configurations ├── check_default_snmp_communities_faulty-0.conf ├── check_default_snmp_communities_good-0.conf ├── cisco_ios │ ├── check_console_password_faulty-0.conf │ ├── check_console_password_good-0.conf │ ├── check_ip_http_server_faulty-0.conf │ ├── check_ip_http_server_good-0.conf │ ├── check_password_hash_strength_faulty-0.conf │ ├── check_password_hash_strength_good-0.conf │ ├── check_plaintext_passwords_faulty-0.conf │ ├── check_plaintext_passwords_good-0.conf │ ├── check_switchport_access_config_faulty-0.conf │ ├── check_switchport_access_config_good-0.conf │ ├── check_switchport_trunk_config_faulty-0.conf │ ├── check_switchport_trunk_config_good-0.conf │ ├── check_unused_access_lists_faulty-0.conf │ ├── check_unused_access_lists_faulty-1.conf │ ├── check_unused_access_lists_good-0.conf │ ├── check_used_but_unconfigured_access_lists_faulty-0.conf │ ├── check_used_but_unconfigured_access_lists_faulty-1.conf │ ├── check_used_but_unconfigured_access_lists_faulty-2.conf │ ├── check_used_but_unconfigured_access_lists_good-0.conf │ ├── faulty.conf │ └── good.conf └── cisco_nxos │ ├── check_bogus_as_faulty-0.conf │ ├── check_bogus_as_good-0.conf │ ├── check_fex_feature_enabled_and_used_faulty-0.conf │ ├── check_fex_feature_enabled_and_used_good-0.conf │ ├── check_fex_feature_set_installed_but_not_enabled_faulty-0.conf │ ├── check_fex_feature_set_installed_but_not_enabled_good-0.conf │ ├── check_fex_without_interface_faulty-0.conf │ ├── check_fex_without_interface_faulty-1.conf │ ├── check_fex_without_interface_good-0.conf │ ├── check_lacp_feature_enabled_and_used_faulty-0.conf │ ├── check_lacp_feature_enabled_and_used_faulty-1.conf │ ├── check_lacp_feature_enabled_and_used_good-0.conf │ ├── check_lacp_feature_enabled_and_used_good-1.conf │ ├── check_password_strength_faulty-0.conf │ ├── check_password_strength_good-0.conf │ ├── check_routing_protocol_enabled_and_used_faulty-0.conf │ ├── check_routing_protocol_enabled_and_used_good-0.conf │ ├── check_switchport_mode_fex_fabric_faulty-0.conf │ ├── check_switchport_mode_fex_fabric_good-0.conf │ ├── check_telnet_enabled_faulty-0.conf │ ├── check_telnet_enabled_good-0.conf │ ├── check_vpc_feature_enabled_and_used_faulty-0.conf │ ├── check_vpc_feature_enabled_and_used_good-0.conf │ ├── check_vpc_feature_enabled_and_used_good-1.conf │ ├── faulty.conf │ └── good.conf ├── test_checkers.py ├── test_cli.py └── utils.py /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | source = netlint -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.editorconfig -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/LICENSE -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/README.md -------------------------------------------------------------------------------- /contrib/oxidized/cfgchanged.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/contrib/oxidized/cfgchanged.sh -------------------------------------------------------------------------------- /contrib/oxidized/validate_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/contrib/oxidized/validate_config.sh -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/source/check.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/check.rst -------------------------------------------------------------------------------- /docs/source/checks.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/checks.j2 -------------------------------------------------------------------------------- /docs/source/checks_index.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/checks_index.j2 -------------------------------------------------------------------------------- /docs/source/cli.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/cli.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/contributing.rst: -------------------------------------------------------------------------------- 1 | .. mdinclude:: ../../CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/integrations/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/integrations/index.rst -------------------------------------------------------------------------------- /docs/source/integrations/oxidized.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/integrations/oxidized.rst -------------------------------------------------------------------------------- /docs/source/nos/cisco_ios.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/nos/cisco_ios.rst -------------------------------------------------------------------------------- /docs/source/nos/cisco_nxos.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/nos/cisco_nxos.rst -------------------------------------------------------------------------------- /docs/source/nos/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/nos/index.rst -------------------------------------------------------------------------------- /docs/source/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/docs/source/usage.rst -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/mypy.ini -------------------------------------------------------------------------------- /netlint/__init__.py: -------------------------------------------------------------------------------- 1 | """Netlint network configuration linter.""" 2 | -------------------------------------------------------------------------------- /netlint/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/__main__.py -------------------------------------------------------------------------------- /netlint/checks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/__init__.py -------------------------------------------------------------------------------- /netlint/checks/checker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/checker.py -------------------------------------------------------------------------------- /netlint/checks/cisco_ios/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/cisco_ios/__init__.py -------------------------------------------------------------------------------- /netlint/checks/cisco_nxos/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/cisco_nxos/__init__.py -------------------------------------------------------------------------------- /netlint/checks/cisco_nxos/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/cisco_nxos/utils.py -------------------------------------------------------------------------------- /netlint/checks/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/constants.py -------------------------------------------------------------------------------- /netlint/checks/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/types.py -------------------------------------------------------------------------------- /netlint/checks/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/utils.py -------------------------------------------------------------------------------- /netlint/checks/various/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/checks/various/__init__.py -------------------------------------------------------------------------------- /netlint/cli/__init__.py: -------------------------------------------------------------------------------- 1 | """CLI specific code.""" 2 | -------------------------------------------------------------------------------- /netlint/cli/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/cli/main.py -------------------------------------------------------------------------------- /netlint/cli/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/cli/types.py -------------------------------------------------------------------------------- /netlint/cli/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/cli/utils.py -------------------------------------------------------------------------------- /netlint/weblint/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/weblint/__init__.py -------------------------------------------------------------------------------- /netlint/weblint/templates/base.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/netlint/weblint/templates/base.j2 -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/configurations/check_default_snmp_communities_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/check_default_snmp_communities_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/check_default_snmp_communities_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/check_default_snmp_communities_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_console_password_faulty-0.conf: -------------------------------------------------------------------------------- 1 | line con 0 2 | ! -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_console_password_good-0.conf: -------------------------------------------------------------------------------- 1 | line con 0 2 | password 12345 3 | login 4 | ! -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_ip_http_server_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_ip_http_server_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_ip_http_server_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_ip_http_server_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_password_hash_strength_faulty-0.conf: -------------------------------------------------------------------------------- 1 | username test password 5 $PASSWORD -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_password_hash_strength_good-0.conf: -------------------------------------------------------------------------------- 1 | username test -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_plaintext_passwords_faulty-0.conf: -------------------------------------------------------------------------------- 1 | username test password PLAINTEXT -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_plaintext_passwords_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_plaintext_passwords_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_switchport_access_config_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_switchport_access_config_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_switchport_access_config_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_switchport_access_config_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_switchport_trunk_config_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_switchport_trunk_config_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_switchport_trunk_config_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_switchport_trunk_config_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_unused_access_lists_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_unused_access_lists_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_unused_access_lists_faulty-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_unused_access_lists_faulty-1.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_unused_access_lists_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_unused_access_lists_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_used_but_unconfigured_access_lists_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_used_but_unconfigured_access_lists_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_used_but_unconfigured_access_lists_faulty-1.conf: -------------------------------------------------------------------------------- 1 | route-map 1 2 | match ip address non-existent 3 | ! -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_used_but_unconfigured_access_lists_faulty-2.conf: -------------------------------------------------------------------------------- 1 | ip access-list extended name 2 | evaluate non-existent 3 | ! -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/check_used_but_unconfigured_access_lists_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/check_used_but_unconfigured_access_lists_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/faulty.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/faulty.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_ios/good.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_ios/good.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_bogus_as_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_bogus_as_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_bogus_as_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_bogus_as_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_fex_feature_enabled_and_used_faulty-0.conf: -------------------------------------------------------------------------------- 1 | feature-set fex 2 | ! -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_fex_feature_enabled_and_used_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_fex_feature_enabled_and_used_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_fex_feature_set_installed_but_not_enabled_faulty-0.conf: -------------------------------------------------------------------------------- 1 | install feature-set fex 2 | -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_fex_feature_set_installed_but_not_enabled_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_fex_feature_set_installed_but_not_enabled_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_fex_without_interface_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_fex_without_interface_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_fex_without_interface_faulty-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_fex_without_interface_faulty-1.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_fex_without_interface_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_fex_without_interface_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_lacp_feature_enabled_and_used_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_lacp_feature_enabled_and_used_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_lacp_feature_enabled_and_used_faulty-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_lacp_feature_enabled_and_used_faulty-1.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_lacp_feature_enabled_and_used_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_lacp_feature_enabled_and_used_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_lacp_feature_enabled_and_used_good-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_lacp_feature_enabled_and_used_good-1.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_password_strength_faulty-0.conf: -------------------------------------------------------------------------------- 1 | no password strength-check -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_password_strength_good-0.conf: -------------------------------------------------------------------------------- 1 | password strength-check -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_routing_protocol_enabled_and_used_faulty-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_routing_protocol_enabled_and_used_faulty-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_routing_protocol_enabled_and_used_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_routing_protocol_enabled_and_used_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_switchport_mode_fex_fabric_faulty-0.conf: -------------------------------------------------------------------------------- 1 | interface port-channel101 2 | switchport mode fex-fabric 3 | ! -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_switchport_mode_fex_fabric_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_switchport_mode_fex_fabric_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_telnet_enabled_faulty-0.conf: -------------------------------------------------------------------------------- 1 | feature telnet -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_telnet_enabled_good-0.conf: -------------------------------------------------------------------------------- 1 | no feature telnet -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_vpc_feature_enabled_and_used_faulty-0.conf: -------------------------------------------------------------------------------- 1 | feature vpc 2 | -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_vpc_feature_enabled_and_used_good-0.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_vpc_feature_enabled_and_used_good-0.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/check_vpc_feature_enabled_and_used_good-1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/check_vpc_feature_enabled_and_used_good-1.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/faulty.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/faulty.conf -------------------------------------------------------------------------------- /tests/configurations/cisco_nxos/good.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/configurations/cisco_nxos/good.conf -------------------------------------------------------------------------------- /tests/test_checkers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/test_checkers.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kircheneer/netlint/HEAD/tests/utils.py --------------------------------------------------------------------------------