File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 8
8
// to compiled state, then there is something wrong
9
9
#define NOTIFY_SYNCD_TIMEOUT (60 *1000 )
10
10
11
- #define NOTIFY_SAI_COMPILE_VIEW " sai_compile_view "
12
- #define NOTIFY_SAI_SWITCH_VIEW " sai_switch_view "
11
+ #define NOTIFY_SAI_INIT_VIEW " SAI_INIT_VIEW "
12
+ #define NOTIFY_SAI_APPLY_VIEW " SAI_APPLY_VIEW "
13
13
14
14
sai_switch_notification_t redis_switch_notifications;
15
15
@@ -144,7 +144,7 @@ sai_status_t redis_initialize_switch(
144
144
145
145
SWSS_LOG_INFO (" operation: '%s'" , op.c_str ());
146
146
147
- if (op == NOTIFY_SAI_COMPILE_VIEW || op == NOTIFY_SAI_SWITCH_VIEW )
147
+ if (op == NOTIFY_SAI_INIT_VIEW || op == NOTIFY_SAI_APPLY_VIEW )
148
148
{
149
149
sai_status_t status = notify_syncd (op);
150
150
Original file line number Diff line number Diff line change @@ -874,15 +874,15 @@ void notifySyncd(swss::NotificationConsumer &consumer)
874
874
875
875
sai_status_t status = SAI_STATUS_FAILURE;
876
876
877
- if (op == NOTIFY_SAI_COMPILE_VIEW )
877
+ if (op == NOTIFY_SAI_INIT_VIEW )
878
878
{
879
879
// TODO
880
880
SWSS_LOG_ERROR (" op = %s - not implemented" , op.c_str ());
881
881
882
882
status = SAI_STATUS_NOT_IMPLEMENTED;
883
883
}
884
884
885
- if (op == NOTIFY_SAI_SWITCH_VIEW )
885
+ if (op == NOTIFY_SAI_APPLY_VIEW )
886
886
{
887
887
// TODO
888
888
SWSS_LOG_ERROR (" op = %s - not implemented" , op.c_str ());
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ extern "C" {
42
42
#define DEFAULT_VIRTUAL_ROUTER_ID " DEFAULT_VIRTUAL_ROUTER_ID"
43
43
#define CPU_PORT_ID " CPU_PORT_ID"
44
44
45
- #define NOTIFY_SAI_COMPILE_VIEW " sai_compile_view "
46
- #define NOTIFY_SAI_SWITCH_VIEW " sai_switch_view "
45
+ #define NOTIFY_SAI_INIT_VIEW " SAI_INIT_VIEW "
46
+ #define NOTIFY_SAI_APPLY_VIEW " SAI_APPLY_VIEW "
47
47
48
48
extern std::mutex g_mutex;
49
49
You can’t perform that action at this time.
0 commit comments