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

#include <agent_param.h>

Inheritance diagram for AgentParam:
Collaboration diagram for AgentParam:

Classes

struct  PortInfo
 

Public Types

enum  AgentMode { VROUTER_AGENT, TSN_AGENT, TSN_NO_FORWARDING_AGENT, TOR_AGENT }
 
enum  GatewayMode { VCPE, SERVER, PBB, NONE }
 
enum  HypervisorMode {
  MODE_INVALID, MODE_KVM, MODE_XEN, MODE_VMWARE,
  MODE_DOCKER
}
 
enum  VmwareMode { ESXI_NEUTRON, VCENTER }
 
enum  Platform { VROUTER_ON_HOST, VROUTER_ON_HOST_DPDK, VROUTER_ON_NIC }
 
typedef std::vector< Ip4AddressAddressList
 

Public Member Functions

 AgentParam (bool enable_flow_options=true, bool enable_vhost_options=true, bool enable_hypervisor_options=true, bool enable_service_options=true, AgentMode agent_mode=VROUTER_AGENT)
 
virtual ~AgentParam ()
 
virtual int Validate ()
 
bool IsVHostConfigured ()
 
const std::string & vhost_name () const
 
const Ip4Addressvhost_addr () const
 
void set_vhost_addr (const Ip4Address &ip)
 
const Ip4Addressvhost_prefix () const
 
const int vhost_plen () const
 
const Ip4Addressvhost_gw () const
 
const AddressListgateway_list () const
 
const std::string & xen_ll_name () const
 
const void set_xen_ll_name (const std::string &name)
 
const Ip4Addressxen_ll_addr () const
 
const Ip4Addressxen_ll_prefix () const
 
const int xen_ll_plen () const
 
const Ip4Addressxen_ll_gw () const
 
const std::string & agent_name () const
 
const std::vector< std::string > & eth_port_list () const
 
const bool & eth_port_no_arp () const
 
const std::string & eth_port_encap_type () const
 
const AddressListeth_port_addr_list () const
 
const std::vector< int > & eth_port_plen_list () const
 
void BuildAddrList (const std::string &val, AddressList &addr_list)
 
const std::string & crypt_port () const
 
const bool & crypt_port_no_arp () const
 
const std::string & crypt_port_encap_type () const
 
const std::vector< std::string > controller_server_list () const
 
const std::string & subcluster_name () const
 
const std::vector< std::string > dns_server_list () const
 
const std::vector< std::string > tsn_server_list () const
 
const uint16_t dns_client_port () const
 
const uint32_t dns_timeout () const
 
const uint32_t dns_max_retries () const
 
const uint16_t mirror_client_port () const
 
const Ip4Addressmgmt_ip () const
 
const std::string & tunnel_type () const
 
const std::string & metadata_shared_secret () const
 
uint16_t metadata_proxy_port () const
 
const bool metadata_use_ssl () const
 
std::string metadata_client_cert () const
 
std::string metadata_client_cert_type () const
 
std::string metadata_client_key () const
 
std::string metadata_ca_cert () const
 
float max_vm_flows () const
 
uint32_t linklocal_system_flows () const
 
uint32_t linklocal_vm_flows () const
 
uint32_t flow_cache_timeout () const
 
uint16_t flow_index_sm_log_count () const
 
uint32_t flow_add_tokens () const
 
uint32_t flow_ksync_tokens () const
 
uint32_t flow_del_tokens () const
 
uint32_t flow_update_tokens () const
 
uint32_t stale_interface_cleanup_timeout () const
 
bool dhcp_relay_mode () const
 
bool xmpp_auth_enabled () const
 
std::string xmpp_server_cert () const
 
std::string xmpp_server_key () const
 
std::string xmpp_ca_cert () const
 
bool xmpp_dns_auth_enabled () const
 
bool simulate_evpn_tor () const
 
std::string si_netns_command () const
 
std::string si_docker_command () const
 
const int si_netns_workers () const
 
const int si_netns_timeout () const
 
std::string si_lb_ssl_cert_path () const
 
std::string si_lbaas_auth_conf () const
 
std::string nexthop_server_endpoint () const
 
const std::string & config_file () const
 
const std::string & program_name () const
 
const std::string log_file () const
 
const int log_files_count () const
 
const long log_file_size () const
 
bool log_local () const
 
bool log_flow () const
 
const std::vector< std::string > & get_sample_destination ()
 
const std::vector< std::string > & get_slo_destination ()
 
const std::string & log_level () const
 
const std::string & log_category () const
 
const std::string & log_property_file () const
 
const bool use_syslog () const
 
const std::string syslog_facility () const
 
const std::vector< std::string > collector_server_list () const
 
const std::map< std::string,
std::map< std::string,
std::string > > 
derived_stats_map () const
 
uint16_t http_server_port () const
 
uint16_t rest_port () const
 
const std::string & host_name () const
 
int agent_stats_interval () const
 
int flow_stats_interval () const
 
int vrouter_stats_interval () const
 
void set_agent_stats_interval (int val)
 
void set_flow_stats_interval (int val)
 
void set_vrouter_stats_interval (int val)
 
void set_subnet_hosts_resolvable (bool val)
 
VirtualGatewayConfigTablevgw_config_table () const
 
const std::string & vmware_physical_port () const
 
HypervisorMode mode () const
 
bool isXenMode () const
 
bool isKvmMode () const
 
bool isDockerMode () const
 
bool isVmwareMode () const
 
bool isVmwareVcenterMode () const
 
VmwareMode vmware_mode () const
 
Platform platform () const
 
bool vrouter_on_nic_mode () const
 
bool vrouter_on_host_dpdk () const
 
bool vrouter_on_host () const
 
bool subnet_hosts_resolvable () const
 
void Init (const std::string &config_file, const std::string &program_name)
 
void ReInit ()
 
void DebugInit ()
 
void LogConfig () const
 
void LogFilteredConfig () const
 
void PostValidateLogConfig () const
 
void InitVhostAndXenLLPrefix ()
 
void InitPlatform ()
 
void set_test_mode (bool mode)
 
bool test_mode () const
 
void AddOptions (const boost::program_options::options_description &opt)
 
void ConfigAddOptions (const boost::program_options::options_description &opt)
 
void ParseArguments (int argc, char *argv[])
 
const
boost::program_options::variables_map & 
var_map () const
 
boost::program_options::options_description options () const
 
AgentMode agent_mode () const
 
bool isTsnAgent () const
 
bool isTorAgent () const
 
bool IsForwardingEnabled () const
 
bool isServerGatewayMode () const
 
bool isVcpeGatewayMode () const
 
bool isPbbGatewayMode () const
 
GatewayMode gateway_mode () const
 
const AddressListcompute_node_address_list () const
 
void BuildAddressList (const std::string &val)
 
void SplitByDelimiter (const std::string &txt, std::vector< std::string > &strs, char ch)
 
std::string exception_packet_interface () const
 
const std::vector< std::string > & physical_interface_pci_addr_list () const
 
const std::vector< std::string > & physical_interface_mac_addr_list () const
 
std::string agent_base_dir () const
 
const std::string & bgp_as_a_service_port_range () const
 
const std::vector< uint16_t > & bgp_as_a_service_port_range_value () const
 
uint32_t services_queue_limit ()
 
uint32_t bgpaas_max_shared_sessions () const
 
void set_bgpaas_max_shared_sessions (uint32_t val)
 
const SandeshConfigsandesh_config () const
 
uint16_t flow_thread_count () const
 
void set_flow_thread_count (uint16_t count)
 
bool flow_trace_enable () const
 
void set_flow_trace_enable (bool val)
 
bool flow_use_rid_in_hash () const
 
uint16_t flow_task_latency_limit () const
 
void set_flow_task_latency_limit (uint16_t count)
 
uint16_t max_sessions_per_aggregate () const
 
uint16_t max_aggregates_per_session_endpoint () const
 
uint16_t max_endpoints_per_session_msg () const
 
std::string ksync_thread_cpu_pin_policy () const
 
uint32_t tbb_thread_count () const
 
uint32_t tbb_exec_delay () const
 
uint32_t tbb_schedule_delay () const
 
uint32_t tbb_keepawake_timeout () const
 
uint32_t task_monitor_timeout_msec () const
 
uint16_t min_aap_prefix_len () const
 
uint16_t vmi_vm_vn_uve_interval () const
 
uint32_t vmi_vm_vn_uve_interval_msecs () const
 
uint16_t fabric_snat_hash_table_size () const
 
bool restart_backup_enable () const
 
