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

#include <vm_interface.h>

Inheritance diagram for VmInterface::ServiceVlan:
Collaboration diagram for VmInterface::ServiceVlan:

Public Member Functions

 ServiceVlan ()
 
 ServiceVlan (const ServiceVlan &rhs)
 
 ServiceVlan (uint16_t tag, const std::string &vrf_name, const Ip4Address &addr, const Ip6Address &addr6, const MacAddress &smac, const MacAddress &dmac)
 
virtual ~ServiceVlan ()
 
bool operator() (const ServiceVlan &lhs, const ServiceVlan &rhs) const
 
bool IsLess (const ServiceVlan *rhs) const
 
void Update (const Agent *agent, VmInterface *vmi) const
 
void DeleteCommon (const VmInterface *vmi) const
 
void AddCommon (const Agent *agent, const VmInterface *vmi) 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 Attributes

uint16_t tag_
 
std::string vrf_name_
 
Ip4Address addr_
 
Ip4Address old_addr_
 
Ip6Address addr6_
 
Ip6Address old_addr6_
 
MacAddress smac_
 
MacAddress dmac_
 
VrfEntryRef vrf_
 
uint32_t label_
 
bool v4_rt_installed_
 
bool v6_rt_installed_
 
bool del_add_
 
- Public Attributes inherited from VmInterface::ListEntry
bool del_pending_
 

Detailed Description

Definition at line 630 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterface::ServiceVlan::ServiceVlan ( )

Definition at line 2973 of file vm_interface.cc.

VmInterface::ServiceVlan::ServiceVlan ( const ServiceVlan rhs)

Definition at line 2980 of file vm_interface.cc.

VmInterface::ServiceVlan::ServiceVlan ( uint16_t  tag,
const std::string &  vrf_name,
const Ip4Address addr,
const Ip6Address addr6,
const MacAddress smac,
const MacAddress dmac 
)

Definition at line 2991 of file vm_interface.cc.

VmInterface::ServiceVlan::~ServiceVlan ( )
virtual

Definition at line 3003 of file vm_interface.cc.

Member Function Documentation

void VmInterface::ServiceVlan::AddCommon ( const Agent agent,
const VmInterface vmi 
) const

Definition at line 3111 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::ServiceVlan::AddL3 ( const Agent agent,
VmInterface vmi 
) const
void VmInterface::ServiceVlan::Copy ( const Agent agent,
const VmInterface vmi 
) const
void VmInterface::ServiceVlan::DeleteCommon ( const VmInterface vmi) const

Definition at line 3094 of file vm_interface.cc.

Here is the call graph for this function:

bool VmInterface::ServiceVlan::DeleteL3 ( const Agent agent,
VmInterface vmi 
) const
VmInterfaceState::Op VmInterface::ServiceVlan::GetOpL3 ( const Agent agent,
const VmInterface vmi 
) const
bool VmInterface::ServiceVlan::IsLess ( const ServiceVlan rhs) const

Definition at line 3011 of file vm_interface.cc.

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

Definition at line 3006 of file vm_interface.cc.

Here is the call graph for this function:

void VmInterface::ServiceVlan::Update ( const Agent agent,
VmInterface vmi 
) const

Definition at line 3015 of file vm_interface.cc.

Here is the call graph for this function:

Member Data Documentation

Ip6Address VmInterface::ServiceVlan::addr6_
mutable

Definition at line 654 of file vm_interface.h.

Ip4Address VmInterface::ServiceVlan::addr_
mutable

Definition at line 652 of file vm_interface.h.

bool VmInterface::ServiceVlan::del_add_
mutable

Definition at line 662 of file vm_interface.h.

MacAddress VmInterface::ServiceVlan::dmac_
mutable

Definition at line 657 of file vm_interface.h.

uint32_t VmInterface::ServiceVlan::label_
mutable

Definition at line 659 of file vm_interface.h.

Ip6Address VmInterface::ServiceVlan::old_addr6_
mutable

Definition at line 655 of file vm_interface.h.

Ip4Address VmInterface::ServiceVlan::old_addr_
mutable

Definition at line 653 of file vm_interface.h.

MacAddress VmInterface::ServiceVlan::smac_
mutable

Definition at line 656 of file vm_interface.h.

uint16_t VmInterface::ServiceVlan::tag_

Definition at line 650 of file vm_interface.h.

bool VmInterface::ServiceVlan::v4_rt_installed_
mutable

Definition at line 660 of file vm_interface.h.

bool VmInterface::ServiceVlan::v6_rt_installed_
mutable

Definition at line 661 of file vm_interface.h.

VrfEntryRef VmInterface::ServiceVlan::vrf_
mutable

Definition at line 658 of file vm_interface.h.

std::string VmInterface::ServiceVlan::vrf_name_
mutable

Definition at line 651 of file vm_interface.h.


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