def getSubscribedMacRanges(self):
		if self.subscribedMacRanges.all().count() > 0:
			return self.subscribedMacRanges.all()
		else:
			#Return global (all) ranges
			return MacRange.objects.filter(isGlobal=True)
dataset/ETHPy150Open fp7-ofelia/ocf/vt_manager/src/python/vt_manager/models/VTServer.py/VTServer.getSubscribedMacRanges/original