def _sync_delete_network_profiles(self, combined_res_info, vsm_ip):
        (vsm_net_profile_uuids, neutron_net_profiles) = combined_res_info
        neutron_net_profile_uuids = set(self._get_uuids(
            n1kv_const.NETWORK_PROFILES, neutron_net_profiles))
        for np_id in vsm_net_profile_uuids - neutron_net_profile_uuids:
            # delete these network profiles from VSM
            try:
                self.n1kvclient.delete_network_segment_pool(np_id,
                                                            vsm_ip=vsm_ip)
                log_net_name = np_id + n1kv_const.LOGICAL_NETWORK_SUFFIX
                self.n1kvclient.delete_logical_network(log_net_name,
                                                       vsm_ip=vsm_ip)
            except (n1kv_exc.VSMError, n1kv_exc.VSMConnectionFailed):
                LOG.warning(_LW('Sync exception: Network profile deletion '
                                'failed. for %s') % np_id)
operation
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/ml2/drivers/cisco/n1kv/n1kv_sync.py/N1kvSyncDriver._sync_delete_network_profiles--crossover with--dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_spec.py/DataTypeTestCase.test_operation