@@ -211,7 +211,7 @@ bool TunnelDecapOrch::addDecapTunnel(string key, string type, IpAddresses dst_ip
211
211
return false ;
212
212
}
213
213
214
- SWSS_LOG_NOTICE (" Created overlay router interface ID %lx\n " , overlayIfId);
214
+ SWSS_LOG_NOTICE (" Create overlay loopback router interface oid: %lx" , overlayIfId);
215
215
216
216
// tunnel type (only ipinip for now)
217
217
attr.id = SAI_TUNNEL_ATTR_TYPE;
@@ -311,12 +311,15 @@ bool TunnelDecapOrch::addDecapTunnelTermEntries(string tunnelKey, IpAddresses ds
311
311
attr.id = SAI_TUNNEL_TERM_TABLE_ENTRY_ATTR_VR_ID;
312
312
attr.value .oid = gVirtualRouterId ;
313
313
tunnel_table_entry_attrs.push_back (attr);
314
+
314
315
attr.id = SAI_TUNNEL_TERM_TABLE_ENTRY_ATTR_TYPE;
315
316
attr.value .u32 = SAI_TUNNEL_TERM_TABLE_ENTRY_TYPE_P2MP;
316
317
tunnel_table_entry_attrs.push_back (attr);
318
+
317
319
attr.id = SAI_TUNNEL_TERM_TABLE_ENTRY_ATTR_TUNNEL_TYPE;
318
320
attr.value .s32 = SAI_TUNNEL_TYPE_IPINIP;
319
321
tunnel_table_entry_attrs.push_back (attr);
322
+
320
323
attr.id = SAI_TUNNEL_TERM_TABLE_ENTRY_ATTR_ACTION_TUNNEL_ID;
321
324
attr.value .oid = tunnel_id;
322
325
tunnel_table_entry_attrs.push_back (attr);
@@ -335,7 +338,6 @@ bool TunnelDecapOrch::addDecapTunnelTermEntries(string tunnelKey, IpAddresses ds
335
338
{
336
339
SWSS_LOG_ERROR (" %s already exists. Did not create entry." , ip.c_str ());
337
340
}
338
-
339
341
else
340
342
{
341
343
attr.id = SAI_TUNNEL_TERM_TABLE_ENTRY_ATTR_DST_IP;
0 commit comments