https://github.com/hatena/ipdrawer
Light-weight IP Address Management (IPAM) application which has gRPC and REST API interfaces
https://github.com/hatena/ipdrawer
golang grpc ipam rest-api
Last synced: 2 months ago
JSON representation
Light-weight IP Address Management (IPAM) application which has gRPC and REST API interfaces
- Host: GitHub
- URL: https://github.com/hatena/ipdrawer
- Owner: hatena
- Archived: true
- Created: 2017-07-27T05:52:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T06:04:16.000Z (about 3 years ago)
- Last Synced: 2024-11-15T23:37:10.771Z (over 1 year ago)
- Topics: golang, grpc, ipam, rest-api
- Language: Go
- Homepage:
- Size: 11.3 MB
- Stars: 33
- Watchers: 21
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :warning: As of March 2023, In our environment, ipdrawer is no longer in production, so we made this repository public arvhice. :warning:
# IPDrawer
## What is IPDrawer?
IPDrawer is IP Address Management (IPAM) application and the code is written in Golang.
## Features
* IPDrawer can assigne IP from the predefined IP pools.
* IPDrawer has gRPC and REST API interfaces.
## API Docs
* [REST API Reference](/pkg/server/apiclient/README.md)
* `./ipdrawer start --redis-host localhost` and access to `http://localhost:25577/swagger-ui`
## Development
### Prerequisite
* Go
* make
### Generate a binary
```bash
$ make
$ ./ipdrawer --help
```
### Generate proto files
```bash
$ make proto
```
### Run test
```bash
$ make test
```
### (Option) CI/CD Pipeline
- buildspec.yml
- build docker image and push to ECR
- create-pr.sh
- Create PR in another repository for deploy (GitOps)
## Author
[taku-k](https://github.com/taku-k)