[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] [PATCH] Advertise which network backend is in use in DB
# HG changeset patch # User Rob Hoes <rob.hoes@xxxxxxxxxx> Advertise which network backend is in use in DB For clients to determine which network backend is in use a key "network_backend" is added to the Host.software_version map on each host. The value of this key can be (same as the contents of /var/xensource/network.conf): * bridge: the Linux bridging backend is in use; * openvswitch: the Open vSwitch backend is in use. Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx> diff -r 06ea64bf2676 ocaml/xapi/create_misc.ml --- a/ocaml/xapi/create_misc.ml +++ b/ocaml/xapi/create_misc.ml @@ -373,6 +373,7 @@ "linux", info.linux_verstring; "xencenter_min", Xapi_globs.xencenter_min_verstring; "xencenter_max", Xapi_globs.xencenter_max_verstring; + "network_backend", Netdev.string_of_kind Netdev.network.Netdev.kind; ] @ (option_to_list "oem_manufacturer" info.oem_manufacturer) @ (option_to_list "oem_model" info.oem_model) @ Attachment:
advertise-netw-backend _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |