Whereabouts also accepts all options from the static IPAM plugin:
https://github.com/containernetworking/plugins/tree/master/plugins/ipam/static
Whereabouts also accepts all options from the static IPAM plugin:
https://github.com/containernetworking/plugins/tree/master/plugins/ipam/static
{ | |
"cniVersion": "0.3.0", | |
"type": "macvlan", | |
"master": "ens5", | |
"mode": "bridge", | |
"ipam": { | |
"type": "whereabouts", | |
"range": "192.168.2.0/24", | |
"exclude": [ | |
"192.168.2.255/32" | |
], | |
} | |
} |
{ | |
"cniVersion": "0.3.0", | |
"type": "macvlan", | |
"master": "ens5", | |
"mode": "bridge", | |
"ipam": { | |
"type": "whereabouts", | |
"range": "192.168.2.225/28", | |
"routes": [ | |
{ "dst": "0.0.0.0/0" }, | |
{ "dst": "192.168.0.0/16", "gw": "10.10.5.1" }, | |
{ "dst": "3ffe:ffff:0:01ff::1/64" } | |
] | |
} | |
} |