Merge pull request #307 from SchSeba/l2-macvlan

Allow to configure empty ipam for macvlan
This commit is contained in:
Casey Callendrello
2019-05-08 17:27:52 +02:00
committed by GitHub
3 changed files with 166 additions and 49 deletions

View File

@@ -26,7 +26,7 @@ Since each macvlan interface has its own MAC address, it makes it easy to use wi
* `master` (string, optional): name of the host interface to enslave. Defaults to default route interace.
* `mode` (string, optional): one of "bridge", "private", "vepa", "passthru". Defaults to "bridge".
* `mtu` (integer, optional): explicitly set MTU to the specified value. Defaults to the value chosen by the kernel.
* `ipam` (dictionary, required): IPAM configuration to be used for this network.
* `ipam` (dictionary, required): IPAM configuration to be used for this network. For interface only without ip address, create empty dictionary.
## Notes