description => "alias name of the vnet",
optional => 1,
},
- mtu => {
- type => 'integer',
- description => "mtu",
- optional => 1,
- },
ipv4 => {
description => "Anycast router ipv4 address.",
type => 'string', format => 'CIDRv4',
alias => { optional => 1 },
ipv4 => { optional => 1 },
ipv6 => { optional => 1 },
- mtu => { optional => 1 },
mac => { optional => 1 },
};
}
nodes => { optional => 1},
'vrf-vxlan' => { optional => 0 },
'controller' => { optional => 0 },
+ mtu => { optional => 1 },
};
}
my $mtu = 1450;
$mtu = $interfaces_config->{$iface}->{mtu} - 50 if $interfaces_config->{$iface}->{mtu};
- $mtu = $vnet->{mtu} if $vnet->{mtu};
+ $mtu = $vnet->{mtu} if $plugin_config->{mtu};
#vxlan interface
my @iface_config = ();
type => 'integer',
description => "vlan tag",
},
+ mtu => {
+ type => 'integer',
+ description => "mtu",
+ optional => 1,
+ },
};
}
nodes => { optional => 1},
'tag' => { optional => 0 },
'bridge' => { optional => 0 },
+ 'mtu' => { optional => 1 },
};
}
return {
nodes => { optional => 1},
peers => { optional => 0 },
+ mtu => { optional => 1 },
};
}
my $mtu = 1450;
$mtu = $interfaces_config->{$iface}->{mtu} - 50 if $interfaces_config->{$iface}->{mtu};
- $mtu = $vnet->{mtu} if $vnet->{mtu};
+ $mtu = $vnet->{mtu} if $plugin_config->{mtu};
#vxlan interface
my @iface_config = ();