void set_restart_backup_enable (bool val)
 
uint64_t restart_backup_idle_timeout () const
 
const std::string & restart_backup_dir () const
 
uint16_t restart_backup_count () const
 
bool restart_restore_enable () const
 
uint64_t restart_restore_audit_timeout () const
 
const std::string huge_page_file_1G (uint16_t index) const
 
const std::string huge_page_file_2M (uint16_t index) const
 
uint32_t pkt0_tx_buffer_count () const
 
void set_pkt0_tx_buffer_count (uint32_t val)
 
bool measure_queue_delay () const
 
void set_measure_queue_delay (bool val)
 
const std::set< uint16_t > & nic_queue_list () const
 
uint16_t get_nic_queue (uint16_t queue)
 
uint16_t default_nic_queue () const
 
void add_nic_queue (uint16_t queue, uint16_t nic_queue)
 
const LlgrParamsllgr_params () const
 
void set_mac_learning_thread_count (uint32_t threads)
 
uint32_t mac_learning_thread_count () const
 
void set_mac_learning_add_tokens (uint32_t add_tokens)
 
uint32_t mac_learning_add_tokens () const
 
void set_mac_learning_update_tokens (uint32_t update_tokens)
 
uint32_t mac_learning_update_tokens () const
 
void set_mac_learning_delete_tokens (uint32_t delete_tokens)
 
uint32_t mac_learning_delete_tokens ()
 
bool qos_priority_tagging () const
 
bool IsConfiguredTsnHostRoute (std::string addr) const
 
bool mvpn_ipv4_enable () const
 
void set_mvpn_ipv4_enable (bool val)
 
bool cat_is_agent_mocked () const
 
bool cat_is_dpdk_mocked () const
 
std::string cat_ksocketdir () const
 
float vr_object_high_watermark () const
 
const Ip4Addressloopback_ip () const
 

Public Attributes

std::map< std::string, uint32_t > trace_buff_size_map
 
std::map< std::string,
uint32_t >::iterator 
trace_buff_size_iter
 

Static Public Attributes

static const uint32_t kAgentStatsInterval = (30 * 1000)
 
static const uint32_t kFlowStatsInterval = (1000)
 
static const uint32_t kVrouterStatsInterval = (30 * 1000)
 

Protected Member Functions

void set_hypervisor_mode (HypervisorMode m)
 
virtual void InitFromSystem ()
 
virtual void InitFromConfig ()
 
virtual void ReInitFromConfig ()
 
virtual void DebugInitFromConfig ()
 
virtual void ProcessTraceArguments ()
 
virtual void ProcessArguments ()
 
boost::property_tree::ptree & tree ()
 
template<typename ValueType >
bool GetValueFromTree (ValueType &var, const std::string &val)
 
bool GetIpAddress (const std::string &str, Ip4Address *addr)
 
bool ParseIp (const std::string &key, Ip4Address *server)
 
bool ParseServerList (const std::string &key, Ip4Address *s1, Ip4Address *s2)
 
bool ParseAddress (const std::string &addr_string, Ip4Address *server, uint16_t *port)
 
bool ParseServerList (const std::string &key, Ip4Address *server1, uint16_t *port1, Ip4Address *server2, uint16_t *port2)
 
void ParseIpArgument (const boost::program_options::variables_map &var_map, Ip4Address &server, const std::string &key)
 
bool ParseServerListArguments (const boost::program_options::variables_map &var_map, Ip4Address &server1, Ip4Address &server2, const std::string &key)
 
bool ParseServerListArguments (const boost::program_options::variables_map &var_map, Ip4Address *server1, uint16_t *port1, Ip4Address *server2, uint16_t *port2, const std::string &key)
 
void ParseTestFrameworkArguments (const boost::program_options::variables_map &var_map)
 

Private Member Functions

void UpdateBgpAsaServicePortRange ()
 
void UpdateBgpAsaServicePortRangeValue ()
 
void ComputeFlowAndFileLimits ()
 
void ComputeVrWatermark ()
 
void ParseQueue ()
 
void set_agent_mode (const std::string &mode)
 
void set_gateway_mode (const std::string &mode)
 
void ParseCollectorDSArguments (const boost::program_options::variables_map &v)
 
void ParseCollectorArguments (const boost::program_options::variables_map &var_map)
 
void ParseControllerServersArguments (const boost::program_options::variables_map &var_map)
 
void ParseDnsServersArguments (const boost::program_options::variables_map &var_map)
 
void ParseTsnServersArguments (const boost::program_options::variables_map &var_map)
 
void ParseVirtualHostArguments (const boost::program_options::variables_map &v)
 
void ParseDnsArguments (const boost::program_options::variables_map &v)
 
void ParseNetworksArguments (const boost::program_options::variables_map &v)
 
void ParseHypervisorArguments (const boost::program_options::variables_map &v)
 
void ParseDefaultSectionArguments (const boost::program_options::variables_map &v)
 
void ParseTaskSectionArguments (const boost::program_options::variables_map &v)
 
void ParseMetadataProxyArguments (const boost::program_options::variables_map &v)
 
void ParseFlowArguments (const boost::program_options::variables_map &v)
 
void ParseDhcpRelayModeArguments (const boost::program_options::variables_map &var_map)
 
void ParseSimulateEvpnTorArguments (const boost::program_options::variables_map &var_map)
 
void ParseServiceInstanceArguments (const boost::program_options::variables_map &v)
 
void ParseAgentInfoArguments (const boost::program_options::variables_map &v)
 
void ParseNexthopServerArguments (const boost::program_options::variables_map &v)
 
void ParsePlatformArguments (const boost::program_options::variables_map &v)
 
void ParseServicesArguments (const boost::program_options::variables_map &v)
 
void ParseSandeshArguments (const boost::program_options::variables_map &v)
 
void ParseRestartArguments (const boost::program_options::variables_map &v)
 
void ParseLlgrArguments (const boost::program_options::variables_map &v)
 
void ParseMacLearning (const boost::program_options::variables_map &v)
 
void ParseCryptArguments (const boost::program_options::variables_map &v)
 
void ParseSessionDestinationArguments (const boost::program_options::variables_map &v)
 
void ParseTraceArguments (const boost::program_options::variables_map &v)
 
 DISALLOW_COPY_AND_ASSIGN (AgentParam)
 

Static Private Member Functions

static std::map< string,
std::map< string, string > > 
ParseDerivedStats (const std::vector< std::string > &dsvec)
 

Private Attributes

boost::program_options::variables_map var_map_
 
boost::program_options::options_description options_
 
boost::program_options::options_description config_file_options_
 
bool enable_flow_options_
 
bool enable_vhost_options_
 
bool enable_hypervisor_options_
 
bool enable_service_options_
 
AgentMode agent_mode_
 
GatewayMode gateway_mode_
 
Agentagent_
 
PortInfo vhost_
 
uint32_t pkt0_tx_buffer_count_
 
bool measure_queue_delay_
 
std::string agent_name_
 
std::vector< std::string > eth_port_list_
 
AddressList eth_port_addr_list_
 
std::vector< int > eth_port_plen_list_
 
bool eth_port_no_arp_
 
std::string eth_port_encap_type_
 
std::string crypt_port_
 
bool crypt_port_no_arp_
 
std::string crypt_port_encap_type_
 
std::vector< std::string > controller_server_list_
 
std::string subcluster_name_
 
std::vector< std::string > dns_server_list_
 
std::vector< std::string > tsn_server_list_
 
uint16_t dns_client_port_
 
uint32_t dns_timeout_
 
uint32_t dns_max_retries_
 
uint16_t mirror_client_port_
 
Ip4Address mgmt_ip_
 
HypervisorMode hypervisor_mode_
 
PortInfo xen_ll_
 
std::string tunnel_type_
 
std::string metadata_shared_secret_
 
uint16_t metadata_proxy_port_
 
bool metadata_use_ssl_
 
std::string metadata_client_cert_
 
std::string metadata_client_cert_type_
 
std::string metadata_client_key_
 
std::string metadata_ca_cert_
 
float max_vm_flows_
 
uint16_t linklocal_system_flows_
 
uint16_t linklocal_vm_flows_
 
uint16_t flow_cache_timeout_
 
uint16_t flow_index_sm_log_count_
 
uint32_t flow_add_tokens_
 
uint32_t flow_ksync_tokens_
 
uint32_t flow_del_tokens_
 
uint32_t flow_update_tokens_
 
uint32_t flow_netlink_pin_cpuid_
 
uint32_t stale_interface_cleanup_timeout_
 
std::string config_file_
 
std::string program_name_
 
std::string log_file_
 
int log_files_count_
 
long log_file_size_
 
std::string log_property_file_
 
bool log_local_
 
bool log_flow_
 
std::vector< std::string > slo_destination_
 
std::vector< std::string > sample_destination_
 
std::string log_level_
 
std::string log_category_
 
bool use_syslog_
 
std::string syslog_facility_
 
std::vector< std::string > collector_server_list_
 
std::map< std::string,
std::map< std::string,
std::string > > 
derived_stats_map_
 
uint16_t http_server_port_
 
uint16_t rest_port_
 
std::string host_name_
 
int agent_stats_interval_
 
int flow_stats_interval_
 
int vrouter_stats_interval_
 
std::string vmware_physical_port_
 
bool test_mode_
 
boost::property_tree::ptree tree_
 
std::unique_ptr
< VirtualGatewayConfigTable
vgw_config_table_
 
bool dhcp_relay_mode_
 
bool xmpp_auth_enable_
 
std::string xmpp_server_cert_
 
std::string xmpp_server_key_
 
std::string xmpp_ca_cert_
 
bool xmpp_dns_auth_enable_
 
bool simulate_evpn_tor_
 
std::string si_netns_command_
 
std::string si_docker_command_
 
int si_netns_workers_
 
int si_netns_timeout_
 
std::string si_lb_ssl_cert_path_
 
std::string si_lbaas_auth_conf_
 
VmwareMode vmware_mode_
 
AddressList compute_node_address_list_
 
std::string nexthop_server_endpoint_
 
bool nexthop_server_add_pid_
 
bool vrouter_on_nic_mode_
 
std::string exception_packet_interface_
 
Platform platform_
 
std::vector< std::string > physical_interface_pci_addr_list_
 
std::vector< std::string > physical_interface_mac_addr_list_
 
std::string agent_base_dir_
 
uint16_t flow_thread_count_
 
bool flow_trace_enable_
 
bool flow_hash_excl_rid_
 
uint16_t flow_latency_limit_
 
uint16_t max_sessions_per_aggregate_
 
uint16_t max_aggregates_per_session_endpoint_
 
uint16_t max_endpoints_per_session_msg_
 
bool subnet_hosts_resolvable_
 
std::string bgp_as_a_service_port_range_
 
std::vector< uint16_t > bgp_as_a_service_port_range_value_
 
uint32_t services_queue_limit_
 
uint32_t bgpaas_max_shared_sessions_
 
SandeshConfig sandesh_config_
 
bool restart_backup_enable_
 
uint64_t restart_backup_idle_timeout_
 
std::string restart_backup_dir_
 
uint16_t restart_backup_count_
 
bool restart_restore_enable_
 
uint64_t restart_restore_audit_timeout_
 
std::vector< std::string > huge_page_file_1G_
 
std::vector< std::string > huge_page_file_2M_
 
std::string ksync_thread_cpu_pin_policy_
 
uint32_t tbb_thread_count_
 
uint32_t tbb_exec_delay_
 
uint32_t tbb_schedule_delay_
 
uint32_t tbb_keepawake_timeout_
 
uint32_t task_monitor_timeout_msec_
 
bool qos_priority_tagging_
 
std::map< uint16_t, uint16_t > qos_queue_map_
 
std::set< uint16_t > nic_queue_list_
 
uint16_t default_nic_queue_
 
LlgrParams llgr_params_
 
uint32_t mac_learning_thread_count_
 
uint32_t mac_learning_add_tokens_
 
uint32_t mac_learning_update_tokens_
 
uint32_t mac_learning_delete_tokens_
 
uint16_t min_aap_prefix_len_
 
uint16_t vmi_vm_vn_uve_interval_
 
uint16_t fabric_snat_hash_table_size_
 
bool mvpn_ipv4_enable_
 
bool AgentMock_
 
bool cat_MockDPDK_
 
std::string cat_kSocketDir_
 
float vr_object_high_watermark_
 
Ip4Address loopback_ip_
 
AddressList gateway_list_
 

Friends

class AgentParamTest
 

Detailed Description

Definition at line 112 of file agent_param.h.

Member Typedef Documentation

typedef std::vector<Ip4Address> AgentParam::AddressList

Definition at line 117 of file agent_param.h.

Member Enumeration Documentation

Enumerator
VROUTER_AGENT 
TSN_AGENT 
TSN_NO_FORWARDING_AGENT 
TOR_AGENT 

Definition at line 120 of file agent_param.h.

Enumerator
VCPE 
SERVER 
PBB 
NONE 

Definition at line 128 of file agent_param.h.

Enumerator
MODE_INVALID 
MODE_KVM 
MODE_XEN 
MODE_VMWARE 
MODE_DOCKER 

Definition at line 136 of file agent_param.h.

Enumerator
VROUTER_ON_HOST 
VROUTER_ON_HOST_DPDK 
VROUTER_ON_NIC 

Definition at line 149 of file agent_param.h.

Enumerator
ESXI_NEUTRON 
VCENTER 

Definition at line 144 of file agent_param.h.

Constructor & Destructor Documentation

AgentParam::AgentParam ( bool  enable_flow_options = true,
bool  enable_vhost_options = true,
bool  enable_hypervisor_options = true,
bool  enable_service_options = true,
AgentMode  agent_mode = VROUTER_AGENT 
)

Definition at line 1742 of file agent_param.cc.

Here is the call graph for this function:

AgentParam::~AgentParam ( )
virtual

Definition at line 2438 of file agent_param.cc.

Member Function Documentation

void AgentParam::add_nic_queue ( uint16_t  queue,
uint16_t  nic_queue 
)
inline

Definition at line 525 of file agent_param.h.

void AgentParam::AddOptions ( const boost::program_options::options_description &  opt)

Definition at line 1727 of file agent_param.cc.

std::string AgentParam::agent_base_dir ( ) const
inline

Definition at line 410 of file agent_param.h.

AgentMode AgentParam::agent_mode ( ) const
inline

Definition at line 380 of file agent_param.h.

const std::string& AgentParam::agent_name ( ) const
inline

Definition at line 204 of file agent_param.h.

int AgentParam::agent_stats_interval ( ) const
inline

Definition at line 315 of file agent_param.h.

Here is the call graph for this function:

const std::string& AgentParam::bgp_as_a_service_port_range ( ) const
inline

Definition at line 411 of file agent_param.h.

const std::vector<uint16_t>& AgentParam::bgp_as_a_service_port_range_value ( ) const
inline

Definition at line 414 of file agent_param.h.

uint32_t AgentParam::bgpaas_max_shared_sessions ( ) const
inline

Definition at line 418 of file agent_param.h.

void AgentParam::BuildAddressList ( const std::string &  val)

Definition at line 262 of file agent_param.cc.

void AgentParam::BuildAddrList ( const std::string &  val,
AddressList addr_list 
)

Definition at line 469 of file agent_param.cc.

Here is the call graph for this function:

bool AgentParam::cat_is_agent_mocked ( ) const
inline

Definition at line 569 of file agent_param.h.

bool AgentParam::cat_is_dpdk_mocked ( ) const
inline

Definition at line 571 of file agent_param.h.

std::string AgentParam::cat_ksocketdir ( ) const
inline

Definition at line 573 of file agent_param.h.

const std::vector<std::string> AgentParam::collector_server_list ( ) const
inline

Definition at line 306 of file agent_param.h.

const AddressList& AgentParam::compute_node_address_list ( ) const
inline

Definition at line 394 of file agent_param.h.

void AgentParam::ComputeFlowAndFileLimits ( )
private

Definition at line 1287 of file agent_param.cc.

void AgentParam::ComputeVrWatermark ( )
private

Definition at line 1272 of file agent_param.cc.

const std::string& AgentParam::config_file ( ) const
inline

Definition at line 288 of file agent_param.h.

void AgentParam::ConfigAddOptions ( const boost::program_options::options_description &  opt)

Definition at line 1732 of file agent_param.cc.

const std::vector<std::string> AgentParam::controller_server_list ( ) const
inline

Definition at line 217 of file agent_param.h.

const std::string& AgentParam::crypt_port ( ) const
inline

Definition at line 213 of file agent_param.h.

const std::string& AgentParam::crypt_port_encap_type ( ) const
inline

Definition at line 215 of file agent_param.h.

const bool& AgentParam::crypt_port_no_arp ( ) const
inline

Definition at line 214 of file agent_param.h.

void AgentParam::DebugInit ( )

Definition at line 1508 of file agent_param.cc.

void AgentParam::DebugInitFromConfig ( )
protectedvirtual

Definition at line 1185 of file agent_param.cc.

uint16_t AgentParam::default_nic_queue ( ) const
inline

Definition at line 521 of file agent_param.h.

const std::map<std::string, std::map<std::string, std::string> > AgentParam::derived_stats_map ( ) const
inline

Definition at line 309 of file agent_param.h.

bool AgentParam::dhcp_relay_mode ( ) const
inline

Definition at line 266 of file agent_param.h.

AgentParam::DISALLOW_COPY_AND_ASSIGN ( AgentParam  )
private
const uint16_t AgentParam::dns_client_port ( ) const
inline

Definition at line 227 of file agent_param.h.

const uint32_t AgentParam::dns_max_retries ( ) const
inline

Definition at line 233 of file agent_param.h.

const std::vector<std::string> AgentParam::dns_server_list ( ) const
inline

Definition at line 221 of file agent_param.h.

const uint32_t AgentParam::dns_timeout ( ) const
inline

Definition at line 232 of file agent_param.h.

const AddressList& AgentParam::eth_port_addr_list ( ) const
inline

Definition at line 208 of file agent_param.h.

const std::string& AgentParam::eth_port_encap_type ( ) const
inline

Definition at line 207 of file agent_param.h.

const std::vector<std::string>& AgentParam::eth_port_list ( ) const
inline

Definition at line 205 of file agent_param.h.

const bool& AgentParam::eth_port_no_arp ( ) const
inline

Definition at line 206 of file agent_param.h.

const std::vector<int>& AgentParam::eth_port_plen_list ( ) const
inline

Definition at line 211 of file agent_param.h.

std::string AgentParam::exception_packet_interface ( ) const
inline

Definition at line 401 of file agent_param.h.

uint16_t AgentParam::fabric_snat_hash_table_size ( ) const
inline

Definition at line 471 of file agent_param.h.

uint32_t AgentParam::flow_add_tokens ( ) const
inline

Definition at line 259 of file agent_param.h.

uint32_t AgentParam::flow_cache_timeout ( ) const
inline

Definition at line 257 of file agent_param.h.

uint32_t AgentParam::flow_del_tokens ( ) const
inline

Definition at line 261 of file agent_param.h.

uint16_t AgentParam::flow_index_sm_log_count ( ) const
inline

Definition at line 258 of file agent_param.h.

uint32_t AgentParam::flow_ksync_tokens ( ) const
inline

Definition at line 260 of file agent_param.h.

int AgentParam::flow_stats_interval ( ) const
inline

Definition at line 321 of file agent_param.h.

uint16_t AgentParam::flow_task_latency_limit ( ) const
inline

Definition at line 436 of file agent_param.h.

uint16_t AgentParam::flow_thread_count ( ) const
inline

Definition at line 428 of file agent_param.h.

bool AgentParam::flow_trace_enable ( ) const
inline

Definition at line 431 of file agent_param.h.

uint32_t AgentParam::flow_update_tokens ( ) const
inline

Definition at line 262 of file agent_param.h.

bool AgentParam::flow_use_rid_in_hash ( ) const
inline

Definition at line 434 of file agent_param.h.

const AddressList& AgentParam::gateway_list ( ) const
inline

Definition at line 191 of file agent_param.h.

GatewayMode AgentParam::gateway_mode ( ) const
inline

Definition at line 392 of file agent_param.h.

uint16_t AgentParam::get_nic_queue ( uint16_t  queue)
inline

Definition at line 513 of file agent_param.h.

const std::vector<std::string>& AgentParam::get_sample_destination ( )
inline

Definition at line 295 of file agent_param.h.

const std::vector<std::string>& AgentParam::get_slo_destination ( )
inline

Definition at line 298 of file agent_param.h.

bool AgentParam::GetIpAddress ( const std::string &  str,
Ip4Address addr 
)
protected

Definition at line 46 of file agent_param.cc.

template<typename ValueType >
bool AgentParam::GetValueFromTree ( ValueType var,
const std::string &  val 
)
inlineprotected

Definition at line 589 of file agent_param.h.

const std::string& AgentParam::host_name ( ) const
inline

Definition at line 314 of file agent_param.h.

uint16_t AgentParam::http_server_port ( ) const
inline

Definition at line 312 of file agent_param.h.

const std::string AgentParam::huge_page_file_1G ( uint16_t  index) const
inline

Definition at line 492 of file agent_param.h.

const std::string AgentParam::huge_page_file_2M ( uint16_t  index) const
inline

Definition at line 498 of file agent_param.h.

void AgentParam::Init ( const std::string &  config_file,
const std::string &  program_name 
)

Definition at line 1463 of file agent_param.cc.

Here is the call graph for this function:

void AgentParam::InitFromConfig ( )
protectedvirtual

Definition at line 1134 of file agent_param.cc.

void AgentParam::InitFromSystem ( )
protectedvirtual

Definition at line 1117 of file agent_param.cc.

void AgentParam::InitPlatform ( )
void AgentParam::InitVhostAndXenLLPrefix ( )

Definition at line 1449 of file agent_param.cc.

bool AgentParam::IsConfiguredTsnHostRoute ( std::string  addr) const

Definition at line 1458 of file agent_param.cc.

bool AgentParam::isDockerMode ( ) const
inline

Definition at line 339 of file agent_param.h.

bool AgentParam::IsForwardingEnabled ( ) const
inline

Definition at line 386 of file agent_param.h.

bool AgentParam::isKvmMode ( ) const
inline

Definition at line 338 of file agent_param.h.

bool AgentParam::isPbbGatewayMode ( ) const
inline

Definition at line 391 of file agent_param.h.

bool AgentParam::isServerGatewayMode ( ) const
inline

Definition at line 389 of file agent_param.h.

bool AgentParam::isTorAgent ( ) const
inline

Definition at line 385 of file agent_param.h.

bool AgentParam::isTsnAgent ( ) const
inline

Definition at line 381 of file agent_param.h.

bool AgentParam::isVcpeGatewayMode ( ) const
inline

Definition at line 390 of file agent_param.h.

bool AgentParam::IsVHostConfigured ( )
inline

Definition at line 179 of file agent_param.h.

bool AgentParam::isVmwareMode ( ) const
inline

Definition at line 340 of file agent_param.h.

bool AgentParam::isVmwareVcenterMode ( ) const
inline

Definition at line 341 of file agent_param.h.

bool AgentParam::isXenMode ( ) const
inline

Definition at line 337 of file agent_param.h.

std::string AgentParam::ksync_thread_cpu_pin_policy ( ) const
inline

Definition at line 450 of file agent_param.h.

uint32_t AgentParam::linklocal_system_flows ( ) const
inline

Definition at line 255 of file agent_param.h.

uint32_t AgentParam::linklocal_vm_flows ( ) const
inline

Definition at line 256 of file agent_param.h.

const LlgrParams& AgentParam::llgr_params ( ) const
inline

Definition at line 528 of file agent_param.h.

const std::string& AgentParam::log_category ( ) const
inline

Definition at line 302 of file agent_param.h.

const std::string AgentParam::log_file ( ) const
inline

Definition at line 290 of file agent_param.h.

const long AgentParam::log_file_size ( ) const
inline

Definition at line 292 of file agent_param.h.

const int AgentParam::log_files_count ( ) const
inline

Definition at line 291 of file agent_param.h.

bool AgentParam::log_flow ( ) const
inline

Definition at line 294 of file agent_param.h.

const std::string& AgentParam::log_level ( ) const
inline

Definition at line 301 of file agent_param.h.

bool AgentParam::log_local ( ) const
inline

Definition at line 293 of file agent_param.h.

const std::string& AgentParam::log_property_file ( ) const
inline

Definition at line 303 of file agent_param.h.

void AgentParam::LogConfig ( ) const

Definition at line 1548 of file agent_param.cc.

void AgentParam::LogFilteredConfig ( ) const

Definition at line 1513 of file agent_param.cc.

const Ip4Address& AgentParam::loopback_ip ( ) const
inline

Definition at line 577 of file agent_param.h.

uint32_t AgentParam::mac_learning_add_tokens ( ) const
inline

Definition at line 542 of file agent_param.h.

uint32_t AgentParam::mac_learning_delete_tokens ( )
inline

Definition at line 558 of file agent_param.h.

uint32_t AgentParam::mac_learning_thread_count ( ) const
inline

Definition at line 534 of file agent_param.h.

