OpenSDN source code
|
#include <vm_interface.h>
Public Types | |
enum | Op { INVALID, ADD, DEL_ADD, DEL } |
Public Member Functions | |
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 Op | GetOpL3 (const Agent *agent, const VmInterface *vmi) const |
virtual void | Copy (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 |
virtual bool | AddL3 (const Agent *agent, VmInterface *vmi) const |
virtual bool | DeleteL3 (const Agent *agent, VmInterface *vmi) const |
Static Public Member Functions | |
static Op | RecomputeOp (Op old_op, Op new_op) |
Public Attributes | |
bool | l2_installed_ |
bool | l3_installed_ |
Definition at line 153 of file vm_interface.h.
enum VmInterfaceState::Op |
Enumerator | |
---|---|
INVALID | |
ADD | |
DEL_ADD | |
DEL |
Definition at line 155 of file vm_interface.h.
|
inlineexplicit |
Definition at line 162 of file vm_interface.h.
|
inline |
Definition at line 165 of file vm_interface.h.
|
inlinevirtual |
Definition at line 168 of file vm_interface.h.
|
inlinevirtual |
Reimplemented in VmInterface::VmiReceiveRoute, VmInterface::LearntMacIp, VmInterface::InstanceIp, VmInterface::AllowedAddressPair, VmInterface::FloatingIp, VmiRouteState, ResolveRouteState, and NextHopState.
Definition at line 201 of file vm_interface.h.
|
inlinevirtual |
Reimplemented in VmInterface::VmiReceiveRoute, VmInterface::LearntMacIp, VmInterface::InstanceIp, VmInterface::TagEntry, VmInterface::SecurityGroupEntry, VmInterface::AllowedAddressPair, VmInterface::StaticRoute, VmInterface::AliasIp, VmInterface::FloatingIp, VmiRouteState, ResolveRouteState, MetaDataIpState, NextHopState, VrfTableLabelState, and MacVmBindingState.
Definition at line 211 of file vm_interface.h.
|
inlinevirtual |
Reimplemented in VmInterface::VmiReceiveRoute, VmInterface::LearntMacIp, VmInterface::InstanceIp, VmInterface::AllowedAddressPair, VmInterface::StaticRoute, VmInterface::AliasIp, VmInterface::FloatingIp, VmiRouteState, ResolveRouteState, and MacVmBindingState.
Definition at line 197 of file vm_interface.h.
|
inlinevirtual |
Reimplemented in VmInterface::VmiReceiveRoute, VmInterface::LearntMacIp, VmInterface::InstanceIp, VmInterface::AllowedAddressPair, VmInterface::FloatingIp, VmiRouteState, ResolveRouteState, and NextHopState.
Definition at line 206 of file vm_interface.h.
|
inlinevirtual |
Reimplemented in VmInterface::VmiReceiveRoute, VmInterface::LearntMacIp, VmInterface::InstanceIp, VmInterface::TagEntry, VmInterface::SecurityGroupEntry, VmInterface::AllowedAddressPair, VmInterface::StaticRoute, VmInterface::AliasIp, VmInterface::FloatingIp, VmiRouteState, ResolveRouteState, MetaDataIpState, NextHopState, and MacVmBindingState.
Definition at line 216 of file vm_interface.h.
|
inlinevirtual |
Reimplemented in VmInterface::VmiReceiveRoute, VmInterface::LearntMacIp, VmInterface::InstanceIp, VmInterface::AllowedAddressPair, VmInterface::FloatingIp, VmiRouteState, ResolveRouteState, and NextHopState.
Definition at line 185 of file vm_interface.h.
|
inlinevirtual |
Reimplemented in VmInterface::VmiReceiveRoute, VmInterface::LearntMacIp, VmInterface::InstanceIp, VmInterface::TagEntry, VmInterface::SecurityGroupEntry, VmInterface::AllowedAddressPair, VmInterface::StaticRoute, VmInterface::AliasIp, VmInterface::FloatingIp, VmiRouteState, ResolveRouteState, MetaDataIpState, NextHopState, VrfTableLabelState, and MacVmBindingState.
Definition at line 192 of file vm_interface.h.
|
inline |
Definition at line 171 of file vm_interface.h.
|
static |
Definition at line 586 of file vm_interface.cc.
|
virtual |
|
mutable |
Definition at line 221 of file vm_interface.h.
|
mutable |
Definition at line 222 of file vm_interface.h.