You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fast, containerized network pinger API with Redis caching and real-time task handling.
Summary:
This is simple API that pings subnet of given ip addresses and
returns ping results. Both Ipv4 and Ipv6 addresses are supported.
Pinging is performed asynchronously using Celery. The API
prioritizes speed and efficiency by caching recent results
and storing older ones for later retrieval.
Dockerization of the project makes it easy to deploy and manage.
Use a Postman collection for detailed request/response samples.
Requirements:
docker
Run:
cp config/.env.example config/.env
docker compose up --build -d
Endpoints:
POST /pinger/ # create networkGET /pinger/ # list networksGET /pinger/{network_id}/ # list ping resultDELETE /pinger/{network_id}/ # delete network
Example Requests/Responses:
Request:
POST /pinger/Body:
{
"ip_address": "192.168.1.1",
"subnet_mask": 24
}