From a2a5aed49f63e139d57e74305201748ce3d26fcb Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 10 Feb 2014 10:42:25 -0600 Subject: [PATCH] Add Remote.hostname property Signed-off-by: Zack Cerza --- teuthology/orchestra/remote.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/teuthology/orchestra/remote.py b/teuthology/orchestra/remote.py index 7374f252fc..bdee61d895 100644 --- a/teuthology/orchestra/remote.py +++ b/teuthology/orchestra/remote.py @@ -44,6 +44,10 @@ class Remote(object): name = self.name return name + @property + def hostname(self): + return self.name.split('@')[1] + @property def system_type(self): """ -- 2.39.5