feat(dedicated): plan feature flags for cpu_premium + max_ram_gb

Adds two boolean/numeric feature flags on each 14th-gen plan:
- cpu_premium: chassis supports the Platinum 8280 CPU upgrade
  (R440/R540 false; R640/R740/R740xd true)
- max_ram_gb: maximum RAM the chassis can physically host
  (16-DIMM chassis cap at 1 TB; 24-DIMM at 1.5 TB)

These drive the route-level config-option filters in
routes/marketing.php so customers never see Platinum CPU on R440 or
the 1.5 TB RAM tier on a 16-slot chassis.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-26 22:11:04 -04:00
parent dfdef3d7f4
commit 39149f0b30

View File

@@ -424,6 +424,8 @@ class PlanSeeder extends Seeder
'ipv4' => '1 Included',
'ipv6' => '/64 Included',
'lead_time_days' => '7-10',
'max_ram_gb' => 1024,
'cpu_premium' => false,
'tier' => 2,
],
'stock_quantity' => null,
@@ -456,6 +458,8 @@ class PlanSeeder extends Seeder
'ipv4' => '1 Included',
'ipv6' => '/64 Included',
'lead_time_days' => '7-10',
'max_ram_gb' => 1024,
'cpu_premium' => false,
'tier' => 3,
],
'stock_quantity' => null,
@@ -488,6 +492,8 @@ class PlanSeeder extends Seeder
'ipv4' => '1 Included',
'ipv6' => '/64 Included',
'lead_time_days' => '7-10',
'max_ram_gb' => 1536,
'cpu_premium' => true,
'tier' => 2,
],
'stock_quantity' => null,
@@ -520,6 +526,8 @@ class PlanSeeder extends Seeder
'ipv4' => '1 Included',
'ipv6' => '/64 Included',
'lead_time_days' => '7-10',
'max_ram_gb' => 1536,
'cpu_premium' => true,
'tier' => 3,
],
'stock_quantity' => null,
@@ -552,6 +560,8 @@ class PlanSeeder extends Seeder
'ipv4' => '1 Included',
'ipv6' => '/64 Included',
'lead_time_days' => '7-10',
'max_ram_gb' => 1536,
'cpu_premium' => true,
'tier' => 3,
],
'stock_quantity' => null,
@@ -584,6 +594,8 @@ class PlanSeeder extends Seeder
'ipv4' => '1 Included',
'ipv6' => '/64 Included',
'lead_time_days' => '7-10',
'max_ram_gb' => 1536,
'cpu_premium' => true,
'tier' => 3,
],
'stock_quantity' => null,
@@ -616,6 +628,8 @@ class PlanSeeder extends Seeder
'ipv4' => '1 Included',
'ipv6' => '/64 Included',
'lead_time_days' => '7-10',
'max_ram_gb' => 1536,
'cpu_premium' => true,
'tier' => 4,
],
'stock_quantity' => null,
@@ -648,6 +662,8 @@ class PlanSeeder extends Seeder
'ipv4' => '1 Included',
'ipv6' => '/64 Included',
'lead_time_days' => '7-10',
'max_ram_gb' => 1536,
'cpu_premium' => true,
'tier' => 4,
],
'stock_quantity' => null,