Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs NameLoad NameLoad body Pass orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Pass orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list
N/A N/A 
VRRP event dumper
This is also a template for router implementation that support VRRP
 ryu.base app_manager ryu.controller handler ryu.services.protocols.vrrp event vrrp_event VRRPDumper N/A N/A app_manager RyuApp N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super VRRPDumper self __init__ args kwargs N/A vrrp_state_changed_handler N/A N/A self ev N/A N/A N/A old_state N/A ev old_state N/A new_state N/A ev new_state N/A N/A N/A N/A self logger info state change %s: %s -> %s N/A ev instance_name old_state new_state N/A N/A new_state N/A vrrp_event VRRP_STATE_MASTER N/A N/A N/A N/A N/A self logger info becomes master N/A N/A old_state None N/A N/A N/A N/A N/A old_state N/A vrrp_event VRRP_STATE_BACKUP N/A N/A N/A N/A N/A new_state N/A vrrp_event VRRP_STATE_BACKUP N/A N/A N/A N/A N/A self logger info becomes backup N/A N/A N/A new_state N/A vrrp_event VRRP_STATE_INITIALIZE N/A N/A N/A old_state None N/A N/A N/A N/A N/A self logger info initialized N/A N/A N/A N/A N/A self logger info shutdowned N/A N/A N/A ValueError N/A invalid vrrp state %s new_state N/A N/A N/A handler set_ev_cls N/A vrrp_event EventVRRPStateChanged N/A