Date: Sun, 24 May 2020 10:15:28 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r536381 - in branches/2020Q2/net-mgmt/py-napalm: . files Message-ID: <202005241015.04OAFSIL062643@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Sun May 24 10:15:28 2020 New Revision: 536381 URL: https://svnweb.freebsd.org/changeset/ports/536381 Log: MFH: r535274 r536372 net-mgmt/py-napalm: Update to 3.0.0 net-mgmt/py-napalm: Update to 3.0.1 * 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. * Add some instructions to cope with the command changes that were introduced to newer versions of Arista EOS. 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: * Fix exception when trying to get environmental data from certain Nexus devices * Fix "cmd_verify" and null character IOS: * Fix traceroute output parsing in ios * Fix vrf detection when no vrf is defined * Fix show interfaces summary for 10/40/100 Gig Interfaces * Fix get_bgp_neighbors_detail * "get_interfaces_counters" broken with Managment Interface * "get_optics" does not work on VSS setup * "get_optics" broken if input value is N/A IOS-XE: * Update to handle Cisco ISR mac address table with multiple EHWIC modules installed IOS-XR: * Add support for XML namespace prefixes in find_txt Junos: * Added auto_probe optional argument * Add support for configure private in Junos * SRX cluster devices stack RPC replies under multi-routing-engine-results * Close configuration in case "configure_private" is set to avoid configure session to stay forever https://github.com/napalm-automation/napalm/releases/tag/3.0.0 https://github.com/napalm-automation/napalm/releases/tag/3.0.1 Approved by: ports-secteam (joneum) Added: branches/2020Q2/net-mgmt/py-napalm/pkg-message - copied unchanged from r536372, head/net-mgmt/py-napalm/pkg-message Deleted: branches/2020Q2/net-mgmt/py-napalm/files/ Modified: branches/2020Q2/net-mgmt/py-napalm/Makefile branches/2020Q2/net-mgmt/py-napalm/distinfo Directory Properties: branches/2020Q2/ (props changed) Modified: branches/2020Q2/net-mgmt/py-napalm/Makefile ============================================================================== --- branches/2020Q2/net-mgmt/py-napalm/Makefile Sun May 24 10:06:45 2020 (r536380) +++ branches/2020Q2/net-mgmt/py-napalm/Makefile Sun May 24 10:15:28 2020 (r536381) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= napalm -DISTVERSION= 2.5.0 +DISTVERSION= 3.0.1 CATEGORIES= net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,14 +13,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=4.3.0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}textfsm>0:textproc/py-textfsm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}junos-eznc>=2.2.1:net-mgmt/py-junos-eznc@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}netmiko>=2.4.2:security/py-netmiko@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}paramiko>=2.4.2:security/py-paramiko@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}nxapi-plumbing>=0.5.2:net-mgmt/py-nxapi-plumbing@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}netmiko>=3.1.0:security/py-netmiko@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}paramiko>=2.6.0:security/py-paramiko@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyeapi>=0.8.2:net-mgmt/py-pyeapi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyIOSXR>=0.53:net-mgmt/py-pyIOSXR@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scp>0:security/py-scp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cffi>=1.11.3:devel/py-cffi@${PY_FLAVOR} \ @@ -35,9 +35,6 @@ USE_GITHUB= yes GH_ACCOUNT= napalm-automation NO_ARCH= yes - -post-patch: - @${REINPLACE_CMD} -e 's|==|>=|' ${WRKSRC}/requirements.txt do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs Modified: branches/2020Q2/net-mgmt/py-napalm/distinfo ============================================================================== --- branches/2020Q2/net-mgmt/py-napalm/distinfo Sun May 24 10:06:45 2020 (r536380) +++ branches/2020Q2/net-mgmt/py-napalm/distinfo Sun May 24 10:15:28 2020 (r536381) @@ -1,3 +1,3 @@ -TIMESTAMP = 1571639020 -SHA256 (napalm-automation-napalm-2.5.0_GH0.tar.gz) = c30254303f0d908f64902d89ea73673a922d3a27f94c2af674264a1b5a230249 -SIZE (napalm-automation-napalm-2.5.0_GH0.tar.gz) = 1104384 +TIMESTAMP = 1589873376 +SHA256 (napalm-automation-napalm-3.0.1_GH0.tar.gz) = a2d159e91a2d1355fc1eed323a189981999f99776d15c628a8b6aba822fb855a +SIZE (napalm-automation-napalm-3.0.1_GH0.tar.gz) = 1197783 Copied: branches/2020Q2/net-mgmt/py-napalm/pkg-message (from r536372, head/net-mgmt/py-napalm/pkg-message) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q2/net-mgmt/py-napalm/pkg-message Sun May 24 10:15:28 2020 (r536381, copy of r536372, head/net-mgmt/py-napalm/pkg-message) @@ -0,0 +1,20 @@ +[ +{ type: upgrade + maximum_version: "3.0.1" + message: <<EOD +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. +EOD +} +]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005241015.04OAFSIL062643>