docs: def create_flavor(self, nova, name, ram, vcpus, disk, flavorid="auto",
                        ephemeral=0, swap=0, rxtx_factor=1.0, is_public=True):
          """Create the specified flavor."""
          try:
              nova.flavors.find(name=name)
          except (exceptions.NotFound, exceptions.NoUniqueMatch):
              self.log.debug('Creating flavor ({})'.format(name))
              nova.flavors.create(name, ram, vcpus, disk, flavorid,
                                  ephemeral, swap, rxtx_factor, is_public)