{"id":16139411,"url":"https://github.com/networkop/dpu-ptp","last_synced_at":"2026-02-15T15:06:08.587Z","repository":{"id":83590163,"uuid":"383534738","full_name":"networkop/dpu-ptp","owner":"networkop","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-10T14:58:30.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-18T13:50:25.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/networkop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-07-06T16:33:50.000Z","updated_at":"2021-09-10T14:58:33.000Z","dependencies_parsed_at":"2023-07-07T21:45:11.512Z","dependency_job_id":null,"html_url":"https://github.com/networkop/dpu-ptp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/networkop/dpu-ptp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fdpu-ptp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fdpu-ptp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fdpu-ptp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fdpu-ptp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/networkop","download_url":"https://codeload.github.com/networkop/dpu-ptp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fdpu-ptp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29481925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-09T23:49:00.814Z","updated_at":"2026-02-15T15:06:08.563Z","avatar_url":"https://github.com/networkop.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Requirements\n\nAnsible 2.10+ needs to be installed:\n\n```\nsudo apt update \nsudo apt install python3-pip -y\nsudo python3 -m pip install ansible~=2.10\n```\n\nInstall extra dependencies:\n\n```\nsudo python3 -m pip install docker\nsudo ansible-galaxy collection install -r collections/requirements.yml\n```\n\n## Boostrapping PTP\n\n\u003e Note: the playbook automates all the steps from the DPU Deployment Guide starting from 7.2 `Switch from DPU-embedded mode to SEPERATED_HOST mode`\n\n1. Make sure your NGC credentials are exported like this:\n\n```\nexport NGC_KEY='...'\n```\n\nTo get the API key login ngc.nvidia.com and go to Setup-\u003eGenerate API Key, press the Generate API Key from the top right corner.\n\n2. Make sure you've downloaded the mlxconfig_host.db from the [Rivermax Getting Started page](https://developer.nvidia.com/networking/rivermax-getting-started) and copied the file to the DPU.\n\n3. Check the input variables and update them to match your environment\n\n```\nip_address: 20.138.1.1/16\nptp_interface: p0\nmlx_config_path: /home/ubuntu/mlxconfig_host.db\n```\n\n4. Update the inventory to match the details of the DPU\n\nThe following information will be used by Ansible to SSH into the DPU:\n\n```\n$ cat hosts\nbluefield ansible_host=172.16.0.190 ansible_user=ubuntu ansible_password=ubuntu\n```\n\n5. Bootstrap PTP \n\n```\nansible-playbook -i hosts -e NGC_KEY=$NGC_KEY bootstrap.yml\n```\n\n\n\u003e Note: by default this playbook will stop if it detects that the mode is not correct. It's possible to make it change the mode and force-reboot the DPU by passing an extra arguments `-e safe=false`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkop%2Fdpu-ptp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworkop%2Fdpu-ptp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkop%2Fdpu-ptp/lists"}