Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmontero authored May 20, 2020
2 parents d10b9d3 + 3b56714 commit d7a2f69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/etc/oned.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,8 @@ INHERIT_VNET_ATTR = "FILTER"
INHERIT_VNET_ATTR = "FILTER_IP_SPOOFING"
INHERIT_VNET_ATTR = "FILTER_MAC_SPOOFING"
INHERIT_VNET_ATTR = "MTU"
INHERIT_VNET_ATTR = "METRIC"
INHERIT_VNET_ATTR = "METRIC6"
INHERIT_VNET_ATTR = "INBOUND_AVG_BW"
INHERIT_VNET_ATTR = "INBOUND_PEAK_BW"
INHERIT_VNET_ATTR = "INBOUND_PEAK_KB"
Expand Down
2 changes: 2 additions & 0 deletions src/vm/VirtualMachineContext.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const std::vector<ContextVariable> NETWORK_CONTEXT = {
{"DNS", "DNS", "", true},
{"SEARCH_DOMAIN", "SEARCH_DOMAIN", "", true},
{"MTU", "GUEST_MTU", "", true},
{"METRIC", "METRIC", "", true},
{"VLAN_ID", "VLAN_ID", "", true},
{"VROUTER_IP", "VROUTER_IP", "", false},
{"VROUTER_MANAGEMENT", "VROUTER_MANAGEMENT", "", false},
Expand All @@ -59,6 +60,7 @@ const std::vector<ContextVariable> NETWORK6_CONTEXT = {
{"IP6", "IP6_GLOBAL", "IP6", false},
{"IP6_ULA", "IP6_ULA", "", false},
{"GATEWAY6", "GATEWAY6", "", true},
{"METRIC6", "METRIC6", "", true},
{"CONTEXT_FORCE_IPV4", "CONTEXT_FORCE_IPV4", "", true},
{"IP6_PREFIX_LENGTH", "PREFIX_LENGTH", "", true},
{"VROUTER_IP6", "VROUTER_IP6_GLOBAL", "VROUTER_IP6", false},
Expand Down

0 comments on commit d7a2f69

Please sign in to comment.