{"id":37713711,"url":"https://github.com/hujun-open/knl","last_synced_at":"2026-02-26T10:01:26.793Z","repository":{"id":332621703,"uuid":"1133845095","full_name":"hujun-open/knl","owner":"hujun-open","description":"Kubenetlab, run virtual network lab topology on k8s","archived":false,"fork":false,"pushed_at":"2026-02-26T04:36:34.000Z","size":650,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-26T08:13:39.686Z","etag":null,"topics":["kubernetes","lab","mag-c","networking","router","srlinux","sros"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hujun-open.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-13T22:30:57.000Z","updated_at":"2026-02-26T04:36:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hujun-open/knl","commit_stats":null,"previous_names":["hujun-open/knl"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/hujun-open/knl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fknl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fknl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fknl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fknl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hujun-open","download_url":"https://codeload.github.com/hujun-open/knl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fknl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29855950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["kubernetes","lab","mag-c","networking","router","srlinux","sros"],"created_at":"2026-01-16T13:22:32.523Z","updated_at":"2026-02-26T10:01:26.789Z","avatar_url":"https://github.com/hujun-open.png","language":"Go","readme":"# \u003ca href=\"https://hujun-open.github.io/knldoc/\"\u003e\u003cimg src=\"logo.png\" width=\"200\"\u003e \u003c/a\u003e\nKubeNetLab (KNL) is a k8s operator creates and manages virtual network topology consists of VNF/CNF for learning and testing purposes. \n\n### [Check here](https://hujun-open.github.io/knldoc/) for installation \u0026 usage guide.\n\n\nKNL has following key features:\n\n1. Running on top of k8s with capability of to scale out to entire k8s cluster. e.g. a single lab topology could span across multiple servers.\n2. Topology is defined via KNL `Lab` CR, standard k8s tool like `kubectl` or `k9s` could be used to create/manage labs, while KNL cli tool `knlcli` provides more user friendly CLI operations.\n3. Supports both CNF and VNF, following are node types supported today:\n    - Nokia vSIM\n    - Nokia SR-SIM\n    - Nokia VSR-I\n    - Nokia MAG-c\n    - Nokia SRLinux\n    - General Virtual Machine\n    - General pod\n\nFollow YAML defines a simple example-lab contains a Nokia SR-SIM and a Nokia vSIM, with default chassis configuration, connects to each other via a virtual link `link1`.\n\n```yaml\napiVersion: knl.kubenetlab.net/v1beta1\nkind: Lab\nmetadata:\n    name: example-lab\n    namespace: knl-system\nspec:           \n  links:\n    link1: \n      nodes:\n      - node: srsim-1\n      - node: vsim-1\n```\n\n\nUse KNL command line tool `knlcli` to check the created Lab, the two lab nodes(`srsim-1` and `vsim-1`) run on two different servers (`worker-1` and `worker-2`), `link1` spans across these two servers.\n```bash\nuser@svr-1:~$ knlcli show\nexample-lab:\n   Node      Type    Chassis   Pods                                       Worker/PodIP\n   srsim-1   SRSIM   SR-7      example-lab-srsim-1                        worker-1/10.244.2.92\n   vsim-1    VSIM    SR-7      virt-launcher-example-lab-vsim-1-1-cjfn6   worker-2/10.244.0.95\n                               virt-launcher-example-lab-vsim-1-a-lvhqd   worker-2/10.244.0.115\n   Link      Nodes\n   link1     srsim-1\n             vsim-1\n\n```\n\n## knlcli\n`knlcli` is the command line tool for the KNL, [download from here](https://github.com/hujun-open/knlcli/releases)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhujun-open%2Fknl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhujun-open%2Fknl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhujun-open%2Fknl/lists"}