Skip to content
Snippets Groups Projects
Commit 716958fb authored by Erik Reid's avatar Erik Reid
Browse files

log entry/exit on more methods

parent a34140e3
No related branches found
No related tags found
No related merge requests found
......@@ -409,6 +409,7 @@ def _refresh_peers(hostname, key_base, peers):
rp.execute()
@log_task_entry_and_exit
def refresh_ix_public_peers(hostname, netconf):
_refresh_peers(
hostname,
......@@ -416,6 +417,7 @@ def refresh_ix_public_peers(hostname, netconf):
juniper.ix_public_peers(netconf))
@log_task_entry_and_exit
def refresh_vpn_rr_peers(hostname, netconf):
_refresh_peers(
hostname,
......@@ -423,6 +425,7 @@ def refresh_vpn_rr_peers(hostname, netconf):
juniper.vpn_rr_peers(netconf))
@log_task_entry_and_exit
def refresh_interface_address_lookups(hostname, netconf):
_refresh_peers(
hostname,
......@@ -430,6 +433,7 @@ def refresh_interface_address_lookups(hostname, netconf):
juniper.interface_addresses(netconf))
@log_task_entry_and_exit
def refresh_juniper_interface_list(hostname, netconf):
logger.debug(
'removing cached netconf-interfaces for %r' % hostname)
......@@ -569,6 +573,7 @@ def internal_refresh_phase_2(self):
return self.success()
@log_task_entry_and_exit
def launch_refresh_cache_all(config):
"""
utility function intended to be called outside of the worker process
......@@ -664,7 +669,7 @@ def refresh_finalizer(self, pending_task_ids_json):
return self.success()
@log_task_entry_and_exit
def _build_service_category_interface_list(update_callback=lambda s: None):
def _classify(ifc):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment