OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VmInterface::StaticRoute Struct Reference

#include <vm_interface.h>

Inheritance diagram for VmInterface::StaticRoute:
Collaboration diagram for VmInterface::StaticRoute:

Public Member Functions

 StaticRoute ()
 
 StaticRoute (const StaticRoute &rhs)
 
 StaticRoute (const IpAddress &addr, uint32_t plen, const AddressList &gw_list, const CommunityList &communities)
 
virtual ~StaticRoute ()
 
bool operator() (const StaticRoute &lhs, const StaticRoute &rhs) const
 
bool IsLess (const StaticRoute *rhs) const
 
void Copy (const Agent *agent, const VmInterface *vmi) const
 
VmInterfaceState::Op GetOpL3 (const Agent *agent, const VmInterface *vmi) const
 
bool AddL3 (const Agent *agent, VmInterface *vmi) const
 
bool DeleteL3 (const Agent *agent, VmInterface *vmi) const
 
- Public Member Functions inherited from VmInterface::ListEntry
 ListEntry ()
 
 ListEntry (bool del_pending)
 
virtual ~ListEntry ()
 
bool del_pending () const
 
void set_del_pending (bool val) const
 
VmInterfaceState::Op GetOp (VmInterfaceState::Op op) const
 
- Public Member Functions inherited from VmInterfaceState
 VmInterfaceState ()
 
 VmInterfaceState (bool l2_installed, bool l3_installed)
 
virtual ~VmInterfaceState ()
 
bool Installed () const
 
virtual bool Update (const Agent *agent, VmInterface *vmi, Op l2_force_op, Op l3_force_op) const
 
virtual Op GetOpL2 (const Agent *agent, const VmInterface *vmi) const
 
virtual bool AddL2 (const Agent *agent, VmInterface *vmi) const
 
virtual bool DeleteL2 (const Agent *agent, VmInterface *vmi) const
 

Public Attributes

const VrfEntryvrf_
 
IpAddress addr_
 
uint32_t plen_
 
AddressList gw_list_
 
CommunityList communities_
 
- Public Attributes inherited from VmInterface::ListEntry
bool del_pending_
 
- Public Attributes inherited from VmInterfaceState
bool l2_installed_
 
bool l3_installed_
 

Additional Inherited Members

- Public Types inherited from VmInterfaceState
enum  Op { INVALID, ADD, DEL_ADD, DEL }
 
- Static Public Member Functions inherited from VmInterfaceState
static Op RecomputeOp (Op old_op, Op new_op)
 

Detailed Description

Definition at line 679 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterface::StaticRoute::StaticRoute ( )

Definition at line 2446 of file vm_interface.cc.

VmInterface::StaticRoute::StaticRoute ( const StaticRoute rhs)

Definition at line 2451 of file vm_interface.cc.

VmInterface::StaticRoute::StaticRoute ( const IpAddress addr,
uint32_t  plen,
const AddressList gw_list,
const CommunityList communities 
)

Definition at line 2458 of file vm_interface.cc.

VmInterface::StaticRoute::~StaticRoute ( )
virtual

Definition at line 2465 of file vm_interface.cc.

Member Function Documentation

bool VmInterface::StaticRoute::AddL3 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2504 of file vm_interface.cc.

Here is the call graph for this function:

void VmInterface::StaticRoute::Copy ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2484 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::StaticRoute::DeleteL3 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2557 of file vm_interface.cc.

Here is the call graph for this function:

VmInterfaceState::Op VmInterface::StaticRoute::GetOpL3 ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 2494 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::StaticRoute::IsLess ( const StaticRoute rhs) const

Definition at line 2473 of file vm_interface.cc.

bool VmInterface::StaticRoute::operator() ( const StaticRoute lhs,
const StaticRoute rhs 
) const

Definition at line 2468 of file vm_interface.cc.

Here is the call graph for this function:

Member Data Documentation

IpAddress VmInterface::StaticRoute::addr_

Definition at line 696 of file vm_interface.h.

CommunityList VmInterface::StaticRoute::communities_

Definition at line 699 of file vm_interface.h.

AddressList VmInterface::StaticRoute::gw_list_

Definition at line 698 of file vm_interface.h.

uint32_t VmInterface::StaticRoute::plen_

Definition at line 697 of file vm_interface.h.

const VrfEntry* VmInterface::StaticRoute::vrf_
mutable

Definition at line 695 of file vm_interface.h.


The documentation for this struct was generated from the following files: