docs: def set_flavor(self, node, flavor):
          """Set a flavor to a given ironic node.
  
          :param uuid: the ironic node UUID
          :param flavor: the flavor name
          """
          command = (
              'ironic node-update {uuid} add '
              'properties/capabilities=profile:{flavor},boot_option:local').format(
                  uuid=node.uuid, flavor=flavor)
  
          node.flavor = flavor
          self.add_environment_file(user='stack', filename='stackrc')
          self.run(command, user='stack')