Commit bc999107 by Thomas Parrott

api: Adds the network_phys_macvlan_mtu extension

This will allow LXD to check for custom MTU support for phys and macvlan devices. Signed-off-by: 's avatarThomas Parrott <thomas.parrott@canonical.com>
parent 0b154989
......@@ -91,3 +91,8 @@ This introduces the ability to specify `lxc.net.[i].ipv4.gateway` and/or
`lxc.net.[i].ipv6.gateway` with a value of `dev` which will cause the default gateway
inside the container to be created as a device route without destination gateway IP needed.
This is primarily intended for use with layer 3 networking devices, such as IPVLAN.
## network\_phys\_macvlan\_mtu
This introduces the ability to specify a custom MTU for `phys` and `macvlan` devices using the
`lxc.net.[i].mtu` property.
......@@ -48,6 +48,7 @@ static char *api_extensions[] = {
"network_ipvlan",
"network_l2proxy",
"network_gateway_device_route",
"network_phys_macvlan_mtu",
};
static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment