@staticmethod 
    def add_slivers(xml, slivers):
        component_ids = []
        for sliver in slivers:
            filter = {}
            if isinstance(sliver, str):
                filter['component_id'] = '*%s*' % sliver
                sliver = {}
            elif sliver in 'component_id' and sliver['component_id']:
                filter['component_id'] = '*%s*' % sliver['component_id']
            if not filter:
                continue 
            nodes = NITOSv1Node.get_nodes(xml, filter)
            if not nodes:
                continue
            node = nodes[0]
            NITOSv1Sliver.add_slivers(node, sliver)
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/optin_manager/sfa/rspecs/elements/versions/nitosv1Node.py/NITOSv1Node.add_slivers/swapped operands of `in`