delay = tv_ceil (tv_sub (int2tv (OSPF_MIN_LS_INTERVAL), delta));
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type%d:%s]: Refresh timer delay %d seconds",
+ zlog_debug ("LSA[Type%d:%s]: Refresh timer delay %d seconds",
lsa->data->type, inet_ntoa (lsa->data->id), delay);
assert (delay > 0);
new->refresh_list = -1;
if (IS_DEBUG_OSPF (lsa, LSA))
- zlog_info ("LSA: duplicated %p (new: %p)", lsa, new);
+ zlog_debug ("LSA: duplicated %p (new: %p)", lsa, new);
return new;
}
assert (lsa->lock == 0);
if (IS_DEBUG_OSPF (lsa, LSA))
- zlog_info ("LSA: freed %p", lsa);
+ zlog_debug ("LSA: freed %p", lsa);
/* Delete LSA data. */
if (lsa->data != NULL)
ospf_lsa_data_free (struct lsa_header *lsah)
{
if (IS_DEBUG_OSPF (lsa, LSA))
- zlog_info ("LSA[Type%d:%s]: data freed %p",
+ zlog_debug ("LSA[Type%d:%s]: data freed %p",
lsah->type, inet_ntoa (lsah->id), lsah);
XFREE (MTYPE_OSPF_LSA_DATA, lsah);
struct in_addr id, mask;
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type1]: Set link Point-to-Point");
+ zlog_debug ("LSA[Type1]: Set link Point-to-Point");
if ((nbr = ospf_nbr_lookup_ptop (oi)))
if (nbr->state == NSM_Full)
links++;
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("PointToMultipoint: running ptomultip_set");
+ zlog_debug ("PointToMultipoint: running ptomultip_set");
/* Search neighbor, */
for (rn = route_top (oi->nbrs); rn; rn = route_next (rn))
LSA_LINK_TYPE_POINTOPOINT, 0, oi->output_cost);
links++;
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("PointToMultipoint: set link to %s",
+ zlog_debug ("PointToMultipoint: set link to %s",
inet_ntoa(oi->address->u.prefix4));
}
int length;
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type1]: Create router-LSA instance");
+ zlog_debug ("LSA[Type1]: Create router-LSA instance");
/* Create a stream for LSA. */
s = stream_new (OSPF_MAX_LSA_SIZE);
if (new->data->adv_router.s_addr == 0)
{
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("LSA[Type1]: AdvRouter is 0, discard");
+ zlog_debug ("LSA[Type1]: AdvRouter is 0, discard");
ospf_lsa_discard (new);
return NULL;
}
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: Originate router-LSA %p",
+ zlog_debug ("LSA[Type%d:%s]: Originate router-LSA %p",
new->data->type, inet_ntoa (new->data->id), new);
ospf_lsa_header_dump (new->data);
}
/* Debug logging. */
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: router-LSA refresh",
+ zlog_debug ("LSA[Type%d:%s]: router-LSA refresh",
new->data->type, inet_ntoa (new->data->id));
ospf_lsa_header_dump (new->data);
}
struct ospf_area *area;
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("Timer[router-LSA]: (router-LSA Refresh expire)");
+ zlog_debug ("Timer[router-LSA]: (router-LSA Refresh expire)");
area = THREAD_ARG (t);
area->t_router_lsa_self = NULL;
/* Cancel previously scheduled router-LSA timer. */
if (area->t_router_lsa_self)
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type1]: Cancel previous router-LSA timer");
+ zlog_debug ("LSA[Type1]: Cancel previous router-LSA timer");
OSPF_TIMER_OFF (area->t_router_lsa_self);
}
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type1]: Scheduling router-LSA origination right away");
+ zlog_debug ("LSA[Type1]: Scheduling router-LSA origination right away");
/* Immediately refresh router-LSA. */
OSPF_AREA_TIMER_ON (area->t_router_lsa_self, ospf_router_lsa_timer, 0);
struct listnode *node;
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("Timer[router-LSA Update]: (timer expire)");
+ zlog_debug ("Timer[router-LSA Update]: (timer expire)");
ospf->t_router_lsa_update = NULL;
if (lsa == NULL)
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info("LSA[Type1]: Create router-LSA for Area %s", area_str);
+ zlog_debug("LSA[Type1]: Create router-LSA for Area %s", area_str);
ospf_router_lsa_originate (area);
}
else if (!IPV4_ADDR_SAME (&lsa->data->id, &ospf->router_id))
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info("LSA[Type%d:%s]: Refresh router-LSA for Area %s",
+ zlog_debug("LSA[Type%d:%s]: Refresh router-LSA for Area %s",
lsa->data->type, inet_ntoa (lsa->data->id), area_str);
ospf_lsa_flush_area (lsa, area);
ospf_lsa_unlock (area->router_lsa_self);
return NULL;
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type2]: Create network-LSA instance");
+ zlog_debug ("LSA[Type2]: Create network-LSA instance");
/* Create new stream for LSA. */
s = stream_new (OSPF_MAX_LSA_SIZE);
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: Originate network-LSA %p",
+ zlog_debug ("LSA[Type%d:%s]: Originate network-LSA %p",
new->data->type, inet_ntoa (new->data->id), new);
ospf_lsa_header_dump (new->data);
}
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: network-LSA refresh",
+ zlog_debug ("LSA[Type%d:%s]: network-LSA refresh",
new->data->type, inet_ntoa (new->data->id));
ospf_lsa_header_dump (new->data);
}
/* Cancel previously schedules network-LSA timer. */
if (oi->t_network_lsa_self)
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type2]: Cancel previous network-LSA timer");
+ zlog_debug ("LSA[Type2]: Cancel previous network-LSA timer");
OSPF_TIMER_OFF (oi->t_network_lsa_self);
/* If network-LSA is originated previously, check the interval time. */
}
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("Scheduling network-LSA origination right away");
+ zlog_debug ("Scheduling network-LSA origination right away");
/* Immediately refresh network-LSA. */
oi->t_network_lsa_self =
int length;
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type3]: Create summary-LSA instance");
+ zlog_debug ("LSA[Type3]: Create summary-LSA instance");
/* Create new stream for LSA. */
s = stream_new (OSPF_MAX_LSA_SIZE);
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: Originate summary-LSA %p",
+ zlog_debug ("LSA[Type%d:%s]: Originate summary-LSA %p",
new->data->type, inet_ntoa (new->data->id), new);
ospf_lsa_header_dump (new->data);
}
/* Debug logging. */
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: summary-LSA refresh",
+ zlog_debug ("LSA[Type%d:%s]: summary-LSA refresh",
new->data->type, inet_ntoa (new->data->id));
ospf_lsa_header_dump (new->data);
}
int length;
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type3]: Create summary-LSA instance");
+ zlog_debug ("LSA[Type3]: Create summary-LSA instance");
/* Create new stream for LSA. */
s = stream_new (OSPF_MAX_LSA_SIZE);
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: Originate summary-ASBR-LSA %p",
+ zlog_debug ("LSA[Type%d:%s]: Originate summary-ASBR-LSA %p",
new->data->type, inet_ntoa (new->data->id), new);
ospf_lsa_header_dump (new->data);
}
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: summary-ASBR-LSA refresh",
+ zlog_debug ("LSA[Type%d:%s]: summary-ASBR-LSA refresh",
new->data->type, inet_ntoa (new->data->id));
ospf_lsa_header_dump (new->data);
}
if (ei == NULL)
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_warn ("LSA[Type5]: External info is NULL, could not originated");
+ zlog_debug ("LSA[Type5]: External info is NULL, could not originated");
return NULL;
}
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type5]: Originate AS-external-LSA instance");
+ zlog_debug ("LSA[Type5]: Originate AS-external-LSA instance");
/* If old Link State ID is specified, refresh LSA with same ID. */
if (old_id)
{
/* Maybe Link State ID not available. */
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type5]: Link ID not available, can't originate");
+ zlog_debug ("LSA[Type5]: Link ID not available, can't originate");
return NULL;
}
}
if (extlsa->e[0].fwd_addr.s_addr == 0)
{
if (IS_DEBUG_OSPF_NSSA)
- zlog_info ("LSA[Type-7]: Could not build FWD-ADDR");
+ zlog_debug ("LSA[Type-7]: Could not build FWD-ADDR");
ospf_lsa_discard(new);
return;
}
if ( (new = ospf_external_lsa_new (ospf, &ei, &type7->data->id)) == NULL)
{
if (IS_DEBUG_OSPF_NSSA)
- zlog_info ("ospf_nssa_translate_originate(): Could not originate "
+ zlog_debug ("ospf_nssa_translate_originate(): Could not originate "
"Translated Type-5 for %s",
inet_ntoa (ei.p.prefix));
return NULL;
if ( (new = ospf_lsa_translated_nssa_new (ospf, type7)) == NULL)
{
if (IS_DEBUG_OSPF_NSSA)
- zlog_info ("ospf_translated_nssa_originate(): Could not translate "
+ zlog_debug ("ospf_translated_nssa_originate(): Could not translate "
"Type-7, Id %s, to Type-5",
inet_ntoa (type7->data->id));
return NULL;
if (IS_DEBUG_OSPF_NSSA)
{
- zlog_info ("ospf_translated_nssa_originate(): "
+ zlog_debug ("ospf_translated_nssa_originate(): "
"translated Type 7, installed:");
ospf_lsa_header_dump (new->data);
- zlog_info (" Network mask: %d",ip_masklen (extnew->mask));
- zlog_info (" Forward addr: %s", inet_ntoa (extnew->e[0].fwd_addr));
+ zlog_debug (" Network mask: %d",ip_masklen (extnew->mask));
+ zlog_debug (" Forward addr: %s", inet_ntoa (extnew->e[0].fwd_addr));
}
if ( (new = ospf_lsa_install (ospf, NULL, new)) == NULL)
{
if (IS_DEBUG_OSPF_NSSA);
- zlog_warn ("ospf_lsa_translated_nssa_originate(): "
+ zlog_debug ("ospf_lsa_translated_nssa_originate(): "
"Could not install LSA "
"id %s", inet_ntoa (type7->data->id));
return NULL;
if (!type7)
{
if (IS_DEBUG_OSPF_NSSA)
- zlog_info ("ospf_translated_nssa_refresh(): no Type-7 found for "
+ zlog_debug ("ospf_translated_nssa_refresh(): no Type-7 found for "
"Type-5 LSA Id %s",
inet_ntoa (type7->data->id));
return NULL;
if (type5 == NULL || !CHECK_FLAG (type5->flags, OSPF_LSA_LOCAL_XLT) )
{
if (IS_DEBUG_OSPF_NSSA)
- zlog_info ("ospf_translated_nssa_refresh(): No translated Type-5 "
+ zlog_debug ("ospf_translated_nssa_refresh(): No translated Type-5 "
"found for Type-7 with Id %s",
inet_ntoa (type7->data->id));
return NULL;
if ( (new = ospf_lsa_translated_nssa_new (ospf, type7)) == NULL)
{
if (IS_DEBUG_OSPF_NSSA)
- zlog_info ("ospf_translated_nssa_refresh(): Could not translate "
+ zlog_debug ("ospf_translated_nssa_refresh(): Could not translate "
"Type-7 for %s to Type-5",
inet_ntoa (type7->data->id));
return NULL;
if ( !(new = ospf_lsa_install (ospf, NULL, new)) )
{
if (IS_DEBUG_OSPF_NSSA)
- zlog_info ("ospf_translated_nssa_refresh(): Could not install "
+ zlog_debug ("ospf_translated_nssa_refresh(): Could not install "
"translated LSA, Id %s",
inet_ntoa (new->data->id));
return NULL;
if ((new = ospf_external_lsa_new (ospf, ei, NULL)) == NULL)
{
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("LSA[Type5:%s]: Could not originate AS-external-LSA",
+ zlog_debug ("LSA[Type5:%s]: Could not originate AS-external-LSA",
inet_ntoa (ei->p.prefix));
return NULL;
}
/* Debug logging. */
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: Originate AS-external-LSA %p",
+ zlog_debug ("LSA[Type%d:%s]: Originate AS-external-LSA %p",
new->data->type, inet_ntoa (new->data->id), new);
ospf_lsa_header_dump (new->data);
}
ospf->router_id)))
{
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_warn ("LSA: There is no such AS-NSSA-LSA %s/%d in LSDB",
+ zlog_debug ("LSA: There is no such AS-NSSA-LSA %s/%d in LSDB",
inet_ntoa (p->prefix), p->prefixlen);
continue;
}
struct ospf_lsa *lsa;
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info ("LSA: Flushing AS-external-LSA %s/%d",
+ zlog_debug ("LSA: Flushing AS-external-LSA %s/%d",
inet_ntoa (p->prefix), p->prefixlen);
/* First lookup LSA from LSDB. */
if (!(lsa = ospf_external_info_find_lsa (ospf, p)))
{
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_warn ("LSA: There is no such AS-external-LSA %s/%d in LSDB",
+ zlog_debug ("LSA: There is no such AS-external-LSA %s/%d in LSDB",
inet_ntoa (p->prefix), p->prefixlen);
return;
}
}
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info ("ospf_external_lsa_flush(): stop");
+ zlog_debug ("ospf_external_lsa_flush(): stop");
}
void
if (lsa)
{
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("LSA[Type5:0.0.0.0]: Refresh AS-external-LSA %p", lsa);
+ zlog_debug ("LSA[Type5:0.0.0.0]: Refresh AS-external-LSA %p", lsa);
ospf_external_lsa_refresh (ospf, lsa, ei, LSA_REFRESH_FORCE);
}
else
{
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("LSA[Type5:0.0.0.0]: Originate AS-external-LSA");
+ zlog_debug ("LSA[Type5:0.0.0.0]: Originate AS-external-LSA");
ospf_external_lsa_originate (ospf, ei);
}
}
if (lsa)
{
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("LSA[Type5:0.0.0.0]: Flush AS-external-LSA");
+ zlog_debug ("LSA[Type5:0.0.0.0]: Flush AS-external-LSA");
ospf_lsa_flush_as (ospf, lsa);
}
}
if (!ospf_redistribute_check (ospf, ei, &changed))
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_warn ("LSA[Type%d:%s]: Could not be refreshed, "
+ zlog_debug ("LSA[Type%d:%s]: Could not be refreshed, "
"redist check fail",
lsa->data->type, inet_ntoa (lsa->data->id));
ospf_external_lsa_flush (ospf, ei->type, &ei->p,
if (!changed && !force)
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type%d:%s]: Not refreshed, not changed/forced",
+ zlog_debug ("LSA[Type%d:%s]: Not refreshed, not changed/forced",
lsa->data->type, inet_ntoa (lsa->data->id));
return;
}
if (new == NULL)
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_warn ("LSA[Type%d:%s]: Could not be refreshed", lsa->data->type,
+ zlog_debug ("LSA[Type%d:%s]: Could not be refreshed", lsa->data->type,
inet_ntoa (lsa->data->id));
return;
}
/* Debug logging. */
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("LSA[Type%d:%s]: AS-external-LSA refresh",
+ zlog_debug ("LSA[Type%d:%s]: AS-external-LSA refresh",
new->data->type, inet_ntoa (new->data->id));
ospf_lsa_header_dump (new->data);
}
area->router_lsa_self = ospf_lsa_lock (new);
if (IS_DEBUG_OSPF (lsa, LSA_INSTALL))
- zlog_info("LSA[Type%d]: ID %s seq 0x%x is self-originated",
+ zlog_debug("LSA[Type%d]: ID %s seq 0x%x is self-originated",
new->data->type, inet_ntoa (new->data->id),
ntohl(new->data->ls_seqnum));
}
#endif /* #if 0 */
if (IS_DEBUG_OSPF (lsa, LSA_INSTALL))
- zlog_info ("ospf_summary_lsa_install(): SPF scheduled");
+ zlog_debug ("ospf_summary_lsa_install(): SPF scheduled");
}
if (IS_LSA_SELF (new))
if (IS_DEBUG_OSPF (lsa, LSA_REFRESH))
{
- zlog_info ("ospf_lsa_install() Premature Aging "
+ zlog_debug ("ospf_lsa_install() Premature Aging "
"lsa 0x%lx", (u_long)lsa);
ospf_lsa_header_dump (lsa->data);
}
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
{
- zlog_info ("ospf_lsa_install() got an lsa with seq 0x80000000 "
+ zlog_debug ("ospf_lsa_install() got an lsa with seq 0x80000000 "
"that was not self originated. Ignoring\n");
ospf_lsa_header_dump (lsa->data);
}
case OSPF_OPAQUE_AS_LSA:
#endif /* HAVE_OPAQUE_LSA */
case OSPF_AS_NSSA_LSA:
- zlog_info ("LSA[%s]: Install %s",
+ zlog_debug ("LSA[%s]: Install %s",
dump_lsa_key (new),
LOOKUP (ospf_lsa_type_msg, new->data->type));
break;
default:
strcpy (area_str, inet_ntoa (new->area->area_id));
- zlog_info ("LSA[%s]: Install %s to Area %s",
+ zlog_debug ("LSA[%s]: Install %s to Area %s",
dump_lsa_key (new),
LOOKUP (ospf_lsa_type_msg, new->data->type), area_str);
break;
(IS_LSA_MAXAGE (new) && !IS_LSA_SELF (new)))
{
if (IS_DEBUG_OSPF (lsa, LSA_INSTALL))
- zlog_info ("LSA[Type%d:%s]: Install LSA 0x%p, MaxAge",
+ zlog_debug ("LSA[Type%d:%s]: Install LSA 0x%p, MaxAge",
new->data->type,
inet_ntoa (new->data->id),
lsa);
ospf->t_maxage = NULL;
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info ("LSA[MaxAge]: remover Start");
+ zlog_debug ("LSA[MaxAge]: remover Start");
reschedule = !ospf_check_nbr_status (ospf);
/* Remove LSA from the LSDB */
if (CHECK_FLAG (lsa->flags, OSPF_LSA_SELF))
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info ("LSA[Type%d:%s]: LSA 0x%lx is self-oririnated: ",
+ zlog_debug ("LSA[Type%d:%s]: LSA 0x%lx is self-oririnated: ",
lsa->data->type, inet_ntoa (lsa->data->id), (u_long)lsa);
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info ("LSA[Type%d:%s]: MaxAge LSA removed from list",
+ zlog_debug ("LSA[Type%d:%s]: MaxAge LSA removed from list",
lsa->data->type, inet_ntoa (lsa->data->id));
/* Flood max age LSA. */
if (lsa->flags & OSPF_LSA_PREMATURE_AGE)
{
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info ("originating new router lsa for lsa 0x%lx \n",
+ zlog_debug ("originating new router lsa for lsa 0x%lx \n",
(u_long)lsa);
ospf_router_lsa_originate(lsa->area);
}
if (ospf_lsa_maxage_exist (ospf, lsa))
{
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info ("LSA[Type%d:%s]: %p already exists on MaxAge LSA list",
+ zlog_debug ("LSA[Type%d:%s]: %p already exists on MaxAge LSA list",
lsa->data->type, inet_ntoa (lsa->data->id), lsa);
return;
}
listnode_add (ospf->maxage_lsa, ospf_lsa_lock (lsa));
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info ("LSA[%s]: MaxAge LSA remover scheduled.", dump_lsa_key (lsa));
+ zlog_debug ("LSA[%s]: MaxAge LSA remover scheduled.", dump_lsa_key (lsa));
OSPF_TIMER_ON (ospf->t_maxage, ospf_maxage_lsa_remover, 2);
}
if (!ospf_lsa_is_self_originated (ospf, lsa))
{
if (IS_DEBUG_OSPF (lsa, LSA_FLOODING))
- zlog_info("LSA[%s]: is MaxAge", dump_lsa_key (lsa));
+ zlog_debug("LSA[%s]: is MaxAge", dump_lsa_key (lsa));
switch (lsa->data->type)
{
if (match == NULL)
if (IS_DEBUG_OSPF (lsa, LSA) == OSPF_DEBUG_LSA)
- zlog_info ("LSA[Type%d:%s]: Lookup by header, NO MATCH",
+ zlog_debug ("LSA[Type%d:%s]: Lookup by header, NO MATCH",
lsah->type, inet_ntoa (lsah->id));
return match;
ospf_ls_upd_send_lsa (nbr, self, OSPF_SEND_PACKET_INDIRECT);
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_info ("LSA[Type%d:%s]: Flush self-originated LSA",
+ zlog_debug ("LSA[Type%d:%s]: Flush self-originated LSA",
self->data->type, inet_ntoa (self->data->id));
}
#else /* ORIGINAL_CODING */
return 0;
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("LSA[Type%d:%s]: Schedule self-originated LSA to FLUSH", lsa->data->type, inet_ntoa (lsa->data->id));
+ zlog_debug ("LSA[Type%d:%s]: Schedule self-originated LSA to FLUSH", lsa->data->type, inet_ntoa (lsa->data->id));
/* Force given lsa's age to MaxAge. */
lsa->data->ls_age = htons (OSPF_LSA_MAXAGE);
if ((lsa = area->router_lsa_self) != NULL)
{
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("LSA[Type%d:%s]: Schedule self-originated LSA to FLUSH", lsa->data->type, inet_ntoa (lsa->data->id));
+ zlog_debug ("LSA[Type%d:%s]: Schedule self-originated LSA to FLUSH", lsa->data->type, inet_ntoa (lsa->data->id));
ospf_lsa_flush_area (lsa, area);
ospf_lsa_unlock (area->router_lsa_self);
&& oi->full_nbrs > 0)
{
if (IS_DEBUG_OSPF_EVENT)
- zlog_info ("LSA[Type%d:%s]: Schedule self-originated LSA to FLUSH", lsa->data->type, inet_ntoa (lsa->data->id));
+ zlog_debug ("LSA[Type%d:%s]: Schedule self-originated LSA to FLUSH", lsa->data->type, inet_ntoa (lsa->data->id));
ospf_lsa_flush_area (oi->network_lsa_self, area);
ospf_lsa_unlock (oi->network_lsa_self);
if (ip_masklen (al->mask) == p->prefixlen)
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_warn ("ospf_lsa_unique_id(): "
+ zlog_debug ("ospf_lsa_unique_id(): "
"Can't get Link State ID for %s/%d",
inet_ntoa (p->prefix), p->prefixlen);
/* id.s_addr = 0; */
if (lsa)
{
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
- zlog_warn ("ospf_lsa_unique_id(): "
+ zlog_debug ("ospf_lsa_unique_id(): "
"Can't get Link State ID for %s/%d",
inet_ntoa (p->prefix), p->prefixlen);
/* id.s_addr = 0; */
data = THREAD_ARG (t);
if (IS_DEBUG_OSPF (lsa, LSA) == OSPF_DEBUG_LSA)
- zlog_info ("LSA[Action]: Performing scheduled LSA action: %d",
+ zlog_debug ("LSA[Action]: Performing scheduled LSA action: %d",
data->action);
switch (data->action)
% (OSPF_LSA_REFRESHER_SLOTS);
if (IS_DEBUG_OSPF (lsa, LSA_REFRESH))
- zlog_info ("LSA[Refresh]: lsa %s with age %d added to index %d",
+ zlog_debug ("LSA[Refresh]: lsa %s with age %d added to index %d",
inet_ntoa (lsa->data->id), LS_AGE (lsa), index);
if (!ospf->lsa_refresh_queue.qs[index])
ospf->lsa_refresh_queue.qs[index] = list_new ();
listnode_add (ospf->lsa_refresh_queue.qs[index], ospf_lsa_lock (lsa));
lsa->refresh_list = index;
if (IS_DEBUG_OSPF (lsa, LSA_REFRESH))
- zlog_info ("LSA[Refresh:%s]: ospf_refresher_register_lsa(): "
+ zlog_debug ("LSA[Refresh:%s]: ospf_refresher_register_lsa(): "
"setting refresh_list on lsa %p (slod %d)",
inet_ntoa (lsa->data->id), lsa, index);
}
struct list *lsa_to_refresh = list_new ();
if (IS_DEBUG_OSPF (lsa, LSA_REFRESH))
- zlog_info ("LSA[Refresh]:ospf_lsa_refresh_walker(): start");
+ zlog_debug ("LSA[Refresh]:ospf_lsa_refresh_walker(): start");
i = ospf->lsa_refresh_queue.index;
% OSPF_LSA_REFRESHER_SLOTS;
if (IS_DEBUG_OSPF (lsa, LSA_REFRESH))
- zlog_info ("LSA[Refresh]: ospf_lsa_refresh_walker(): next index %d",
+ zlog_debug ("LSA[Refresh]: ospf_lsa_refresh_walker(): next index %d",
ospf->lsa_refresh_queue.index);
for (;i != ospf->lsa_refresh_queue.index;
i = (i + 1) % OSPF_LSA_REFRESHER_SLOTS)
{
if (IS_DEBUG_OSPF (lsa, LSA_REFRESH))
- zlog_info ("LSA[Refresh]: ospf_lsa_refresh_walker(): "
+ zlog_debug ("LSA[Refresh]: ospf_lsa_refresh_walker(): "
"refresh index %d", i);
refresh_list = ospf->lsa_refresh_queue.qs [i];
next = node->next;
if (IS_DEBUG_OSPF (lsa, LSA_REFRESH))
- zlog_info ("LSA[Refresh:%s]: ospf_lsa_refresh_walker(): "
+ zlog_debug ("LSA[Refresh:%s]: ospf_lsa_refresh_walker(): "
"refresh lsa %p (slot %d)",
inet_ntoa (lsa->data->id), lsa, i);
list_delete (lsa_to_refresh);
if (IS_DEBUG_OSPF (lsa, LSA_REFRESH))
- zlog_info ("LSA[Refresh]: ospf_lsa_refresh_walker(): end");
+ zlog_debug ("LSA[Refresh]: ospf_lsa_refresh_walker(): end");
return 0;
}