1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

feature #3808: add vnet GUEST_MTU to context file

It's added as MTU for each vnet, for example:

ETH0_MTU="1450"
This commit is contained in:
Javi Fontan 2015-09-14 16:56:46 +02:00
parent 2783c1cb11
commit 333f246efa

View File

@ -143,8 +143,9 @@ const char * VirtualMachine::NETWORK_CONTEXT[][2] = {
{"NETWORK", "NETWORK_ADDRESS"},
{"GATEWAY", "GATEWAY"},
{"DNS", "DNS"},
{"SEARCH_DOMAIN", "SEARCH_DOMAIN"}};
const int VirtualMachine::NUM_NETWORK_CONTEXT = 7;
{"SEARCH_DOMAIN", "SEARCH_DOMAIN"},
{"MTU", "GUEST_MTU"}};
const int VirtualMachine::NUM_NETWORK_CONTEXT = 8;
const char* VirtualMachine::NETWORK6_CONTEXT[][2] = {
{"IP6", "IP6_GLOBAL"},