OpenSDN source code
agent_uve.cc
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  * Copyright Contributors to the OpenSDN project
4  */
5 
6 #include <base/cpuinfo.h>
7 #include <db/db.h>
8 #include <cmn/agent_cmn.h>
10 #include <oper/interface.h>
11 
12 #include <uve/stats_collector.h>
13 #include <uve/agent_uve.h>
14 #include <uve/stats_interval_types.h>
15 #include <init/agent_param.h>
16 #include <oper/mirror_table.h>
18 #include <uve/vm_uve_table.h>
19 #include <uve/vn_uve_table.h>
20 #include <uve/vrouter_uve_entry.h>
22 
23 AgentUve::AgentUve(Agent *agent, uint64_t intvl, uint32_t default_intvl,
24  uint32_t incremental_intvl)
25  : AgentUveBase(agent, intvl, default_intvl, incremental_intvl) {
26 
27  vn_uve_table_.reset(new VnUveTableBase(agent, default_intvl));
28  vm_uve_table_.reset(new VmUveTableBase(agent, default_intvl));
30  interface_uve_table_.reset(new InterfaceUveTable(agent, default_intvl));
31 }
32 
34 }
Agent * agent() const
boost::scoped_ptr< VnUveTableBase > vn_uve_table_
boost::scoped_ptr< VrouterUveEntryBase > vrouter_uve_entry_
boost::scoped_ptr< InterfaceUveTable > interface_uve_table_
boost::scoped_ptr< VmUveTableBase > vm_uve_table_
AgentUve(Agent *agent, uint64_t intvl, uint32_t default_intvl, uint32_t incremental_intvl)
Definition: agent_uve.cc:23
virtual ~AgentUve()
Definition: agent_uve.cc:33
Definition: agent.h:361