Skip to content

Commit

Permalink
Bring up IPv6 only virtual as well on startup
Browse files Browse the repository at this point in the history
Like for IPv4 bring up IPv6 configured virtual PIF when
starting up an host.

Signed-off-by: Benjamin Reis <[email protected]>
  • Loading branch information
benjamreis committed Sep 30, 2024
1 parent bbb642e commit 07d5fd2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ocaml/xapi/xapi_pif.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,12 @@ let calculate_pifs_required_at_start_of_day ~__context =
( Not (Eq (Field "bond_master_of", Literal "()"))
, Eq (Field "physical", Literal "true")
)
, Not (Eq (Field "ip_configuration_mode", Literal "None"))
, Not
( And
( Eq (Field "ip_configuration_mode", Literal "None")
, Eq (Field "ipv6_configuration_mode", Literal "None")
)
)
)
)
)
Expand Down

0 comments on commit 07d5fd2

Please sign in to comment.