notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
Port details
py-napalm Net Automation and Progr. Abstraction Layer with Multivendor support
4.1.0 net-mgmt on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.1.0Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-04-05 05:19:37
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
People watching this port, also watch:: screen, mplayer-skins, grabc, grepcidr
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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 py39-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 py39-napalm listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-napalm
Package flavors (<flavor>: <package>)
  • py39: py39-napalm
distinfo:
TIMESTAMP = 1685723654 SHA256 (napalm-automation-napalm-4.1.0_GH0.tar.gz) = 3ee779fa3949bc34efa1a32ae7b81074bc916c4b9b5a9c8bcd289660bddee6ef SIZE (napalm-automation-napalm-4.1.0_GH0.tar.gz) = 1565210

Packages (timestamps in pop-ups are UTC):
py37-napalm
ABIlatestquarterly
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv63.2.0-
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:powerpc--
FreeBSD:13:powerpc643.2.0-
FreeBSD:13:powerpc64le--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:powerpc--
FreeBSD:14:powerpc64--
FreeBSD:14:powerpc64le--
FreeBSD:15:aarch64--
FreeBSD:15:amd64--
FreeBSD:15:armv7--
FreeBSD:15:powerpc--
FreeBSD:15:powerpc64--
FreeBSD:15:powerpc64le--
 
py39-napalm
ABIlatestquarterly
FreeBSD:13:aarch644.1.04.1.0
FreeBSD:13:amd644.1.04.1.0
FreeBSD:13:armv6-4.1.0
FreeBSD:13:armv74.1.04.1.0
FreeBSD:13:i3864.1.04.1.0
FreeBSD:13:powerpc--
FreeBSD:13:powerpc64-4.1.0
FreeBSD:13:powerpc64le-4.1.0
FreeBSD:14:aarch644.1.04.1.0
FreeBSD:14:amd644.1.04.1.0
FreeBSD:14:armv64.0.0-
FreeBSD:14:armv74.1.04.1.0
FreeBSD:14:i3864.1.04.1.0
FreeBSD:14:powerpc4.1.0-
FreeBSD:14:powerpc64-4.1.0
FreeBSD:14:powerpc64le4.1.04.1.0
FreeBSD:15:aarch644.1.0-
FreeBSD:15:amd644.1.0-
FreeBSD:15:armv74.1.0-
FreeBSD:15:powerpc--
FreeBSD:15:powerpc644.1.0-
FreeBSD:15:powerpc64le--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. py39-pytest>=3.6.4 : devel/py-pytest@py39
  2. py39-mock>=2.0.0 : devel/py-mock@py39
  3. py39-ddt>=1.2.0 : devel/py-ddt@py39
  4. python3.9 : lang/python39
Runtime dependencies:
  1. py39-future>0 : devel/py-future@py39
  2. py39-Jinja2>0 : devel/py-Jinja2@py39
  3. py39-lxml>=4.3.0 : devel/py-lxml@py39
  4. py39-textfsm>=1.1.2 : textproc/py-textfsm@py39
  5. py39-junos-eznc>=2.6.3 : net-mgmt/py-junos-eznc@py39
  6. py39-ncclient>0 : net-mgmt/py-ncclient@py39
  7. py39-netaddr>0 : net/py-netaddr@py39
  8. py39-netutils>=1.0.0 : net-mgmt/py-netutils@py39
  9. py39-netmiko>=4.1.0 : security/py-netmiko@py39
  10. py39-paramiko>=2.6.0 : security/py-paramiko@py39
  11. py39-requests>=2.7.0 : www/py-requests@py39
  12. py39-ttp>0 : textproc/py-ttp@py39
  13. py39-ttp-templates>0 : textproc/py-ttp-templates@py39
  14. py39-typing-extensions>=4.3.0 : devel/py-typing-extensions@py39
  15. py39-pyeapi>=0.8.2 : net-mgmt/py-pyeapi@py39
  16. py39-scp>0 : security/py-scp@py39
  17. py39-yaml>0 : devel/py-yaml@py39
  18. py39-cffi>=1.11.3 : devel/py-cffi@py39
  19. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  20. python3.9 : lang/python39
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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/napalm-automation/napalm/tar.gz/4.1.0?dummy=/
Collapse this list.

Number of commits found: 24

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.1.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 177589b95309a10b995b18c04a6ef0c7a2ba852fcommit hash: 177589b95309a10b995b18c04a6ef0c7a2ba852fcommit hash: 177589b95309a10b995b18c04a6ef0c7a2ba852fcommit hash: 177589b95309a10b995b18c04a6ef0c7a2ba852f files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
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
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
4.0.0
22 Jul 2022 04:39:54
commit hash: f81111b7b696606183db11dfabd8a11272155b66commit hash: f81111b7b696606183db11dfabd8a11272155b66commit hash: f81111b7b696606183db11dfabd8a11272155b66commit hash: f81111b7b696606183db11dfabd8a11272155b66 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
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
commit hash: 2df6f6207d2d447ed59bc293bd8014dc49aa44a2commit hash: 2df6f6207d2d447ed59bc293bd8014dc49aa44a2commit hash: 2df6f6207d2d447ed59bc293bd8014dc49aa44a2commit hash: 2df6f6207d2d447ed59bc293bd8014dc49aa44a2 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
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
commit hash: ebebd2fa00c88a955144efc8f7fab3898579beb1commit hash: ebebd2fa00c88a955144efc8f7fab3898579beb1commit hash: ebebd2fa00c88a955144efc8f7fab3898579beb1commit hash: ebebd2fa00c88a955144efc8f7fab3898579beb1 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
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
commit hash: 3c88c6ce28ef494cb233caddacb4a229e2e03379commit hash: 3c88c6ce28ef494cb233caddacb4a229e2e03379commit hash: 3c88c6ce28ef494cb233caddacb4a229e2e03379commit hash: 3c88c6ce28ef494cb233caddacb4a229e2e03379 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
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
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
3.2.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.2.0
20 Nov 2020 08:52:23
Revision:555751Original commit files touched by this commit
kai search for other commits by this committer
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
Revision:544047Original commit files touched by this commit
kai search for other commits by this committer
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
Revision:536372Original commit files touched by this commit
kai search for other commits by this committer
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
Revision:535274Original commit files touched by this commit
kai search for other commits by this committer
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 View all of this commit message)
2.5.0
17 Jan 2020 19:24:43
Revision:523357Original commit files touched by this commit
kai search for other commits by this committer
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
Revision:515170Original commit files touched by this commit
kai search for other commits by this committer
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
Revision:498530Original commit files touched by this commit
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
2.4.0
04 Mar 2019 21:52:41
Revision:494655Original commit files touched by this commit
kai search for other commits by this committer
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
Revision:491837Original commit files touched by this commit
kai search for other commits by this committer
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
Revision:489380Original commit files touched by this commit
swills search for other commits by this committer
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
Revision:478830Original commit files touched by this commit
swills search for other commits by this committer
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
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:467560Original commit files touched by this commit
joneum search for other commits by this committer
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
Revision:466536Original commit files touched by this commit
yuri search for other commits by this committer
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>

Number of commits found: 24