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

#include <vm_interface.h>

Inheritance diagram for VmInterfaceConfigData:
Collaboration diagram for VmInterfaceConfigData:

Public Member Functions

 VmInterfaceConfigData (Agent *agent, IFMapNode *node)
 
virtual ~VmInterfaceConfigData ()
 
virtual VmInterfaceOnAdd (const InterfaceTable *table, const VmInterfaceKey *key) const
 
virtual bool OnDelete (const InterfaceTable *table, VmInterface *entry) const
 
virtual bool OnResync (const InterfaceTable *table, VmInterface *vmi, bool *force_update) const
 
autogen::VirtualMachineInterface * GetVmiCfg () const
 
void CopyVhostData (const Agent *agent)
 
- Public Member Functions inherited from VmInterfaceData
 VmInterfaceData (Agent *agent, IFMapNode *node, Type type, Interface::Transport transport)
 
virtual ~VmInterfaceData ()
 
- Public Member Functions inherited from InterfaceData
 InterfaceData (Agent *agent, IFMapNode *node, Interface::Transport transport)
 
void VmPortInit ()
 
void EthInit (const std::string &vrf_name)
 
void PktInit ()
 
void InetInit (const std::string &vrf_name)
 
void RemotePhysicalPortInit (const std::string &vrf_name)
 
- Public Member Functions inherited from AgentOperDBData
 AgentOperDBData (const Agent *agent, IFMapNode *node)
 
virtual ~AgentOperDBData ()
 
void SetIFMapNode (IFMapNode *node)
 
IFMapNodeifmap_node () const
 
const Agentagent () const
 
- Public Member Functions inherited from AgentData
 AgentData ()
 
virtual ~AgentData ()
 
- Public Member Functions inherited from DBRequestData
virtual ~DBRequestData ()
 

Public Attributes

Ip4Address addr_
 
Ip6Address ip6_addr_
 
std::string vm_mac_
 
std::string cfg_name_
 
boost::uuids::uuid vm_uuid_
 
std::string vm_name_
 
boost::uuids::uuid vn_uuid_
 
std::string vrf_name_
 
bool fabric_port_
 
bool need_linklocal_ip_
 
bool bridging_
 
bool layer3_forwarding_
 
bool mirror_enable_
 
bool ecmp_
 
bool ecmp6_
 
bool dhcp_enable_
 
bool dhcp_enable_v6_
 
VmInterface::ProxyArpMode proxy_arp_mode_
 
bool admin_state_
 
bool disable_policy_
 
std::string analyzer_name_
 
uint32_t local_preference_
 
OperDhcpOptions oper_dhcp_options_
 
Interface::MirrorDirection mirror_direction_
 
bool cfg_igmp_enable_
 
bool igmp_enabled_
 
bool mac_ip_learning_enable_
 
uint32_t max_flows_
 
VmInterface::SecurityGroupEntryList sg_list_
 
VmInterface::TagEntryList tag_list_
 
VmInterface::FloatingIpList floating_ip_list_
 
VmInterface::AliasIpList alias_ip_list_
 
VmInterface::ServiceVlanList service_vlan_list_
 
VmInterface::StaticRouteList static_route_list_
 
VmInterface::VrfAssignRuleList vrf_assign_rule_list_
 
VmInterface::AllowedAddressPairList allowed_address_pair_list_
 
VmInterface::InstanceIpList instance_ipv4_list_
 
VmInterface::InstanceIpList instance_ipv6_list_
 
VmInterface::FatFlowList fat_flow_list_
 
VmInterface::BridgeDomainList bridge_domain_list_
 
VmInterface::VmiReceiveRouteList receive_route_list_
 
VmInterface::DeviceType device_type_
 
VmInterface::VmiType vmi_type_
 
VmInterface::HbsIntfType hbs_intf_type_
 
std::string physical_interface_
 
boost::uuids::uuid parent_vmi_
 
Ip4Address subnet_
 
uint8_t subnet_plen_
 
uint16_t rx_vlan_id_
 
uint16_t tx_vlan_id_
 
boost::uuids::uuid logical_interface_
 
VmiEcmpLoadBalance ecmp_load_balance_
 
IpAddress service_health_check_ip_
 
Ip4Address service_ip_
 
bool service_ip_ecmp_
 
Ip6Address service_ip6_
 
bool service_ip_ecmp6_
 
boost::uuids::uuid qos_config_uuid_
 
bool learning_enabled_
 
UuidList slo_list_
 
uint8_t vhostuser_mode_
 
bool is_left_si_
 
uint32_t service_mode_
 
boost::uuids::uuid si_other_end_vmi_
 
boost::uuids::uuid vmi_cfg_uuid_
 
std::string service_intf_type_
 
std::vector< std::string > physical_interface_list_
 
- Public Attributes inherited from VmInterfaceData
Type type_
 
- Public Attributes inherited from InterfaceData
std::string vrf_name_
 
Interface::Transport transport_
 
boost::uuids::uuid logical_router_uuid_
 

Additional Inherited Members

- Public Types inherited from VmInterfaceData
enum  Type {
  CONFIG, INSTANCE_MSG, MIRROR, IP_ADDR,
  OS_OPER_STATE, GLOBAL_VROUTER, HEALTH_CHECK, DROP_NEW_FLOWS
}
 

Detailed Description

Definition at line 1918 of file vm_interface.h.

Constructor & Destructor Documentation

VmInterfaceConfigData::VmInterfaceConfigData ( Agent agent,
IFMapNode node 
)

Definition at line 70 of file vm_interface_request.cc.

virtual VmInterfaceConfigData::~VmInterfaceConfigData ( )
inlinevirtual

Definition at line 1920 of file vm_interface.h.

Member Function Documentation

void VmInterfaceConfigData::CopyVhostData ( const Agent agent)

Definition at line 192 of file vm_interface_request.cc.

Here is the call graph for this function:

autogen::VirtualMachineInterface * VmInterfaceConfigData::GetVmiCfg ( ) const

Definition at line 175 of file vm_interface_request.cc.

Here is the call graph for this function:

VmInterface * VmInterfaceConfigData::OnAdd ( const InterfaceTable table,
const VmInterfaceKey key 
) const
virtual

Reimplemented from VmInterfaceData.

Definition at line 101 of file vm_interface_request.cc.

Here is the call graph for this function:

bool VmInterfaceConfigData::OnDelete ( const InterfaceTable table,
VmInterface entry 
) const
virtual

Reimplemented from VmInterfaceData.

Definition at line 139 of file vm_interface_request.cc.

Here is the call graph for this function:

bool VmInterfaceConfigData::OnResync ( const InterfaceTable table,
VmInterface vmi,
bool *  force_update 
) const
virtual

Implements VmInterfaceData.

Definition at line 150 of file vm_interface_request.cc.

Here is the call graph for this function:

Member Data Documentation

Ip4Address VmInterfaceConfigData::addr_

Definition at line 1930 of file vm_interface.h.

bool VmInterfaceConfigData::admin_state_

Definition at line 1952 of file vm_interface.h.

VmInterface::AliasIpList VmInterfaceConfigData::alias_ip_list_

Definition at line 1967 of file vm_interface.h.

VmInterface::AllowedAddressPairList VmInterfaceConfigData::allowed_address_pair_list_

Definition at line 1971 of file vm_interface.h.

std::string VmInterfaceConfigData::analyzer_name_

Definition at line 1954 of file vm_interface.h.

VmInterface::BridgeDomainList VmInterfaceConfigData::bridge_domain_list_

Definition at line 1975 of file vm_interface.h.

bool VmInterfaceConfigData::bridging_

Definition at line 1943 of file vm_interface.h.

bool VmInterfaceConfigData::cfg_igmp_enable_

Definition at line 1959 of file vm_interface.h.

std::string VmInterfaceConfigData::cfg_name_

Definition at line 1933 of file vm_interface.h.

VmInterface::DeviceType VmInterfaceConfigData::device_type_

Definition at line 1977 of file vm_interface.h.

bool VmInterfaceConfigData::dhcp_enable_

Definition at line 1949 of file vm_interface.h.

bool VmInterfaceConfigData::dhcp_enable_v6_

Definition at line 1950 of file vm_interface.h.

bool VmInterfaceConfigData::disable_policy_

Definition at line 1953 of file vm_interface.h.

bool VmInterfaceConfigData::ecmp6_

Definition at line 1948 of file vm_interface.h.

bool VmInterfaceConfigData::ecmp_

Definition at line 1947 of file vm_interface.h.

VmiEcmpLoadBalance VmInterfaceConfigData::ecmp_load_balance_

Definition at line 1989 of file vm_interface.h.

bool VmInterfaceConfigData::fabric_port_

Definition at line 1940 of file vm_interface.h.

VmInterface::FatFlowList VmInterfaceConfigData::fat_flow_list_

Definition at line 1974 of file vm_interface.h.

VmInterface::FloatingIpList VmInterfaceConfigData::floating_ip_list_

Definition at line 1966 of file vm_interface.h.

VmInterface::HbsIntfType VmInterfaceConfigData::hbs_intf_type_

Definition at line 1979 of file vm_interface.h.

bool VmInterfaceConfigData::igmp_enabled_

Definition at line 1960 of file vm_interface.h.

VmInterface::InstanceIpList VmInterfaceConfigData::instance_ipv4_list_

Definition at line 1972 of file vm_interface.h.

VmInterface::InstanceIpList VmInterfaceConfigData::instance_ipv6_list_

Definition at line 1973 of file vm_interface.h.

Ip6Address VmInterfaceConfigData::ip6_addr_

Definition at line 1931 of file vm_interface.h.

bool VmInterfaceConfigData::is_left_si_

Definition at line 1999 of file vm_interface.h.

bool VmInterfaceConfigData::layer3_forwarding_

