Skip to content

Commit

Permalink
Bring up IPv6 only virtual PIF as well on startup (xapi-project#6022)
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.
  • Loading branch information
psafont authored Oct 1, 2024
2 parents 25bb1b5 + e655980 commit 9a2e94b
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 9a2e94b

Please sign in to comment.