mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Import from napalm_base instead of napalm
This commit is contained in:
parent
0a675afc40
commit
28bbb73151
1 changed files with 2 additions and 1 deletions
|
@ -26,12 +26,13 @@ log = logging.getLogger(__name__)
|
|||
|
||||
# salt libs
|
||||
from salt.ext import six
|
||||
import salt.utils.templates
|
||||
|
||||
try:
|
||||
# will try to import NAPALM
|
||||
# https://github.com/napalm-automation/napalm
|
||||
# pylint: disable=W0611
|
||||
from napalm import get_network_driver
|
||||
from napalm_base import get_network_driver
|
||||
# pylint: enable=W0611
|
||||
HAS_NAPALM = True
|
||||
except ImportError:
|
||||
|
|
Loading…
Add table
Reference in a new issue