Skip to content

Commit e655980

Browse files
committed
Bring up IPv6 only virtual PIF as well on startup
Like for IPv4 bring up IPv6 configured virtual PIF when starting up an host. Signed-off-by: Benjamin Reis <[email protected]>
1 parent 25bb1b5 commit e655980

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)