OpenSDN source code
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

◆ ServiceVlan() [1/3]

VmInterface::ServiceVlan::ServiceVlan ( )

Definition at line 2973 of file vm_interface.cc.

◆ ServiceVlan() [2/3]

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

Definition at line 2980 of file vm_interface.cc.

◆ ServiceVlan() [3/3]

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.

◆ ~ServiceVlan()

VmInterface::ServiceVlan::~ServiceVlan ( )
virtual

Definition at line 3003 of file vm_interface.cc.

Member Function Documentation

◆ AddCommon()

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:

◆ AddL3()

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

◆ Copy()

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

◆ DeleteCommon()

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:

◆ DeleteL3()

bool VmInterface::ServiceVlan::DeleteL3 ( const Agent agent,
VmInterface vmi 
) const

◆ GetOpL3()

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

◆ IsLess()

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

Definition at line 3011 of file vm_interface.cc.

◆ operator()()

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:

◆ Update()

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

◆ addr6_

Ip6Address VmInterface::ServiceVlan::addr6_
mutable

Definition at line 654 of file vm_interface.h.

◆ addr_

Ip4Address VmInterface::ServiceVlan::addr_
mutable

Definition at line 652 of file vm_interface.h.

◆ del_add_

bool VmInterface::ServiceVlan::del_add_
mutable

Definition at line 662 of file vm_interface.h.

◆ dmac_

MacAddress VmInterface::ServiceVlan::dmac_
mutable

Definition at line 657 of file vm_interface.h.

◆ label_

uint32_t VmInterface::ServiceVlan::label_
mutable

Definition at line 659 of file vm_interface.h.

◆ old_addr6_

Ip6Address VmInterface::ServiceVlan::old_addr6_
mutable

Definition at line 655 of file vm_interface.h.

◆ old_addr_

Ip4Address VmInterface::ServiceVlan::old_addr_
mutable

Definition at line 653 of file vm_interface.h.

◆ smac_

MacAddress VmInterface::ServiceVlan::smac_
mutable

Definition at line 656 of file vm_interface.h.

◆ tag_

uint16_t VmInterface::ServiceVlan::tag_

Definition at line 650 of file vm_interface.h.

◆ v4_rt_installed_

bool VmInterface::ServiceVlan::v4_rt_installed_
mutable

Definition at line 660 of file vm_interface.h.

◆ v6_rt_installed_

bool VmInterface::ServiceVlan::v6_rt_installed_
mutable

Definition at line 661 of file vm_interface.h.

◆ vrf_

VrfEntryRef VmInterface::ServiceVlan::vrf_
mutable

Definition at line 658 of file vm_interface.h.

◆ vrf_name_

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: