From b83d655ff999af022697fab7bc76c49d28d52dd4 Mon Sep 17 00:00:00 2001 From: Dino Madarang Date: Wed, 1 Nov 2017 09:10:16 -0700 Subject: Update git submodules * Update docs/submodules/yardstick from branch 'stable/euphrates' - NSB: Fix standalone.model.Libvirt SR-IOV modeling Fixed standalone.model.Libvirt SR-IOV XML interface modeling, acording to [1]: - All PCI attributes now are printed in hexadecimal format. - The PCI address is now added in the correct section, 'interface'. network_services.utils.PciAddress was refactored to accept both 'domain: bus:slot:function' and 'bus:slot:function' format inputs. This class is used as input in the previous class, Libvirt, to print in XML the PCI address of a SR-IOV interface. network_services.utils.PciAddress.parse_address is now deprecated. Instead the class standard instantiation must be used: libvirt_obj = utils.PciAddress(text_with_address) A deprecation decorator is implemented along with this patch. This decorator is used for the first time in the previously mentioned function. This decorator stores every decorated function name and deprecation message and raises a logging warning message the first time this function is used. [1] https://goo.gl/so2Mrp Change-Id: I22e95c488e27d6e2a8fdf6c1a07faab275fa6bba Signed-off-by: Dino Simeon Madarang Reviewed-by: Alain Jebara Reviewed-by: Deepak S Reviewed-by: Ross Brattain Reviewed-by: Rodolfo Alonso Hernandez (cherry picked from commit 6cfec77db6b95af5b31b741d513955ee3dfa3bb2) --- docs/submodules/yardstick | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/submodules/yardstick') diff --git a/docs/submodules/yardstick b/docs/submodules/yardstick index b553e726a..b987bf5f1 160000 --- a/docs/submodules/yardstick +++ b/docs/submodules/yardstick @@ -1 +1 @@ -Subproject commit b553e726ac2d0aa3c62a510116e591392a104883 +Subproject commit b987bf5f1eb65fe8534d01b9de2a7b74fc16f84d -- cgit 1.2.3-korg