From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D517E200BA1 for ; Wed, 7 May 2025 09:55:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746611734; cv=none; b=cHulRJtv/4eE+UQrDA6x78asBtk45XmDrRAFlI8VphjnHPFzCqpobfKaA33/a1tfKmWJO2StOCUCr9u/UABBZIU3+Z2Q9Rkup8+5+xG+wWwTjMoNERNV2jvjir/WGYMFp1HLhyCdUbKffiWifH8Ixdb1KJRxqN4Lgvdh8ww0D9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746611734; c=relaxed/simple; bh=Crnmo8Fc4HOoqGsIy78+HLxhkRFibz2m5XKrrVm5moM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bcWqwoqmra03KPa/LUtvtT9Q/42i+VN3kHXtRXvtaXV3K7EW9uN7jzUIDeb+x52IjQtsqP/LtLfwezSqUFfqz/uj6KR8vgTr35v3t/m2uNlPcqM5QQREdcdZmJ9MMlVbrD2hnggbUZbN0vgJc6u4w0FvnHs6qi9CA3qHUOtJIbk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JW9Bbsh9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JW9Bbsh9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7824C4CEEB; Wed, 7 May 2025 09:55:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1746611734; bh=Crnmo8Fc4HOoqGsIy78+HLxhkRFibz2m5XKrrVm5moM=; h=From:To:Cc:Subject:Date:From; b=JW9Bbsh97xuBCbWjnFU9oHaJuY2TE4NuA4mkDv8C9HgHl0X6szfXBhSqJJ1TVDYKh 2BY9CmWj+DUPGS08Hmt4JYAz1ykwQXj/r8kXLwSbuxOuQGN04PvtXOJXzwq1sXxkAH BHPA6KCLL6wljBqHuCRvqHc7HaCgzMQEL5cc44Gr/UHMbsii6tLPesA8ycFBCj2h13 78SFeiZXGErCDdMMNBCOEZKgFVaCHGK3qOwnxI/6NRuvHhsyyNawLwM0zkoXoYscXr JBiRVdf8IwLbhR2zm49YlILi/0vfdSZyCVIpy9HmzwIEy3gEW4J48hNd8SYPE9o66L I0iAqD4kjtQAQ== From: Chandan Babu R To: kdevops@lists.linux.dev Cc: Chandan Babu R , chuck.lever@oracle.com Subject: [PATCH] terraform/oci: Add VM.Standard.x86.Generic shape to available options Date: Wed, 7 May 2025 15:25:16 +0530 Message-ID: <20250507095522.1027554-1-chandanbabu@kernel.org> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes. Signed-off-by: Chandan Babu R --- Chuck, Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice. Also, I did not find any official documentation for VM.Standard.x86.Generic. The limits for OCPUs and memory were obtained from the web console which is used during the creation of a VM. terraform/oci/kconfigs/shapes/Kconfig.flex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/terraform/oci/kconfigs/shapes/Kconfig.flex b/terraform/oci/kconfigs/shapes/Kconfig.flex index 67d50604..c2b3f571 100644 --- a/terraform/oci/kconfigs/shapes/Kconfig.flex +++ b/terraform/oci/kconfigs/shapes/Kconfig.flex @@ -9,6 +9,13 @@ choice https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#flexible +config TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC + bool "VM.Standard.x86.Generic" + depends on TARGET_ARCH_X86_64 + help + Selecting this option provisions each guest with between 1 + and 32 OCPUs (physical cores) and up to 512MB of memory. + config TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX bool "VM.Standard3.Flex" depends on TARGET_ARCH_X86_64 -- 2.45.2