uint32_t AgentParam::mac_learning_update_tokens ( ) const
inline

Definition at line 550 of file agent_param.h.

uint16_t AgentParam::max_aggregates_per_session_endpoint ( ) const
inline

Definition at line 444 of file agent_param.h.

uint16_t AgentParam::max_endpoints_per_session_msg ( ) const
inline

Definition at line 447 of file agent_param.h.

uint16_t AgentParam::max_sessions_per_aggregate ( ) const
inline

Definition at line 441 of file agent_param.h.

float AgentParam::max_vm_flows ( ) const
inline

Definition at line 254 of file agent_param.h.

bool AgentParam::measure_queue_delay ( ) const
inline

Definition at line 508 of file agent_param.h.

std::string AgentParam::metadata_ca_cert ( ) const
inline

Definition at line 253 of file agent_param.h.

std::string AgentParam::metadata_client_cert ( ) const
inline

Definition at line 248 of file agent_param.h.

std::string AgentParam::metadata_client_cert_type ( ) const
inline

Definition at line 249 of file agent_param.h.

std::string AgentParam::metadata_client_key ( ) const
inline

Definition at line 252 of file agent_param.h.

uint16_t AgentParam::metadata_proxy_port ( ) const
inline

Definition at line 242 of file agent_param.h.

const std::string& AgentParam::metadata_shared_secret ( ) const
inline

Definition at line 241 of file agent_param.h.

const bool AgentParam::metadata_use_ssl ( ) const
inline

Definition at line 247 of file agent_param.h.

const Ip4Address& AgentParam::mgmt_ip ( ) const
inline

Definition at line 239 of file agent_param.h.

uint16_t AgentParam::min_aap_prefix_len ( ) const
inline

Definition at line 460 of file agent_param.h.

const uint16_t AgentParam::mirror_client_port ( ) const
inline

Definition at line 234 of file agent_param.h.

HypervisorMode AgentParam::mode ( ) const
inline

Definition at line 336 of file agent_param.h.

bool AgentParam::mvpn_ipv4_enable ( ) const
inline

Definition at line 565 of file agent_param.h.

std::string AgentParam::nexthop_server_endpoint ( ) const
inline

Definition at line 284 of file agent_param.h.

const std::set<uint16_t>& AgentParam::nic_queue_list ( ) const
inline

Definition at line 510 of file agent_param.h.

boost::program_options::options_description AgentParam::options ( ) const
inline

Definition at line 377 of file agent_param.h.

bool AgentParam::ParseAddress ( const std::string &  addr_string,
Ip4Address server,
uint16_t *  port 
)
protected

Definition at line 103 of file agent_param.cc.

Here is the call graph for this function:

void AgentParam::ParseAgentInfoArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 736 of file agent_param.cc.

void AgentParam::ParseArguments ( int  argc,
char *  argv[] 
)

Definition at line 1736 of file agent_param.cc.

void AgentParam::ParseCollectorArguments ( const boost::program_options::variables_map &  var_map)
private

Definition at line 413 of file agent_param.cc.

void AgentParam::ParseCollectorDSArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 459 of file agent_param.cc.

Here is the call graph for this function:

void AgentParam::ParseControllerServersArguments ( const boost::program_options::variables_map &  var_map)
private

Definition at line 424 of file agent_param.cc.

void AgentParam::ParseCryptArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 913 of file agent_param.cc.

void AgentParam::ParseDefaultSectionArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 603 of file agent_param.cc.

std::map< string, std::map< string, string > > AgentParam::ParseDerivedStats ( const std::vector< std::string > &  dsvec)
staticprivate

Definition at line 225 of file agent_param.cc.

Here is the call graph for this function:

void AgentParam::ParseDhcpRelayModeArguments ( const boost::program_options::variables_map &  var_map)
private

Definition at line 726 of file agent_param.cc.

void AgentParam::ParseDnsArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 542 of file agent_param.cc.

void AgentParam::ParseDnsServersArguments ( const boost::program_options::variables_map &  var_map)
private

Definition at line 436 of file agent_param.cc.

void AgentParam::ParseFlowArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 689 of file agent_param.cc.

void AgentParam::ParseHypervisorArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 554 of file agent_param.cc.

Here is the call graph for this function:

bool AgentParam::ParseIp ( const std::string &  key,
Ip4Address server 
)
protected

Definition at line 56 of file agent_param.cc.

void AgentParam::ParseIpArgument ( const boost::program_options::variables_map &  var_map,
Ip4Address server,
const std::string &  key 
)
protected

Definition at line 154 of file agent_param.cc.

void AgentParam::ParseLlgrArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 883 of file agent_param.cc.

void AgentParam::ParseMacLearning ( const boost::program_options::variables_map &  v)
private

Definition at line 901 of file agent_param.cc.

void AgentParam::ParseMetadataProxyArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 671 of file agent_param.cc.

void AgentParam::ParseNetworksArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 549 of file agent_param.cc.

void AgentParam::ParseNexthopServerArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 762 of file agent_param.cc.

void AgentParam::ParsePlatformArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 790 of file agent_param.cc.

void AgentParam::ParseQueue ( )
private

Definition at line 309 of file agent_param.cc.

Here is the call graph for this function:

void AgentParam::ParseRestartArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 856 of file agent_param.cc.

void AgentParam::ParseSandeshArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 851 of file agent_param.cc.

Here is the call graph for this function:

bool AgentParam::ParseServerList ( const std::string &  key,
Ip4Address s1,
Ip4Address s2 
)
protected
bool AgentParam::ParseServerList ( const std::string &  key,
Ip4Address server1,
uint16_t *  port1,
Ip4Address server2,
uint16_t *  port2 
)
protected

Definition at line 127 of file agent_param.cc.

bool AgentParam::ParseServerListArguments ( const boost::program_options::variables_map &  var_map,
Ip4Address server1,
Ip4Address server2,
const std::string &  key 
)
protected
bool AgentParam::ParseServerListArguments ( const boost::program_options::variables_map &  var_map,
Ip4Address server1,
uint16_t *  port1,
Ip4Address server2,
uint16_t *  port2,
const std::string &  key 
)
protected

Definition at line 197 of file agent_param.cc.

void AgentParam::ParseServiceInstanceArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 749 of file agent_param.cc.

void AgentParam::ParseServicesArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 842 of file agent_param.cc.

void AgentParam::ParseSessionDestinationArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 369 of file agent_param.cc.

Here is the call graph for this function:

void AgentParam::ParseSimulateEvpnTorArguments ( const boost::program_options::variables_map &  var_map)
private

Definition at line 731 of file agent_param.cc.

void AgentParam::ParseTaskSectionArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 653 of file agent_param.cc.

void AgentParam::ParseTestFrameworkArguments ( const boost::program_options::variables_map &  var_map)
protected

Definition at line 820 of file agent_param.cc.

void AgentParam::ParseTraceArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 919 of file agent_param.cc.

void AgentParam::ParseTsnServersArguments ( const boost::program_options::variables_map &  var_map)
private

Definition at line 447 of file agent_param.cc.

void AgentParam::ParseVirtualHostArguments ( const boost::program_options::variables_map &  v)
private

Definition at line 505 of file agent_param.cc.

Here is the call graph for this function:

const std::vector<std::string>& AgentParam::physical_interface_mac_addr_list ( ) const
inline

Definition at line 407 of file agent_param.h.

const std::vector<std::string>& AgentParam::physical_interface_pci_addr_list ( ) const
inline

Definition at line 404 of file agent_param.h.

uint32_t AgentParam::pkt0_tx_buffer_count ( ) const
inline

Definition at line 506 of file agent_param.h.

Platform AgentParam::platform ( ) const
inline

Definition at line 343 of file agent_param.h.

void AgentParam::PostValidateLogConfig ( ) const

Definition at line 1706 of file agent_param.cc.

void AgentParam::ProcessArguments ( )
protectedvirtual

Reimplemented in TorAgentParam.

Definition at line 1155 of file agent_param.cc.

void AgentParam::ProcessTraceArguments ( )
protectedvirtual

Definition at line 1498 of file agent_param.cc.

Here is the call graph for this function:

const std::string& AgentParam::program_name ( ) const
inline

Definition at line 289 of file agent_param.h.

bool AgentParam::qos_priority_tagging ( ) const
inline

Definition at line 562 of file agent_param.h.

void AgentParam::ReInit ( )

Definition at line 1478 of file agent_param.cc.

