mirror of
https://github.com/napalm-automation-community/napalm-vyos.git
synced 2026-09-22 20:21:16 +00:00
Allows for using the module without peering-manager
This commit is contained in:
@@ -24,14 +24,15 @@ import re
|
||||
import tempfile
|
||||
import textfsm
|
||||
import vyattaconfparser
|
||||
try:
|
||||
import logging
|
||||
logger = logging.getLogger("peering.manager.peering")
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger("peering.manager.peering")
|
||||
|
||||
from django.core.cache import cache
|
||||
|
||||
cache.clear()
|
||||
from django.core.cache import cache
|
||||
|
||||
cache.clear()
|
||||
except Exception:
|
||||
pass
|
||||
# NAPALM base
|
||||
import napalm.base.constants as C
|
||||
from napalm.base.base import NetworkDriver
|
||||
|
||||
Reference in New Issue
Block a user