File tree Expand file tree Collapse file tree
systemvm/debian/opt/cloud/bin/cs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,11 +107,12 @@ def add_radvd_conf(self, entry):
107107 self .conf .append (" AdvSendAdvert on;" )
108108 self .conf .append (" MinRtrAdvInterval 5;" )
109109 self .conf .append (" MaxRtrAdvInterval 15;" )
110- self .conf .append (" prefix %s" % full_addr )
111- self .conf .append (" {" )
112- self .conf .append (" AdvOnLink on;" )
113- self .conf .append (" AdvAutonomous on;" )
114- self .conf .append (" };" )
110+ if entry ['router_guest_ip6' ] == entry ['router_guest_ip6_gateway' ] or self .cl .is_redundant ():
111+ self .conf .append (" prefix %s" % full_addr )
112+ self .conf .append (" {" )
113+ self .conf .append (" AdvOnLink on;" )
114+ self .conf .append (" AdvAutonomous on;" )
115+ self .conf .append (" };" )
115116 if 'dns6' in list (entry .keys ()) and entry ['dns6' ]:
116117 for dns in entry ['dns6' ].split ("," ):
117118 self .conf .append (" RDNSS %s" % dns )
You can’t perform that action at this time.
0 commit comments