Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] # in line with Napalm base project
# Python Version Updated in line with napalm project.
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions napalm_srl/srl.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Napalm driver for SR Linux.

Read https://napalm.readthedocs.io for more information.
"""
"""
import base64
import json
import logging
Expand Down Expand Up @@ -89,7 +89,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
self._channel = None
self.running_format = optional_args.get("running_format","json") if optional_args else "json"

self.device = SRLAPI(hostname, username, password, timeout=60, optional_args=optional_args)
self.device = SRLAPI(hostname, username, password, timeout=timeout, optional_args=optional_args)

self.pending_commit = False
# Whether to save changes to startup config, default False
Expand Down Expand Up @@ -2458,7 +2458,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)

if not self.insecure:
if not self.tls_ca:
logging.warning( "Incompatible settings: insecure=False " +
logging.warning( "Incompatible settings: insecure=False " +
"requires certificate parameter 'tls_ca' to be set " +
"when using self-signed certificates" )

Expand Down