From a0c3adf4780d4380cc237f629e09c81aa849fb98 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Sun, 15 Dec 2019 19:40:33 -0500 Subject: [PATCH] Add missing generic stub for detach_remote_media The generic oem handler needs a stub to allow the generic code to work. Change-Id: I565625e575c5e8afb3ca3d1b5ebd468a08b01fbe --- pyghmi/redfish/oem/generic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyghmi/redfish/oem/generic.py b/pyghmi/redfish/oem/generic.py index f7b29720..b3076c07 100644 --- a/pyghmi/redfish/oem/generic.py +++ b/pyghmi/redfish/oem/generic.py @@ -37,6 +37,9 @@ class OEMHandler(object): def attach_remote_media(self, url, username, password, vmurls): return None + def detach_remote_media(self): + return None + def get_description(self): return {} @@ -133,4 +136,4 @@ class OEMHandler(object): raise exc.UnsupportedFunctionality() def get_user_expiration(self, uid): - return None \ No newline at end of file + return None