Commit f062472
authored
Add dual-stack IP config for internal NICs (#9389)
- Add dual-stack VPC private address configuration type and include it
in the shared NetworkInterface type.
- Add database model support for reading / writing the dual-stack NIC
type to the database, handling serialization into optional fields.
- Update all the callsites to handle the new dual-stack-aware type.
- Add a bunch of conversions for the APIs which rely on that new type,
of which there are many. This also adds the conversions and older types
into the `sled-agent-types` crate, so they can be used in a few places
that don't directly depend on the `sled-agent-api` crate itself, notably
reconfigurator and `nexus-inventory`.
- Update the sled-agent reconciler to deserialize previous versions of
its sled-configuration ledgers, convert them, and write them out again
as the new versions.
- Updates the OPTE `PortManager` type with the new dual-stack support.
This is only for private IP addresses, though. We still need some work
to support OPTE ports with dual stack external addresses. This is about
half of #9247, the VPC-private part.
- Closes #92461 parent e4f7ca0 commit f062472
File tree
49 files changed
+12863
-1013
lines changed- common/src
- dev-tools/reconfigurator-cli/src
- illumos-utils/src
- opte
- nexus-config/src
- nexus
- db-model/src
- db-queries/src/db/datastore
- deployment
- inventory/src
- networking/src
- reconfigurator
- blippy/src
- cli-integration-tests/tests/integration
- execution/src
- planning
- src
- blueprint_builder
- blueprint_editor/allocators
- tests/output
- test-utils/src
- tests/integration_tests
- types/src
- deployment
- external_api
- openapi
- sled-agent
- sled-agent
- api/src
- config-reconciler/src
- ledger
- src
- rack_setup/plan
- sim
- types/src
- inventory
- probes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+12863
-1013
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
159 | 175 | | |
160 | 176 | | |
161 | 177 | | |
| |||
Lines changed: 6 additions & 54 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 29 | + | |
54 | 30 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
82 | 34 | | |
83 | 35 | | |
84 | 36 | | |
| |||
780 | 732 | | |
781 | 733 | | |
782 | 734 | | |
783 | | - | |
| 735 | + | |
784 | 736 | | |
785 | 737 | | |
786 | 738 | | |
| |||
0 commit comments