From 8c6fda90cb7019cde7dd7037820548243bc1fea2 Mon Sep 17 00:00:00 2001 From: David Lobato Date: Mon, 19 Aug 2024 11:49:47 +0100 Subject: [PATCH] Use pyavd extra dependencies and set version to support any pyavd version from 4.5 --- .github/workflows/ci.yml | 5 +- poetry.lock | 495 +++++++++++++++++- pyproject.toml | 4 +- .../configs/dc1-leaf1a.cfg | 356 ------------- .../configs/dc1-leaf1b.cfg | 356 ------------- .../configs/dc1-leaf1c.cfg | 89 ---- .../configs/dc1-leaf2a.cfg | 356 ------------- .../configs/dc1-leaf2b.cfg | 356 ------------- .../configs/dc1-leaf2c.cfg | 89 ---- .../configs/dc1-spine1.cfg | 138 ----- .../configs/dc1-spine2.cfg | 138 ----- .../structured_configs/dc1-leaf1a.yml | 488 ----------------- .../structured_configs/dc1-leaf1b.yml | 488 ----------------- .../structured_configs/dc1-leaf1c.yml | 123 ----- .../structured_configs/dc1-leaf2a.yml | 488 ----------------- .../structured_configs/dc1-leaf2b.yml | 488 ----------------- .../structured_configs/dc1-leaf2c.yml | 123 ----- .../structured_configs/dc1-spine1.yml | 199 ------- .../structured_configs/dc1-spine2.yml | 199 ------- .../configs/dc1-leaf1a.cfg | 356 ------------- .../configs/dc1-leaf1b.cfg | 356 ------------- .../configs/dc1-leaf1c.cfg | 89 ---- .../configs/dc1-leaf2a.cfg | 356 ------------- .../configs/dc1-leaf2b.cfg | 356 ------------- .../configs/dc1-leaf2c.cfg | 89 ---- .../configs/dc1-spine1.cfg | 138 ----- .../configs/dc1-spine2.cfg | 138 ----- .../structured_configs/dc1-leaf1a.yml | 488 ----------------- .../structured_configs/dc1-leaf1b.yml | 488 ----------------- .../structured_configs/dc1-leaf1c.yml | 123 ----- .../structured_configs/dc1-leaf2a.yml | 488 ----------------- .../structured_configs/dc1-leaf2b.yml | 488 ----------------- .../structured_configs/dc1-leaf2c.yml | 123 ----- .../structured_configs/dc1-spine1.yml | 199 ------- .../structured_configs/dc1-spine2.yml | 199 ------- .../configs/dc1-leaf1a.cfg | 356 ------------- .../configs/dc1-leaf1b.cfg | 356 ------------- .../configs/dc1-leaf1c.cfg | 89 ---- .../configs/dc1-leaf2a.cfg | 356 ------------- .../configs/dc1-leaf2b.cfg | 356 ------------- .../configs/dc1-leaf2c.cfg | 89 ---- .../configs/dc1-spine1.cfg | 138 ----- .../configs/dc1-spine2.cfg | 138 ----- .../structured_configs/dc1-leaf1a.yml | 488 ----------------- .../structured_configs/dc1-leaf1b.yml | 488 ----------------- .../structured_configs/dc1-leaf1c.yml | 123 ----- .../structured_configs/dc1-leaf2a.yml | 488 ----------------- .../structured_configs/dc1-leaf2b.yml | 488 ----------------- .../structured_configs/dc1-leaf2c.yml | 123 ----- .../structured_configs/dc1-spine1.yml | 199 ------- .../structured_configs/dc1-spine2.yml | 199 ------- .../configs/dc1-leaf1a.cfg | 356 ------------- .../configs/dc1-leaf1b.cfg | 356 ------------- .../configs/dc1-leaf1c.cfg | 89 ---- .../configs/dc1-leaf2a.cfg | 356 ------------- .../configs/dc1-leaf2b.cfg | 356 ------------- .../configs/dc1-leaf2c.cfg | 89 ---- .../configs/dc1-spine1.cfg | 138 ----- .../configs/dc1-spine2.cfg | 138 ----- .../structured_configs/dc1-leaf1a.yml | 488 ----------------- .../structured_configs/dc1-leaf1b.yml | 488 ----------------- .../structured_configs/dc1-leaf1c.yml | 123 ----- .../structured_configs/dc1-leaf2a.yml | 488 ----------------- .../structured_configs/dc1-leaf2b.yml | 488 ----------------- .../structured_configs/dc1-leaf2c.yml | 123 ----- .../structured_configs/dc1-spine1.yml | 199 ------- .../structured_configs/dc1-spine2.yml | 199 ------- .../configs/dc1-leaf1a.cfg | 356 ------------- .../configs/dc1-leaf1b.cfg | 356 ------------- .../configs/dc1-leaf1c.cfg | 89 ---- .../configs/dc1-leaf2a.cfg | 356 ------------- .../configs/dc1-leaf2b.cfg | 356 ------------- .../configs/dc1-leaf2c.cfg | 89 ---- .../configs/dc1-spine1.cfg | 138 ----- .../configs/dc1-spine2.cfg | 138 ----- .../structured_configs/dc1-leaf1a.yml | 488 ----------------- .../structured_configs/dc1-leaf1b.yml | 488 ----------------- .../structured_configs/dc1-leaf1c.yml | 123 ----- .../structured_configs/dc1-leaf2a.yml | 488 ----------------- .../structured_configs/dc1-leaf2b.yml | 488 ----------------- .../structured_configs/dc1-leaf2c.yml | 123 ----- .../structured_configs/dc1-spine1.yml | 199 ------- .../structured_configs/dc1-spine2.yml | 199 ------- 83 files changed, 486 insertions(+), 22388 deletions(-) delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-spine1.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-spine2.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-spine1.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-spine2.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-spine1.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-spine2.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-spine1.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-spine2.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-spine1.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-spine2.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-spine1.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-spine2.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-spine1.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-spine2.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-spine1.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-spine2.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2a.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2b.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2c.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-spine1.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-spine2.cfg delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2a.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2b.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2c.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-spine1.yml delete mode 100644 tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-spine2.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e729885..32d58d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: [ "4.5.0", "4.6.0", "4.7.0", "4.7.1", "4.8.0", "4.9.0", "4.10.0" ] + version: [ "4.9.0", "4.10.0" ] steps: - uses: actions/checkout@v4 - name: Setup Python @@ -44,9 +44,6 @@ jobs: .venv/bin/python -m pip install . netaddr - name: Install ansible.utils run: .venv/bin/ansible-galaxy collection install ansible.utils - - name: Install referencing for 4.8.0 - if: ${{ matrix.version=='4.8.0' }} - run: .venv/bin/python -m pip install "referencing>=0.35.0" - name: Build fabric run: | .venv/bin/pyavd-build -i tests/data/single-dc-l3ls-fabric/inventory.yml -o intended-single-dc-l3ls-fabric -f FABRIC -v diff --git a/poetry.lock b/poetry.lock index 8eea8c0..0cfa796 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,14 +1,41 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.1 and should not be changed by hand. + +[[package]] +name = "aiocache" +version = "0.12.2" +description = "multi backend asyncio cache" +optional = false +python-versions = "*" +files = [ + {file = "aiocache-0.12.2-py2.py3-none-any.whl", hash = "sha256:9b6fa30634ab0bfc3ecc44928a91ff07c6ea16d27d55469636b296ebc6eb5918"}, + {file = "aiocache-0.12.2.tar.gz", hash = "sha256:b41c9a145b050a5dcbae1599f847db6dd445193b1f3bd172d8e0fe0cb9e96684"}, +] + +[package.extras] +memcached = ["aiomcache (>=0.5.2)"] +msgpack = ["msgpack (>=0.5.5)"] +redis = ["redis (>=4.2.0)"] + +[[package]] +name = "annotated-types" +version = "0.7.0" +description = "Reusable constraint types to use with typing.Annotated" +optional = false +python-versions = ">=3.8" +files = [ + {file = "annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"}, + {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"}, +] [[package]] name = "ansible-core" -version = "2.17.2" +version = "2.17.3" description = "Radically simple IT automation" optional = false python-versions = ">=3.10" files = [ - {file = "ansible_core-2.17.2-py3-none-any.whl", hash = "sha256:d51af721c35c00308d5786878497a346ccdd764302cb793f3b6b8d60038f9a6c"}, - {file = "ansible_core-2.17.2.tar.gz", hash = "sha256:3dfa15249069ea0d001257902c968ddf9bb71d965769b8802bce85187556c5d8"}, + {file = "ansible_core-2.17.3-py3-none-any.whl", hash = "sha256:71e5c93729cc5bf09ecdf0cac675685fd345d1571312409029bf842420850f23"}, + {file = "ansible_core-2.17.3.tar.gz", hash = "sha256:917557065339fe36e7078e9bea47eefab6d6877f3bd435fa5f0d766d04c58485"}, ] [package.dependencies] @@ -18,6 +45,57 @@ packaging = "*" PyYAML = ">=5.1" resolvelib = ">=0.5.3,<1.1.0" +[[package]] +name = "anta" +version = "1.0.0" +description = "Arista Network Test Automation (ANTA) Framework" +optional = false +python-versions = ">=3.9" +files = [ + {file = "anta-1.0.0-py3-none-any.whl", hash = "sha256:555c8c3fcdf68d1c6c0c1d1bdfafa1a2b17e0f35be9d06d5826769bbdb3c1a1b"}, + {file = "anta-1.0.0.tar.gz", hash = "sha256:0d5c72105d548f93474a0e8f139f4f6d76e8368e497fec06d34f8faf61f1ed63"}, +] + +[package.dependencies] +aiocache = ">=0.12.2" +asyncssh = ">=2.13.2" +cvprac = ">=1.3.1" +eval-type-backport = ">=0.1.3" +httpx = ">=0.27.0" +Jinja2 = ">=3.1.2" +pydantic = ">=2.7" +pydantic-extra-types = ">=2.3.0" +PyYAML = ">=6.0" +requests = ">=2.31.0" +rich = ">=13.5.2,<14" + +[package.extras] +cli = ["click (>=8.1.6,<8.2.0)", "click-help-colors (>=0.9)"] +dev = ["bumpver (>=2023.1129)", "codespell (>=2.2.6,<2.4.0)", "mypy (>=1.10,<2.0)", "mypy-extensions (>=1.0,<2.0)", "pre-commit (>=3.3.3)", "pylint (>=2.17.5)", "pylint-pydantic (>=0.2.4)", "pytest (>=7.4.0)", "pytest-asyncio (>=0.21.1)", "pytest-cov (>=4.1.0)", "pytest-dependency", "pytest-html (>=3.2.0)", "pytest-metadata (>=3.0.0)", "ruff (>=0.3.7,<0.5.0)", "tox (>=4.10.0,<5.0.0)", "types-PyYAML", "types-pyOpenSSL", "types-requests", "typing-extensions", "yamllint (>=1.32.0)"] +doc = ["fontawesome-markdown", "griffe", "mike (==2.1.1)", "mkdocs (>=1.3.1)", "mkdocs-autorefs (>=0.4.1)", "mkdocs-bootswatch (>=1.1)", "mkdocs-git-revision-date-localized-plugin (>=1.1.0)", "mkdocs-git-revision-date-plugin (>=0.3.2)", "mkdocs-glightbox (>=0.4.0)", "mkdocs-material (>=8.3.9)", "mkdocs-material-extensions (>=1.0.3)", "mkdocstrings[python] (>=0.20.0)"] + +[[package]] +name = "anyio" +version = "4.4.0" +description = "High level compatibility layer for multiple asynchronous event loop implementations" +optional = false +python-versions = ">=3.8" +files = [ + {file = "anyio-4.4.0-py3-none-any.whl", hash = "sha256:c1b2d8f46a8a812513012e1107cb0e68c17159a7a594208005a57dc776e1bdc7"}, + {file = "anyio-4.4.0.tar.gz", hash = "sha256:5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94"}, +] + +[package.dependencies] +exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} +idna = ">=2.8" +sniffio = ">=1.1" +typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} + +[package.extras] +doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] +test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"] +trio = ["trio (>=0.23)"] + [[package]] name = "aristaproto" version = "0.1.2" @@ -51,6 +129,30 @@ files = [ [package.dependencies] typing-extensions = {version = ">=4.0.0", markers = "python_version < \"3.11\""} +[[package]] +name = "asyncssh" +version = "2.16.0" +description = "AsyncSSH: Asynchronous SSHv2 client and server library" +optional = false +python-versions = ">=3.6" +files = [ + {file = "asyncssh-2.16.0-py3-none-any.whl", hash = "sha256:404eaf13ac3a3a93bf5e98b360327bca4d46479e23ff1ff858d63d2ebb3358fd"}, + {file = "asyncssh-2.16.0.tar.gz", hash = "sha256:4c4e7b0cffac4c0382a364f1ad93072e7d58b2206268f40edc3d3d56587db8f7"}, +] + +[package.dependencies] +cryptography = ">=39.0" +typing-extensions = ">=4.0.0" + +[package.extras] +bcrypt = ["bcrypt (>=3.1.3)"] +fido2 = ["fido2 (>=0.9.2)"] +gssapi = ["gssapi (>=1.2.0)"] +libnacl = ["libnacl (>=1.4.2)"] +pkcs11 = ["python-pkcs11 (>=0.7.0)"] +pyopenssl = ["pyOpenSSL (>=23.0.0)"] +pywin32 = ["pywin32 (>=227)"] + [[package]] name = "attrs" version = "24.2.0" @@ -390,6 +492,23 @@ ssh = ["bcrypt (>=3.1.5)"] test = ["certifi", "cryptography-vectors (==43.0.0)", "pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-xdist"] test-randomorder = ["pytest-randomly"] +[[package]] +name = "cvprac" +version = "1.4.0" +description = "Arista Cloudvision(R) Portal Rest API Client written in python" +optional = false +python-versions = "*" +files = [ + {file = "cvprac-1.4.0.tar.gz", hash = "sha256:97506caa0b2d543c33011f72b9f755a6f170f4a75dc523307c294b22cd2e7236"}, +] + +[package.dependencies] +packaging = ">=23.2" +requests = {version = ">=2.27.0", extras = ["socks"]} + +[package.extras] +dev = ["check-manifest", "coverage", "pep8", "pyflakes", "pylint", "pyyaml"] + [[package]] name = "deepmerge" version = "1.1.1" @@ -427,6 +546,34 @@ files = [ {file = "distlib-0.3.8.tar.gz", hash = "sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64"}, ] +[[package]] +name = "eval-type-backport" +version = "0.2.0" +description = "Like `typing._eval_type`, but lets older Python versions use newer typing features." +optional = false +python-versions = ">=3.8" +files = [ + {file = "eval_type_backport-0.2.0-py3-none-any.whl", hash = "sha256:ac2f73d30d40c5a30a80b8739a789d6bb5e49fdffa66d7912667e2015d9c9933"}, + {file = "eval_type_backport-0.2.0.tar.gz", hash = "sha256:68796cfbc7371ebf923f03bdf7bef415f3ec098aeced24e054b253a0e78f7b37"}, +] + +[package.extras] +tests = ["pytest"] + +[[package]] +name = "exceptiongroup" +version = "1.2.2" +description = "Backport of PEP 654 (exception groups)" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, +] + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "filelock" version = "3.15.4" @@ -491,6 +638,17 @@ multidict = "*" [package.extras] protobuf = ["protobuf (>=3.20.0)"] +[[package]] +name = "h11" +version = "0.14.0" +description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1" +optional = false +python-versions = ">=3.7" +files = [ + {file = "h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"}, + {file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"}, +] + [[package]] name = "h2" version = "4.1.0" @@ -517,6 +675,51 @@ files = [ {file = "hpack-4.0.0.tar.gz", hash = "sha256:fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095"}, ] +[[package]] +name = "httpcore" +version = "1.0.5" +description = "A minimal low-level HTTP client." +optional = false +python-versions = ">=3.8" +files = [ + {file = "httpcore-1.0.5-py3-none-any.whl", hash = "sha256:421f18bac248b25d310f3cacd198d55b8e6125c107797b609ff9b7a6ba7991b5"}, + {file = "httpcore-1.0.5.tar.gz", hash = "sha256:34a38e2f9291467ee3b44e89dd52615370e152954ba21721378a87b2960f7a61"}, +] + +[package.dependencies] +certifi = "*" +h11 = ">=0.13,<0.15" + +[package.extras] +asyncio = ["anyio (>=4.0,<5.0)"] +http2 = ["h2 (>=3,<5)"] +socks = ["socksio (==1.*)"] +trio = ["trio (>=0.22.0,<0.26.0)"] + +[[package]] +name = "httpx" +version = "0.27.0" +description = "The next generation HTTP client." +optional = false +python-versions = ">=3.8" +files = [ + {file = "httpx-0.27.0-py3-none-any.whl", hash = "sha256:71d5465162c13681bff01ad59b2cc68dd838ea1f10e51574bac27103f00c91a5"}, + {file = "httpx-0.27.0.tar.gz", hash = "sha256:a0cb88a46f32dc874e04ee956e4c2764aba2aa228f650b06788ba6bda2962ab5"}, +] + +[package.dependencies] +anyio = "*" +certifi = "*" +httpcore = "==1.*" +idna = "*" +sniffio = "*" + +[package.extras] +brotli = ["brotli", "brotlicffi"] +cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"] +http2 = ["h2 (>=3,<5)"] +socks = ["socksio (==1.*)"] + [[package]] name = "hyperframe" version = "6.0.1" @@ -619,6 +822,30 @@ files = [ [package.dependencies] referencing = ">=0.31.0" +[[package]] +name = "markdown-it-py" +version = "3.0.0" +description = "Python port of markdown-it. Markdown parsing, done right!" +optional = false +python-versions = ">=3.8" +files = [ + {file = "markdown-it-py-3.0.0.tar.gz", hash = "sha256:e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb"}, + {file = "markdown_it_py-3.0.0-py3-none-any.whl", hash = "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1"}, +] + +[package.dependencies] +mdurl = ">=0.1,<1.0" + +[package.extras] +benchmarking = ["psutil", "pytest", "pytest-benchmark"] +code-style = ["pre-commit (>=3.0,<4.0)"] +compare = ["commonmark (>=0.9,<1.0)", "markdown (>=3.4,<4.0)", "mistletoe (>=1.0,<2.0)", "mistune (>=2.0,<3.0)", "panflute (>=2.3,<3.0)"] +linkify = ["linkify-it-py (>=1,<3)"] +plugins = ["mdit-py-plugins"] +profiling = ["gprof2dot"] +rtd = ["jupyter_sphinx", "mdit-py-plugins", "myst-parser", "pyyaml", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinx_book_theme"] +testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"] + [[package]] name = "markupsafe" version = "2.1.5" @@ -699,6 +926,17 @@ files = [ {file = "mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325"}, ] +[[package]] +name = "mdurl" +version = "0.1.2" +description = "Markdown URL utilities" +optional = false +python-versions = ">=3.7" +files = [ + {file = "mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8"}, + {file = "mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"}, +] + [[package]] name = "multidict" version = "6.0.5" @@ -856,6 +1094,20 @@ files = [ {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"}, ] +[[package]] +name = "netaddr" +version = "1.3.0" +description = "A network address manipulation library for Python" +optional = false +python-versions = ">=3.7" +files = [ + {file = "netaddr-1.3.0-py3-none-any.whl", hash = "sha256:c2c6a8ebe5554ce33b7d5b3a306b71bbb373e000bbbf2350dd5213cc56e3dbbe"}, + {file = "netaddr-1.3.0.tar.gz", hash = "sha256:5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a"}, +] + +[package.extras] +nicer-shell = ["ipython"] + [[package]] name = "nodeenv" version = "1.9.1" @@ -934,12 +1186,18 @@ files = [ ] [package.dependencies] +ansible-core = {version = ">=2.15.0,<2.18.0", optional = true, markers = "extra == \"ansible\""} +anta = {version = ">=1.0.0", optional = true, markers = "extra == \"ansible-collection\""} aristaproto = ">=0.1.1" cryptography = ">=38.0.4" +cvprac = {version = ">=1.3.1", optional = true, markers = "extra == \"ansible-collection\""} deepmerge = ">=1.1.0" Jinja2 = ">=3.0" jsonschema = ">=4.10.3" +netaddr = {version = ">=0.7.19", optional = true, markers = "extra == \"ansible-collection\""} +PyYAML = {version = ">=6.0.0", optional = true, markers = "extra == \"ansible-collection\""} requests = ">=2.27.0" +treelib = {version = ">=1.5.5", optional = true, markers = "extra == \"ansible-collection\""} [package.extras] ansible = ["ansible-core (>=2.15.0,<2.18.0)", "pyavd[ansible-collection]"] @@ -967,6 +1225,151 @@ files = [ {file = "pycparser-2.22.tar.gz", hash = "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"}, ] +[[package]] +name = "pydantic" +version = "2.8.2" +description = "Data validation using Python type hints" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pydantic-2.8.2-py3-none-any.whl", hash = "sha256:73ee9fddd406dc318b885c7a2eab8a6472b68b8fb5ba8150949fc3db939f23c8"}, + {file = "pydantic-2.8.2.tar.gz", hash = "sha256:6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a"}, +] + +[package.dependencies] +annotated-types = ">=0.4.0" +pydantic-core = "2.20.1" +typing-extensions = [ + {version = ">=4.6.1", markers = "python_version < \"3.13\""}, + {version = ">=4.12.2", markers = "python_version >= \"3.13\""}, +] + +[package.extras] +email = ["email-validator (>=2.0.0)"] + +[[package]] +name = "pydantic-core" +version = "2.20.1" +description = "Core functionality for Pydantic validation and serialization" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pydantic_core-2.20.1-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:3acae97ffd19bf091c72df4d726d552c473f3576409b2a7ca36b2f535ffff4a3"}, + {file = "pydantic_core-2.20.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:41f4c96227a67a013e7de5ff8f20fb496ce573893b7f4f2707d065907bffdbd6"}, + {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5f239eb799a2081495ea659d8d4a43a8f42cd1fe9ff2e7e436295c38a10c286a"}, + {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:53e431da3fc53360db73eedf6f7124d1076e1b4ee4276b36fb25514544ceb4a3"}, + {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f1f62b2413c3a0e846c3b838b2ecd6c7a19ec6793b2a522745b0869e37ab5bc1"}, + {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5d41e6daee2813ecceea8eda38062d69e280b39df793f5a942fa515b8ed67953"}, + {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d482efec8b7dc6bfaedc0f166b2ce349df0011f5d2f1f25537ced4cfc34fd98"}, + {file = "pydantic_core-2.20.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e93e1a4b4b33daed65d781a57a522ff153dcf748dee70b40c7258c5861e1768a"}, + {file = "pydantic_core-2.20.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e7c4ea22b6739b162c9ecaaa41d718dfad48a244909fe7ef4b54c0b530effc5a"}, + {file = "pydantic_core-2.20.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4f2790949cf385d985a31984907fecb3896999329103df4e4983a4a41e13e840"}, + {file = "pydantic_core-2.20.1-cp310-none-win32.whl", hash = "sha256:5e999ba8dd90e93d57410c5e67ebb67ffcaadcea0ad973240fdfd3a135506250"}, + {file = "pydantic_core-2.20.1-cp310-none-win_amd64.whl", hash = "sha256:512ecfbefef6dac7bc5eaaf46177b2de58cdf7acac8793fe033b24ece0b9566c"}, + {file = "pydantic_core-2.20.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:d2a8fa9d6d6f891f3deec72f5cc668e6f66b188ab14bb1ab52422fe8e644f312"}, + {file = "pydantic_core-2.20.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:175873691124f3d0da55aeea1d90660a6ea7a3cfea137c38afa0a5ffabe37b88"}, + {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:37eee5b638f0e0dcd18d21f59b679686bbd18917b87db0193ae36f9c23c355fc"}, + {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:25e9185e2d06c16ee438ed39bf62935ec436474a6ac4f9358524220f1b236e43"}, + {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:150906b40ff188a3260cbee25380e7494ee85048584998c1e66df0c7a11c17a6"}, + {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ad4aeb3e9a97286573c03df758fc7627aecdd02f1da04516a86dc159bf70121"}, + {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d3f3ed29cd9f978c604708511a1f9c2fdcb6c38b9aae36a51905b8811ee5cbf1"}, + {file = "pydantic_core-2.20.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b0dae11d8f5ded51699c74d9548dcc5938e0804cc8298ec0aa0da95c21fff57b"}, + {file = "pydantic_core-2.20.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:faa6b09ee09433b87992fb5a2859efd1c264ddc37280d2dd5db502126d0e7f27"}, + {file = "pydantic_core-2.20.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9dc1b507c12eb0481d071f3c1808f0529ad41dc415d0ca11f7ebfc666e66a18b"}, + {file = "pydantic_core-2.20.1-cp311-none-win32.whl", hash = "sha256:fa2fddcb7107e0d1808086ca306dcade7df60a13a6c347a7acf1ec139aa6789a"}, + {file = "pydantic_core-2.20.1-cp311-none-win_amd64.whl", hash = "sha256:40a783fb7ee353c50bd3853e626f15677ea527ae556429453685ae32280c19c2"}, + {file = "pydantic_core-2.20.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:595ba5be69b35777474fa07f80fc260ea71255656191adb22a8c53aba4479231"}, + {file = "pydantic_core-2.20.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a4f55095ad087474999ee28d3398bae183a66be4823f753cd7d67dd0153427c9"}, + {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f9aa05d09ecf4c75157197f27cdc9cfaeb7c5f15021c6373932bf3e124af029f"}, + {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e97fdf088d4b31ff4ba35db26d9cc472ac7ef4a2ff2badeabf8d727b3377fc52"}, + {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bc633a9fe1eb87e250b5c57d389cf28998e4292336926b0b6cdaee353f89a237"}, + {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d573faf8eb7e6b1cbbcb4f5b247c60ca8be39fe2c674495df0eb4318303137fe"}, + {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:26dc97754b57d2fd00ac2b24dfa341abffc380b823211994c4efac7f13b9e90e"}, + {file = "pydantic_core-2.20.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:33499e85e739a4b60c9dac710c20a08dc73cb3240c9a0e22325e671b27b70d24"}, + {file = "pydantic_core-2.20.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:bebb4d6715c814597f85297c332297c6ce81e29436125ca59d1159b07f423eb1"}, + {file = "pydantic_core-2.20.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:516d9227919612425c8ef1c9b869bbbee249bc91912c8aaffb66116c0b447ebd"}, + {file = "pydantic_core-2.20.1-cp312-none-win32.whl", hash = "sha256:469f29f9093c9d834432034d33f5fe45699e664f12a13bf38c04967ce233d688"}, + {file = "pydantic_core-2.20.1-cp312-none-win_amd64.whl", hash = "sha256:035ede2e16da7281041f0e626459bcae33ed998cca6a0a007a5ebb73414ac72d"}, + {file = "pydantic_core-2.20.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:0827505a5c87e8aa285dc31e9ec7f4a17c81a813d45f70b1d9164e03a813a686"}, + {file = "pydantic_core-2.20.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:19c0fa39fa154e7e0b7f82f88ef85faa2a4c23cc65aae2f5aea625e3c13c735a"}, + {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4aa223cd1e36b642092c326d694d8bf59b71ddddc94cdb752bbbb1c5c91d833b"}, + {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c336a6d235522a62fef872c6295a42ecb0c4e1d0f1a3e500fe949415761b8a19"}, + {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7eb6a0587eded33aeefea9f916899d42b1799b7b14b8f8ff2753c0ac1741edac"}, + {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:70c8daf4faca8da5a6d655f9af86faf6ec2e1768f4b8b9d0226c02f3d6209703"}, + {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e9fa4c9bf273ca41f940bceb86922a7667cd5bf90e95dbb157cbb8441008482c"}, + {file = "pydantic_core-2.20.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:11b71d67b4725e7e2a9f6e9c0ac1239bbc0c48cce3dc59f98635efc57d6dac83"}, + {file = "pydantic_core-2.20.1-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:270755f15174fb983890c49881e93f8f1b80f0b5e3a3cc1394a255706cabd203"}, + {file = "pydantic_core-2.20.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:c81131869240e3e568916ef4c307f8b99583efaa60a8112ef27a366eefba8ef0"}, + {file = "pydantic_core-2.20.1-cp313-none-win32.whl", hash = "sha256:b91ced227c41aa29c672814f50dbb05ec93536abf8f43cd14ec9521ea09afe4e"}, + {file = "pydantic_core-2.20.1-cp313-none-win_amd64.whl", hash = "sha256:65db0f2eefcaad1a3950f498aabb4875c8890438bc80b19362cf633b87a8ab20"}, + {file = "pydantic_core-2.20.1-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:4745f4ac52cc6686390c40eaa01d48b18997cb130833154801a442323cc78f91"}, + {file = "pydantic_core-2.20.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:a8ad4c766d3f33ba8fd692f9aa297c9058970530a32c728a2c4bfd2616d3358b"}, + {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41e81317dd6a0127cabce83c0c9c3fbecceae981c8391e6f1dec88a77c8a569a"}, + {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:04024d270cf63f586ad41fff13fde4311c4fc13ea74676962c876d9577bcc78f"}, + {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:eaad4ff2de1c3823fddf82f41121bdf453d922e9a238642b1dedb33c4e4f98ad"}, + {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:26ab812fa0c845df815e506be30337e2df27e88399b985d0bb4e3ecfe72df31c"}, + {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3c5ebac750d9d5f2706654c638c041635c385596caf68f81342011ddfa1e5598"}, + {file = "pydantic_core-2.20.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2aafc5a503855ea5885559eae883978c9b6d8c8993d67766ee73d82e841300dd"}, + {file = "pydantic_core-2.20.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:4868f6bd7c9d98904b748a2653031fc9c2f85b6237009d475b1008bfaeb0a5aa"}, + {file = "pydantic_core-2.20.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:aa2f457b4af386254372dfa78a2eda2563680d982422641a85f271c859df1987"}, + {file = "pydantic_core-2.20.1-cp38-none-win32.whl", hash = "sha256:225b67a1f6d602de0ce7f6c1c3ae89a4aa25d3de9be857999e9124f15dab486a"}, + {file = "pydantic_core-2.20.1-cp38-none-win_amd64.whl", hash = "sha256:6b507132dcfc0dea440cce23ee2182c0ce7aba7054576efc65634f080dbe9434"}, + {file = "pydantic_core-2.20.1-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:b03f7941783b4c4a26051846dea594628b38f6940a2fdc0df00b221aed39314c"}, + {file = "pydantic_core-2.20.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1eedfeb6089ed3fad42e81a67755846ad4dcc14d73698c120a82e4ccf0f1f9f6"}, + {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:635fee4e041ab9c479e31edda27fcf966ea9614fff1317e280d99eb3e5ab6fe2"}, + {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:77bf3ac639c1ff567ae3b47f8d4cc3dc20f9966a2a6dd2311dcc055d3d04fb8a"}, + {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7ed1b0132f24beeec5a78b67d9388656d03e6a7c837394f99257e2d55b461611"}, + {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c6514f963b023aeee506678a1cf821fe31159b925c4b76fe2afa94cc70b3222b"}, + {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10d4204d8ca33146e761c79f83cc861df20e7ae9f6487ca290a97702daf56006"}, + {file = "pydantic_core-2.20.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2d036c7187b9422ae5b262badb87a20a49eb6c5238b2004e96d4da1231badef1"}, + {file = "pydantic_core-2.20.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:9ebfef07dbe1d93efb94b4700f2d278494e9162565a54f124c404a5656d7ff09"}, + {file = "pydantic_core-2.20.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6b9d9bb600328a1ce523ab4f454859e9d439150abb0906c5a1983c146580ebab"}, + {file = "pydantic_core-2.20.1-cp39-none-win32.whl", hash = "sha256:784c1214cb6dd1e3b15dd8b91b9a53852aed16671cc3fbe4786f4f1db07089e2"}, + {file = "pydantic_core-2.20.1-cp39-none-win_amd64.whl", hash = "sha256:d2fe69c5434391727efa54b47a1e7986bb0186e72a41b203df8f5b0a19a4f669"}, + {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:a45f84b09ac9c3d35dfcf6a27fd0634d30d183205230a0ebe8373a0e8cfa0906"}, + {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:d02a72df14dfdbaf228424573a07af10637bd490f0901cee872c4f434a735b94"}, + {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d2b27e6af28f07e2f195552b37d7d66b150adbaa39a6d327766ffd695799780f"}, + {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:084659fac3c83fd674596612aeff6041a18402f1e1bc19ca39e417d554468482"}, + {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:242b8feb3c493ab78be289c034a1f659e8826e2233786e36f2893a950a719bb6"}, + {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:38cf1c40a921d05c5edc61a785c0ddb4bed67827069f535d794ce6bcded919fc"}, + {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:e0bbdd76ce9aa5d4209d65f2b27fc6e5ef1312ae6c5333c26db3f5ade53a1e99"}, + {file = "pydantic_core-2.20.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:254ec27fdb5b1ee60684f91683be95e5133c994cc54e86a0b0963afa25c8f8a6"}, + {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:407653af5617f0757261ae249d3fba09504d7a71ab36ac057c938572d1bc9331"}, + {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:c693e916709c2465b02ca0ad7b387c4f8423d1db7b4649c551f27a529181c5ad"}, + {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5b5ff4911aea936a47d9376fd3ab17e970cc543d1b68921886e7f64bd28308d1"}, + {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:177f55a886d74f1808763976ac4efd29b7ed15c69f4d838bbd74d9d09cf6fa86"}, + {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:964faa8a861d2664f0c7ab0c181af0bea66098b1919439815ca8803ef136fc4e"}, + {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:4dd484681c15e6b9a977c785a345d3e378d72678fd5f1f3c0509608da24f2ac0"}, + {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f6d6cff3538391e8486a431569b77921adfcdef14eb18fbf19b7c0a5294d4e6a"}, + {file = "pydantic_core-2.20.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:a6d511cc297ff0883bc3708b465ff82d7560193169a8b93260f74ecb0a5e08a7"}, + {file = "pydantic_core-2.20.1.tar.gz", hash = "sha256:26ca695eeee5f9f1aeeb211ffc12f10bcb6f71e2989988fda61dabd65db878d4"}, +] + +[package.dependencies] +typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" + +[[package]] +name = "pydantic-extra-types" +version = "2.9.0" +description = "Extra Pydantic types." +optional = false +python-versions = ">=3.8" +files = [ + {file = "pydantic_extra_types-2.9.0-py3-none-any.whl", hash = "sha256:f0bb975508572ba7bf3390b7337807588463b7248587e69f43b1ad7c797530d0"}, + {file = "pydantic_extra_types-2.9.0.tar.gz", hash = "sha256:e061c01636188743bb69f368dcd391f327b8cfbfede2fe1cbb1211b06601ba3b"}, +] + +[package.dependencies] +pydantic = ">=2.5.2" + +[package.extras] +all = ["pendulum (>=3.0.0,<4.0.0)", "phonenumbers (>=8,<9)", "pycountry (>=23)", "python-ulid (>=1,<2)", "python-ulid (>=1,<3)", "pytz (>=2024.1)", "semver (>=3.0.2)", "tzdata (>=2024.1)"] +pendulum = ["pendulum (>=3.0.0,<4.0.0)"] +phonenumbers = ["phonenumbers (>=8,<9)"] +pycountry = ["pycountry (>=23)"] +python-ulid = ["python-ulid (>=1,<2)", "python-ulid (>=1,<3)"] +semver = ["semver (>=3.0.2)"] + [[package]] name = "pydocstyle" version = "6.3.0" @@ -995,6 +1398,20 @@ files = [ {file = "pyflakes-3.2.0.tar.gz", hash = "sha256:1c61603ff154621fb2a9172037d84dca3500def8c8b630657d1701f026f8af3f"}, ] +[[package]] +name = "pygments" +version = "2.18.0" +description = "Pygments is a syntax highlighting package written in Python." +optional = false +python-versions = ">=3.8" +files = [ + {file = "pygments-2.18.0-py3-none-any.whl", hash = "sha256:b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a"}, + {file = "pygments-2.18.0.tar.gz", hash = "sha256:786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199"}, +] + +[package.extras] +windows-terminal = ["colorama (>=0.4.6)"] + [[package]] name = "pylint" version = "3.2.6" @@ -1035,6 +1452,18 @@ files = [ {file = "pylint_exit-1.2.0-py2.py3-none-any.whl", hash = "sha256:65c9e7856e9058705a92d7c45628d604b2a4b8ee2b3c18a7303be77f9ed87cbe"}, ] +[[package]] +name = "pysocks" +version = "1.7.1" +description = "A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information." +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [ + {file = "PySocks-1.7.1-py27-none-any.whl", hash = "sha256:08e69f092cc6dbe92a0fdd16eeb9b9ffbc13cadfe5ca4c7bd92ffb078b293299"}, + {file = "PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5"}, + {file = "PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0"}, +] + [[package]] name = "python-dateutil" version = "2.9.0.post0" @@ -1141,6 +1570,7 @@ files = [ certifi = ">=2017.4.17" charset-normalizer = ">=2,<4" idna = ">=2.5,<4" +PySocks = {version = ">=1.5.6,<1.5.7 || >1.5.7", optional = true, markers = "extra == \"socks\""} urllib3 = ">=1.21.1,<3" [package.extras] @@ -1164,6 +1594,24 @@ lint = ["black", "flake8", "isort", "mypy", "types-requests"] release = ["build", "towncrier", "twine"] test = ["commentjson", "packaging", "pytest"] +[[package]] +name = "rich" +version = "13.7.1" +description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" +optional = false +python-versions = ">=3.7.0" +files = [ + {file = "rich-13.7.1-py3-none-any.whl", hash = "sha256:4edbae314f59eb482f54e9e30bf00d33350aaa94f4bfcd4e9e3110e64d0d7222"}, + {file = "rich-13.7.1.tar.gz", hash = "sha256:9be308cb1fe2f1f57d67ce99e95af38a1e2bc71ad9813b0e247cf7ffbcc3a432"}, +] + +[package.dependencies] +markdown-it-py = ">=2.2.0" +pygments = ">=2.13.0,<3.0.0" + +[package.extras] +jupyter = ["ipywidgets (>=7.5.1,<9)"] + [[package]] name = "rpds-py" version = "0.20.0" @@ -1287,6 +1735,17 @@ files = [ {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, ] +[[package]] +name = "sniffio" +version = "1.3.1" +description = "Sniff out which async library your code is running under" +optional = false +python-versions = ">=3.7" +files = [ + {file = "sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2"}, + {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, +] + [[package]] name = "snowballstemmer" version = "2.2.0" @@ -1311,24 +1770,38 @@ files = [ [[package]] name = "tomlkit" -version = "0.13.0" +version = "0.13.2" description = "Style preserving TOML library" optional = false python-versions = ">=3.8" files = [ - {file = "tomlkit-0.13.0-py3-none-any.whl", hash = "sha256:7075d3042d03b80f603482d69bf0c8f345c2b30e41699fd8883227f89972b264"}, - {file = "tomlkit-0.13.0.tar.gz", hash = "sha256:08ad192699734149f5b97b45f1f18dad7eb1b6d16bc72ad0c2335772650d7b72"}, + {file = "tomlkit-0.13.2-py3-none-any.whl", hash = "sha256:7a974427f6e119197f670fbbbeae7bef749a6c14e793db934baefc1b5f03efde"}, + {file = "tomlkit-0.13.2.tar.gz", hash = "sha256:fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79"}, ] +[[package]] +name = "treelib" +version = "1.7.0" +description = "A Python implementation of tree structure." +optional = false +python-versions = "*" +files = [ + {file = "treelib-1.7.0-py3-none-any.whl", hash = "sha256:c37795eaba19f73f3e1a905ef3f4f0cab660dc7617126e8ae99391e25c755416"}, + {file = "treelib-1.7.0.tar.gz", hash = "sha256:9bff1af416b9e642a6cd0e0431d15edf26a24b8d0c8ae68afbd3801b5e30fb61"}, +] + +[package.dependencies] +six = "*" + [[package]] name = "types-pyyaml" -version = "6.0.12.20240724" +version = "6.0.12.20240808" description = "Typing stubs for PyYAML" optional = false python-versions = ">=3.8" files = [ - {file = "types-PyYAML-6.0.12.20240724.tar.gz", hash = "sha256:cf7b31ae67e0c5b2919c703d2affc415485099d3fe6666a6912f040fd05cb67f"}, - {file = "types_PyYAML-6.0.12.20240724-py3-none-any.whl", hash = "sha256:e5becec598f3aa3a2ddf671de4a75fa1c6856fbf73b2840286c9d50fae2d5d48"}, + {file = "types-PyYAML-6.0.12.20240808.tar.gz", hash = "sha256:b8f76ddbd7f65440a8bda5526a9607e4c7a322dc2f8e1a8c405644f9a6f4b9af"}, + {file = "types_PyYAML-6.0.12.20240808-py3-none-any.whl", hash = "sha256:deda34c5c655265fc517b546c902aa6eed2ef8d3e921e4765fe606fe2afe8d35"}, ] [[package]] @@ -1382,4 +1855,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "df87d2552b613837fb09c22c3dae79fa68a2b85c598a562ec5f34b1d362ae10f" +content-hash = "d71e49557ca1b2813b11f1a3db72bcf41247fe821a2e60fb817f583e2cab712b" diff --git a/pyproject.toml b/pyproject.toml index 1db9264..f2328b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,9 +12,7 @@ metadata = false [tool.poetry.dependencies] python = "^3.10" -pyavd = "^4.5.0" -ansible-core = ">=2.16.0, <2.18.0" - +pyavd = {extras = ["ansible", "ansible-collection"], version = ">=4.9.0"} [tool.poetry.group.dev.dependencies] black = "^24.1.1" diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1a.cfg deleted file mode 100644 index fc5f29f..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.1/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.3/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.3/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.3/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.3/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.101/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.96/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.96/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.96/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.64/31 -! -interface Vxlan1 - description dc1-leaf1a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.3 -ip address virtual source-nat vrf VRF11 address 10.255.11.3 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.65 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.3 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.97 description dc1-leaf1b - neighbor 10.255.255.0 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.0 remote-as 65100 - neighbor 10.255.255.0 description dc1-spine1_Ethernet1 - neighbor 10.255.255.2 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.2 remote-as 65100 - neighbor 10.255.255.2 description dc1-spine2_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.3:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.3:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.3:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.3:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.3:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.3:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.3:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.3:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1b.cfg deleted file mode 100644 index 004f516..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.5/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.7/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.4/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.4/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.4/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.102/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.97/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.97/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.97/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.65/31 -! -interface Vxlan1 - description dc1-leaf1b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.4 -ip address virtual source-nat vrf VRF11 address 10.255.11.4 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.64 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.4 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.96 description dc1-leaf1a - neighbor 10.255.255.4 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.4 remote-as 65100 - neighbor 10.255.255.4 description dc1-spine1_Ethernet2 - neighbor 10.255.255.6 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.6 remote-as 65100 - neighbor 10.255.255.6 description dc1-spine2_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.4:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.4:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.4:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.4:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.4:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.4:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.4:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.4:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1c.cfg deleted file mode 100644 index e0ecb58..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf1c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF1_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF1A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF1B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.151/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2a.cfg deleted file mode 100644 index e616539..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.9/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.11/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.5/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.5/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.5/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.103/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.100/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.100/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.100/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.68/31 -! -interface Vxlan1 - description dc1-leaf2a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.5 -ip address virtual source-nat vrf VRF11 address 10.255.11.5 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.69 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.5 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.101 description dc1-leaf2b - neighbor 10.255.255.8 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.8 remote-as 65100 - neighbor 10.255.255.8 description dc1-spine1_Ethernet3 - neighbor 10.255.255.10 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.10 remote-as 65100 - neighbor 10.255.255.10 description dc1-spine2_Ethernet3 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.5:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.5:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.5:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.5:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.5:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.5:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.5:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.5:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2b.cfg deleted file mode 100644 index 607d2f5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.13/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.15/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.6/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.6/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.6/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.104/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.101/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.101/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.101/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.69/31 -! -interface Vxlan1 - description dc1-leaf2b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.6 -ip address virtual source-nat vrf VRF11 address 10.255.11.6 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.68 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.6 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.100 description dc1-leaf2a - neighbor 10.255.255.12 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.12 remote-as 65100 - neighbor 10.255.255.12 description dc1-spine1_Ethernet4 - neighbor 10.255.255.14 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.14 remote-as 65100 - neighbor 10.255.255.14 description dc1-spine2_Ethernet4 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.6:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.6:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.6:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.6:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.6:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.6:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.6:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.6:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2c.cfg deleted file mode 100644 index 636f4a5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-leaf2c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF2_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF2A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF2B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.152/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-spine1.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-spine1.cfg deleted file mode 100644 index a5e3a1d..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-spine1.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine1 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.0/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.4/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.8/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.12/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.1/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.11/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.1 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.1 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.1 remote-as 65101 - neighbor 10.255.255.1 description dc1-leaf1a_Ethernet1 - neighbor 10.255.255.5 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.5 remote-as 65101 - neighbor 10.255.255.5 description dc1-leaf1b_Ethernet1 - neighbor 10.255.255.9 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.9 remote-as 65102 - neighbor 10.255.255.9 description dc1-leaf2a_Ethernet1 - neighbor 10.255.255.13 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.13 remote-as 65102 - neighbor 10.255.255.13 description dc1-leaf2b_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-spine2.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-spine2.cfg deleted file mode 100644 index 2b82cf5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/configs/dc1-spine2.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine2 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.2/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.6/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.10/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.14/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.2/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.12/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.2 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.3 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.3 remote-as 65101 - neighbor 10.255.255.3 description dc1-leaf1a_Ethernet2 - neighbor 10.255.255.7 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.7 remote-as 65101 - neighbor 10.255.255.7 description dc1-leaf1b_Ethernet2 - neighbor 10.255.255.11 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.11 remote-as 65102 - neighbor 10.255.255.11 description dc1-leaf2a_Ethernet2 - neighbor 10.255.255.15 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.15 remote-as 65102 - neighbor 10.255.255.15 description dc1-leaf2b_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1a.yml deleted file mode 100644 index 53b740d..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1a -metadata: - platform: vEOS-lab -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.3 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1b - description: dc1-leaf1b - - ip_address: 10.255.255.0 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet1 - - ip_address: 10.255.255.2 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet1 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.3 - rd: 10.255.0.3:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.3 - rd: 10.255.0.3:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.3:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.3:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.3:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.3:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.3:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.3:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.101/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.64/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.96/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.1/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.3/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf1-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.65 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.3/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.3/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.3/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.3 -- name: VRF11 - ip_address: 10.255.11.3 diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1b.yml deleted file mode 100644 index d4b30dc..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1b -metadata: - platform: vEOS-lab -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.4 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1a - description: dc1-leaf1a - - ip_address: 10.255.255.4 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet2 - - ip_address: 10.255.255.6 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet2 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.4 - rd: 10.255.0.4:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.4 - rd: 10.255.0.4:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.4:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.4:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.4:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.4:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.4:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.4:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.102/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.65/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.97/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.5/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.7/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf1-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.64 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.4/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.4/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.4/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.4 -- name: VRF11 - ip_address: 10.255.11.4 diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1c.yml deleted file mode 100644 index dda9be1..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf1c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf1c -metadata: - platform: vEOS-lab -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.151/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf1-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF1_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2a.yml deleted file mode 100644 index bc17366..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2a -metadata: - platform: vEOS-lab -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.5 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2b - description: dc1-leaf2b - - ip_address: 10.255.255.8 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet3 - - ip_address: 10.255.255.10 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet3 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.5 - rd: 10.255.0.5:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.5 - rd: 10.255.0.5:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.5:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.5:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.5:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.5:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.5:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.5:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.103/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.68/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.100/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.9/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.11/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf2-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.69 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.5/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.5/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.5/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.5 -- name: VRF11 - ip_address: 10.255.11.5 diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2b.yml deleted file mode 100644 index 83b7523..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2b -metadata: - platform: vEOS-lab -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.6 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2a - description: dc1-leaf2a - - ip_address: 10.255.255.12 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet4 - - ip_address: 10.255.255.14 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet4 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.6 - rd: 10.255.0.6:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.6 - rd: 10.255.0.6:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.6:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.6:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.6:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.6:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.6:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.6:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.104/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.69/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.101/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.13/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.15/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf2-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.68 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.6/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.6/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.6/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.6 -- name: VRF11 - ip_address: 10.255.11.6 diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2c.yml deleted file mode 100644 index cc1ab8c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-leaf2c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf2c -metadata: - platform: vEOS-lab -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.152/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf2a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf2b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf2-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF2_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-spine1.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-spine1.yml deleted file mode 100644 index 31c41ec..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-spine1.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine1 -metadata: - platform: vEOS-lab -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.1 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.1 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet1 - - ip_address: 10.255.255.5 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet1 - - ip_address: 10.255.255.9 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet1 - - ip_address: 10.255.255.13 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet1 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.11/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.0/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.4/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.8/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.12/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.1/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-spine2.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-spine2.yml deleted file mode 100644 index 698f249..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.5.0/structured_configs/dc1-spine2.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine2 -metadata: - platform: vEOS-lab -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.2 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.3 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet2 - - ip_address: 10.255.255.7 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet2 - - ip_address: 10.255.255.11 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet2 - - ip_address: 10.255.255.15 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet2 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.12/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.2/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.6/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.10/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.14/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.2/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1a.cfg deleted file mode 100644 index fc5f29f..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.1/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.3/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.3/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.3/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.3/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.101/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.96/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.96/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.96/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.64/31 -! -interface Vxlan1 - description dc1-leaf1a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.3 -ip address virtual source-nat vrf VRF11 address 10.255.11.3 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.65 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.3 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.97 description dc1-leaf1b - neighbor 10.255.255.0 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.0 remote-as 65100 - neighbor 10.255.255.0 description dc1-spine1_Ethernet1 - neighbor 10.255.255.2 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.2 remote-as 65100 - neighbor 10.255.255.2 description dc1-spine2_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.3:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.3:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.3:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.3:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.3:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.3:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.3:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.3:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1b.cfg deleted file mode 100644 index 004f516..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.5/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.7/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.4/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.4/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.4/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.102/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.97/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.97/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.97/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.65/31 -! -interface Vxlan1 - description dc1-leaf1b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.4 -ip address virtual source-nat vrf VRF11 address 10.255.11.4 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.64 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.4 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.96 description dc1-leaf1a - neighbor 10.255.255.4 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.4 remote-as 65100 - neighbor 10.255.255.4 description dc1-spine1_Ethernet2 - neighbor 10.255.255.6 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.6 remote-as 65100 - neighbor 10.255.255.6 description dc1-spine2_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.4:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.4:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.4:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.4:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.4:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.4:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.4:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.4:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1c.cfg deleted file mode 100644 index e0ecb58..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf1c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF1_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF1A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF1B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.151/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2a.cfg deleted file mode 100644 index e616539..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.9/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.11/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.5/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.5/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.5/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.103/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.100/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.100/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.100/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.68/31 -! -interface Vxlan1 - description dc1-leaf2a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.5 -ip address virtual source-nat vrf VRF11 address 10.255.11.5 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.69 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.5 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.101 description dc1-leaf2b - neighbor 10.255.255.8 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.8 remote-as 65100 - neighbor 10.255.255.8 description dc1-spine1_Ethernet3 - neighbor 10.255.255.10 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.10 remote-as 65100 - neighbor 10.255.255.10 description dc1-spine2_Ethernet3 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.5:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.5:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.5:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.5:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.5:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.5:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.5:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.5:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2b.cfg deleted file mode 100644 index 607d2f5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.13/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.15/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.6/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.6/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.6/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.104/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.101/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.101/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.101/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.69/31 -! -interface Vxlan1 - description dc1-leaf2b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.6 -ip address virtual source-nat vrf VRF11 address 10.255.11.6 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.68 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.6 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.100 description dc1-leaf2a - neighbor 10.255.255.12 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.12 remote-as 65100 - neighbor 10.255.255.12 description dc1-spine1_Ethernet4 - neighbor 10.255.255.14 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.14 remote-as 65100 - neighbor 10.255.255.14 description dc1-spine2_Ethernet4 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.6:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.6:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.6:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.6:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.6:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.6:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.6:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.6:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2c.cfg deleted file mode 100644 index 636f4a5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-leaf2c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF2_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF2A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF2B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.152/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-spine1.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-spine1.cfg deleted file mode 100644 index a5e3a1d..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-spine1.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine1 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.0/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.4/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.8/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.12/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.1/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.11/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.1 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.1 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.1 remote-as 65101 - neighbor 10.255.255.1 description dc1-leaf1a_Ethernet1 - neighbor 10.255.255.5 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.5 remote-as 65101 - neighbor 10.255.255.5 description dc1-leaf1b_Ethernet1 - neighbor 10.255.255.9 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.9 remote-as 65102 - neighbor 10.255.255.9 description dc1-leaf2a_Ethernet1 - neighbor 10.255.255.13 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.13 remote-as 65102 - neighbor 10.255.255.13 description dc1-leaf2b_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-spine2.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-spine2.cfg deleted file mode 100644 index 2b82cf5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/configs/dc1-spine2.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine2 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.2/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.6/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.10/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.14/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.2/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.12/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.2 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.3 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.3 remote-as 65101 - neighbor 10.255.255.3 description dc1-leaf1a_Ethernet2 - neighbor 10.255.255.7 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.7 remote-as 65101 - neighbor 10.255.255.7 description dc1-leaf1b_Ethernet2 - neighbor 10.255.255.11 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.11 remote-as 65102 - neighbor 10.255.255.11 description dc1-leaf2a_Ethernet2 - neighbor 10.255.255.15 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.15 remote-as 65102 - neighbor 10.255.255.15 description dc1-leaf2b_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1a.yml deleted file mode 100644 index d097a3c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1a -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.3 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1b - description: dc1-leaf1b - - ip_address: 10.255.255.0 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet1 - - ip_address: 10.255.255.2 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet1 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.3 - rd: 10.255.0.3:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.3 - rd: 10.255.0.3:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.3:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.3:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.3:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.3:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.3:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.3:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.101/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.64/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.96/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.1/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.3/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf1-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.65 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.3/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.3/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.3/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.3 -- name: VRF11 - ip_address: 10.255.11.3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1b.yml deleted file mode 100644 index 7b198ff..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1b -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.4 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1a - description: dc1-leaf1a - - ip_address: 10.255.255.4 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet2 - - ip_address: 10.255.255.6 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet2 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.4 - rd: 10.255.0.4:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.4 - rd: 10.255.0.4:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.4:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.4:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.4:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.4:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.4:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.4:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.102/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.65/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.97/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.5/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.7/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf1-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.64 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.4/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.4/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.4/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.4 -- name: VRF11 - ip_address: 10.255.11.4 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1c.yml deleted file mode 100644 index 89bd6af..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf1c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf1c -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.151/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf1-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF1_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2a.yml deleted file mode 100644 index c2e410c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2a -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.5 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2b - description: dc1-leaf2b - - ip_address: 10.255.255.8 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet3 - - ip_address: 10.255.255.10 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet3 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.5 - rd: 10.255.0.5:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.5 - rd: 10.255.0.5:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.5:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.5:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.5:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.5:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.5:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.5:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.103/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.68/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.100/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.9/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.11/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf2-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.69 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.5/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.5/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.5/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.5 -- name: VRF11 - ip_address: 10.255.11.5 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2b.yml deleted file mode 100644 index 6163159..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2b -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.6 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2a - description: dc1-leaf2a - - ip_address: 10.255.255.12 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet4 - - ip_address: 10.255.255.14 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet4 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.6 - rd: 10.255.0.6:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.6 - rd: 10.255.0.6:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.6:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.6:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.6:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.6:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.6:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.6:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.104/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.69/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.101/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.13/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.15/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf2-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.68 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.6/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.6/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.6/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.6 -- name: VRF11 - ip_address: 10.255.11.6 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2c.yml deleted file mode 100644 index a41fff4..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-leaf2c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf2c -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.152/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf2a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf2b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf2-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF2_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-spine1.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-spine1.yml deleted file mode 100644 index 5377ee2..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-spine1.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine1 -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.1 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.1 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet1 - - ip_address: 10.255.255.5 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet1 - - ip_address: 10.255.255.9 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet1 - - ip_address: 10.255.255.13 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet1 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.11/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.0/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.4/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.8/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.12/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.1/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-spine2.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-spine2.yml deleted file mode 100644 index 701251c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.6.0/structured_configs/dc1-spine2.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine2 -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.2 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.3 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet2 - - ip_address: 10.255.255.7 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet2 - - ip_address: 10.255.255.11 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet2 - - ip_address: 10.255.255.15 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet2 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.12/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.2/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.6/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.10/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.14/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.2/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1a.cfg deleted file mode 100644 index fc5f29f..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.1/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.3/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.3/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.3/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.3/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.101/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.96/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.96/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.96/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.64/31 -! -interface Vxlan1 - description dc1-leaf1a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.3 -ip address virtual source-nat vrf VRF11 address 10.255.11.3 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.65 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.3 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.97 description dc1-leaf1b - neighbor 10.255.255.0 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.0 remote-as 65100 - neighbor 10.255.255.0 description dc1-spine1_Ethernet1 - neighbor 10.255.255.2 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.2 remote-as 65100 - neighbor 10.255.255.2 description dc1-spine2_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.3:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.3:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.3:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.3:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.3:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.3:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.3:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.3:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1b.cfg deleted file mode 100644 index 004f516..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.5/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.7/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.4/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.4/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.4/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.102/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.97/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.97/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.97/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.65/31 -! -interface Vxlan1 - description dc1-leaf1b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.4 -ip address virtual source-nat vrf VRF11 address 10.255.11.4 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.64 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.4 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.96 description dc1-leaf1a - neighbor 10.255.255.4 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.4 remote-as 65100 - neighbor 10.255.255.4 description dc1-spine1_Ethernet2 - neighbor 10.255.255.6 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.6 remote-as 65100 - neighbor 10.255.255.6 description dc1-spine2_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.4:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.4:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.4:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.4:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.4:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.4:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.4:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.4:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1c.cfg deleted file mode 100644 index e0ecb58..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf1c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF1_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF1A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF1B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.151/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2a.cfg deleted file mode 100644 index e616539..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.9/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.11/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.5/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.5/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.5/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.103/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.100/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.100/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.100/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.68/31 -! -interface Vxlan1 - description dc1-leaf2a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.5 -ip address virtual source-nat vrf VRF11 address 10.255.11.5 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.69 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.5 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.101 description dc1-leaf2b - neighbor 10.255.255.8 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.8 remote-as 65100 - neighbor 10.255.255.8 description dc1-spine1_Ethernet3 - neighbor 10.255.255.10 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.10 remote-as 65100 - neighbor 10.255.255.10 description dc1-spine2_Ethernet3 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.5:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.5:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.5:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.5:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.5:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.5:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.5:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.5:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2b.cfg deleted file mode 100644 index 607d2f5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.13/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.15/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.6/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.6/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.6/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.104/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.101/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.101/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.101/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.69/31 -! -interface Vxlan1 - description dc1-leaf2b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.6 -ip address virtual source-nat vrf VRF11 address 10.255.11.6 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.68 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.6 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.100 description dc1-leaf2a - neighbor 10.255.255.12 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.12 remote-as 65100 - neighbor 10.255.255.12 description dc1-spine1_Ethernet4 - neighbor 10.255.255.14 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.14 remote-as 65100 - neighbor 10.255.255.14 description dc1-spine2_Ethernet4 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.6:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.6:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.6:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.6:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.6:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.6:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.6:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.6:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2c.cfg deleted file mode 100644 index 636f4a5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-leaf2c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF2_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF2A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF2B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.152/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-spine1.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-spine1.cfg deleted file mode 100644 index a5e3a1d..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-spine1.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine1 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.0/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.4/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.8/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.12/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.1/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.11/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.1 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.1 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.1 remote-as 65101 - neighbor 10.255.255.1 description dc1-leaf1a_Ethernet1 - neighbor 10.255.255.5 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.5 remote-as 65101 - neighbor 10.255.255.5 description dc1-leaf1b_Ethernet1 - neighbor 10.255.255.9 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.9 remote-as 65102 - neighbor 10.255.255.9 description dc1-leaf2a_Ethernet1 - neighbor 10.255.255.13 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.13 remote-as 65102 - neighbor 10.255.255.13 description dc1-leaf2b_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-spine2.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-spine2.cfg deleted file mode 100644 index 2b82cf5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/configs/dc1-spine2.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine2 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.2/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.6/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.10/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.14/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.2/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.12/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.2 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.3 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.3 remote-as 65101 - neighbor 10.255.255.3 description dc1-leaf1a_Ethernet2 - neighbor 10.255.255.7 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.7 remote-as 65101 - neighbor 10.255.255.7 description dc1-leaf1b_Ethernet2 - neighbor 10.255.255.11 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.11 remote-as 65102 - neighbor 10.255.255.11 description dc1-leaf2a_Ethernet2 - neighbor 10.255.255.15 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.15 remote-as 65102 - neighbor 10.255.255.15 description dc1-leaf2b_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1a.yml deleted file mode 100644 index d097a3c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1a -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.3 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1b - description: dc1-leaf1b - - ip_address: 10.255.255.0 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet1 - - ip_address: 10.255.255.2 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet1 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.3 - rd: 10.255.0.3:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.3 - rd: 10.255.0.3:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.3:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.3:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.3:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.3:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.3:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.3:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.101/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.64/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.96/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.1/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.3/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf1-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.65 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.3/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.3/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.3/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.3 -- name: VRF11 - ip_address: 10.255.11.3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1b.yml deleted file mode 100644 index 7b198ff..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1b -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.4 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1a - description: dc1-leaf1a - - ip_address: 10.255.255.4 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet2 - - ip_address: 10.255.255.6 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet2 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.4 - rd: 10.255.0.4:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.4 - rd: 10.255.0.4:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.4:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.4:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.4:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.4:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.4:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.4:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.102/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.65/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.97/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.5/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.7/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf1-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.64 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.4/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.4/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.4/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.4 -- name: VRF11 - ip_address: 10.255.11.4 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1c.yml deleted file mode 100644 index 89bd6af..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf1c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf1c -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.151/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf1-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF1_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2a.yml deleted file mode 100644 index c2e410c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2a -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.5 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2b - description: dc1-leaf2b - - ip_address: 10.255.255.8 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet3 - - ip_address: 10.255.255.10 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet3 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.5 - rd: 10.255.0.5:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.5 - rd: 10.255.0.5:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.5:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.5:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.5:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.5:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.5:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.5:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.103/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.68/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.100/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.9/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.11/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf2-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.69 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.5/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.5/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.5/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.5 -- name: VRF11 - ip_address: 10.255.11.5 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2b.yml deleted file mode 100644 index 6163159..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2b -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.6 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2a - description: dc1-leaf2a - - ip_address: 10.255.255.12 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet4 - - ip_address: 10.255.255.14 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet4 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.6 - rd: 10.255.0.6:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.6 - rd: 10.255.0.6:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.6:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.6:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.6:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.6:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.6:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.6:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.104/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.69/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.101/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.13/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.15/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf2-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.68 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.6/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.6/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.6/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.6 -- name: VRF11 - ip_address: 10.255.11.6 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2c.yml deleted file mode 100644 index a41fff4..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-leaf2c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf2c -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.152/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf2a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf2b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf2-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF2_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-spine1.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-spine1.yml deleted file mode 100644 index 5377ee2..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-spine1.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine1 -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.1 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.1 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet1 - - ip_address: 10.255.255.5 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet1 - - ip_address: 10.255.255.9 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet1 - - ip_address: 10.255.255.13 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet1 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.11/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.0/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.4/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.8/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.12/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.1/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-spine2.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-spine2.yml deleted file mode 100644 index 701251c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.0/structured_configs/dc1-spine2.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine2 -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.2 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.3 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet2 - - ip_address: 10.255.255.7 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet2 - - ip_address: 10.255.255.11 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet2 - - ip_address: 10.255.255.15 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet2 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.12/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.2/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.6/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.10/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.14/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.2/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1a.cfg deleted file mode 100644 index fc5f29f..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.1/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.3/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.3/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.3/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.3/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.101/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.96/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.96/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.96/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.64/31 -! -interface Vxlan1 - description dc1-leaf1a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.3 -ip address virtual source-nat vrf VRF11 address 10.255.11.3 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.65 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.3 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.97 description dc1-leaf1b - neighbor 10.255.255.0 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.0 remote-as 65100 - neighbor 10.255.255.0 description dc1-spine1_Ethernet1 - neighbor 10.255.255.2 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.2 remote-as 65100 - neighbor 10.255.255.2 description dc1-spine2_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.3:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.3:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.3:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.3:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.3:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.3:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.3:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.3:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1b.cfg deleted file mode 100644 index 004f516..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.5/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.7/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.4/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.4/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.4/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.102/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.97/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.97/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.97/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.65/31 -! -interface Vxlan1 - description dc1-leaf1b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.4 -ip address virtual source-nat vrf VRF11 address 10.255.11.4 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.64 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.4 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.96 description dc1-leaf1a - neighbor 10.255.255.4 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.4 remote-as 65100 - neighbor 10.255.255.4 description dc1-spine1_Ethernet2 - neighbor 10.255.255.6 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.6 remote-as 65100 - neighbor 10.255.255.6 description dc1-spine2_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.4:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.4:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.4:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.4:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.4:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.4:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.4:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.4:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1c.cfg deleted file mode 100644 index e0ecb58..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf1c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF1_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF1A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF1B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.151/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2a.cfg deleted file mode 100644 index e616539..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.9/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.11/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.5/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.5/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.5/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.103/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.100/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.100/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.100/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.68/31 -! -interface Vxlan1 - description dc1-leaf2a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.5 -ip address virtual source-nat vrf VRF11 address 10.255.11.5 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.69 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.5 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.101 description dc1-leaf2b - neighbor 10.255.255.8 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.8 remote-as 65100 - neighbor 10.255.255.8 description dc1-spine1_Ethernet3 - neighbor 10.255.255.10 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.10 remote-as 65100 - neighbor 10.255.255.10 description dc1-spine2_Ethernet3 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.5:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.5:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.5:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.5:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.5:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.5:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.5:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.5:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2b.cfg deleted file mode 100644 index 607d2f5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.13/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.15/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.6/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.6/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.6/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.104/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.101/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.101/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.101/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.69/31 -! -interface Vxlan1 - description dc1-leaf2b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.6 -ip address virtual source-nat vrf VRF11 address 10.255.11.6 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.68 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.6 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.100 description dc1-leaf2a - neighbor 10.255.255.12 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.12 remote-as 65100 - neighbor 10.255.255.12 description dc1-spine1_Ethernet4 - neighbor 10.255.255.14 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.14 remote-as 65100 - neighbor 10.255.255.14 description dc1-spine2_Ethernet4 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.6:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.6:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.6:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.6:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.6:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.6:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.6:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.6:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2c.cfg deleted file mode 100644 index 636f4a5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-leaf2c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF2_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF2A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF2B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.152/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-spine1.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-spine1.cfg deleted file mode 100644 index a5e3a1d..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-spine1.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine1 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.0/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.4/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.8/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.12/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.1/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.11/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.1 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.1 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.1 remote-as 65101 - neighbor 10.255.255.1 description dc1-leaf1a_Ethernet1 - neighbor 10.255.255.5 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.5 remote-as 65101 - neighbor 10.255.255.5 description dc1-leaf1b_Ethernet1 - neighbor 10.255.255.9 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.9 remote-as 65102 - neighbor 10.255.255.9 description dc1-leaf2a_Ethernet1 - neighbor 10.255.255.13 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.13 remote-as 65102 - neighbor 10.255.255.13 description dc1-leaf2b_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-spine2.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-spine2.cfg deleted file mode 100644 index 2b82cf5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/configs/dc1-spine2.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine2 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.2/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.6/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.10/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.14/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.2/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.12/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.2 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.3 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.3 remote-as 65101 - neighbor 10.255.255.3 description dc1-leaf1a_Ethernet2 - neighbor 10.255.255.7 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.7 remote-as 65101 - neighbor 10.255.255.7 description dc1-leaf1b_Ethernet2 - neighbor 10.255.255.11 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.11 remote-as 65102 - neighbor 10.255.255.11 description dc1-leaf2a_Ethernet2 - neighbor 10.255.255.15 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.15 remote-as 65102 - neighbor 10.255.255.15 description dc1-leaf2b_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1a.yml deleted file mode 100644 index d097a3c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1a -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.3 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1b - description: dc1-leaf1b - - ip_address: 10.255.255.0 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet1 - - ip_address: 10.255.255.2 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet1 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.3 - rd: 10.255.0.3:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.3 - rd: 10.255.0.3:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.3:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.3:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.3:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.3:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.3:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.3:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.101/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.64/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.96/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.1/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.3/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf1-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.65 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.3/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.3/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.3/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.3 -- name: VRF11 - ip_address: 10.255.11.3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1b.yml deleted file mode 100644 index 7b198ff..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1b -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.4 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1a - description: dc1-leaf1a - - ip_address: 10.255.255.4 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet2 - - ip_address: 10.255.255.6 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet2 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.4 - rd: 10.255.0.4:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.4 - rd: 10.255.0.4:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.4:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.4:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.4:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.4:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.4:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.4:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.102/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.65/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.97/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.5/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.7/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf1-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.64 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.4/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.4/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.4/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.4 -- name: VRF11 - ip_address: 10.255.11.4 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1c.yml deleted file mode 100644 index 89bd6af..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf1c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf1c -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.151/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf1-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF1_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2a.yml deleted file mode 100644 index c2e410c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2a -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.5 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2b - description: dc1-leaf2b - - ip_address: 10.255.255.8 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet3 - - ip_address: 10.255.255.10 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet3 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.5 - rd: 10.255.0.5:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.5 - rd: 10.255.0.5:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.5:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.5:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.5:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.5:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.5:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.5:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.103/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.68/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.100/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.9/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.11/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf2-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.69 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.5/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.5/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.5/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.5 -- name: VRF11 - ip_address: 10.255.11.5 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2b.yml deleted file mode 100644 index 6163159..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2b -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.6 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2a - description: dc1-leaf2a - - ip_address: 10.255.255.12 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet4 - - ip_address: 10.255.255.14 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet4 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.6 - rd: 10.255.0.6:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.6 - rd: 10.255.0.6:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.6:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.6:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.6:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.6:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.6:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.6:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.104/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - ip_address: 10.255.1.69/31 - no_autostate: true - mtu: 1500 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.101/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.13/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.15/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf2-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.68 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.6/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.6/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.6/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.6 -- name: VRF11 - ip_address: 10.255.11.6 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2c.yml deleted file mode 100644 index a41fff4..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-leaf2c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf2c -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.152/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf2a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf2b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf2-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF2_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-spine1.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-spine1.yml deleted file mode 100644 index 5377ee2..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-spine1.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine1 -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.1 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.1 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet1 - - ip_address: 10.255.255.5 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet1 - - ip_address: 10.255.255.9 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet1 - - ip_address: 10.255.255.13 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet1 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.11/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.0/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.4/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.8/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.12/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.1/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-spine2.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-spine2.yml deleted file mode 100644 index 701251c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.7.1/structured_configs/dc1-spine2.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine2 -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.2 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.3 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet2 - - ip_address: 10.255.255.7 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet2 - - ip_address: 10.255.255.11 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet2 - - ip_address: 10.255.255.15 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet2 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.12/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.2/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.6/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.10/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.14/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.2/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1a.cfg deleted file mode 100644 index fc5f29f..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.1/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.3/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.3/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.3/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.3/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.101/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.96/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.96/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.96/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.64/31 -! -interface Vxlan1 - description dc1-leaf1a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.3 -ip address virtual source-nat vrf VRF11 address 10.255.11.3 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.65 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.3 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.97 description dc1-leaf1b - neighbor 10.255.255.0 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.0 remote-as 65100 - neighbor 10.255.255.0 description dc1-spine1_Ethernet1 - neighbor 10.255.255.2 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.2 remote-as 65100 - neighbor 10.255.255.2 description dc1-spine2_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.3:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.3:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.3:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.3:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.3:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.3:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.3:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.3:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.3 - neighbor 10.255.1.97 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1b.cfg deleted file mode 100644 index 004f516..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf1a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF1C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.5/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.7/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf1a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf1a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF1C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.4/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.3/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.4/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.4/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.102/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.97/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.97/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.97/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.65/31 -! -interface Vxlan1 - description dc1-leaf1b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.4 -ip address virtual source-nat vrf VRF11 address 10.255.11.4 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF1 - local-interface Vlan4094 - peer-address 10.255.1.64 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65101 - router-id 10.255.0.4 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65101 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf1a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.96 description dc1-leaf1a - neighbor 10.255.255.4 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.4 remote-as 65100 - neighbor 10.255.255.4 description dc1-spine1_Ethernet2 - neighbor 10.255.255.6 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.6 remote-as 65100 - neighbor 10.255.255.6 description dc1-spine2_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.4:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.4:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.4:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.4:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.4:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.4:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.4:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.4:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.4 - neighbor 10.255.1.96 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1c.cfg deleted file mode 100644 index e0ecb58..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf1c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf1c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF1_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF1A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF1B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf1-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.151/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2a.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2a.cfg deleted file mode 100644 index e616539..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2a.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2a -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2b_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.9/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet3 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.11/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2b_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2b_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI1 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet1 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.5/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.5/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.5/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.103/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.100/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.100/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.100/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.68/31 -! -interface Vxlan1 - description dc1-leaf2a_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.5 -ip address virtual source-nat vrf VRF11 address 10.255.11.5 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.69 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.5 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2b - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.101 description dc1-leaf2b - neighbor 10.255.255.8 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.8 remote-as 65100 - neighbor 10.255.255.8 description dc1-spine1_Ethernet3 - neighbor 10.255.255.10 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.10 remote-as 65100 - neighbor 10.255.255.10 description dc1-spine2_Ethernet3 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.5:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.5:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.5:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.5:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.5:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.5:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.5:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.5:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.5 - neighbor 10.255.1.101 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2b.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2b.cfg deleted file mode 100644 index 607d2f5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2b.cfg +++ /dev/null @@ -1,356 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2b -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -no spanning-tree vlan-id 4093-4094 -spanning-tree mst 0 priority 4096 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3009 - name MLAG_iBGP_VRF10 - trunk group LEAF_PEER_L3 -! -vlan 3010 - name MLAG_iBGP_VRF11 - trunk group LEAF_PEER_L3 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vlan 4093 - name LEAF_PEER_L3 - trunk group LEAF_PEER_L3 -! -vlan 4094 - name MLAG_PEER - trunk group MLAG -! -vrf instance MGMT -! -vrf instance VRF10 -! -vrf instance VRF11 -! -interface Port-Channel3 - description MLAG_PEER_dc1-leaf2a_Po3 - no shutdown - switchport - switchport mode trunk - switchport trunk group LEAF_PEER_L3 - switchport trunk group MLAG -! -interface Port-Channel5 - description dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22 - switchport trunk native vlan 4092 - switchport mode trunk - mlag 5 - spanning-tree portfast -! -interface Port-Channel8 - description DC1-LEAF2C_Po1 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk - mlag 8 -! -interface Ethernet1 - description P2P_LINK_TO_DC1-SPINE1_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.13/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-SPINE2_Ethernet4 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.15/31 -! -interface Ethernet3 - description MLAG_PEER_dc1-leaf2a_Ethernet3 - no shutdown - channel-group 3 mode active -! -interface Ethernet4 - description MLAG_PEER_dc1-leaf2a_Ethernet4 - no shutdown - channel-group 3 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_PCI2 - no shutdown - channel-group 5 mode active -! -interface Ethernet8 - description DC1-LEAF2C_Ethernet2 - no shutdown - channel-group 8 mode active -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.6/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.255.1.5/32 -! -interface Loopback10 - description VRF10_VTEP_DIAGNOSTICS - no shutdown - vrf VRF10 - ip address 10.255.10.6/32 -! -interface Loopback11 - description VRF11_VTEP_DIAGNOSTICS - no shutdown - vrf VRF11 - ip address 10.255.11.6/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.104/24 -! -interface Vlan11 - description VRF10_VLAN11 - no shutdown - vrf VRF10 - ip address virtual 10.10.11.1/24 -! -interface Vlan12 - description VRF10_VLAN12 - no shutdown - vrf VRF10 - ip address virtual 10.10.12.1/24 -! -interface Vlan21 - description VRF11_VLAN21 - no shutdown - vrf VRF11 - ip address virtual 10.10.21.1/24 -! -interface Vlan22 - description VRF11_VLAN22 - no shutdown - vrf VRF11 - ip address virtual 10.10.22.1/24 -! -interface Vlan3009 - description MLAG_PEER_L3_iBGP: vrf VRF10 - no shutdown - mtu 1500 - vrf VRF10 - ip address 10.255.1.101/31 -! -interface Vlan3010 - description MLAG_PEER_L3_iBGP: vrf VRF11 - no shutdown - mtu 1500 - vrf VRF11 - ip address 10.255.1.101/31 -! -interface Vlan4093 - description MLAG_PEER_L3_PEERING - no shutdown - mtu 1500 - ip address 10.255.1.101/31 -! -interface Vlan4094 - description MLAG_PEER - no shutdown - mtu 1500 - no autostate - ip address 10.255.1.69/31 -! -interface Vxlan1 - description dc1-leaf2b_VTEP - vxlan source-interface Loopback1 - vxlan virtual-router encapsulation mac-address mlag-system-id - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vlan 12 vni 10012 - vxlan vlan 21 vni 10021 - vxlan vlan 22 vni 10022 - vxlan vlan 3401 vni 13401 - vxlan vlan 3402 vni 13402 - vxlan vrf VRF10 vni 10 - vxlan vrf VRF11 vni 11 -! -ip virtual-router mac-address 00:1c:73:00:00:99 -! -ip address virtual source-nat vrf VRF10 address 10.255.10.6 -ip address virtual source-nat vrf VRF11 address 10.255.11.6 -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF10 -ip routing vrf VRF11 -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 - seq 20 permit 10.255.1.0/27 eq 32 -! -mlag configuration - domain-id DC1_L3_LEAF2 - local-interface Vlan4094 - peer-address 10.255.1.68 - peer-link Port-Channel3 - reload-delay mlag 300 - reload-delay non-mlag 330 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -route-map RM-MLAG-PEER-IN permit 10 - description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing - set origin incomplete -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65102 - router-id 10.255.0.6 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER peer group - neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102 - neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self - neighbor MLAG-IPv4-UNDERLAY-PEER description dc1-leaf2a - neighbor MLAG-IPv4-UNDERLAY-PEER password 7 4b21pAdCvWeAqpcKDFMdWw== - neighbor MLAG-IPv4-UNDERLAY-PEER send-community - neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000 - neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65100 - neighbor 10.255.0.1 description dc1-spine1 - neighbor 10.255.0.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.2 remote-as 65100 - neighbor 10.255.0.2 description dc1-spine2 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - neighbor 10.255.1.100 description dc1-leaf2a - neighbor 10.255.255.12 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.12 remote-as 65100 - neighbor 10.255.255.12 description dc1-spine1_Ethernet4 - neighbor 10.255.255.14 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.14 remote-as 65100 - neighbor 10.255.255.14 description dc1-spine2_Ethernet4 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.255.0.6:10011 - route-target both 10011:10011 - redistribute learned - ! - vlan 12 - rd 10.255.0.6:10012 - route-target both 10012:10012 - redistribute learned - ! - vlan 21 - rd 10.255.0.6:10021 - route-target both 10021:10021 - redistribute learned - ! - vlan 22 - rd 10.255.0.6:10022 - route-target both 10022:10022 - redistribute learned - ! - vlan 3401 - rd 10.255.0.6:13401 - route-target both 13401:13401 - redistribute learned - ! - vlan 3402 - rd 10.255.0.6:13402 - route-target both 13402:13402 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - neighbor MLAG-IPv4-UNDERLAY-PEER activate - ! - vrf VRF10 - rd 10.255.0.6:10 - route-target import evpn 10:10 - route-target export evpn 10:10 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected - ! - vrf VRF11 - rd 10.255.0.6:11 - route-target import evpn 11:11 - route-target export evpn 11:11 - router-id 10.255.0.6 - neighbor 10.255.1.100 peer group MLAG-IPv4-UNDERLAY-PEER - redistribute connected -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2c.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2c.cfg deleted file mode 100644 index 636f4a5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-leaf2c.cfg +++ /dev/null @@ -1,89 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-leaf2c -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode mstp -spanning-tree mst 0 priority 32768 -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vlan 11 - name VRF10_VLAN11 -! -vlan 12 - name VRF10_VLAN12 -! -vlan 21 - name VRF11_VLAN21 -! -vlan 22 - name VRF11_VLAN22 -! -vlan 3401 - name L2_VLAN3401 -! -vlan 3402 - name L2_VLAN3402 -! -vrf instance MGMT -! -interface Port-Channel1 - description DC1_L3_LEAF2_Po8 - no shutdown - switchport - switchport trunk allowed vlan 11-12,21-22,3401-3402 - switchport mode trunk -! -interface Ethernet1 - description DC1-LEAF2A_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet2 - description DC1-LEAF2B_Ethernet8 - no shutdown - channel-group 1 mode active -! -interface Ethernet5 - description dc1-leaf2-server1_iLO - no shutdown - switchport access vlan 11 - switchport mode access - switchport - spanning-tree portfast -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.152/24 -no ip routing vrf MGMT -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-spine1.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-spine1.cfg deleted file mode 100644 index a5e3a1d..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-spine1.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine1 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.0/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.4/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.8/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.12/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.1/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.11/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.1 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.1 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.1 remote-as 65101 - neighbor 10.255.255.1 description dc1-leaf1a_Ethernet1 - neighbor 10.255.255.5 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.5 remote-as 65101 - neighbor 10.255.255.5 description dc1-leaf1b_Ethernet1 - neighbor 10.255.255.9 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.9 remote-as 65102 - neighbor 10.255.255.9 description dc1-leaf2a_Ethernet1 - neighbor 10.255.255.13 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.13 remote-as 65102 - neighbor 10.255.255.13 description dc1-leaf2b_Ethernet1 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-spine2.cfg b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-spine2.cfg deleted file mode 100644 index 2b82cf5..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/configs/dc1-spine2.cfg +++ /dev/null @@ -1,138 +0,0 @@ -!RANCID-CONTENT-TYPE: arista -! -daemon TerminAttr - exec /usr/bin/TerminAttr -cvaddr=192.168.1.12:9910 -cvauth=token,/tmp/token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs - no shutdown -! -vlan internal order ascending range 1006 1199 -! -transceiver qsfp default-mode 4x10G -! -service routing protocols model multi-agent -! -hostname dc1-spine2 -ip name-server vrf MGMT 192.168.1.1 -! -ntp local-interface vrf MGMT Management1 -ntp server vrf MGMT 0.pool.ntp.org prefer -! -spanning-tree mode none -! -no enable password -no aaa root -! -username admin privilege 15 role network-admin nopassword -username ansible privilege 15 role network-admin secret sha512 $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -! -vrf instance MGMT -! -interface Ethernet1 - description P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.2/31 -! -interface Ethernet2 - description P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.6/31 -! -interface Ethernet3 - description P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.10/31 -! -interface Ethernet4 - description P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - no shutdown - mtu 1500 - no switchport - ip address 10.255.255.14/31 -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.2/32 -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 172.16.1.12/24 -! -ip routing -no ip routing vrf MGMT -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -! -ip route vrf MGMT 0.0.0.0/0 172.16.1.1 -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -! -router bgp 65100 - router-id 10.255.0.2 - maximum-paths 4 ecmp 4 - no bgp default ipv4-unicast - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS password 7 Q4fqtbqcZ7oQuKfuWtNGRQ== - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS password 7 7x4B4rnJhZB438m9+BrBfQ== - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.255.0.3 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.3 remote-as 65101 - neighbor 10.255.0.3 description dc1-leaf1a - neighbor 10.255.0.4 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.4 remote-as 65101 - neighbor 10.255.0.4 description dc1-leaf1b - neighbor 10.255.0.5 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.5 remote-as 65102 - neighbor 10.255.0.5 description dc1-leaf2a - neighbor 10.255.0.6 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.6 remote-as 65102 - neighbor 10.255.0.6 description dc1-leaf2b - neighbor 10.255.255.3 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.3 remote-as 65101 - neighbor 10.255.255.3 description dc1-leaf1a_Ethernet2 - neighbor 10.255.255.7 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.7 remote-as 65101 - neighbor 10.255.255.7 description dc1-leaf1b_Ethernet2 - neighbor 10.255.255.11 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.11 remote-as 65102 - neighbor 10.255.255.11 description dc1-leaf2a_Ethernet2 - neighbor 10.255.255.15 peer group IPv4-UNDERLAY-PEERS - neighbor 10.255.255.15 remote-as 65102 - neighbor 10.255.255.15 description dc1-leaf2b_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -! -end diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1a.yml deleted file mode 100644 index 33b2c59..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1a -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.3 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1b - description: dc1-leaf1b - - ip_address: 10.255.255.0 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet1 - - ip_address: 10.255.255.2 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet1 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.3 - rd: 10.255.0.3:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.3 - rd: 10.255.0.3:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.97 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.3:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.3:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.3:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.3:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.3:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.3:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.101/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - no_autostate: true - mtu: 1500 - ip_address: 10.255.1.64/31 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.96/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.96/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.1/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet1 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.3/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf1-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.65 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.3/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.3/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.3/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.3 -- name: VRF11 - ip_address: 10.255.11.3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1b.yml deleted file mode 100644 index 9ca6cf6..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf1b -is_deployed: true -router_bgp: - as: '65101' - router_id: 10.255.0.4 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65101' - next_hop_self: true - description: dc1-leaf1a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf1a - description: dc1-leaf1a - - ip_address: 10.255.255.4 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet2 - - ip_address: 10.255.255.6 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet2 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.4 - rd: 10.255.0.4:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.4 - rd: 10.255.0.4:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.96 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.4:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.4:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.4:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.4:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.4:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.4:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.102/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - no_autostate: true - mtu: 1500 - ip_address: 10.255.1.65/31 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.97/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.97/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf1a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF1C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf1-server1_PortChannel dc1-leaf1-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf1a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf1a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf1a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.5/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet2 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.7/31 -- name: Ethernet8 - peer: dc1-leaf1c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF1C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf1-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF1 - local_interface: Vlan4094 - peer_address: 10.255.1.64 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.4/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.3/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.4/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.4/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf1b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.4 -- name: VRF11 - ip_address: 10.255.11.4 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1c.yml deleted file mode 100644 index 89bd6af..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf1c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf1c -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.151/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF1B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf1-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf1-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF1_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2a.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2a.yml deleted file mode 100644 index 8a9af75..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2a.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2a -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.5 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2b - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2b - description: dc1-leaf2b - - ip_address: 10.255.255.8 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet3 - - ip_address: 10.255.255.10 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet3 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.5 - rd: 10.255.0.5:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.5 - rd: 10.255.0.5:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.101 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.5:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.5:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.5:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.5:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.5:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.5:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.103/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - no_autostate: true - mtu: 1500 - ip_address: 10.255.1.68/31 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.100/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.100/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2b_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2b - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2b_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.9/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet3 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet3 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.11/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet1 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet1 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI1 - peer_type: server - description: dc1-leaf2-server1_PCI1 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.69 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.5/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.5/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.5/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2a_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.5 -- name: VRF11 - ip_address: 10.255.11.5 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2b.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2b.yml deleted file mode 100644 index a8724dd..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2b.yml +++ /dev/null @@ -1,488 +0,0 @@ -hostname: dc1-leaf2b -is_deployed: true -router_bgp: - as: '65102' - router_id: 10.255.0.6 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - type: ipv4 - remote_as: '65102' - next_hop_self: true - description: dc1-leaf2a - password: 4b21pAdCvWeAqpcKDFMdWw== - maximum_routes: 12000 - send_community: all - route_map_in: RM-MLAG-PEER-IN - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - address_family_ipv4: - peer_groups: - - name: MLAG-IPv4-UNDERLAY-PEER - activate: true - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - peer: dc1-leaf2a - description: dc1-leaf2a - - ip_address: 10.255.255.12 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine1 - description: dc1-spine1_Ethernet4 - - ip_address: 10.255.255.14 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65100' - peer: dc1-spine2 - description: dc1-spine2_Ethernet4 - - ip_address: 10.255.0.1 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine1 - description: dc1-spine1 - remote_as: '65100' - - ip_address: 10.255.0.2 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-spine2 - description: dc1-spine2 - remote_as: '65100' - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true - vrfs: - - name: VRF10 - router_id: 10.255.0.6 - rd: 10.255.0.6:10 - route_targets: - import: - - address_family: evpn - route_targets: - - '10:10' - export: - - address_family: evpn - route_targets: - - '10:10' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - - name: VRF11 - router_id: 10.255.0.6 - rd: 10.255.0.6:11 - route_targets: - import: - - address_family: evpn - route_targets: - - '11:11' - export: - - address_family: evpn - route_targets: - - '11:11' - redistribute_routes: - - source_protocol: connected - neighbors: - - ip_address: 10.255.1.100 - peer_group: MLAG-IPv4-UNDERLAY-PEER - vlans: - - id: 11 - tenant: TENANT1 - rd: 10.255.0.6:10011 - route_targets: - both: - - 10011:10011 - redistribute_routes: - - learned - - id: 12 - tenant: TENANT1 - rd: 10.255.0.6:10012 - route_targets: - both: - - 10012:10012 - redistribute_routes: - - learned - - id: 21 - tenant: TENANT1 - rd: 10.255.0.6:10021 - route_targets: - both: - - 10021:10021 - redistribute_routes: - - learned - - id: 22 - tenant: TENANT1 - rd: 10.255.0.6:10022 - route_targets: - both: - - 10022:10022 - redistribute_routes: - - learned - - id: 3401 - tenant: TENANT1 - rd: 10.255.0.6:13401 - route_targets: - both: - - 13401:13401 - redistribute_routes: - - learned - - id: 3402 - tenant: TENANT1 - rd: 10.255.0.6:13402 - route_targets: - both: - - 13402:13402 - redistribute_routes: - - learned -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 4096 - no_spanning_tree_vlan: 4093-4094 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -- name: VRF10 - tenant: TENANT1 - ip_routing: true -- name: VRF11 - tenant: TENANT1 - ip_routing: true -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.104/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -vlans: -- id: 4093 - tenant: system - name: LEAF_PEER_L3 - trunk_groups: - - LEAF_PEER_L3 -- id: 4094 - tenant: system - name: MLAG_PEER - trunk_groups: - - MLAG -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 3009 - name: MLAG_iBGP_VRF10 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3010 - name: MLAG_iBGP_VRF11 - trunk_groups: - - LEAF_PEER_L3 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -vlan_interfaces: -- name: Vlan4093 - description: MLAG_PEER_L3_PEERING - shutdown: false - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan4094 - description: MLAG_PEER - shutdown: false - no_autostate: true - mtu: 1500 - ip_address: 10.255.1.69/31 -- name: Vlan11 - tenant: TENANT1 - description: VRF10_VLAN11 - shutdown: false - ip_address_virtual: 10.10.11.1/24 - vrf: VRF10 -- name: Vlan12 - tenant: TENANT1 - description: VRF10_VLAN12 - shutdown: false - ip_address_virtual: 10.10.12.1/24 - vrf: VRF10 -- name: Vlan3009 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF10' - vrf: VRF10 - mtu: 1500 - ip_address: 10.255.1.101/31 -- name: Vlan21 - tenant: TENANT1 - description: VRF11_VLAN21 - shutdown: false - ip_address_virtual: 10.10.21.1/24 - vrf: VRF11 -- name: Vlan22 - tenant: TENANT1 - description: VRF11_VLAN22 - shutdown: false - ip_address_virtual: 10.10.22.1/24 - vrf: VRF11 -- name: Vlan3010 - tenant: TENANT1 - type: underlay_peering - shutdown: false - description: 'MLAG_PEER_L3_iBGP: vrf VRF11' - vrf: VRF11 - mtu: 1500 - ip_address: 10.255.1.101/31 -port_channel_interfaces: -- name: Port-Channel3 - description: MLAG_PEER_dc1-leaf2a_Po3 - type: switched - shutdown: false - mode: trunk - trunk_groups: - - LEAF_PEER_L3 - - MLAG -- name: Port-Channel8 - description: DC1-LEAF2C_Po1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 - mlag: 8 -- name: Port-Channel5 - description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22 - native_vlan: 4092 - spanning_tree_portfast: edge - mlag: 5 -ethernet_interfaces: -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet3 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet3 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet4 - peer: dc1-leaf2a - peer_interface: Ethernet4 - peer_type: mlag_peer - description: MLAG_PEER_dc1-leaf2a_Ethernet4 - type: port-channel-member - shutdown: false - channel_group: - id: 3 - mode: active -- name: Ethernet1 - peer: dc1-spine1 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE1_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.13/31 -- name: Ethernet2 - peer: dc1-spine2 - peer_interface: Ethernet4 - peer_type: spine - description: P2P_LINK_TO_DC1-SPINE2_Ethernet4 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.15/31 -- name: Ethernet8 - peer: dc1-leaf2c - peer_interface: Ethernet2 - peer_type: l2leaf - description: DC1-LEAF2C_Ethernet2 - shutdown: false - type: port-channel-member - channel_group: - id: 8 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: PCI2 - peer_type: server - description: dc1-leaf2-server1_PCI2 - shutdown: false - type: port-channel-member - channel_group: - id: 5 - mode: active -mlag_configuration: - domain_id: DC1_L3_LEAF2 - local_interface: Vlan4094 - peer_address: 10.255.1.68 - peer_link: Port-Channel3 - reload_delay_mlag: '300' - reload_delay_non_mlag: '330' -route_maps: -- name: RM-MLAG-PEER-IN - sequence_numbers: - - sequence: 10 - type: permit - set: - - origin incomplete - description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.6/32 -- name: Loopback1 - description: VTEP_VXLAN_Tunnel_Source - shutdown: false - ip_address: 10.255.1.5/32 -- name: Loopback10 - description: VRF10_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF10 - ip_address: 10.255.10.6/32 -- name: Loopback11 - description: VRF11_VTEP_DIAGNOSTICS - shutdown: false - vrf: VRF11 - ip_address: 10.255.11.6/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 - - sequence: 20 - action: permit 10.255.1.0/27 eq 32 -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -ip_igmp_snooping: - globally_enabled: true -ip_virtual_router_mac_address: 00:1c:73:00:00:99 -vxlan_interface: - Vxlan1: - description: dc1-leaf2b_VTEP - vxlan: - udp_port: 4789 - source_interface: Loopback1 - virtual_router_encapsulation_mac_address: mlag-system-id - vlans: - - id: 11 - vni: 10011 - - id: 12 - vni: 10012 - - id: 21 - vni: 10021 - - id: 22 - vni: 10022 - - id: 3401 - vni: 13401 - - id: 3402 - vni: 13402 - vrfs: - - name: VRF10 - vni: 10 - - name: VRF11 - vni: 11 -virtual_source_nat_vrfs: -- name: VRF10 - ip_address: 10.255.10.6 -- name: VRF11 - ip_address: 10.255.11.6 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2c.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2c.yml deleted file mode 100644 index a41fff4..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-leaf2c.yml +++ /dev/null @@ -1,123 +0,0 @@ -hostname: dc1-leaf2c -is_deployed: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: mstp - mst_instances: - - id: '0' - priority: 32768 -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.152/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf2a - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2A_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet2 - peer: dc1-leaf2b - peer_interface: Ethernet8 - peer_type: l3leaf - description: DC1-LEAF2B_Ethernet8 - shutdown: false - type: port-channel-member - channel_group: - id: 1 - mode: active -- name: Ethernet5 - peer: dc1-leaf2-server1 - peer_interface: iLO - peer_type: server - description: dc1-leaf2-server1_iLO - shutdown: false - type: switched - mode: access - vlans: '11' - spanning_tree_portfast: edge -port_channel_interfaces: -- name: Port-Channel1 - description: DC1_L3_LEAF2_Po8 - type: switched - shutdown: false - mode: trunk - vlans: 11-12,21-22,3401-3402 -vlans: -- id: 11 - name: VRF10_VLAN11 - tenant: TENANT1 -- id: 12 - name: VRF10_VLAN12 - tenant: TENANT1 -- id: 21 - name: VRF11_VLAN21 - tenant: TENANT1 -- id: 22 - name: VRF11_VLAN22 - tenant: TENANT1 -- id: 3401 - name: L2_VLAN3401 - tenant: TENANT1 -- id: 3402 - name: L2_VLAN3402 - tenant: TENANT1 -ip_igmp_snooping: - globally_enabled: true -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-spine1.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-spine1.yml deleted file mode 100644 index 5377ee2..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-spine1.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine1 -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.1 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.1 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet1 - - ip_address: 10.255.255.5 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet1 - - ip_address: 10.255.255.9 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet1 - - ip_address: 10.255.255.13 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet1 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.11/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.0/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.4/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.8/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet1 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet1 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.12/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.1/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -metadata: - platform: vEOS-lab diff --git a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-spine2.yml b/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-spine2.yml deleted file mode 100644 index 701251c..0000000 --- a/tests/data/single-dc-l3ls-fabric/intended-golden-4.8.0/structured_configs/dc1-spine2.yml +++ /dev/null @@ -1,199 +0,0 @@ -hostname: dc1-spine2 -is_deployed: true -router_bgp: - as: '65100' - router_id: 10.255.0.2 - bgp: - default: - ipv4_unicast: false - maximum_paths: - paths: 4 - ecmp: 4 - peer_groups: - - name: IPv4-UNDERLAY-PEERS - type: ipv4 - password: 7x4B4rnJhZB438m9+BrBfQ== - maximum_routes: 12000 - send_community: all - - name: EVPN-OVERLAY-PEERS - type: evpn - update_source: Loopback0 - bfd: true - password: Q4fqtbqcZ7oQuKfuWtNGRQ== - send_community: all - maximum_routes: 0 - ebgp_multihop: 3 - next_hop_unchanged: true - address_family_ipv4: - peer_groups: - - name: IPv4-UNDERLAY-PEERS - activate: true - - name: EVPN-OVERLAY-PEERS - activate: false - redistribute_routes: - - source_protocol: connected - route_map: RM-CONN-2-BGP - neighbors: - - ip_address: 10.255.255.3 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1a - description: dc1-leaf1a_Ethernet2 - - ip_address: 10.255.255.7 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65101' - peer: dc1-leaf1b - description: dc1-leaf1b_Ethernet2 - - ip_address: 10.255.255.11 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2a - description: dc1-leaf2a_Ethernet2 - - ip_address: 10.255.255.15 - peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' - peer: dc1-leaf2b - description: dc1-leaf2b_Ethernet2 - - ip_address: 10.255.0.3 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1a - description: dc1-leaf1a - remote_as: '65101' - - ip_address: 10.255.0.4 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf1b - description: dc1-leaf1b - remote_as: '65101' - - ip_address: 10.255.0.5 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2a - description: dc1-leaf2a - remote_as: '65102' - - ip_address: 10.255.0.6 - peer_group: EVPN-OVERLAY-PEERS - peer: dc1-leaf2b - description: dc1-leaf2b - remote_as: '65102' - address_family_evpn: - peer_groups: - - name: EVPN-OVERLAY-PEERS - activate: true -static_routes: -- vrf: MGMT - destination_address_prefix: 0.0.0.0/0 - gateway: 172.16.1.1 -service_routing_protocols_model: multi-agent -ip_routing: true -daemon_terminattr: - cvaddrs: - - 192.168.1.12:9910 - cvauth: - method: token - token_file: /tmp/token - cvvrf: MGMT - smashexcludes: ale,flexCounter,hardware,kni,pulse,strata - ingestexclude: /Sysdb/cell/1/agent,/Sysdb/cell/2/agent - disable_aaa: true -vlan_internal_order: - allocation: ascending - range: - beginning: 1006 - ending: 1199 -ip_name_servers: -- ip_address: 192.168.1.1 - vrf: MGMT -spanning_tree: - mode: none -local_users: -- name: admin - privilege: 15 - role: network-admin - no_password: true -- name: ansible - privilege: 15 - role: network-admin - sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920 -vrfs: -- name: MGMT - ip_routing: false -management_interfaces: -- name: Management1 - description: oob_management - shutdown: false - vrf: MGMT - ip_address: 172.16.1.12/24 - gateway: 172.16.1.1 - type: oob -management_api_http: - enable_vrfs: - - name: MGMT - enable_https: true -ntp: - local_interface: - name: Management1 - vrf: MGMT - servers: - - name: 0.pool.ntp.org - vrf: MGMT - preferred: true -ethernet_interfaces: -- name: Ethernet1 - peer: dc1-leaf1a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.2/31 -- name: Ethernet2 - peer: dc1-leaf1b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF1B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.6/31 -- name: Ethernet3 - peer: dc1-leaf2a - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2A_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.10/31 -- name: Ethernet4 - peer: dc1-leaf2b - peer_interface: Ethernet2 - peer_type: l3leaf - description: P2P_LINK_TO_DC1-LEAF2B_Ethernet2 - shutdown: false - mtu: 1500 - type: routed - ip_address: 10.255.255.14/31 -loopback_interfaces: -- name: Loopback0 - description: EVPN_Overlay_Peering - shutdown: false - ip_address: 10.255.0.2/32 -prefix_lists: -- name: PL-LOOPBACKS-EVPN-OVERLAY - sequence_numbers: - - sequence: 10 - action: permit 10.255.0.0/27 eq 32 -route_maps: -- name: RM-CONN-2-BGP - sequence_numbers: - - sequence: 10 - type: permit - match: - - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -router_bfd: - multihop: - interval: 300 - min_rx: 300 - multiplier: 3 -metadata: - platform: vEOS-lab