/* * Copyright IBM Corporation, 2013. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.md.statistics.manager; import java.util.HashMap; import java.util.List; import java.util.Map; import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow; import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.statistics.rev130819.aggregate.flow.statistics.AggregateFlowStatistics; import org.opendaylight.yang.gen.v1.urn.opendaylight.group.statistics.rev131111.group.features.GroupFeatures; import org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.desc.stats.reply.GroupDescStats; import org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.statistics.reply.GroupStats; import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef; import org.opendaylight.yang.gen.v1.urn.opendaylight.meter.statistics.rev131111.nodes.node.MeterFeatures; import org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.meter.config.stats.reply.MeterConfigStats; import org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.meter.statistics.reply.MeterStats; import org.opendaylight.yang.gen.v1.urn.opendaylight.model.statistics.types.rev130925.GenericStatistics; public class NodeStatistics { private NodeRef targetNode; private List groupStatistics; private List meterStatistics; private List groupDescStats; private List meterConfigStats; private GroupFeatures groupFeatures; private MeterFeatures meterFeatures; private final Map> flowAndStatsMap= new HashMap>(); private final Map tableAndAggregateFlowStatsMap = new HashMap(); public NodeStatistics(){} public NodeRef getTargetNode() { return targetNode; } public void setTargetNode(NodeRef targetNode) { this.targetNode = targetNode; } public List getGroupStatistics() { return groupStatistics; } public void setGroupStatistics(List groupStatistics) { this.groupStatistics = groupStatistics; } public List getMeterStatistics() { return meterStatistics; } public void setMeterStatistics(List meterStatistics) { this.meterStatistics = meterStatistics; } public List getGroupDescStats() { return groupDescStats; } public void setGroupDescStats(List groupDescStats) { this.groupDescStats = groupDescStats; } public List getMeterConfigStats() { return meterConfigStats; } public void setMeterConfigStats(List meterConfigStats) { this.meterConfigStats = meterConfigStats; } public GroupFeatures getGroupFeatures() { return groupFeatures; } public void setGroupFeatures(GroupFeatures groupFeatures) { this.groupFeatures = groupFeatures; } public MeterFeatures getMeterFeatures() { return meterFeatures; } public void setMeterFeatures(MeterFeatures meterFeatures) { this.meterFeatures = meterFeatures; } public Map> getFlowAndStatsMap() { return flowAndStatsMap; } public Map getTableAndAggregateFlowStatsMap() { return tableAndAggregateFlowStatsMap; } }