f-56: agent: MTU unique network.mtu_vm, underlay à 9000 contrôlé à la création, option DHCP 26 et host_mtu #56
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
8eb77b302b
commit
8639c4727f
37 changed files with 518 additions and 24 deletions
|
|
@ -93,6 +93,18 @@ func TestTwoPushSubnet_ReachesTheStore(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestTwoPushSubnet_CarriesTheMTU(t *testing.T) {
|
||||
b, s, store := twoBackend(t)
|
||||
s.MTU = 1450
|
||||
|
||||
if err := b.pushSubnet(s); err != nil {
|
||||
t.Fatalf("pushSubnet: %v", err)
|
||||
}
|
||||
if got, _ := store.Subnet(); got.MTU != 1450 {
|
||||
t.Errorf("mtu = %d, want 1450", got.MTU)
|
||||
}
|
||||
}
|
||||
|
||||
func TestTwoPushSubnet_OmitsAnAbsentVPCRouteAndGateway(t *testing.T) {
|
||||
b, s, store := twoBackend(t)
|
||||
s.VPCRoute = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue