def getProperties(self):
        properties = {}
        for attr in self.attrs:
            if hasattr(self, attr):
                properties[attr] = getattr(self, attr)
        return properties
Return roles depending on the reprovisioning status.
dataset/ETHPy150Open pyjs/pyjs/pyjswaddons/FlowPlayer.py/Clip.getProperties--crossover with--dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/cluster_upgrade/upgrade.py/UpgradeHelper.get_node_roles