From 0700f847c59d44155ad89917b52dd58dc89f3b73 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 11 Mar 2026 19:24:05 +0000
Subject: [PATCH] Allocate point-to-point addresses when option ptp=1 is specified

---
 README.md |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index ab2d165..c4360c0 100644
--- a/README.md
+++ b/README.md
@@ -5,9 +5,12 @@
 
 It should be a drop-in replacement for "default" IPAM module.
 
+![Build status](https://github.com/jacekkow/docker-plugin-pyipam/workflows/Release/badge.svg)
+
 ## Installation
 
 Plugin is packaged as [Docker Engine-managed plugin](https://docs.docker.com/engine/extend/).
+Check out [plugin page on Docker Hub](https://hub.docker.com/p/jacekkow/pyipam).
 
 To install it simply run:
 
@@ -23,6 +26,22 @@
 
 Check out [`test_integration.sh`](test_integration.sh) for more examples.
 
+## Options
+
+To use options, add `--ipam-opt option=value` as an argument of `docker network create`:
+
+```bash
+docker network create --ipam-driver jacekkow/pyipam:latest --ipam-opt ptp=1 new-network
+```
+
+Available options:
+
+`ptp=1`
+
+When set addresses with netmask /32 (IPv4) or /128 (IPv6) are handed out.
+In this mode all IP addresses are handed out from the subnet,
+including ones that would be "network address" and "broadcast address"!
+
 ## Manual packaging
 
 In order to test this module in development environment, you can build it
@@ -30,5 +49,3 @@
 
 You can also use `package.sh` helper script which will perform
 all the steps (including installation) automatically.
-
-

--
Gitblit v1.10.0