Revision 07e68848 lib/cmdlib/cluster.py

b/lib/cmdlib/cluster.py
196 196
                   " OpenvSwitch will not have an outside connection. This"
197 197
                   " might not be what you want.")
198 198

  
199
    # OpenvSwitch: Warn if parameters are given, but OVS is not enabled.
200
    if (not self.master_ndparams[constants.ND_OVS] and
201
        (self.master_ndparams[constants.ND_OVS_NAME] or
202
         self.master_ndparams.get(constants.ND_OVS_LINK, None))):
203
      self.LogInfo("OpenvSwitch name or link were given, but"
204
                   " OpenvSwitch is not enabled. Please enable"
205
                   " OpenvSwitch with 'ovs=true' or create it manually")
206

  
207 199
  def BuildHooksEnv(self):
208 200
    """Build hooks env.
209 201

  

Also available in: Unified diff