Definition at line 1944 of file vm_interface.h.

bool VmInterfaceConfigData::learning_enabled_

Definition at line 1996 of file vm_interface.h.

uint32_t VmInterfaceConfigData::local_preference_

Definition at line 1955 of file vm_interface.h.

boost::uuids::uuid VmInterfaceConfigData::logical_interface_

Definition at line 1988 of file vm_interface.h.

bool VmInterfaceConfigData::mac_ip_learning_enable_

Definition at line 1961 of file vm_interface.h.

uint32_t VmInterfaceConfigData::max_flows_

Definition at line 1962 of file vm_interface.h.

Interface::MirrorDirection VmInterfaceConfigData::mirror_direction_

Definition at line 1957 of file vm_interface.h.

bool VmInterfaceConfigData::mirror_enable_

Definition at line 1945 of file vm_interface.h.

bool VmInterfaceConfigData::need_linklocal_ip_

Definition at line 1942 of file vm_interface.h.

OperDhcpOptions VmInterfaceConfigData::oper_dhcp_options_

Definition at line 1956 of file vm_interface.h.

boost::uuids::uuid VmInterfaceConfigData::parent_vmi_

Definition at line 1983 of file vm_interface.h.

std::string VmInterfaceConfigData::physical_interface_

Definition at line 1981 of file vm_interface.h.

std::vector<std::string> VmInterfaceConfigData::physical_interface_list_

Definition at line 2005 of file vm_interface.h.

VmInterface::ProxyArpMode VmInterfaceConfigData::proxy_arp_mode_

Definition at line 1951 of file vm_interface.h.

boost::uuids::uuid VmInterfaceConfigData::qos_config_uuid_

Definition at line 1995 of file vm_interface.h.

VmInterface::VmiReceiveRouteList VmInterfaceConfigData::receive_route_list_

Definition at line 1976 of file vm_interface.h.

uint16_t VmInterfaceConfigData::rx_vlan_id_

Definition at line 1986 of file vm_interface.h.

IpAddress VmInterfaceConfigData::service_health_check_ip_

Definition at line 1990 of file vm_interface.h.

std::string VmInterfaceConfigData::service_intf_type_

Definition at line 2003 of file vm_interface.h.

Ip6Address VmInterfaceConfigData::service_ip6_

Definition at line 1993 of file vm_interface.h.

Ip4Address VmInterfaceConfigData::service_ip_

Definition at line 1991 of file vm_interface.h.

bool VmInterfaceConfigData::service_ip_ecmp6_

Definition at line 1994 of file vm_interface.h.

bool VmInterfaceConfigData::service_ip_ecmp_

Definition at line 1992 of file vm_interface.h.

uint32_t VmInterfaceConfigData::service_mode_

Definition at line 2000 of file vm_interface.h.

VmInterface::ServiceVlanList VmInterfaceConfigData::service_vlan_list_

Definition at line 1968 of file vm_interface.h.

VmInterface::SecurityGroupEntryList VmInterfaceConfigData::sg_list_

Definition at line 1964 of file vm_interface.h.

boost::uuids::uuid VmInterfaceConfigData::si_other_end_vmi_

Definition at line 2001 of file vm_interface.h.

UuidList VmInterfaceConfigData::slo_list_

Definition at line 1997 of file vm_interface.h.

VmInterface::StaticRouteList VmInterfaceConfigData::static_route_list_

Definition at line 1969 of file vm_interface.h.

Ip4Address VmInterfaceConfigData::subnet_

Definition at line 1984 of file vm_interface.h.

uint8_t VmInterfaceConfigData::subnet_plen_

Definition at line 1985 of file vm_interface.h.

VmInterface::TagEntryList VmInterfaceConfigData::tag_list_

Definition at line 1965 of file vm_interface.h.

uint16_t VmInterfaceConfigData::tx_vlan_id_

Definition at line 1987 of file vm_interface.h.

uint8_t VmInterfaceConfigData::vhostuser_mode_

Definition at line 1998 of file vm_interface.h.

std::string VmInterfaceConfigData::vm_mac_

Definition at line 1932 of file vm_interface.h.

std::string VmInterfaceConfigData::vm_name_

Definition at line 1935 of file vm_interface.h.

boost::uuids::uuid VmInterfaceConfigData::vm_uuid_

Definition at line 1934 of file vm_interface.h.

boost::uuids::uuid VmInterfaceConfigData::vmi_cfg_uuid_

Definition at line 2002 of file vm_interface.h.

VmInterface::VmiType VmInterfaceConfigData::vmi_type_

Definition at line 1978 of file vm_interface.h.

boost::uuids::uuid VmInterfaceConfigData::vn_uuid_

Definition at line 1936 of file vm_interface.h.

VmInterface::VrfAssignRuleList VmInterfaceConfigData::vrf_assign_rule_list_

Definition at line 1970 of file vm_interface.h.

std::string VmInterfaceConfigData::vrf_name_

Definition at line 1937 of file vm_interface.h.


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