|
OpenSDN source code
|
#include <vector>#include <stdint.h>#include <string>#include <net/ethernet.h>#include <boost/intrusive_ptr.hpp>#include <base/intrusive_ptr_back_ref.h>#include <cmn/agent_cmn.h>#include <base/connection_info.h>#include "net/mac_address.h"#include "oper/agent_types.h"
Go to the source code of this file.
Classes | |
| class | Agent |
Namespaces | |
| OVSDB | |
Macros | |
| #define | MULTICAST_LABEL_RANGE_START 1024 |
| #define | MULTICAST_LABEL_BLOCK_SIZE 2048 |
| #define | MIN_UNICAST_LABEL_RANGE 4098 |
| #define | MAX_XMPP_SERVERS 2 |
| #define | XMPP_SERVER_PORT 5269 |
| #define | XMPP_DNS_SERVER_PORT 53 |
| #define | METADATA_IP_ADDR ntohl(inet_addr("169.254.169.254")) |
| #define | METADATA_PORT 8775 |
| #define | METADATA_NAT_PORT 80 |
| #define | AGENT_INIT_TASKNAME "Agent::Init" |
| #define | INSTANCE_MANAGER_TASK_NAME "Agent::InstanceManager" |
| #define | AGENT_SHUTDOWN_TASKNAME "Agent::Shutdown" |
| #define | AGENT_FLOW_STATS_MANAGER_TASK "Agent::FlowStatsManager" |
| #define | AGENT_SANDESH_TASKNAME "Agent::Sandesh" |
| #define | IPV4_MULTICAST_BASE_ADDRESS "224.0.0.0" |
| #define | IPV6_MULTICAST_BASE_ADDRESS "ff00::" |
| #define | MULTICAST_BASE_ADDRESS_PLEN 8 |
| #define | FLOWS_LIMIT_UNLIMITED uint32_t(0) |
| #define | VROUTER_SERVER_PORT 20914 |
| #define | kLogFilesCount 10 |
| #define | kLogFileSize (2*1024*1024) |
| #define | CFG_BACKUP_DIR "/var/lib/contrail/backup" |
| #define | CFG_BACKUP_COUNT 2 |
| #define | CFG_BACKUP_IDLE_TIMEOUT (10*1000) |
| #define | CFG_RESTORE_AUDIT_TIMEOUT (15*1000) |
| #define | kTaskFlowEvent "Agent::FlowEvent" |
| #define | kTaskFlowKSync "Agent::FlowKSync" |
| #define | kTaskFlowUpdate "Agent::FlowUpdate" |
| #define | kTaskFlowDelete "Agent::FlowDelete" |
| #define | kTaskFlowMgmt "Agent::FlowMgmt" |
| #define | kTaskFlowAudit "KSync::FlowAudit" |
| #define | kTaskFlowLogging "Agent::FlowLogging" |
| #define | kTaskFlowStatsCollector "Flow::StatsCollector" |
| #define | kTaskSessionStatsCollector "Flow::SessionStatsCollector" |
| #define | kTaskSessionStatsCollectorEvent "Flow::SessionStatsCollectorEvent" |
| #define | kTaskFlowStatsUpdate "Agent::FlowStatsUpdate" |
| #define | kTaskHealthCheck "Agent::HealthCheck" |
| #define | kTaskCryptTunnel "Agent::CryptTunnel" |
| #define | kTaskDBExclude "Agent::DBExcludeTask" |
| #define | kTaskConfigManager "Agent::ConfigManager" |
| #define | kTaskHttpRequstHandler "http::RequestHandlerTask" |
| #define | kAgentResourceRestoreTask "Agent::ResoureRestore" |
| #define | kAgentResourceBackUpTask "Agent::ResourceBackup" |
| #define | kTaskMacLearning "Agent::MacLearning" |
| #define | kTaskMacLearningMgmt "Agent::MacLearningMgmt" |
| #define | kTaskMacAging "Agent::MacAging" |
| #define | kInterfaceDbTablePrefix "db.interface" |
| #define | kVnDbTablePrefix "db.vn" |
| #define | kVmDbTablePrefix "db.vm" |
| #define | kVrfDbTablePrefix "db.vrf.0" |
| #define | kMplsDbTablePrefix "db.mpls" |
| #define | kAclDbTablePrefix "db.acl" |
| #define | kV4UnicastRouteDbTableSuffix "uc.route.0" |
| #define | kV6UnicastRouteDbTableSuffix "uc.route6.0" |
| #define | kL2RouteDbTableSuffix "l2.route.0" |
| #define | kMcastRouteDbTableSuffix "mc.route.0" |
| #define | kEvpnRouteDbTableSuffix "evpn.route.0" |
| #define | kEventNotifierTask "Agent::EventNotifier" |
Typedefs | |
| typedef boost::intrusive_ptr< Interface > | InterfaceRef |
| typedef boost::intrusive_ptr< const Interface > | InterfaceConstRef |
| typedef IntrusivePtrRef< Interface > | InterfaceBackRef |
| typedef boost::intrusive_ptr< VmEntry > | VmEntryRef |
| typedef boost::intrusive_ptr< const VmEntry > | VmEntryConstRef |
| typedef IntrusivePtrRef< VmEntry > | VmEntryBackRef |
| typedef IntrusivePtrRef< const VmEntry > | VmEntryConstBackRef |
| typedef boost::intrusive_ptr< VnEntry > | VnEntryRef |
| typedef boost::intrusive_ptr< const VnEntry > | VnEntryConstRef |
| typedef boost::intrusive_ptr< SgEntry > | SgEntryRef |
| typedef boost::intrusive_ptr< const SgEntry > | SgEntryConstRef |
| typedef boost::intrusive_ptr< TagEntry > | TagEntryRef |
| typedef boost::intrusive_ptr< const TagEntry > | TagEntryConstRef |
| typedef IntrusivePtrRef< VrfEntry > | VrfEntryRef |
| typedef IntrusivePtrRef< const VrfEntry > | VrfEntryConstRef |
| typedef boost::intrusive_ptr< MplsLabel > | MplsLabelRef |
| typedef boost::intrusive_ptr< MirrorEntry > | MirrorEntryRef |
| typedef boost::intrusive_ptr< VxLanId > | VxLanIdRef |
| typedef boost::intrusive_ptr< MulticastPolicyEntry > | MulticastPolicyEntryRef |
| typedef boost::intrusive_ptr< const MulticastPolicyEntry > | MulticastPolicyEntryConstRef |
| typedef boost::intrusive_ptr< Route > | RouteRef |
| typedef boost::intrusive_ptr< NextHop > | NextHopRef |
| typedef boost::intrusive_ptr< const NextHop > | NextHopConstRef |
| typedef boost::intrusive_ptr< CryptTunnelEntry > | CryptTunnelEntryRef |
| typedef boost::intrusive_ptr< const CryptTunnelEntry > | CryptTunnelEntryConstRef |
| typedef boost::intrusive_ptr< AddrBase > | AddrRef |
| typedef boost::intrusive_ptr< AclDBEntry > | AclDBEntryRef |
| typedef boost::intrusive_ptr< const AclDBEntry > | AclDBEntryConstRef |
| typedef boost::intrusive_ptr< PolicySet > | PolicySetRef |
| typedef boost::intrusive_ptr< const AclDBEntry > | PolicySetConstRef |
| typedef boost::intrusive_ptr< PhysicalDevice > | PhysicalDeviceRef |
| typedef boost::intrusive_ptr< const PhysicalDevice > | PhysicalDeviceConstRef |
| typedef boost::intrusive_ptr< PhysicalDeviceVn > | PhysicalDeviceVnRef |
| typedef boost::intrusive_ptr< const PhysicalDeviceVn > | PhysicalDeviceVnConstRef |
| typedef boost::intrusive_ptr< HealthCheckService > | HealthCheckServiceRef |
| typedef boost::intrusive_ptr< ForwardingClass > | ForwardingClassRef |
| typedef boost::intrusive_ptr< const ForwardingClass > | ForwardingClassConstRef |
| typedef boost::intrusive_ptr< AgentQosConfig > | AgentQosConfigRef |
| typedef boost::intrusive_ptr< const AgentQosConfig > | AgentQosConfigConstRef |
| typedef boost::intrusive_ptr< QosQueue > | QosQueueRef |
| typedef boost::intrusive_ptr< const QosQueue > | QosQueueConstRef |
| typedef boost::intrusive_ptr< BridgeDomainEntry > | BridgeDomainRef |
| typedef boost::intrusive_ptr< const BridgeDomainEntry > | BridgeDomainConstRef |
| typedef boost::intrusive_ptr< SecurityLoggingObject > | SecurityLoggingObjectRef |
| typedef boost::intrusive_ptr< const SecurityLoggingObject > | SecurityLoggingObjectConstRef |
| typedef std::vector< int > | SecurityGroupList |
| typedef std::vector< int > | TagList |
| typedef std::vector< boost::uuids::uuid > | UuidList |
| typedef std::vector< std::string > | CommunityList |
| typedef std::set< std::string > | VnListType |
| typedef std::map< std::string, std::string > | VrLimitExceeded |
| typedef std::pair< std::string, std::string > | VrLimitData |
| typedef std::vector< Ip4Address > | AddressList |
| typedef std::vector< Interface * > | InterfaceList |
| typedef std::vector< std::string > | InterfaceNameList |
| #define AGENT_FLOW_STATS_MANAGER_TASK "Agent::FlowStatsManager" |
| #define kTaskSessionStatsCollector "Flow::SessionStatsCollector" |
| #define kTaskSessionStatsCollectorEvent "Flow::SessionStatsCollectorEvent" |
| #define METADATA_IP_ADDR ntohl(inet_addr("169.254.169.254")) |
| typedef boost::intrusive_ptr<const AclDBEntry> AclDBEntryConstRef |
| typedef boost::intrusive_ptr<AclDBEntry> AclDBEntryRef |
| typedef std::vector<Ip4Address> AddressList |
| typedef boost::intrusive_ptr<const AgentQosConfig> AgentQosConfigConstRef |
| typedef boost::intrusive_ptr<AgentQosConfig> AgentQosConfigRef |
| typedef boost::intrusive_ptr<const BridgeDomainEntry> BridgeDomainConstRef |
| typedef boost::intrusive_ptr<BridgeDomainEntry> BridgeDomainRef |
| typedef std::vector<std::string> CommunityList |
| typedef boost::intrusive_ptr<const CryptTunnelEntry> CryptTunnelEntryConstRef |
| typedef boost::intrusive_ptr<CryptTunnelEntry> CryptTunnelEntryRef |
| typedef boost::intrusive_ptr<const ForwardingClass> ForwardingClassConstRef |
| typedef boost::intrusive_ptr<ForwardingClass> ForwardingClassRef |
| typedef boost::intrusive_ptr<HealthCheckService> HealthCheckServiceRef |
| typedef IntrusivePtrRef<Interface> InterfaceBackRef |
| typedef boost::intrusive_ptr<const Interface> InterfaceConstRef |
| typedef std::vector<Interface *> InterfaceList |
| typedef std::vector<std::string> InterfaceNameList |
| typedef boost::intrusive_ptr<Interface> InterfaceRef |
| typedef boost::intrusive_ptr<MirrorEntry> MirrorEntryRef |
| typedef boost::intrusive_ptr<MplsLabel> MplsLabelRef |
| typedef boost::intrusive_ptr< const MulticastPolicyEntry > MulticastPolicyEntryConstRef |
| typedef boost::intrusive_ptr< MulticastPolicyEntry > MulticastPolicyEntryRef |
| typedef boost::intrusive_ptr<const NextHop> NextHopConstRef |
| typedef boost::intrusive_ptr<NextHop> NextHopRef |
| typedef boost::intrusive_ptr<const PhysicalDevice> PhysicalDeviceConstRef |
| typedef boost::intrusive_ptr<PhysicalDevice> PhysicalDeviceRef |
| typedef boost::intrusive_ptr<const PhysicalDeviceVn> PhysicalDeviceVnConstRef |
| typedef boost::intrusive_ptr<PhysicalDeviceVn> PhysicalDeviceVnRef |
| typedef boost::intrusive_ptr<const AclDBEntry> PolicySetConstRef |
| typedef boost::intrusive_ptr<PolicySet> PolicySetRef |
| typedef boost::intrusive_ptr<const QosQueue> QosQueueConstRef |
| typedef boost::intrusive_ptr<QosQueue> QosQueueRef |
| typedef std::vector<int> SecurityGroupList |
| typedef boost::intrusive_ptr<const SecurityLoggingObject> SecurityLoggingObjectConstRef |
| typedef boost::intrusive_ptr<SecurityLoggingObject> SecurityLoggingObjectRef |
| typedef boost::intrusive_ptr<const SgEntry> SgEntryConstRef |
| typedef boost::intrusive_ptr<SgEntry> SgEntryRef |
| typedef boost::intrusive_ptr<const TagEntry> TagEntryConstRef |
| typedef boost::intrusive_ptr<TagEntry> TagEntryRef |
| typedef std::vector<boost::uuids::uuid> UuidList |
| typedef IntrusivePtrRef<VmEntry> VmEntryBackRef |
| typedef IntrusivePtrRef<const VmEntry> VmEntryConstBackRef |
| typedef boost::intrusive_ptr<const VmEntry> VmEntryConstRef |
| typedef boost::intrusive_ptr<VmEntry> VmEntryRef |
| typedef boost::intrusive_ptr<const VnEntry> VnEntryConstRef |
| typedef boost::intrusive_ptr<VnEntry> VnEntryRef |
| typedef std::set<std::string> VnListType |
| typedef IntrusivePtrRef<const VrfEntry> VrfEntryConstRef |
| typedef IntrusivePtrRef<VrfEntry> VrfEntryRef |
| typedef std::pair<std::string, std::string> VrLimitData |
| typedef std::map<std::string, std::string> VrLimitExceeded |
| typedef boost::intrusive_ptr<VxLanId> VxLanIdRef |
| void intrusive_ptr_add_back_ref | ( | const IntrusiveReferrer | ref, |
| const Interface * | p | ||
| ) |
| void intrusive_ptr_add_back_ref | ( | const IntrusiveReferrer | ref, |
| const VmEntry * | p | ||
| ) |
| void intrusive_ptr_add_back_ref | ( | const IntrusiveReferrer | ref, |
| const VrfEntry * | p | ||
| ) |
| void intrusive_ptr_add_ref | ( | const AclDBEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const AddrBase * | p | ) |
| void intrusive_ptr_add_ref | ( | const AgentQosConfig * | p | ) |
| void intrusive_ptr_add_ref | ( | const BridgeDomainEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const CryptTunnelEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const ForwardingClass * | p | ) |
| void intrusive_ptr_add_ref | ( | const HealthCheckService * | p | ) |
| void intrusive_ptr_add_ref | ( | const Interface * | p | ) |
| void intrusive_ptr_add_ref | ( | const MirrorEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const MplsLabel * | p | ) |
| void intrusive_ptr_add_ref | ( | const MulticastPolicyEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const NextHop * | p | ) |
| void intrusive_ptr_add_ref | ( | const PhysicalDevice * | p | ) |
| void intrusive_ptr_add_ref | ( | const PhysicalDeviceVn * | p | ) |
| void intrusive_ptr_add_ref | ( | const PolicySet * | p | ) |
| void intrusive_ptr_add_ref | ( | const QosQueueRef * | p | ) |
| void intrusive_ptr_add_ref | ( | const Route * | p | ) |
| void intrusive_ptr_add_ref | ( | const SecurityLoggingObject * | p | ) |
| void intrusive_ptr_add_ref | ( | const SgEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const TagEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const VmEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const VnEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const VrfEntry * | p | ) |
| void intrusive_ptr_add_ref | ( | const VxLanId * | p | ) |
| void intrusive_ptr_del_back_ref | ( | const IntrusiveReferrer | ref, |
| const Interface * | p | ||
| ) |
| void intrusive_ptr_del_back_ref | ( | const IntrusiveReferrer | ref, |
| const VmEntry * | p | ||
| ) |
| void intrusive_ptr_del_back_ref | ( | const IntrusiveReferrer | ref, |
| const VrfEntry * | p | ||
| ) |
| void intrusive_ptr_release | ( | const AclDBEntry * | p | ) |
| void intrusive_ptr_release | ( | const AddrBase * | p | ) |
| void intrusive_ptr_release | ( | const AgentQosConfig * | p | ) |
| void intrusive_ptr_release | ( | const BridgeDomainEntry * | p | ) |
| void intrusive_ptr_release | ( | const CryptTunnelEntry * | p | ) |
| void intrusive_ptr_release | ( | const ForwardingClass * | p | ) |
| void intrusive_ptr_release | ( | const HealthCheckService * | p | ) |
| void intrusive_ptr_release | ( | const Interface * | p | ) |
| void intrusive_ptr_release | ( | const MirrorEntry * | p | ) |
| void intrusive_ptr_release | ( | const MplsLabel * | p | ) |
| void intrusive_ptr_release | ( | const MulticastPolicyEntry * | p | ) |
| void intrusive_ptr_release | ( | const NextHop * | p | ) |
| void intrusive_ptr_release | ( | const PhysicalDevice * | p | ) |
| void intrusive_ptr_release | ( | const PhysicalDeviceVn * | p | ) |
| void intrusive_ptr_release | ( | const PolicySet * | p | ) |
| void intrusive_ptr_release | ( | const QosQueueRef * | p | ) |
| void intrusive_ptr_release | ( | const Route * | p | ) |
| void intrusive_ptr_release | ( | const SecurityLoggingObject * | p | ) |
| void intrusive_ptr_release | ( | const SgEntry * | p | ) |
| void intrusive_ptr_release | ( | const TagEntry * | p | ) |
| void intrusive_ptr_release | ( | const VmEntry * | p | ) |
| void intrusive_ptr_release | ( | const VnEntry * | p | ) |
| void intrusive_ptr_release | ( | const VrfEntry * | p | ) |
| void intrusive_ptr_release | ( | const VxLanId * | p | ) |
| void RouterIdDepInit | ( | Agent * | agent | ) |
Definition at line 45 of file controller/src/vnsw/agent/contrail/main.cc.