void AgentParam::ReInitFromConfig ( )
protectedvirtual

Definition at line 1202 of file agent_param.cc.

uint16_t AgentParam::rest_port ( ) const
inline

Definition at line 313 of file agent_param.h.

uint16_t AgentParam::restart_backup_count ( ) const
inline

Definition at line 486 of file agent_param.h.

const std::string& AgentParam::restart_backup_dir ( ) const
inline

Definition at line 483 of file agent_param.h.

bool AgentParam::restart_backup_enable ( ) const
inline

Definition at line 476 of file agent_param.h.

uint64_t AgentParam::restart_backup_idle_timeout ( ) const
inline

Definition at line 480 of file agent_param.h.

uint64_t AgentParam::restart_restore_audit_timeout ( ) const
inline

Definition at line 488 of file agent_param.h.

bool AgentParam::restart_restore_enable ( ) const
inline

Definition at line 487 of file agent_param.h.

const SandeshConfig& AgentParam::sandesh_config ( ) const
inline

Definition at line 426 of file agent_param.h.

uint32_t AgentParam::services_queue_limit ( )
inline

Definition at line 417 of file agent_param.h.

void AgentParam::set_agent_mode ( const std::string &  mode)
private

Definition at line 285 of file agent_param.cc.

void AgentParam::set_agent_stats_interval ( int  val)
inline

Definition at line 323 of file agent_param.h.

void AgentParam::set_bgpaas_max_shared_sessions ( uint32_t  val)
inline

Definition at line 421 of file agent_param.h.

void AgentParam::set_flow_stats_interval ( int  val)
inline

Definition at line 324 of file agent_param.h.

void AgentParam::set_flow_task_latency_limit ( uint16_t  count)
inline

Definition at line 437 of file agent_param.h.

void AgentParam::set_flow_thread_count ( uint16_t  count)
inline

Definition at line 429 of file agent_param.h.

void AgentParam::set_flow_trace_enable ( bool  val)
inline

Definition at line 432 of file agent_param.h.

void AgentParam::set_gateway_mode ( const std::string &  mode)
private

Definition at line 297 of file agent_param.cc.

void AgentParam::set_hypervisor_mode ( HypervisorMode  m)
inlineprotected

Definition at line 580 of file agent_param.h.

void AgentParam::set_mac_learning_add_tokens ( uint32_t  add_tokens)
inline

Definition at line 538 of file agent_param.h.

void AgentParam::set_mac_learning_delete_tokens ( uint32_t  delete_tokens)
inline

Definition at line 554 of file agent_param.h.

void AgentParam::set_mac_learning_thread_count ( uint32_t  threads)
inline

Definition at line 530 of file agent_param.h.

void AgentParam::set_mac_learning_update_tokens ( uint32_t  update_tokens)
inline

Definition at line 546 of file agent_param.h.

void AgentParam::set_measure_queue_delay ( bool  val)
inline

Definition at line 509 of file agent_param.h.

void AgentParam::set_mvpn_ipv4_enable ( bool  val)
inline

Definition at line 566 of file agent_param.h.

void AgentParam::set_pkt0_tx_buffer_count ( uint32_t  val)
inline

Definition at line 507 of file agent_param.h.

void AgentParam::set_restart_backup_enable ( bool  val)
inline

Definition at line 477 of file agent_param.h.

void AgentParam::set_subnet_hosts_resolvable ( bool  val)
inline

Definition at line 326 of file agent_param.h.

void AgentParam::set_test_mode ( bool  mode)

Definition at line 1722 of file agent_param.cc.

void AgentParam::set_vhost_addr ( const Ip4Address ip)
inline

Definition at line 185 of file agent_param.h.

void AgentParam::set_vrouter_stats_interval ( int  val)
inline

Definition at line 325 of file agent_param.h.

const void AgentParam::set_xen_ll_name ( const std::string &  name)
inline

Definition at line 196 of file agent_param.h.

std::string AgentParam::si_docker_command ( ) const
inline

Definition at line 274 of file agent_param.h.

std::string AgentParam::si_lb_ssl_cert_path ( ) const
inline

Definition at line 277 of file agent_param.h.

std::string AgentParam::si_lbaas_auth_conf ( ) const
inline

Definition at line 280 of file agent_param.h.

std::string AgentParam::si_netns_command ( ) const
inline

Definition at line 273 of file agent_param.h.

const int AgentParam::si_netns_timeout ( ) const
inline

Definition at line 276 of file agent_param.h.

const int AgentParam::si_netns_workers ( ) const
inline

Definition at line 275 of file agent_param.h.

bool AgentParam::simulate_evpn_tor ( ) const
inline

Definition at line 272 of file agent_param.h.

void AgentParam::SplitByDelimiter ( const std::string &  txt,
std::vector< std::string > &  strs,
char  ch 
)

Definition at line 774 of file agent_param.cc.

uint32_t AgentParam::stale_interface_cleanup_timeout ( ) const
inline

Definition at line 263 of file agent_param.h.

const std::string& AgentParam::subcluster_name ( ) const
inline

Definition at line 220 of file agent_param.h.

bool AgentParam::subnet_hosts_resolvable ( ) const
inline

Definition at line 353 of file agent_param.h.

const std::string AgentParam::syslog_facility ( ) const
inline

Definition at line 305 of file agent_param.h.

uint32_t AgentParam::task_monitor_timeout_msec ( ) const
inline

Definition at line 457 of file agent_param.h.

uint32_t AgentParam::tbb_exec_delay ( ) const
inline

Definition at line 454 of file agent_param.h.

uint32_t AgentParam::tbb_keepawake_timeout ( ) const
inline

Definition at line 456 of file agent_param.h.

uint32_t AgentParam::tbb_schedule_delay ( ) const
inline

Definition at line 455 of file agent_param.h.

uint32_t AgentParam::tbb_thread_count ( ) const
inline

Definition at line 453 of file agent_param.h.

bool AgentParam::test_mode ( ) const
inline

Definition at line 368 of file agent_param.h.

boost::property_tree::ptree& AgentParam::tree ( )
inlineprotected

Definition at line 587 of file agent_param.h.

const std::vector<std::string> AgentParam::tsn_server_list ( ) const
inline

Definition at line 224 of file agent_param.h.

const std::string& AgentParam::tunnel_type ( ) const
inline

Definition at line 240 of file agent_param.h.

void AgentParam::UpdateBgpAsaServicePortRange ( )
private

Definition at line 1235 of file agent_param.cc.

Here is the call graph for this function:

void AgentParam::UpdateBgpAsaServicePortRangeValue ( )
private

Definition at line 1227 of file agent_param.cc.

Here is the call graph for this function:

const bool AgentParam::use_syslog ( ) const
inline

Definition at line 304 of file agent_param.h.

int AgentParam::Validate ( )
virtual

Reimplemented in TorAgentParam.

Definition at line 1391 of file agent_param.cc.

Here is the call graph for this function:

const boost::program_options::variables_map& AgentParam::var_map ( ) const
inline

Definition at line 373 of file agent_param.h.

VirtualGatewayConfigTable* AgentParam::vgw_config_table ( ) const
inline

Definition at line 329 of file agent_param.h.

const Ip4Address& AgentParam::vhost_addr ( ) const
inline

Definition at line 184 of file agent_param.h.

const Ip4Address& AgentParam::vhost_gw ( ) const
inline

Definition at line 190 of file agent_param.h.

const std::string& AgentParam::vhost_name ( ) const
inline

Definition at line 183 of file agent_param.h.

const int AgentParam::vhost_plen ( ) const
inline

Definition at line 189 of file agent_param.h.

const Ip4Address& AgentParam::vhost_prefix ( ) const
inline

Definition at line 188 of file agent_param.h.

uint16_t AgentParam::vmi_vm_vn_uve_interval ( ) const
inline

Definition at line 466 of file agent_param.h.

uint32_t AgentParam::vmi_vm_vn_uve_interval_msecs ( ) const
inline

Definition at line 467 of file agent_param.h.

VmwareMode AgentParam::vmware_mode ( ) const
inline

Definition at line 342 of file agent_param.h.

const std::string& AgentParam::vmware_physical_port ( ) const
inline

Definition at line 332 of file agent_param.h.

float AgentParam::vr_object_high_watermark ( ) const
inline

Definition at line 575 of file agent_param.h.

bool AgentParam::vrouter_on_host ( ) const
inline

Definition at line 350 of file agent_param.h.

bool AgentParam::vrouter_on_host_dpdk ( ) const
inline

Definition at line 347 of file agent_param.h.

