Port details |
- py-napalm Net Automation and Progr. Abstraction Layer with Multivendor support
- 5.0.0_1 net-mgmt =3 5.0.0Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-04-05 05:19:37
- Last Update: 2024-07-07 08:05:33
- Commit Hash: 1a80ec7
- People watching this port, also watch:: bingrep, check_ssl_cert, newsboat, xrdp, pcpustat
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/napalm-automation/napalm
- Description:
- NAPALM (Network Automation and Programmability Abstraction Layer with
Multivendor support) is a Python library that implements a set of functions to
interact with different router vendor devices using a unified API.
NAPALM supports several methods to connect to the devices, to manipulate
configurations or to retrieve data.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}napalm>0:net-mgmt/py-napalm@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/net-mgmt/py-napalm/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/py-napalm
- pkg install py311-napalm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-napalm listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-napalm
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1713784647
SHA256 (napalm-automation-napalm-5.0.0_GH0.tar.gz) = b47dca6fb71f511fed03945d5c5abf9338024947e375b218bae7d50ed6175af7
SIZE (napalm-automation-napalm-5.0.0_GH0.tar.gz) = 1567474
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- py311-mock>=2.0.0 : devel/py-mock@py311
- py311-ddt>=1.2.0 : devel/py-ddt@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-Jinja2>0 : devel/py-Jinja2@py311
- py311-lxml>=4.3.0 : devel/py-lxml@py311
- py311-textfsm>=1.1.2 : textproc/py-textfsm@py311
- py311-junos-eznc>=2.7.0 : net-mgmt/py-junos-eznc@py311
- py311-ncclient>0 : net-mgmt/py-ncclient@py311
- py311-netaddr>0 : net/py-netaddr@py311
- py311-netutils>=1.0.0 : net-mgmt/py-netutils@py311
- py311-netmiko>=4.1.0 : security/py-netmiko@py311
- py311-paramiko>=2.6.0 : security/py-paramiko@py311
- py311-requests>=2.7.0 : www/py-requests@py311
- py311-ttp>0 : textproc/py-ttp@py311
- py311-ttp-templates>0 : textproc/py-ttp-templates@py311
- py311-typing-extensions>=4.3.0 : devel/py-typing-extensions@py311
- py311-pyeapi>=1.0.2 : net-mgmt/py-pyeapi@py311
- py311-scp>0 : security/py-scp@py311
- py311-pyyaml>=0 : devel/py-pyyaml@py311
- py311-cffi>=1.11.3 : devel/py-cffi@py311
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- net-mgmt_py-napalm
- USES:
- python
- pkg-message:
- If upgrading from < 3.0.1:
- Release 3.0.0 introduced support for the Arista FN 0039 command changes (Github
issue #1093), by replacing the old style commands with the new style commands.
This also affected the way NAPALM loads the configuration on the device (i.e.,
it would transform the configuration before loading).
In order to prevent this, and avoid unexpected results, a new optional argument
"eos_fn0039_config" was introduced, defaulting to "False", which can be used to
select whether NAPALM should convert the configuration command before loading.
By default, NAPALM won't transform the configuration, but setting the variable
"eos_fn0039_config" to "True" it would help one to transition to newer EOS
versions.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
5.0.0_1 07 Jul 2024 08:05:33 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml
- Bump PORTREVISION of dependent ports for dependency change |
5.0.0 26 May 2024 07:55:23 |
Kai Knoblich (kai) |
net-mgmt/py-napalm: Update to 5.0.0
* Convert the test suite to USE_PYTHON=pytest while I'm here.
Changelog:
https://github.com/napalm-automation/napalm/releases/tag/5.0.0
MFH: No (contains breaking changes) |
4.1.0_1 20 May 2024 10:33:03 |
Vsevolod Stakhov (vsevolod) |
security/libsodium: update to 1.0.19, bump dependent ports
PR: 278259
Reported by: Andrey Korobkov <alster-vinterdalen.se> |
4.1.0 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
4.1.0 08 Jun 2023 10:29:47 |
Kai Knoblich (kai) |
net-mgmt/py-napalm: Update to 4.1.0
* Remove a no longer required patch.
Changelog:
https://github.com/napalm-automation/napalm/releases/tag/4.1.0 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
4.0.0 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
4.0.0 22 Jul 2022 04:39:54 |
Kai Knoblich (kai) |
net-mgmt/py-napalm: Update to 4.0.0
Changelog:
https://github.com/napalm-automation/napalm/releases/tag/4.0.0
MFH: No (feature release, requires newer version of NetMiko) |
3.4.0 28 Mar 2022 10:38:37 |
Kai Knoblich (kai) |
net-mgmt/py-napalm: Update to 3.4.0
Changelog:
https://github.com/napalm-automation/napalm/releases/tag/3.4.0 |
3.3.1 03 Nov 2021 06:43:41 |
Kai Knoblich (kai) |
net-mgmt/py-napalm: Limit Python versions
* Prepare the port by limiting the Python version to 3.7+ for the
imminent update of net-mgmt/py-ciscoconfparse which also require this. |
3.3.1 07 Jul 2021 11:09:00 |
Kai Knoblich (kai) |
net-mgmt/py-napalm: Update to 3.3.1
* Modernize "do-test" target while I'm here.
Changelogs since 3.2.0:
https://github.com/napalm-automation/napalm/releases/tag/3.3.1
https://github.com/napalm-automation/napalm/releases/tag/3.3.0
MFH: 2021Q3 |
3.2.0 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
3.2.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
3.2.0 20 Nov 2020 08:52:23 |
kai |
net-mgmt/py-napalm: Update to 3.2.0
Changelog:
https://github.com/napalm-automation/napalm/releases/tag/3.2.0 |
3.1.0 03 Aug 2020 10:49:41 |
kai |
net-mgmt/py-napalm: Update to 3.1.0
Changelog:
Core changes:
* Fix: force_no_enable enabled on ios and nx only
* lxml text retrieval (find_txt) shouldn't fail if no text element available
NX-OS:
* Initial version for nxos_ssh get_optics
* Fixed get_bgp_neighbors and asdot notation on NX-OS
Junos:
* Fix "KeyError in get_environment() on Juniper MX10k3 with Junos 19.2R1.8
by making PEM naming consistent
IOS
* Fix get_optics metric
* Allow username detection on older Cisco ios versions
https://github.com/napalm-automation/napalm/releases/tag/3.1.0
MFH: 2020Q3 |
3.0.1 24 May 2020 09:32:25 |
kai |
net-mgmt/py-napalm: Update to 3.0.1:
* Add some instructions to cope with the command changes that were
introduced to newer versions of Arista EOS.
Changelog:
Junos:
* Close configuration in case "configure_private" is set to avoid configure
session to stay forever
IOS:
* "get_interfaces_counters" broken with Managment Interface
* "get_optics" does not work on VSS setup
* "get_optics" broken if input value is N/A
NXOS:
* Fix "cmd_verify" and null character
https://github.com/napalm-automation/napalm/releases/tag/3.0.1
MFH: 2020Q2 (Blanket: Bugfix release) |
3.0.0 15 May 2020 07:21:43 |
kai |
net-mgmt/py-napalm: Update to 3.0.0
* Remove the patch that fixed some issues with net-mgmt/py-junos-eznc as it
has been merged by upstream.
Get rid of the post-patch target as well because it's no longer required.
Changelog with some notable changes/fixes:
General:
* Integrated nxapi_plumbing and pyIOSXR into NAPALM.
* Updated support for TwoGigabit & TwentyFiveGig interfaces to
canonical_map.py
NXOS: (Only the first 15 lines of the commit message are shown above ) |
2.5.0 17 Jan 2020 19:24:43 |
kai |
net-mgmt/py-{napalm,pyIOSXR}: Drop support for Python 2.7 and 3.5
Prepare both ports for the 3.0.0 release of security/py-netmiko, which
dropped support for Python 2.7 and 3.5, to avoid errors when using
"bulk -a". |
2.5.0 22 Oct 2019 07:11:35 |
kai |
net-mgmt/py-napalm: Update to 2.5.0
* Add a patch that fixes the unittests with net-mgmt/py-junos-eznc >= 2.3.0
* Switch to GitHub for a while to make use of the test-suite that isn't
available in the sdist, yet.
* Add "do-test" target to make future QA easier.
Changelog:
Note: This is the last release supporting Python 2. Going forward, only
Python 3.6+ will be supported.
https://github.com/napalm-automation/napalm/releases/tag/2.5.0
MFH: 2019Q4 |
2.4.0_1 10 Apr 2019 06:18:32 |
antoine |
Bump a few PORTREVISIONs after r498529
With hat: portmgr |
2.4.0 04 Mar 2019 21:52:41 |
kai |
net-mgmt/py-napalm: Update to 2.4.0
While I'm here:
* Add location to license file
Changelog:
* Many bugfixes and improvements (total count of 42 to be exact)
https://github.com/napalm-automation/napalm/releases/tag/2.4.0
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D19439 |
2.3.3 01 Feb 2019 18:55:18 |
kai |
Change my maintainer email address to my new one at the FreeBSD project.
Reviewed by: miwi (mentor)
Approved by: miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19050 |
2.3.3 05 Jan 2019 20:50:09 |
swills |
net-mgmt/py-napalm: Update to 2.3.3
PR: 232882
Submitted by: Kai <freebsd_ports@k-worx.org> (maintainer) |
2.3.2 02 Sep 2018 23:42:51 |
swills |
net-mgmt/py-napalm: Update to 2.3.2
PR: 231091
Submitted by: Kai <freebsd_ports@k-worx.org> (maintainer) |
2.3.1 20 Jun 2018 17:05:44 |
mat |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
2.3.1 17 Apr 2018 06:37:35 |
joneum |
net-mgmt/py-napalm: update to 2.3.1
Changelog: https://github.com/napalm-automation/napalm/releases/tag/2.3.1
PR: 227503
Submitted by: Kai <freebsd_ports@k-worx.org> (maintainer) |
2.3.0 05 Apr 2018 05:19:09 |
yuri |
New port: net-mgmt/py-napalm: Net Automation and Progr. Abstraction Layer with
Multivendor support
PR: 227098
Submitted by: Kai <freebsd_ports@k-worx.org> |