diff --git a/OMICRON_VERSION b/OMICRON_VERSION index 40718e7d7..462ff645c 100644 --- a/OMICRON_VERSION +++ b/OMICRON_VERSION @@ -1 +1 @@ -3df6222f1780fead403ca27b383db256ffea9984 +4402c12709fdb14eb0ffc813bbe30e0b116b3ca4 diff --git a/libs/api/__generated__/Api.ts b/libs/api/__generated__/Api.ts index 4b4c5d7c0..c99cd2227 100644 --- a/libs/api/__generated__/Api.ts +++ b/libs/api/__generated__/Api.ts @@ -860,8 +860,10 @@ export type IpPool = { description: string /** unique, immutable, system-controlled identifier for each resource */ id: string + isDefault: boolean /** unique, mutable, user-controlled identifier for each resource */ name: Name + siloId?: string /** timestamp when this resource was created */ timeCreated: Date /** timestamp when this resource was last modified */ @@ -871,7 +873,14 @@ export type IpPool = { /** * Create-time parameters for an `IpPool` */ -export type IpPoolCreate = { description: string; name: Name } +export type IpPoolCreate = { + description: string + /** Whether the IP pool is considered a default pool for its scope (fleet or silo). If a pool is marked default and is associated with a silo, instances created in that silo will draw IPs from that pool unless another pool is specified at instance create time. */ + isDefault?: boolean + name: Name + /** If an IP pool is associated with a silo, instance IP allocations in that silo can draw from that pool. */ + silo?: NameOrId +} /** * A non-decreasing IPv4 address range, inclusive of both ends. diff --git a/libs/api/__generated__/OMICRON_VERSION b/libs/api/__generated__/OMICRON_VERSION index 34629986b..022514577 100644 --- a/libs/api/__generated__/OMICRON_VERSION +++ b/libs/api/__generated__/OMICRON_VERSION @@ -1,2 +1,2 @@ # generated file. do not update manually. see docs/update-pinned-api.md -3df6222f1780fead403ca27b383db256ffea9984 +4402c12709fdb14eb0ffc813bbe30e0b116b3ca4 diff --git a/libs/api/__generated__/validate.ts b/libs/api/__generated__/validate.ts index 1cb5d7a22..1e9031371 100644 --- a/libs/api/__generated__/validate.ts +++ b/libs/api/__generated__/validate.ts @@ -871,7 +871,9 @@ export const IpPool = z.preprocess( z.object({ description: z.string(), id: z.string().uuid(), + isDefault: SafeBoolean, name: Name, + siloId: z.string().uuid().optional(), timeCreated: z.coerce.date(), timeModified: z.coerce.date(), }) @@ -882,7 +884,12 @@ export const IpPool = z.preprocess( */ export const IpPoolCreate = z.preprocess( processResponseBody, - z.object({ description: z.string(), name: Name }) + z.object({ + description: z.string(), + isDefault: SafeBoolean.default(false).optional(), + name: Name, + silo: NameOrId.optional(), + }) ) /**