def display_instance(self):
    try:
        instance = nova.server_get(self.request, self.port['device_id'])
        return instance.name
    except:
        return '--'
def display_instance(self):
    try:
        instance = nova.server_get(self.request, self.port['device_id'])
        return instance.name
    except:
        return '--'