Skip to content

Commit 78ab2d1

Browse files
committed
CP-44103: Ordering network devices
This part sorts host network devices in xcp-networkd. Previously, the ordering was handled by the interface-rename functionality. This will now be replaced by an equivalent function in xcp-networkd, but without renaming the network devices. The renmaing performed by the interface-rename was used to record the sorting result as the name of the NICs like "eth<N>". Now the sorting result will be recorded as internal files. Signed-off-by: Ming Lu <[email protected]>
1 parent afe37ec commit 78ab2d1

File tree

3 files changed

+836
-0
lines changed

3 files changed

+836
-0
lines changed

ocaml/networkd/lib/dune

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
(libraries
55
astring
66
forkexec
7+
macaddr
78
mtime
89
mtime.clock.os
10+
ppx_deriving_yojson.runtime
911
re
1012
re.perl
1113
result
@@ -24,5 +26,6 @@
2426
xapi-open-uri
2527
yojson
2628
)
29+
(preprocess (pps ppx_deriving_yojson))
2730
(wrapped false)
2831
)

0 commit comments

Comments
 (0)