hatena / ipdrawer

Light-weight IP Address Management (IPAM) application which has gRPC and REST API interfaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚠️ As of March 2023, In our environment, ipdrawer is no longer in production, so we made this repository public arvhice. ⚠️

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
  • ./ipdrawer start --redis-host localhost and access to http://localhost:25577/swagger-ui

Development

Prerequisite

  • Go
  • make

Generate a binary

$ make
$ ./ipdrawer --help

Generate proto files

$ make proto

Run test

$ 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

About

Light-weight IP Address Management (IPAM) application which has gRPC and REST API interfaces


Languages

Language:Go 98.0%Language:Makefile 1.5%Language:Shell 0.4%Language:Dockerfile 0.1%