Skip to content

Commit f3cc65d

Browse files
committed
CP-44103: Ordering network devices - ordering logic
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 saved in xcp-networkd database. Signed-off-by: Ming Lu <[email protected]>
1 parent ea1de2f commit f3cc65d

File tree

3 files changed

+620
-0
lines changed

3 files changed

+620
-0
lines changed

ocaml/networkd/lib/dune

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
(libraries
55
astring
66
forkexec
7+
macaddr
78
mtime
89
mtime.clock.os
910
re
@@ -19,6 +20,7 @@
1920
xapi-stdext-threads
2021
xapi-stdext-unix
2122
xapi-inventory
23+
xapi-idl
2224
xapi-idl.network
2325
xapi-log
2426
xapi-open-uri

0 commit comments

Comments
 (0)