@staticmethod
	def manageIp4Ranges(request, server, totalIpRanges):

		justUnsubscribed = []
		for ipRange in server.getSubscribedIp4RangesNoGlobal():
			#if not ipRange.getIsGlobal():
			try:
				request.POST['subscribe_'+str(ipRange.id)]
			except:
				server.unsubscribeToIp4Range(ipRange)
				justUnsubscribed.append(ipRange)

		for ipRange in totalIpRanges:
			if (server.getSubscribedIp4RangesNoGlobal() or justUnsubscribed) not in ipRange:
				try:
					request.POST['subscribe_'+str(ipRange.id)]
					server.subscribeToIp4Range(ipRange)
				except Exception as e:
					pass
dataset/ETHPy150Open fp7-ofelia/ocf/vt_manager/src/python/vt_manager/controller/drivers/VTDriver.py/VTDriver.manageIp4Ranges/swapped operands of `not in`