bool AgentParam::vrouter_on_nic_mode ( ) const
inline

Definition at line 344 of file agent_param.h.

int AgentParam::vrouter_stats_interval ( ) const
inline

Definition at line 322 of file agent_param.h.

const Ip4Address& AgentParam::xen_ll_addr ( ) const
inline

Definition at line 199 of file agent_param.h.

const Ip4Address& AgentParam::xen_ll_gw ( ) const
inline

Definition at line 202 of file agent_param.h.

const std::string& AgentParam::xen_ll_name ( ) const
inline

Definition at line 195 of file agent_param.h.

const int AgentParam::xen_ll_plen ( ) const
inline

Definition at line 201 of file agent_param.h.

const Ip4Address& AgentParam::xen_ll_prefix ( ) const
inline

Definition at line 200 of file agent_param.h.

bool AgentParam::xmpp_auth_enabled ( ) const
inline

Definition at line 267 of file agent_param.h.

std::string AgentParam::xmpp_ca_cert ( ) const
inline

Definition at line 270 of file agent_param.h.

bool AgentParam::xmpp_dns_auth_enabled ( ) const
inline

Definition at line 271 of file agent_param.h.

std::string AgentParam::xmpp_server_cert ( ) const
inline

Definition at line 268 of file agent_param.h.

std::string AgentParam::xmpp_server_key ( ) const
inline

Definition at line 269 of file agent_param.h.

Friends And Related Function Documentation

friend class AgentParamTest
friend

Definition at line 617 of file agent_param.h.

Member Data Documentation

Agent* AgentParam::agent_
private

Definition at line 693 of file agent_param.h.

std::string AgentParam::agent_base_dir_
private

Definition at line 792 of file agent_param.h.

AgentMode AgentParam::agent_mode_
private

Definition at line 690 of file agent_param.h.

std::string AgentParam::agent_name_
private

Definition at line 699 of file agent_param.h.

int AgentParam::agent_stats_interval_
private

Definition at line 759 of file agent_param.h.

bool AgentParam::AgentMock_
private

Definition at line 849 of file agent_param.h.

std::string AgentParam::bgp_as_a_service_port_range_
private

Definition at line 801 of file agent_param.h.

std::vector<uint16_t> AgentParam::bgp_as_a_service_port_range_value_
private

Definition at line 802 of file agent_param.h.

uint32_t AgentParam::bgpaas_max_shared_sessions_
private

Definition at line 804 of file agent_param.h.

std::string AgentParam::cat_kSocketDir_
private

Definition at line 851 of file agent_param.h.

bool AgentParam::cat_MockDPDK_
private

Definition at line 850 of file agent_param.h.

std::vector<std::string> AgentParam::collector_server_list_
private

Definition at line 754 of file agent_param.h.

AddressList AgentParam::compute_node_address_list_
private

Definition at line 784 of file agent_param.h.

std::string AgentParam::config_file_
private

Definition at line 740 of file agent_param.h.

boost::program_options::options_description AgentParam::config_file_options_
private

Definition at line 685 of file agent_param.h.

std::vector<std::string> AgentParam::controller_server_list_
private

Definition at line 708 of file agent_param.h.

std::string AgentParam::crypt_port_
private

Definition at line 705 of file agent_param.h.

std::string AgentParam::crypt_port_encap_type_
private

Definition at line 707 of file agent_param.h.

bool AgentParam::crypt_port_no_arp_
private

Definition at line 706 of file agent_param.h.

uint16_t AgentParam::default_nic_queue_
private

Definition at line 838 of file agent_param.h.

std::map<std::string, std::map<std::string, std::string> > AgentParam::derived_stats_map_
private

Definition at line 755 of file agent_param.h.

bool AgentParam::dhcp_relay_mode_
private

Definition at line 766 of file agent_param.h.

uint16_t AgentParam::dns_client_port_
private

Definition at line 712 of file agent_param.h.

uint32_t AgentParam::dns_max_retries_
private

Definition at line 714 of file agent_param.h.

std::vector<std::string> AgentParam::dns_server_list_
private

Definition at line 710 of file agent_param.h.

uint32_t AgentParam::dns_timeout_
private

Definition at line 713 of file agent_param.h.

bool AgentParam::enable_flow_options_
private

Definition at line 686 of file agent_param.h.

bool AgentParam::enable_hypervisor_options_
private

Definition at line 688 of file agent_param.h.

bool AgentParam::enable_service_options_
private

Definition at line 689 of file agent_param.h.

bool AgentParam::enable_vhost_options_
private

Definition at line 687 of file agent_param.h.

AddressList AgentParam::eth_port_addr_list_
private

Definition at line 701 of file agent_param.h.

std::string AgentParam::eth_port_encap_type_
private

Definition at line 704 of file agent_param.h.

std::vector<std::string> AgentParam::eth_port_list_
private

Definition at line 700 of file agent_param.h.

bool AgentParam::eth_port_no_arp_
private

Definition at line 703 of file agent_param.h.

std::vector<int> AgentParam::eth_port_plen_list_
private

Definition at line 702 of file agent_param.h.

std::string AgentParam::exception_packet_interface_
private

Definition at line 788 of file agent_param.h.

uint16_t AgentParam::fabric_snat_hash_table_size_
private

Definition at line 846 of file agent_param.h.

uint32_t AgentParam::flow_add_tokens_
private

Definition at line 732 of file agent_param.h.

uint16_t AgentParam::flow_cache_timeout_
private

Definition at line 730 of file agent_param.h.

uint32_t AgentParam::flow_del_tokens_
private

Definition at line 734 of file agent_param.h.

bool AgentParam::flow_hash_excl_rid_
private

Definition at line 795 of file agent_param.h.

uint16_t AgentParam::flow_index_sm_log_count_
private

Definition at line 731 of file agent_param.h.

uint32_t AgentParam::flow_ksync_tokens_
private

Definition at line 733 of file agent_param.h.

uint16_t AgentParam::flow_latency_limit_
private

Definition at line 796 of file agent_param.h.

uint32_t AgentParam::flow_netlink_pin_cpuid_
private

Definition at line 736 of file agent_param.h.

int AgentParam::flow_stats_interval_
private

Definition at line 760 of file agent_param.h.

uint16_t AgentParam::flow_thread_count_
private

Definition at line 793 of file agent_param.h.

bool AgentParam::flow_trace_enable_
private

Definition at line 794 of file agent_param.h.

uint32_t AgentParam::flow_update_tokens_
private

Definition at line 735 of file agent_param.h.

AddressList AgentParam::gateway_list_
private

Definition at line 854 of file agent_param.h.

GatewayMode AgentParam::gateway_mode_
private

Definition at line 691 of file agent_param.h.

std::string AgentParam::host_name_
private

Definition at line 758 of file agent_param.h.

uint16_t AgentParam::http_server_port_
private

Definition at line 756 of file agent_param.h.

std::vector<std::string> AgentParam::huge_page_file_1G_
private

Definition at line 823 of file agent_param.h.

std::vector<std::string> AgentParam::huge_page_file_2M_
private

Definition at line 824 of file agent_param.h.

HypervisorMode AgentParam::hypervisor_mode_
private

Definition at line 717 of file agent_param.h.

const uint32_t AgentParam::kAgentStatsInterval = (30 * 1000)
static

Definition at line 114 of file agent_param.h.

const uint32_t AgentParam::kFlowStatsInterval = (1000)
static

Definition at line 115 of file agent_param.h.

std::string AgentParam::ksync_thread_cpu_pin_policy_
private

Definition at line 826 of file agent_param.h.

const uint32_t AgentParam::kVrouterStatsInterval = (30 * 1000)
static

Definition at line 116 of file agent_param.h.

uint16_t AgentParam::linklocal_system_flows_
private

Definition at line 728 of file agent_param.h.

uint16_t AgentParam::linklocal_vm_flows_
private

Definition at line 729 of file agent_param.h.

LlgrParams AgentParam::llgr_params_
private

Definition at line 839 of file agent_param.h.

std::string AgentParam::log_category_
private

Definition at line 751 of file agent_param.h.

std::string AgentParam::log_file_
private

Definition at line 742 of file agent_param.h.

long AgentParam::log_file_size_
private

Definition at line 744 of file agent_param.h.

int AgentParam::log_files_count_
private

Definition at line 743 of file agent_param.h.

bool AgentParam::log_flow_
private

Definition at line 747 of file agent_param.h.

std::string AgentParam::log_level_
private

Definition at line 750 of file agent_param.h.

