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

#include <vm_interface.h>

Inheritance diagram for VmiRouteState:
Collaboration diagram for VmiRouteState:

Public Member Functions

 VmiRouteState ()
 
virtual ~VmiRouteState ()
 
VmInterfaceState::Op GetOpL2 (const Agent *agent, const VmInterface *vmi) const
 
bool DeleteL2 (const Agent *agent, VmInterface *vmi) const
 
bool AddL2 (const Agent *agent, VmInterface *vmi) const
 
VmInterfaceState::Op GetOpL3 (const Agent *agent, const VmInterface *vmi) const
 
bool DeleteL3 (const Agent *agent, VmInterface *vmi) const
 
bool AddL3 (const Agent *agent, VmInterface *vmi) const
 
void Copy (const Agent *agent, const VmInterface *vmi) 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
 

Public Attributes

const VrfEntryvrf_
 
Ip4Address ip_
 
uint32_t ethernet_tag_
 
bool do_dhcp_relay_
 
- 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 313 of file vm_interface.h.

Constructor & Destructor Documentation

VmiRouteState::VmiRouteState ( )

Definition at line 1411 of file vm_interface.cc.

VmiRouteState::~VmiRouteState ( )
virtual

Definition at line 1416 of file vm_interface.cc.

Member Function Documentation

bool VmiRouteState::AddL2 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 1497 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1462 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1419 of file vm_interface.cc.

Here is the call graph for this function:

bool VmiRouteState::DeleteL2 ( const Agent agent,
VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 1488 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1454 of file vm_interface.cc.

Here is the call graph for this function:

VmInterfaceState::Op VmiRouteState::GetOpL2 ( const Agent agent,
const VmInterface vmi 
) const
virtual

Reimplemented from VmInterfaceState.

Definition at line 1475 of file vm_interface.cc.

Here is the call graph for this function:

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

Reimplemented from VmInterfaceState.

Definition at line 1427 of file vm_interface.cc.

Here is the call graph for this function:

Member Data Documentation

bool VmiRouteState::do_dhcp_relay_
mutable

Definition at line 330 of file vm_interface.h.

uint32_t VmiRouteState::ethernet_tag_
mutable

Definition at line 329 of file vm_interface.h.

Ip4Address VmiRouteState::ip_
mutable

Definition at line 328 of file vm_interface.h.

const VrfEntry* VmiRouteState::vrf_
mutable

Definition at line 327 of file vm_interface.h.


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