oxidecomputer / oxidecomputer/console

Add transit IPs to NIC create form

Open
#2,892 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
228
Forks
22
Avg merge
19h 42m
Merged PRs (30d)
32

Description

Should be easy: the update form already has them, but the create form could not because the transit IPs key was left out of the create request body. I fixed that in https://github.com/oxidecomputer/omicron/pull/8851, so now we can add it to the create form as well.

Note this will be affected by #2878 since we will probably want to use the new input table for this.

Image

https://github.com/oxidecomputer/console/blob/8cc5b253995ec4e5b31635c86804345c48cda944/app/forms/network-interface-edit.tsx#L98-L149

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in app/forms/network-interface-edit.tsx around lines 98-149 and compare the existing update form with the create form request body. Check #2878 for the planned input-table changes; done means the create form accepts transit IPs and includes them in its create request.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.