bool AgentParam::log_local_
private

Definition at line 746 of file agent_param.h.

std::string AgentParam::log_property_file_
private

Definition at line 745 of file agent_param.h.

Ip4Address AgentParam::loopback_ip_
private

Definition at line 853 of file agent_param.h.

uint32_t AgentParam::mac_learning_add_tokens_
private

Definition at line 841 of file agent_param.h.

uint32_t AgentParam::mac_learning_delete_tokens_
private

Definition at line 843 of file agent_param.h.

uint32_t AgentParam::mac_learning_thread_count_
private

Definition at line 840 of file agent_param.h.

uint32_t AgentParam::mac_learning_update_tokens_
private

Definition at line 842 of file agent_param.h.

uint16_t AgentParam::max_aggregates_per_session_endpoint_
private

Definition at line 798 of file agent_param.h.

uint16_t AgentParam::max_endpoints_per_session_msg_
private

Definition at line 799 of file agent_param.h.

uint16_t AgentParam::max_sessions_per_aggregate_
private

Definition at line 797 of file agent_param.h.

float AgentParam::max_vm_flows_
private

Definition at line 727 of file agent_param.h.

bool AgentParam::measure_queue_delay_
private

Definition at line 697 of file agent_param.h.

std::string AgentParam::metadata_ca_cert_
private

Definition at line 726 of file agent_param.h.

std::string AgentParam::metadata_client_cert_
private

Definition at line 723 of file agent_param.h.

std::string AgentParam::metadata_client_cert_type_
private

Definition at line 724 of file agent_param.h.

std::string AgentParam::metadata_client_key_
private

Definition at line 725 of file agent_param.h.

uint16_t AgentParam::metadata_proxy_port_
private

Definition at line 721 of file agent_param.h.

std::string AgentParam::metadata_shared_secret_
private

Definition at line 720 of file agent_param.h.

bool AgentParam::metadata_use_ssl_
private

Definition at line 722 of file agent_param.h.

Ip4Address AgentParam::mgmt_ip_
private

Definition at line 716 of file agent_param.h.

uint16_t AgentParam::min_aap_prefix_len_
private

Definition at line 844 of file agent_param.h.

uint16_t AgentParam::mirror_client_port_
private

Definition at line 715 of file agent_param.h.

bool AgentParam::mvpn_ipv4_enable_
private

Definition at line 847 of file agent_param.h.

bool AgentParam::nexthop_server_add_pid_
private

Definition at line 786 of file agent_param.h.

std::string AgentParam::nexthop_server_endpoint_
private

Definition at line 785 of file agent_param.h.

std::set<uint16_t> AgentParam::nic_queue_list_
private

Definition at line 837 of file agent_param.h.

boost::program_options::options_description AgentParam::options_
private

Definition at line 684 of file agent_param.h.

std::vector<std::string> AgentParam::physical_interface_mac_addr_list_
private

Definition at line 791 of file agent_param.h.

std::vector<std::string> AgentParam::physical_interface_pci_addr_list_
private

Definition at line 790 of file agent_param.h.

uint32_t AgentParam::pkt0_tx_buffer_count_
private

Definition at line 696 of file agent_param.h.

Platform AgentParam::platform_
private

Definition at line 789 of file agent_param.h.

std::string AgentParam::program_name_
private

Definition at line 741 of file agent_param.h.

bool AgentParam::qos_priority_tagging_
private

Definition at line 835 of file agent_param.h.

std::map<uint16_t, uint16_t> AgentParam::qos_queue_map_
private

Definition at line 836 of file agent_param.h.

uint16_t AgentParam::rest_port_
private

Definition at line 757 of file agent_param.h.

uint16_t AgentParam::restart_backup_count_
private

Definition at line 817 of file agent_param.h.

std::string AgentParam::restart_backup_dir_
private

Definition at line 815 of file agent_param.h.

bool AgentParam::restart_backup_enable_
private

Definition at line 810 of file agent_param.h.

uint64_t AgentParam::restart_backup_idle_timeout_
private

Definition at line 813 of file agent_param.h.

uint64_t AgentParam::restart_restore_audit_timeout_
private

Definition at line 821 of file agent_param.h.

bool AgentParam::restart_restore_enable_
private

Definition at line 819 of file agent_param.h.

std::vector<std::string> AgentParam::sample_destination_
private

Definition at line 749 of file agent_param.h.

SandeshConfig AgentParam::sandesh_config_
private

Definition at line 807 of file agent_param.h.

uint32_t AgentParam::services_queue_limit_
private

Definition at line 803 of file agent_param.h.

std::string AgentParam::si_docker_command_
private

Definition at line 777 of file agent_param.h.

std::string AgentParam::si_lb_ssl_cert_path_
private

Definition at line 780 of file agent_param.h.

std::string AgentParam::si_lbaas_auth_conf_
private

Definition at line 781 of file agent_param.h.

std::string AgentParam::si_netns_command_
private

Definition at line 776 of file agent_param.h.

int AgentParam::si_netns_timeout_
private

Definition at line 779 of file agent_param.h.

int AgentParam::si_netns_workers_
private

Definition at line 778 of file agent_param.h.

bool AgentParam::simulate_evpn_tor_
private

Definition at line 775 of file agent_param.h.

std::vector<std::string> AgentParam::slo_destination_
private

Definition at line 748 of file agent_param.h.

uint32_t AgentParam::stale_interface_cleanup_timeout_
private

Definition at line 737 of file agent_param.h.

std::string AgentParam::subcluster_name_
private

Definition at line 709 of file agent_param.h.

bool AgentParam::subnet_hosts_resolvable_
private

Definition at line 800 of file agent_param.h.

std::string AgentParam::syslog_facility_
private

Definition at line 753 of file agent_param.h.

uint32_t AgentParam::task_monitor_timeout_msec_
private

Definition at line 833 of file agent_param.h.

uint32_t AgentParam::tbb_exec_delay_
private

Definition at line 829 of file agent_param.h.

uint32_t AgentParam::tbb_keepawake_timeout_
private

Definition at line 831 of file agent_param.h.

uint32_t AgentParam::tbb_schedule_delay_
private

Definition at line 830 of file agent_param.h.

uint32_t AgentParam::tbb_thread_count_
private

Definition at line 828 of file agent_param.h.

bool AgentParam::test_mode_
private

Definition at line 763 of file agent_param.h.

std::map<std::string, uint32_t>::iterator AgentParam::trace_buff_size_iter

Definition at line 169 of file agent_param.h.

std::map<std::string, uint32_t> AgentParam::trace_buff_size_map

Definition at line 168 of file agent_param.h.

boost::property_tree::ptree AgentParam::tree_
private

Definition at line 764 of file agent_param.h.

std::vector<std::string> AgentParam::tsn_server_list_
private

Definition at line 711 of file agent_param.h.

std::string AgentParam::tunnel_type_
private

Definition at line 719 of file agent_param.h.

bool AgentParam::use_syslog_
private

Definition at line 752 of file agent_param.h.

boost::program_options::variables_map AgentParam::var_map_
private

Definition at line 683 of file agent_param.h.

std::unique_ptr<VirtualGatewayConfigTable> AgentParam::vgw_config_table_
private

Definition at line 765 of file agent_param.h.

PortInfo AgentParam::vhost_
private

Definition at line 694 of file agent_param.h.

uint16_t AgentParam::vmi_vm_vn_uve_interval_
private

Definition at line 845 of file agent_param.h.

VmwareMode AgentParam::vmware_mode_
private

Definition at line 782 of file agent_param.h.

std::string AgentParam::vmware_physical_port_
private

Definition at line 762 of file agent_param.h.

float AgentParam::vr_object_high_watermark_
private

Definition at line 852 of file agent_param.h.

bool AgentParam::vrouter_on_nic_mode_
private

Definition at line 787 of file agent_param.h.

int AgentParam::vrouter_stats_interval_
private

Definition at line 761 of file agent_param.h.

PortInfo AgentParam::xen_ll_
private

Definition at line 718 of file agent_param.h.

bool AgentParam::xmpp_auth_enable_
private

Definition at line 767 of file agent_param.h.

std::string AgentParam::xmpp_ca_cert_
private

Definition at line 770 of file agent_param.h.

bool AgentParam::xmpp_dns_auth_enable_
private

Definition at line 771 of file agent_param.h.

std::string AgentParam::xmpp_server_cert_
private

Definition at line 768 of file agent_param.h.

std::string AgentParam::xmpp_server_key_
private

Definition at line 769 of file agent_param.h.


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