def table_add1(self, table, match_key, match_key_types, action, runtime_data, runtime_data_types): message = self.client.bm_mt_add_entry( 0, table, runtimedata.parse_match_key(match_key, match_key_types), action, runtimedata.parse_runtime_data(runtime_data, runtime_data_types), BmAddEntryOptions(priority=0)) return message
def set_default_action(self, table_name, action, runtime_data, runtime_data_types): self.client.bm_mt_set_default_action( 0, table_name=table_name, action_name=action, action_data=runtimedata.parse_runtime_data(runtime_data, runtime_data_types))
def act_prof_add_member(self, action_profile_name, action_name, runtime_data, runtime_data_types): message = self.client.bm_mt_act_prof_add_member( 0, action_profile_name, action_name, action_data=runtimedata.parse_runtime_data(runtime_data, runtime_data_types)) return message
def table_modify(self, table, handle, action, runtime_data, runtime_data_types): message = self.client.bm_mt_modify_entry( 0, table, handle, action, runtimedata.parse_runtime_data(runtime_data, runtime_data_types)) return message