@@ -279,12 +279,14 @@ void DashOrch::doTaskApplianceTable(ConsumerBase& consumer)
279
279
result = 1 ;
280
280
it++;
281
281
}
282
+ writeResultToDB (dash_appliance_result_table_, appliance_id, result);
282
283
}
283
284
else if (op == DEL_COMMAND)
284
285
{
285
286
if (removeApplianceEntry (appliance_id))
286
287
{
287
288
it = consumer.m_toSync .erase (it);
289
+ removeResultFromDB (dash_appliance_result_table_, appliance_id);
288
290
}
289
291
else
290
292
{
@@ -376,12 +378,14 @@ void DashOrch::doTaskRoutingTypeTable(ConsumerBase& consumer)
376
378
result = 1 ;
377
379
it++;
378
380
}
381
+ writeResultToDB (dash_routing_type_result_table_, routing_type_str, result);
379
382
}
380
383
else if (op == DEL_COMMAND)
381
384
{
382
385
if (removeRoutingTypeEntry (routing_type))
383
386
{
384
387
it = consumer.m_toSync .erase (it);
388
+ removeResultFromDB (dash_routing_type_result_table_, routing_type_str);
385
389
}
386
390
else
387
391
{
@@ -704,12 +708,14 @@ void DashOrch::doTaskEniTable(ConsumerBase& consumer)
704
708
result = 1 ;
705
709
it++;
706
710
}
711
+ writeResultToDB (dash_eni_result_table_, eni, result);
707
712
}
708
713
else if (op == DEL_COMMAND)
709
714
{
710
715
if (removeEni (eni))
711
716
{
712
717
it = consumer.m_toSync .erase (it);
718
+ removeResultFromDB (dash_eni_result_table_, eni);
713
719
}
714
720
else
715
721
{
@@ -785,12 +791,14 @@ void DashOrch::doTaskQosTable(ConsumerBase& consumer)
785
791
result = 1 ;
786
792
it++;
787
793
}
794
+ writeResultToDB (dash_eni_qos_table_, qos_name, result);
788
795
}
789
796
else if (op == DEL_COMMAND)
790
797
{
791
798
if (removeQosEntry (qos_name))
792
799
{
793
800
it = consumer.m_toSync .erase (it);
801
+ removeResultFromDB (dash_eni_qos_table_, qos_name);
794
802
}
795
803
else
796
804
{
@@ -937,12 +945,14 @@ void DashOrch::doTaskEniRouteTable(ConsumerBase& consumer)
937
945
result = 1 ;
938
946
it++;
939
947
}
948
+ writeResultToDB (dash_eni_route_result_table_, eni, result);
940
949
}
941
950
else if (op == DEL_COMMAND)
942
951
{
943
952
if (removeEniRoute (eni))
944
953
{
945
954
it = consumer.m_toSync .erase (it);
955
+ removeResultFromDB (dash_eni_route_result_table_, eni);
946
956
}
947
957
else
948
958
{
0 commit comments