{"id":18678168,"url":"https://github.com/srl-labs/nokia-basic-dci-lab","last_synced_at":"2025-04-12T02:40:28.647Z","repository":{"id":227734228,"uuid":"768288141","full_name":"srl-labs/nokia-basic-dci-lab","owner":"srl-labs","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-10T14:15:20.000Z","size":814,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-05T22:08:19.352Z","etag":null,"topics":["clab-topo"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srl-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-06T20:11:23.000Z","updated_at":"2024-05-28T10:08:43.000Z","dependencies_parsed_at":"2024-03-24T20:29:31.788Z","dependency_job_id":"69d258f7-ac5c-4152-87c6-a6fa0ccfb6c7","html_url":"https://github.com/srl-labs/nokia-basic-dci-lab","commit_stats":null,"previous_names":["srl-labs/nokia-basic-dci-lab"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srl-labs%2Fnokia-basic-dci-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srl-labs%2Fnokia-basic-dci-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srl-labs%2Fnokia-basic-dci-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srl-labs%2Fnokia-basic-dci-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srl-labs","download_url":"https://codeload.github.com/srl-labs/nokia-basic-dci-lab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507465,"owners_count":21115605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clab-topo"],"created_at":"2024-11-07T09:36:15.698Z","updated_at":"2025-04-12T02:40:28.612Z","avatar_url":"https://github.com/srl-labs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nokia-basic-dci-lab\n\nA basic Datacenter Interconnect (DCI) lab for with leaf/spine switches powered by SR Linux and DC Gateway and P routers powered by Nokia 7750 SR OS.\n\nIn this lab, you will see two DC fabrics with VXLAN/EVPN and a WAN network that interconnects them with BGP-VPN. \n\nThere are clients connected to Leaf routers(see the topology below) in every site to test the connectivity in the fabric as well as inter-dc.\n\n## Images \u0026 License\n\nThis lab requires containerized images of both SR Linux and SROS and a valid vSIM license for SROS.\nSR Linux container image is automatically pulled from the public repository upon deploying the lab. (See the topology file)\nSROS container image is available via a Nokia private repository, but can also be derived from an vSIM VM image via [VRNETLAB](https://containerlab.dev/manual/vrnetlab/#vrnetlab).\n\n## Topology\n\n![image](https://github.com/srl-labs/nokia-basic-dci-lab/assets/17744051/1f3d61a0-ae6a-42b2-b680-c282a6462d41)\n\n## Deploy on containerlab\n\nFrom within the cloned directory run:\n\n```bash\nsudo clab deploy -c\n```\n\n## Deploy on c9s\n\n### Install clabernetes\n\n```bash\nhelm upgrade --install --create-namespace --namespace c9s \\\n    clabernetes oci://ghcr.io/srl-labs/clabernetes/clabernetes\n```\n\n### Setup clabverter\n\n```bash\nalias clabverter='sudo docker run --user $(id -u) \\\n    -v /opt/nokia:/opt/nokia \\\n    -v $(pwd):/clabernetes/work --rm \\\n    ghcr.io/srl-labs/clabernetes/clabverter:latest'\n```\n\n### Run clabverter\n\n```bash\nclabverter --stdout --naming non-prefixed --disableExpose \\\n| kubectl apply -f -\n```\n\n## Client connectivity validation\n\n![image](https://github.com/srl-labs/nokia-basic-dci-lab/assets/17744051/8df72bfe-9a2e-4a0d-a12a-26302f1054f9)\n\nThe `netcheck.sh` script will run ping from client1 in DC1 to other clients. That will validate connectivity within and between the dc fabrics.\n\n### With containerlab\n\n```bash\n./netcheck.sh\n```\n\n### With c9s\n\nAutomated ping tests from client1 towards client2, client3 and client4 can be done with:\n\n```bash\n./netcheck-c9s.sh\n```\n\nThe output will show the success or failure of the ping tests for each destination.\n\nTo run the ping tests manually, use the following command:\n\n```bash\nkubectl exec -it -n c9s-dci \u003cpod-name-for-client1\u003e -- docker exec -it client1-dc1 ping 10.0.0.4\n```\n\n## Cleanup\n\n### Containerlab\n\n```bash\nsudo clab destroy -c\n```\n\n### c9s\n\n```bash\nkubectl delete namespace c9s-dci\n```\n\nIf you wish to also uninstall the clabernetes:\n\n```bash\nhelm uninstall -n c9s clabernetes \u0026\u0026 \\\nkubectl delete namespace c9s\n```\n\n## Misc\n\n### Traffic capture with wireshark\n\n```bash\npcapc9s.sh \u003chost-with-kubectl\u003e c9s-dci client4 eth1\n```\n\n### Replace underscores in names\n\n```\nsed -ir 's/([a-zA-Z0-9]+)_dc/\\1-dc/g' dci.clab.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrl-labs%2Fnokia-basic-dci-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrl-labs%2Fnokia-basic-dci-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrl-labs%2Fnokia-basic-dci-lab/lists"}