Skip to content

Commit 2ccdc89

Browse files
authored
Remove unicast/multicast from IP pool create form for now (#3065)
remove unicast/multicast from ip pools form for now
1 parent 120669c commit 2ccdc89

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

app/forms/ip-pool-create.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ export default function CreateIpPoolSideModalForm() {
7575
{ value: 'v6', label: 'v6' },
7676
]}
7777
/>
78+
{/*
79+
// leaving this out for now because multicast is only partly supported
80+
// field default value is unicast, so that will go out with all creates
7881
<RadioField
7982
name="poolType"
8083
label="Type"
@@ -85,6 +88,7 @@ export default function CreateIpPoolSideModalForm() {
8588
{ value: 'multicast', label: 'Multicast' },
8689
]}
8790
/>
91+
*/}
8892
<SideModalFormDocs docs={[docLinks.systemIpPools]} />
8993
</SideModalForm>
9094
)

app/pages/project/floating-ips/FloatingIpsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const staticCols = [
9999
cell: (info) => <IpPoolCell ipPoolId={info.getValue()} />,
100100
}),
101101
colHelper.accessor('instanceId', {
102-
header: 'Attached to instance',
102+
header: 'Instance',
103103
cell: (info) => <InstanceLinkCell instanceId={info.getValue()} />,
104104
}),
105105
]

test/e2e/floating-ip-create.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test('can detach and attach a floating IP', async ({ page }) => {
5454
await expectRowVisible(page.getByRole('table'), {
5555
name: 'cola-float',
5656
'IP address': '123.4.56.5',
57-
'Attached to instance': 'db1',
57+
Instance: 'db1',
5858
})
5959
await clickRowAction(page, 'cola-float', 'Detach')
6060
await page.getByRole('button', { name: 'Confirm' }).click()
@@ -83,6 +83,6 @@ test('can detach and attach a floating IP', async ({ page }) => {
8383
await expectRowVisible(page.getByRole('table'), {
8484
name: 'cola-float',
8585
'IP address': '123.4.56.5',
86-
'Attached to instance': 'db1',
86+
Instance: 'db1',
8787
})
8888
})

test/e2e/ip-pools.e2e.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,13 @@ test('IP pool create v4', async ({ page }) => {
238238
await page.getByRole('textbox', { name: 'Name' }).fill('another-pool')
239239
await page.getByRole('textbox', { name: 'Description' }).fill('whatever')
240240

241-
// Select multicast pool type
242-
await page.getByRole('radio', { name: 'Multicast' }).click()
243-
244241
await page.getByRole('button', { name: 'Create IP pool' }).click()
245242

246243
await expect(modal).toBeHidden()
247244
await expectRowVisible(page.getByRole('table'), {
248245
name: 'another-pool',
249246
description: 'whatever',
250-
Type: 'multicast',
247+
Type: 'unicast',
251248
'IPs REMAINING': '0 / 0',
252249
})
253250
})

0 commit comments

Comments
 (0)