Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad Num Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Raise Call NameLoad keyword NameLoad If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Raise Call NameLoad keyword NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad keyword NameLoad If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad keyword BinOpMod Str NameLoad If CompareLt NameLoad Num body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad keyword BinOpMod Str NameLoad If CompareLt NameLoad Num body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr CompareLt NameLoad Num CompareGtE NameLoad NameLoad body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad keyword BinOpMod Str NameLoad If BoolOpOr CompareLt NameLoad Num CompareGt NameLoad Num body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad keyword BinOpMod Str NameLoad If CompareLt NameLoad Num body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad keyword BinOpMod Str NameLoad If CompareLt NameLoad Num body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If CompareNotIn NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad keyword BinOpMod Str NameLoad Return NameLoad decorator_list Call NameLoad keyword NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Call NameLoad ListLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults kwarg body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list
N/A N/A 
 Runtime configuration that applies to all bgp sessions, i.e. global settings.
 N/A logging N/A numbers ryu.services.protocols.bgp.utils.validation is_valid_ipv4 ryu.services.protocols.bgp.utils.validation is_valid_old_asn ryu.services.protocols.bgp rtconf ryu.services.protocols.bgp.rtconf.base BaseConf ryu.services.protocols.bgp.rtconf.base BaseConfListener ryu.services.protocols.bgp.rtconf.base compute_optional_conf ryu.services.protocols.bgp.rtconf.base ConfigTypeError ryu.services.protocols.bgp.rtconf.base ConfigValueError ryu.services.protocols.bgp.rtconf.base MissingRequiredConf ryu.services.protocols.bgp.rtconf.base validate N/A LOG N/A N/A logging getLogger bgpspeaker.rtconf.common N/A LOCAL_AS local_as N/A ROUTER_ID router_id N/A LABEL_RANGE label_range N/A LABEL_RANGE_MAX max N/A LABEL_RANGE_MIN min N/A REFRESH_STALEPATH_TIME refresh_stalepath_time N/A REFRESH_MAX_EOR_TIME refresh_max_eor_time N/A BGP_CONN_RETRY_TIME bgp_conn_retry_time N/A BGP_SERVER_PORT bgp_server_port N/A TCP_CONN_TIMEOUT tcp_conn_timeout N/A MAX_PATH_EXT_RTFILTER_ALL maximum_paths_external_rtfilter_all N/A DEFAULT_LABEL_RANGE N/A 100 100000 N/A DEFAULT_REFRESH_STALEPATH_TIME 0 N/A DEFAULT_REFRESH_MAX_EOR_TIME 0 N/A DEFAULT_BGP_SERVER_PORT 179 N/A DEFAULT_TCP_CONN_TIMEOUT 30 N/A DEFAULT_BGP_CONN_RETRY_TIME 30 N/A DEFAULT_MED 0 N/A DEFAULT_MAX_PATH_EXT_RTFILTER_ALL True validate_local_as N/A N/A asn N/A N/A N/A N/A asn None N/A N/A N/A MissingRequiredConf conf_name LOCAL_AS N/A N/A N/A is_valid_old_asn asn N/A N/A N/A ConfigValueError desc N/A Invalid local_as configuration value: %s asn N/A asn N/A N/A validate name LOCAL_AS validate_router_id N/A N/A router_id N/A N/A N/A N/A router_id N/A N/A N/A MissingRequiredConf conf_name ROUTER_ID N/A N/A N/A isinstance router_id str N/A N/A N/A ConfigTypeError conf_name ROUTER_ID N/A N/A N/A is_valid_ipv4 router_id N/A N/A N/A ConfigValueError desc N/A Invalid router id %s router_id N/A router_id N/A N/A validate name ROUTER_ID validate_refresh_stalepath_time N/A N/A rst N/A N/A N/A N/A N/A isinstance rst N/A numbers Integral N/A N/A N/A ConfigTypeError desc N/A Configuration value for %s has to be integral type REFRESH_STALEPATH_TIME N/A N/A rst 0 N/A N/A N/A ConfigValueError desc N/A Invalid refresh stalepath time %s rst N/A rst N/A N/A validate name REFRESH_STALEPATH_TIME validate_refresh_max_eor_time N/A N/A rmet N/A N/A N/A N/A N/A isinstance rmet N/A numbers Integral N/A N/A N/A ConfigTypeError desc N/A Configuration value for %s has to be of integral type  REFRESH_MAX_EOR_TIME N/A N/A rmet 0 N/A N/A N/A ConfigValueError desc N/A Invalid refresh stalepath time %s rmet N/A rmet N/A N/A validate name REFRESH_MAX_EOR_TIME validate_label_range N/A N/A label_range N/A N/A N/A N/A min_label max_label label_range N/A N/A N/A min_label N/A max_label N/A N/A isinstance min_label N/A numbers Integral N/A N/A isinstance max_label N/A numbers Integral N/A min_label 17 N/A min_label max_label N/A N/A N/A ConfigValueError desc N/A Invalid label_range configuration value: (%s). label_range N/A label_range N/A N/A validate name LABEL_RANGE validate_bgp_server_port N/A N/A server_port N/A N/A N/A N/A N/A isinstance server_port N/A numbers Integral N/A N/A N/A ConfigTypeError desc N/A Invalid bgp sever port configuration value %s server_port N/A N/A N/A server_port 0 N/A server_port 65535 N/A N/A N/A ConfigValueError desc N/A Invalid server port %s server_port N/A server_port N/A N/A validate name BGP_SERVER_PORT validate_tcp_conn_timeout N/A N/A tcp_conn_timeout N/A N/A N/A N/A N/A isinstance tcp_conn_timeout N/A numbers Integral N/A N/A N/A ConfigTypeError desc N/A Invalid tcp connection timeout configuration value %s tcp_conn_timeout N/A N/A tcp_conn_timeout 10 N/A N/A N/A ConfigValueError desc N/A Invalid tcp connection timeout configuration value %s tcp_conn_timeout N/A tcp_conn_timeout N/A N/A validate name TCP_CONN_TIMEOUT validate_bgp_conn_retry_time N/A N/A bgp_conn_retry_time N/A N/A N/A N/A N/A isinstance bgp_conn_retry_time N/A numbers Integral N/A N/A N/A ConfigTypeError desc N/A Invalid bgp conn. retry time configuration value %s bgp_conn_retry_time N/A N/A bgp_conn_retry_time 10 N/A N/A N/A ConfigValueError desc N/A Invalid bgp connection retry time configuration value %s bgp_conn_retry_time N/A bgp_conn_retry_time N/A N/A validate name BGP_CONN_RETRY_TIME validate_max_path_ext_rtfilter_all N/A N/A max_path_ext_rtfilter_all N/A N/A N/A N/A max_path_ext_rtfilter_all N/A True False N/A N/A N/A ConfigTypeError desc N/A Invalid max_path_ext_rtfilter_all configuration value %s max_path_ext_rtfilter_all N/A max_path_ext_rtfilter_all N/A N/A validate name MAX_PATH_EXT_RTFILTER_ALL CommonConf N/A BaseConf N/A N/A Encapsulates configurations applicable to all peer sessions.

    Currently if any of these configurations change, it is assumed that current
    active peer session will be bought down and restarted.
     N/A CONF_CHANGED_EVT 1 N/A VALID_EVT N/A frozenset N/A CONF_CHANGED_EVT N/A REQUIRED_SETTINGS N/A frozenset N/A ROUTER_ID LOCAL_AS N/A OPTIONAL_SETTINGS N/A frozenset N/A REFRESH_STALEPATH_TIME REFRESH_MAX_EOR_TIME LABEL_RANGE BGP_SERVER_PORT TCP_CONN_TIMEOUT BGP_CONN_RETRY_TIME MAX_PATH_EXT_RTFILTER_ALL __init__ N/A N/A self N/A kwargs N/A N/A N/A N/A N/A super CommonConf self __init__ kwargs N/A _init_opt_settings N/A N/A self N/A kwargs N/A N/A N/A N/A N/A super CommonConf self _init_opt_settings kwargs N/A N/A N/A self _settings N/A LABEL_RANGE N/A compute_optional_conf LABEL_RANGE DEFAULT_LABEL_RANGE kwargs N/A N/A N/A self _settings N/A REFRESH_STALEPATH_TIME N/A compute_optional_conf REFRESH_STALEPATH_TIME DEFAULT_REFRESH_STALEPATH_TIME kwargs N/A N/A N/A self _settings N/A REFRESH_MAX_EOR_TIME N/A compute_optional_conf REFRESH_MAX_EOR_TIME DEFAULT_REFRESH_MAX_EOR_TIME kwargs N/A N/A N/A self _settings N/A BGP_SERVER_PORT N/A compute_optional_conf BGP_SERVER_PORT DEFAULT_BGP_SERVER_PORT kwargs N/A N/A N/A self _settings N/A TCP_CONN_TIMEOUT N/A compute_optional_conf TCP_CONN_TIMEOUT DEFAULT_TCP_CONN_TIMEOUT kwargs N/A N/A N/A self _settings N/A BGP_CONN_RETRY_TIME N/A compute_optional_conf BGP_CONN_RETRY_TIME DEFAULT_BGP_CONN_RETRY_TIME kwargs N/A N/A N/A self _settings N/A MAX_PATH_EXT_RTFILTER_ALL N/A compute_optional_conf MAX_PATH_EXT_RTFILTER_ALL DEFAULT_MAX_PATH_EXT_RTFILTER_ALL kwargs N/A local_as N/A N/A self N/A N/A N/A N/A N/A self _settings N/A LOCAL_AS N/A property router_id N/A N/A self N/A N/A N/A N/A N/A self _settings N/A ROUTER_ID N/A property bgp_conn_retry_time N/A N/A self N/A N/A N/A N/A N/A self _settings N/A BGP_CONN_RETRY_TIME N/A property tcp_conn_timeout N/A N/A self N/A N/A N/A N/A N/A self _settings N/A TCP_CONN_TIMEOUT N/A property refresh_stalepath_time N/A N/A self N/A N/A N/A N/A N/A self _settings N/A REFRESH_STALEPATH_TIME N/A property refresh_max_eor_time N/A N/A self N/A N/A N/A N/A N/A self _settings N/A REFRESH_MAX_EOR_TIME N/A property label_range N/A N/A self N/A N/A N/A N/A N/A self _settings N/A LABEL_RANGE N/A property bgp_server_port N/A N/A self N/A N/A N/A N/A N/A self _settings N/A BGP_SERVER_PORT N/A property max_path_ext_rtfilter_all N/A N/A self N/A N/A N/A N/A N/A self _settings N/A MAX_PATH_EXT_RTFILTER_ALL N/A property get_opt_settings N/A N/A self N/A N/A N/A self_confs N/A N/A N/A super CommonConf self get_opt_settings N/A N/A N/A self_confs update N/A CommonConf OPTIONAL_SETTINGS N/A self_confs N/A classmethod get_req_settings N/A N/A self N/A N/A N/A self_confs N/A N/A N/A super CommonConf self get_req_settings N/A N/A N/A self_confs update N/A CommonConf REQUIRED_SETTINGS N/A self_confs N/A classmethod get_valid_evts N/A N/A self N/A N/A N/A self_valid_evts N/A N/A N/A super CommonConf self get_valid_evts N/A N/A N/A self_valid_evts update N/A CommonConf VALID_EVT N/A self_valid_evts N/A classmethod update N/A N/A self N/A kwargs N/A N/A Updates global configuration settings with given values.

        First checks if given configuration values differ from current values.
        If any of the configuration values changed, generates a change event.
        Currently we generate change event for any configuration change.
        Note: This method is idempotent.
         N/A N/A N/A N/A super CommonConf self update kwargs N/A conf_changed False N/A N/A conf_name conf_value N/A N/A kwargs items N/A N/A N/A N/A N/A N/A rtconf base get_validator conf_name conf_value N/A item1 N/A N/A N/A self _settings get conf_name None N/A item2 N/A N/A kwargs get conf_name None N/A N/A item1 item2 N/A N/A conf_changed True N/A conf_changed N/A N/A N/A conf_name conf_value N/A N/A kwargs items N/A N/A N/A N/A self _settings N/A conf_name conf_value N/A N/A N/A self _notify_listeners N/A CommonConf CONF_CHANGED_EVT self N/A N/A CommonConfListener N/A BaseConfListener N/A N/A Base listener for various changes to common configurations. __init__ N/A N/A self global_conf N/A N/A N/A N/A N/A N/A super CommonConfListener self __init__ global_conf N/A N/A N/A global_conf add_listener N/A CommonConf CONF_CHANGED_EVT N/A self on_update_common_conf N/A on_update_common_conf N/A N/A self evt N/A N/A N/A N/A NotImplementedError This method should be overridden. N/A N/A