OpenSDN source code
vm_uve_entry.h
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 #ifndef vnsw_agent_vm_uve_entry_h
7 #define vnsw_agent_vm_uve_entry_h
8 
10 
11 //The class that defines data-structures to store VirtualMachine information
12 //required for sending VirtualMachine UVE.
13 class VmUveEntry : public VmUveEntryBase {
14 public:
15  VmUveEntry(Agent *agent, const string &vm_name);
16  virtual ~VmUveEntry();
17  void UpdatePortBitmap(uint8_t proto, uint16_t sport, uint16_t dport);
18  bool FrameVmStatsMsg(UveVirtualMachineAgent *uve);
19  virtual void Reset();
20 protected:
22 private:
23  bool SetVmPortBitmap(UveVirtualMachineAgent *uve);
25 };
26 #endif // vnsw_agent_vm_uve_entry_h
Definition: agent.h:361
bool SetVmPortBitmap(UveVirtualMachineAgent *uve)
Definition: vm_uve_entry.cc:39
DISALLOW_COPY_AND_ASSIGN(VmUveEntry)
bool FrameVmStatsMsg(UveVirtualMachineAgent *uve)
Definition: vm_uve_entry.cc:69
virtual ~VmUveEntry()
Definition: vm_uve_entry.cc:16
virtual void Reset()
Definition: vm_uve_entry.cc:80
L4PortBitmap port_bitmap_
Definition: vm_uve_entry.h:21
void UpdatePortBitmap(uint8_t proto, uint16_t sport, uint16_t dport)
Definition: vm_uve_entry.cc:19
VmUveEntry(Agent *agent, const string &vm_name)
Definition: vm_uve_entry.cc:12