{"id":29085906,"url":"https://github.com/linode/lelastic","last_synced_at":"2025-07-29T06:09:45.481Z","repository":{"id":39796558,"uuid":"422606119","full_name":"linode/lelastic","owner":"linode","description":"elastic IP client","archived":false,"fork":false,"pushed_at":"2024-07-22T18:52:54.000Z","size":97,"stargazers_count":8,"open_issues_count":6,"forks_count":13,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-06-27T23:07:10.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/linode.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":"2021-10-29T14:29:23.000Z","updated_at":"2025-03-11T14:56:54.000Z","dependencies_parsed_at":"2024-06-19T16:55:02.902Z","dependency_job_id":"41bc13df-ae94-4484-8947-2558dc147081","html_url":"https://github.com/linode/lelastic","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"3b03aa8a8f3abe29e5566c6cf591f473fac8050c"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/linode/lelastic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linode%2Flelastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linode%2Flelastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linode%2Flelastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linode%2Flelastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linode","download_url":"https://codeload.github.com/linode/lelastic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linode%2Flelastic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266263057,"owners_count":23901353,"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":[],"created_at":"2025-06-27T23:06:56.081Z","updated_at":"2025-07-21T08:01:35.272Z","avatar_url":"https://github.com/linode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lelastic\n\n### what is lelastic\nlelastic is a elastic IP client designed to make the use of elastic IPs as easy as possible\nit does not need any configuration dependencies or advanced bgp skills\n\n### caveats\n- this tool is completely optional and any bgp client/daemon of your choice will do the job.\n- the sole purpose of this tool is to get you up and running as fast and easy as possible\n- it does not support any fancy or advanced bgp trickery\n\n### notes\n- lelastic is basically a wrapper for gobgp (https://github.com/osrg/gobgp)\n- lelastic when started up exposes the gobgp API, just like gobgp does on port 50051\n\t- since version 0.0.6 this is bound to localhost only. prior to this it was actually exposed\n\n### how it works\na few assumptions are made by this tool:\n- your elastic IP needs to be configured on \"lo\" interface\n- for ipv4 you need to configure the IP as a /32 tied to the loopback interface\n- for ipv6 you can use any IP out of your /64 or /56 and of any subnet size as a loopback IP. if you want to announce your subnet as a /56 you need to toggle the flag `-send56` otherwise it will default to announcing a /64\n\n\n### install:\n```\nversion=v0.0.6\ncurl -LO https://github.com/linode/lelastic/releases/download/$version/lelastic.gz\ngunzip lelastic.gz\nchmod 755 lelastic\nmv lelastic /usr/local/bin/\n```\n\n#### containerizing:\n\nYou can containzerize lelastic using Docker and push it to a registry. Use this approach if you'd like to use lelastic in a kubernetes cluster.\n\n* First, be on a Linux machine or a Linode.\n* Build the container: `cd lelastic \u0026\u0026 docker build -t lelastic .`\n* Tag the container: `docker tag lelastic your-name-here/lelastic:latest`\n* Optionally run on your machine to test it first: `docker run -dp 3000:3000 lelastic` \n* Push it to a registry for your kubernetes cluster to pull from later: `docker push your-name-here/lelastic:latest`\n\n\n### usage:\n```\nUsage of ./lelastic:\n  -dcid int\n        dcid for your DC\n  -logjson\n        set log format to json\n  -loglevel string\n        set log level: trace, debug, info or warn (default \"info\")\n  -primary\n        advertise as primary\n  -secondary\n        advertise as secondary\n  -send56\n        Advertise ipv6 as /56 subnet (defaults to /64)\n```\n\n### example:\n- to annnounce the linode as primary simply run\n```\n./lelastic -dcid 10 -primary\n```\n\n- to annnounce the linode as secondary simply run\n```\n./lelastic -dcid 10 -secondary\n```\n\n- to annnounce the IPv6 on your loopback as a /56 subnet\n```\n./lelastic -dcid 10 -primary -send56\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinode%2Flelastic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinode%2Flelastic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinode%2Flelastic/lists"}