Skip to content

Commit 8c69cb1

Browse files
committed
CLOUDSTACK-9770: fix missing ip routes in VR
1 parent c891679 commit 8c69cb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ def post_config_change(self, method):
528528
# add 'defaul via gateway' rule in the device specific routing table
529529
if "gateway" in self.address and self.address["gateway"] != "None":
530530
route.add_route(self.dev, self.address["gateway"])
531+
route.add_network_route(self.dev, str(self.address["network"]))
531532

532533
if self.get_type() in ["public"]:
533534
CsRule(self.dev).addRule("from " + str(self.address["network"]))

0 commit comments

Comments
 (0)