Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAPALM Release 2.3.1 #697

Merged
merged 29 commits into from
Apr 12, 2018
Merged

NAPALM Release 2.3.1 #697

merged 29 commits into from
Apr 12, 2018

Conversation

ktbyers
Copy link
Contributor

@ktbyers ktbyers commented Apr 11, 2018

Depends on PR #696

mirceaulinic and others added 28 commits January 10, 2018 08:53
On Debian, when installing `cryptography` in a clean environment, it fails with the error:

```bash
Downloading/unpacking chardet==3.0.4 (from -r requirements.txt (line 5))
Downloading/unpacking contextlib2==0.5.5 (from -r requirements.txt (line 6))
  Downloading contextlib2-0.5.5-py2.py3-none-any.whl
Downloading/unpacking cryptography==2.1.4 (from -r requirements.txt (line 7))
  Running setup.py (path:/tmp/pip-build-hfnqrc/cryptography/setup.py) egg_info for package cryptography
    error in cryptography setup command: Invalid environment marker: python_version < '3'
    Complete output from command python setup.py egg_info:
    error in cryptography setup command: Invalid environment marker: python_version < '3'
```

When upgrading setuptools, cryptography installs without issues.
Similarly, cffi must be upgraded.
* junos fix nhs in get_bgp_config()

* junos add test case for nhs in get_bgp_config()

* junos fix missing policy in existing test case for nhs

* junos fix E712 comparison

* fix typo

* junos remove nhs key in group level in get_bgp_config()

* junos rework nhs in get_bgp_config() by fetching all policies in one go

* junos fix test case for nhs get_bgp_config()

* junos clean code and add comments in nhs get_bgp_config()

* junos nhs remove inactive term in mocked data
There's a bug when running against devices which output:
% Invalid input detected at '^' marker.

When running the "show ipv6 interface command"

The current get_interfaces_ip would result in:

{
	"Vlan20": {
		"ipv4": {
			"172.29.50.3": {
				"prefix_length": 27
			}
		}
	},
	"Vlan41": {
		"ipv4": {
			"172.29.52.34": {
				"prefix_length": 27
			},
			"192.168.81.34": {
				"prefix_length": 24
			}
		}
	},
	"^": {
		"ipv6": {}
	},
	"%": {
		"ipv6": {}
	}
}
* Fixes #441, Fixes #633 show arp and mac address table processing.
* Minor improvement to get_arp processing on NXOS SSH
* don't hide relevant import errors

* original name

* py2 compliance

* now back to py3 compatibility....
get_bgp_neighbors:  the key for the first dictionary is "global" not "default" if there are not VRFs
* improved exceptions - added new base exception

* fixed pep8 issue

* another pep8 issue fixed
* Start sharing common Netmiko code

* Adding unit tests for new netmiko argument parsing

* Adding NXOS to use netmiko argument processing

* IOS-XR and netmiko args processing
* fix issue #477: the output is now consistent between NXOS and NXOS_SSH driver

* #477 fix crash for some N9K 93180YC-EX, 93180LC-EX, etc

* Updates to NX-OS SSH get_facts

* Adding better test case for NX-API
* Update get_interfaces_ip to deal with unnumbered interfaces

Unnumbered interfaces are listed in `show ip interface`, but have no `prefix` key. Take precautions for this, and inherit the IP of the interface it is borrowing from.
Take the same precaution for ipv6. This fixes #630.

* Extend tests for show_ip_interface

Add an unnumbered interface to the tests.
* Adding VXLAN support: EVPN and control plane flags on mac address + new interface name

* Fix #672: get_interfaces() crash with nve interfaces or no IP address

* fix missing mgmt0 interface in the get_fact on N9K device

* fix wrong description SVI on N9K device

* fix some pep error and an EOL issue for a test case
Fixes #689 pip10 compatibility issue
* Apply correct format to code block

* Add virtualbox provider flag to vagrant
* Cosmetic cleanup in line with PEP8, whitespace and indentation fixes

* Address inconsistency in junos xml rpc calls for lldp interface information.

Provide mapping of personality and model to call.
Add tests to cover SRX_HIGHEND personality and QFX5110-48S-4C model.

* Add two more cases where the RPC call for lldp neighbors interface detail is different to that documented
* Rolling version to 2.3.1

* Fixing linter issues introduced by new version of pylama
@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 78.917% when pulling f45fc4f on develop into d5f24b3 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Apr 12, 2018

Coverage Status

Coverage increased (+0.3%) to 78.917% when pulling f45fc4f on develop into d5f24b3 on master.

@ktbyers ktbyers merged commit 682efdc into master Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.