original_docstring: Turns the power to node ON.
docstring: Turns the power to node ON.
docstring_tokens: Turns the power to node ON .
code: def activate_node(self):
          """Turns the power to node ON."""
          if self._is_power("on") and self.state == baremetal_states.ACTIVE:
              LOG.warning(_("Activate node called, but node %s "
                            "is already active") % self.address)
          self._set_pxe_for_next_boot()
          self._power_on()
          return self.state
code_tokens: def activate_node ( self ) : if self . _is_power ( "on" ) and self . state == baremetal_states . ACTIVE : LOG . warning ( _ ( "Activate node called, but node %s " "is already active" ) % self . address ) self . _set_pxe_for_next_boot ( ) self . _power_on ( ) return self . state
short_docstring: Turns the power to node ON.
short_docstring_tokens: Turns the power to node ON .
comment: """Turns the power to node ON."""