Skip to content

Commit 9a2e94b

Browse files
authored
Bring up IPv6 only virtual PIF as well on startup (xapi-project#6022)
Like for IPv4 bring up IPv6 configured virtual PIF when starting up an host.
2 parents 25bb1b5 + e655980 commit 9a2e94b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ocaml/xapi/xapi_pif.ml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,12 @@ let calculate_pifs_required_at_start_of_day ~__context =
11091109
( Not (Eq (Field "bond_master_of", Literal "()"))
11101110
, Eq (Field "physical", Literal "true")
11111111
)
1112-
, Not (Eq (Field "ip_configuration_mode", Literal "None"))
1112+
, Not
1113+
(And
1114+
( Eq (Field "ip_configuration_mode", Literal "None")
1115+
, Eq (Field "ipv6_configuration_mode", Literal "None")
1116+
)
1117+
)
11131118
)
11141119
)
11151120
)

0 commit comments

Comments
 (0)