int32_t of_queue_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_DATAPATH_QUEUE_CONFIG_APPL_ID, &of_queue_ucm_callbacks); return OF_SUCCESS; }
int32_t of_domain_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_DOMAIN_APPL_ID,&of_domain_ucm_callbacks); return OF_SUCCESS; }
int32_t of_flowstats_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_DATAPATH_STATS_FLOWSTATS_APPL_ID, &of_flowstats_ucm_callbacks); return OF_SUCCESS; }
int32_t nsrm_bypassrule_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); if (cm_register_app_callbacks (CM_ON_DIRECTOR_NSRM_CHAIN_BYPASSRULE_APPL_ID, &nsrm_bypassrule_callbacks) != OF_SUCCESS) return OF_FAILURE; return OF_SUCCESS; }
int32_t nsrm_selection_rule_attribute_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); if(cm_register_app_callbacks (CM_ON_DIRECTOR_NSRM_CHAINSET_CHAINSELRULE_CHAINSELECTIONATTRIBUTE_APPL_ID, &nsrm_selection_rule_attribute_ucm_callbacks) != OF_SUCCESS) return OF_FAILURE; return OF_SUCCESS; }
int32_t nsrm_appliance_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); if (cm_register_app_callbacks (CM_ON_DIRECTOR_NSRM_SERVICE_APPL_ID, &nsrm_appliance_callbacks) != OF_SUCCESS) return OF_FAILURE; return OF_SUCCESS; }
int32_t crm_vm_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); int32_t ret_val; ret_val = cm_register_app_callbacks (CM_ON_DIRECTOR_CRM_VIRTUALMACHINE_APPL_ID, &crm_vm_ucm_callbacks); if(ret_val != OF_SUCCESS) return OF_FAILURE; CM_CBK_DEBUG_PRINT ("ret:%d",ret_val); return OF_SUCCESS; }
int32_t of_fw4_conntemplates_appl_ucmcbk_init() { if(cm_register_app_callbacks( CM_ON_DIRECTOR_NAMESPACE_APPS_CONNTEMPLATES_APPL_ID, &of_fw4_conntemplates_callbacks)!=OF_SUCCESS) { CM_CBK_DEBUG_PRINT ("fw4 connection templates cli cbks init failed"); return OF_FAILURE; } return OF_SUCCESS; }
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Function Name: * Description: * Input: * Output: * Result: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ int32_t of_action_appl_ucmcbk_init (void) { int32_t return_value; return_value=cm_register_app_callbacks ( CM_ON_DIRECTOR_DATAPATH_GROUPS_GROUP_BUCKET_ACTION_APPL_ID, &of_action_ucm_callbacks); if(return_value != OF_SUCCESS) { cntrlrucm_debugmsg("action application CBK registration failed"); return OF_FAILURE; } return OF_SUCCESS; }
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Function Name: * Description: * Input: * Output: * Result: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ int32_t of_flow_match_appl_ucmcbk_init (void) { int32_t return_value; return_value= cm_register_app_callbacks (CM_ON_DIRECTOR_DATAPATH_FLOWMOD_MATCHFIELD_APPL_ID, &of_flow_match_ucm_callbacks); if(return_value != OF_SUCCESS) { cntrlrucm_debugmsg("flow_match application CBK registration failed"); return OF_FAILURE; } return OF_SUCCESS; }
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Function Name: * Description: * Input: * Output: * Result: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ int32_t of_swinfo_appl_cmcbk_init (void) { int32_t return_value; CM_CBK_DEBUG_PRINT ("Entered"); return_value=cm_register_app_callbacks (CM_ON_DIRECTOR_DATAPATH_SWITCHINFO_APPL_ID, &of_swinfo_ucm_callbacks); if(return_value != OF_SUCCESS) { CM_CBK_DEBUG_PRINT("sw info application registration failed"); return OF_FAILURE; } return OF_SUCCESS; }
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Function Name: * Description: * Input: * Output: * Result: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ int32_t of_meter_features_appl_ucmcbk_init (void) { int32_t return_value; CM_CBK_DEBUG_PRINT ("Entered"); return_value=cm_register_app_callbacks (CM_ON_DIRECTOR_DATAPATH_METERS_FEATURES_APPL_ID, &of_meter_features_ucm_callbacks); if(return_value != OF_SUCCESS) { CM_CBK_DEBUG_PRINT("meter features application registration failed"); return OF_FAILURE; } return OF_SUCCESS; }
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Function Name: * Description: * Input: * Output: * Result: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ int32_t arpsubttp_stats_appl_init (void) { int32_t return_value; return_value= cm_register_app_callbacks (CM_ON_DIRECTOR_DATAPATH_SUBTTP_ARP_STATS_ARPSTATS_APPL_ID, &arpsubttp_stats_callbacks); if(return_value != OF_SUCCESS) { CM_CBK_DEBUG_PRINT("Arp sub ttp stats CBK registration failed"); return OF_FAILURE; } return OF_SUCCESS; }
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Function Name: * Description: * Input: * Output: * Result: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ int32_t of_flow_appl_ucmcbk_init (void) { int32_t return_value; CM_CBK_DEBUG_PRINT ("Entered"); return_value= cm_register_app_callbacks(CM_ON_DIRECTOR_DATAPATH_FLOWMOD_APPL_ID, &of_flow_ucm_callbacks); if(return_value != OF_SUCCESS) { CM_CBK_DEBUG_PRINT("flow application registration failed"); return OF_FAILURE; } OF_LIST_INIT(flow_trans_list_g,NULL); transId_g = 0; return OF_SUCCESS; }
int32_t crm_port_attribute_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_CRM_VIRTUALNETWORK_COMPUTENODES_VMSIDEPORTS_PORTATTR_APPL_ID, &crm_port_attribute_ucm_callbacks); return OF_SUCCESS; }
int32_t of_tracelog_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks(CM_ON_DIRECTOR_TRACE_APPL_ID, &of_tracelog_ucm_callbacks); return OF_SUCCESS; }
int32_t of_bindstats_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_DM_STATS_BINDSTATS_ID,&of_bindstats_ucm_callbacks); return OF_SUCCESS; }
int32_t of_cntlrrole_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks(CM_ON_DIRECTOR_DATAPATH_ONDIRECTORROLE_APPL_ID, &of_cntlrrole_ucm_callbacks); return OF_SUCCESS; }
int32_t of_nem_peth2dpid_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("NEM - DPID2 PETH Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_NEM_PETH2DPID_APPL_ID, &of_nem_peth2dpid_ucm_callbacks); return OF_SUCCESS; }
int32_t crm_subnet_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_CRM_SUBNET_APPL_ID, &crm_subnet_ucm_callbacks); return OF_SUCCESS; }
int32_t of_ttp_match_appl_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_TTP_OFTABLES_MATCHFIELDS_APPL_ID, &of_ttp_match_callbacks); return OF_SUCCESS; }
int32_t crm_nwport_attribute_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_CRM_NWSIDEPORTS_PORTATTRIB_APPL_ID,&crm_nwport_attribute_ucm_callbacks); return OF_SUCCESS; }
int32_t dprm_datapath_dpattribute_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_DATAPATH_DPATTRIBUTE_APPL_ID, &dprm_datapath_dpattribute_ucm_callbacks); return OF_SUCCESS; }
int32_t of_asyncmsgcfg_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks(CM_ON_DIRECTOR_DATAPATH_ASYNCMSGCFG_APPL_ID, &dprm_datapath_asyncmsgcfg_ucm_callbacks); return OF_SUCCESS; }
int32_t tsc_selectors_init(void) { cm_register_app_callbacks (CM_ON_DIRECTOR_TSC_SELECTORS_APPL_ID,&tsc_selector_ucm_callbacks); return OF_SUCCESS; }
int32_t of_nem_dpid2nsid_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("NEM - NS2 NSID Entry"); cm_register_app_callbacks (CM_ON_DIRECTOR_NEM_DPID2NSID_APPL_ID, &of_nem_dpid2nsid_ucm_callbacks); return OF_SUCCESS; }
int32_t of_ipopts_appl_ucmcbk_init (void) { CM_CBK_DEBUG_PRINT ("Entry"); cm_register_app_callbacks(CM_ON_DIRECTOR_DATAPATH_IPOPTIONS_APPL_ID, &of_ipopts_ucm_callbacks); return OF_SUCCESS; }