├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── build-and-test.yml │ └── deploy-pypi.yml ├── .gitignore ├── .readthedocs.yml ├── .yamllint.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── docs ├── config-view.md ├── custom-workflows.md ├── drivers.md ├── future-config.md ├── getting-started.md ├── index.md ├── install.md ├── junos-style-syntax-remediation.md ├── requirements.txt ├── tags.md ├── unified-diff.md └── utilities.md ├── hier_config ├── __init__.py ├── base.py ├── child.py ├── children.py ├── constructors.py ├── exceptions.py ├── models.py ├── platforms │ ├── __init__.py │ ├── arista_eos │ │ ├── __init__.py │ │ ├── driver.py │ │ └── view.py │ ├── cisco_ios │ │ ├── __init__.py │ │ ├── driver.py │ │ └── view.py │ ├── cisco_nxos │ │ ├── __init__.py │ │ ├── driver.py │ │ └── view.py │ ├── cisco_xr │ │ ├── __init__.py │ │ ├── driver.py │ │ └── view.py │ ├── driver_base.py │ ├── fortinet_fortios │ │ ├── __init__.py │ │ └── driver.py │ ├── functions.py │ ├── generic │ │ ├── __init__.py │ │ └── driver.py │ ├── hp_comware5 │ │ ├── __init__.py │ │ └── driver.py │ ├── hp_procurve │ │ ├── __init__.py │ │ ├── driver.py │ │ ├── functions.py │ │ └── view.py │ ├── juniper_junos │ │ ├── __init__.py │ │ └── driver.py │ ├── models.py │ ├── view_base.py │ └── vyos │ │ ├── __init__.py │ │ └── driver.py ├── py.typed ├── root.py ├── utils.py └── workflows.py ├── mkdocs.yml ├── poetry.lock ├── pyproject.toml ├── scripts └── build.py └── tests ├── __init__.py ├── config_view ├── __init__.py └── test_interface.py ├── conftest.py ├── fixtures ├── generated_config.conf ├── generated_config_acl.conf ├── generated_config_flat_junos.conf ├── generated_config_junos.conf ├── remediation_config_flat_junos.conf ├── remediation_config_with_safe_tags.conf ├── remediation_config_without_tags.conf ├── running_config.conf ├── running_config_acl.conf ├── running_config_flat_junos.conf ├── running_config_junos.conf └── tag_rules_ios.yml ├── test_driver.py ├── test_driver_cisco_ios.py ├── test_driver_cisco_xr.py ├── test_driver_fortinet_fortios.py ├── test_driver_hp_procurve.py ├── test_hier_config.py ├── test_juniper_syntax.py ├── test_negate_with_undo.py ├── test_utils.py ├── test_various.py └── test_workflow.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/build-and-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/.github/workflows/build-and-test.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/.github/workflows/deploy-pypi.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/.readthedocs.yml -------------------------------------------------------------------------------- /.yamllint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/.yamllint.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/README.md -------------------------------------------------------------------------------- /docs/config-view.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/config-view.md -------------------------------------------------------------------------------- /docs/custom-workflows.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/custom-workflows.md -------------------------------------------------------------------------------- /docs/drivers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/drivers.md -------------------------------------------------------------------------------- /docs/future-config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/future-config.md -------------------------------------------------------------------------------- /docs/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/getting-started.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/install.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/install.md -------------------------------------------------------------------------------- /docs/junos-style-syntax-remediation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/junos-style-syntax-remediation.md -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/tags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/tags.md -------------------------------------------------------------------------------- /docs/unified-diff.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/unified-diff.md -------------------------------------------------------------------------------- /docs/utilities.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/docs/utilities.md -------------------------------------------------------------------------------- /hier_config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/__init__.py -------------------------------------------------------------------------------- /hier_config/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/base.py -------------------------------------------------------------------------------- /hier_config/child.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/child.py -------------------------------------------------------------------------------- /hier_config/children.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/children.py -------------------------------------------------------------------------------- /hier_config/constructors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/constructors.py -------------------------------------------------------------------------------- /hier_config/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/exceptions.py -------------------------------------------------------------------------------- /hier_config/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/models.py -------------------------------------------------------------------------------- /hier_config/platforms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/arista_eos/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/arista_eos/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/arista_eos/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/arista_eos/view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/arista_eos/view.py -------------------------------------------------------------------------------- /hier_config/platforms/cisco_ios/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/cisco_ios/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/cisco_ios/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/cisco_ios/view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/cisco_ios/view.py -------------------------------------------------------------------------------- /hier_config/platforms/cisco_nxos/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/cisco_nxos/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/cisco_nxos/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/cisco_nxos/view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/cisco_nxos/view.py -------------------------------------------------------------------------------- /hier_config/platforms/cisco_xr/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/cisco_xr/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/cisco_xr/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/cisco_xr/view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/cisco_xr/view.py -------------------------------------------------------------------------------- /hier_config/platforms/driver_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/driver_base.py -------------------------------------------------------------------------------- /hier_config/platforms/fortinet_fortios/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/fortinet_fortios/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/fortinet_fortios/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/functions.py -------------------------------------------------------------------------------- /hier_config/platforms/generic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/generic/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/generic/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/hp_comware5/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/hp_comware5/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/hp_comware5/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/hp_procurve/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/hp_procurve/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/hp_procurve/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/hp_procurve/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/hp_procurve/functions.py -------------------------------------------------------------------------------- /hier_config/platforms/hp_procurve/view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/hp_procurve/view.py -------------------------------------------------------------------------------- /hier_config/platforms/juniper_junos/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/juniper_junos/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/juniper_junos/driver.py -------------------------------------------------------------------------------- /hier_config/platforms/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/models.py -------------------------------------------------------------------------------- /hier_config/platforms/view_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/view_base.py -------------------------------------------------------------------------------- /hier_config/platforms/vyos/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/platforms/vyos/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/platforms/vyos/driver.py -------------------------------------------------------------------------------- /hier_config/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hier_config/root.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/root.py -------------------------------------------------------------------------------- /hier_config/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/utils.py -------------------------------------------------------------------------------- /hier_config/workflows.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/hier_config/workflows.py -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/scripts/build.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/config_view/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/config_view/test_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/config_view/test_interface.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/fixtures/generated_config.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/generated_config.conf -------------------------------------------------------------------------------- /tests/fixtures/generated_config_acl.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/generated_config_acl.conf -------------------------------------------------------------------------------- /tests/fixtures/generated_config_flat_junos.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/generated_config_flat_junos.conf -------------------------------------------------------------------------------- /tests/fixtures/generated_config_junos.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/generated_config_junos.conf -------------------------------------------------------------------------------- /tests/fixtures/remediation_config_flat_junos.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/remediation_config_flat_junos.conf -------------------------------------------------------------------------------- /tests/fixtures/remediation_config_with_safe_tags.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/remediation_config_with_safe_tags.conf -------------------------------------------------------------------------------- /tests/fixtures/remediation_config_without_tags.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/remediation_config_without_tags.conf -------------------------------------------------------------------------------- /tests/fixtures/running_config.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/running_config.conf -------------------------------------------------------------------------------- /tests/fixtures/running_config_acl.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/running_config_acl.conf -------------------------------------------------------------------------------- /tests/fixtures/running_config_flat_junos.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/running_config_flat_junos.conf -------------------------------------------------------------------------------- /tests/fixtures/running_config_junos.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/running_config_junos.conf -------------------------------------------------------------------------------- /tests/fixtures/tag_rules_ios.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/fixtures/tag_rules_ios.yml -------------------------------------------------------------------------------- /tests/test_driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_driver.py -------------------------------------------------------------------------------- /tests/test_driver_cisco_ios.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_driver_cisco_ios.py -------------------------------------------------------------------------------- /tests/test_driver_cisco_xr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_driver_cisco_xr.py -------------------------------------------------------------------------------- /tests/test_driver_fortinet_fortios.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_driver_fortinet_fortios.py -------------------------------------------------------------------------------- /tests/test_driver_hp_procurve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_driver_hp_procurve.py -------------------------------------------------------------------------------- /tests/test_hier_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_hier_config.py -------------------------------------------------------------------------------- /tests/test_juniper_syntax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_juniper_syntax.py -------------------------------------------------------------------------------- /tests/test_negate_with_undo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_negate_with_undo.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/test_various.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_various.py -------------------------------------------------------------------------------- /tests/test_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netdevops/hier_config/HEAD/tests/test_workflow.py --------------------------------------------------------------------------------