Commit fe87906
committed
Add dual-stack IP config for internal NICs
- 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 e02810b commit fe87906
File tree
47 files changed
+12062
-1015
lines changed- dev-tools/reconfigurator-cli/src
- illumos-utils/src
- opte
- 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.
47 files changed
+12062
-1015
lines changedLines changed: 8 additions & 56 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 25 | + | |
50 | 26 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
78 | 30 | | |
79 | 31 | | |
80 | 32 | | |
| |||
776 | 728 | | |
777 | 729 | | |
778 | 730 | | |
779 | | - | |
| 731 | + | |
780 | 732 | | |
781 | 733 | | |
782 | 734 | | |
| |||
973 | 925 | | |
974 | 926 | | |
975 | 927 | | |
976 | | - | |
| 928 | + | |
977 | 929 | | |
978 | 930 | | |
979 | 931 | | |
980 | 932 | | |
981 | | - | |
| 933 | + | |
982 | 934 | | |
983 | 935 | | |
984 | 936 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments