From 9a617aba66d9f5ff6ef1b6f37ffb0e170c886f11 Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Thu, 25 Jan 2024 21:52:22 +0000 Subject: [PATCH] Added unit in the description of PIF_metrics.speed and bumped last_known_schema_hash. Signed-off-by: Konstantina Chremmou --- ocaml/idl/datamodel.ml | 2 +- ocaml/idl/schematest.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ocaml/idl/datamodel.ml b/ocaml/idl/datamodel.ml index cbe53f59f6d..5fcf06c84df 100644 --- a/ocaml/idl/datamodel.ml +++ b/ocaml/idl/datamodel.ml @@ -1958,7 +1958,7 @@ module PIF_metrics = struct ; field ~qualifier:DynamicRO ~ty:String "device_name" "Report device name" ; field ~qualifier:DynamicRO ~ty:Int "speed" - "Speed of the link (if available)" + "Speed of the link in Mbit/s (if available)" ; field ~qualifier:DynamicRO ~ty:Bool "duplex" "Full duplex capability of the link (if available)" ; field ~qualifier:DynamicRO ~ty:String "pci_bus_path" diff --git a/ocaml/idl/schematest.ml b/ocaml/idl/schematest.ml index 660f39664f5..cb84842f770 100644 --- a/ocaml/idl/schematest.ml +++ b/ocaml/idl/schematest.ml @@ -3,7 +3,7 @@ let hash x = Digest.string x |> Digest.to_hex (* BEWARE: if this changes, check that schema has been bumped accordingly in ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *) -let last_known_schema_hash = "2923e663753266bbdcb313ed47bad726" +let last_known_schema_hash = "1e43ef93af9de55620fda75281e8a992" let current_schema_hash : string = let open Datamodel_types in