Commit a65fc25
authored
Preparing release 2.5.0 (#1065)
* namespace fix for napalm cli (#950)
* Fix broken get_bgp_neighbors when 6PE configured on eos (#945)
* fix _RE_BGP_PREFIX and NEIGHBOR_FILTER for 6PE into eos
* add testcase for 6PE version
* Renamed testcase mocked file for regexp syntax change
* If parent_table None call exception (#939)
Hi, i have this situation when ipv6 is turned off:
$ napalm --user oxi --password gdfw23 --vendor nxos 10.143.36.8 call get_interfaces_ip
2019-03-07 15:08:10,226 - napalm - ERROR - method - Failed: 'NoneType' object has no attribute 'get'
================= Traceback =================
Traceback (most recent call last):
File "/opt/py3.6/bin/napalm", line 10, in <module>
sys.exit(main())
File "/opt/py3.6/lib/python3.6/site-packages/napalm/base/clitools/cl_napalm.py", line 309, in main
run_tests(args)
File "/opt/py3.6/lib/python3.6/site-packages/napalm/base/clitools/cl_napalm.py", line 292, in run_tests
call_getter(device, args.method, **method_kwargs)
File "/opt/py3.6/lib/python3.6/site-packages/napalm/base/clitools/cl_napalm.py", line 31, in wrapper
r = func(*args, **kwargs)
File "/opt/py3.6/lib/python3.6/site-packages/napalm/base/clitools/cl_napalm.py", line 256, in call_getter
r = func(**kwargs)
File "/opt/py3.6/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 1091, in get_interfaces_ip
ipv6_command, "TABLE_intf", "ROW_intf"
File "/opt/py3.6/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 721, in _get_command_table
return self._get_reply_table(json_output, table_name, row_name)
File "/opt/py3.6/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 717, in _get_reply_table
return self._get_table_rows(result, table_name, row_name)
File "/opt/py3.6/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 706, in _get_table_rows
_table = parent_table.get(table_name)
AttributeError: 'NoneType' object has no attribute 'get'
* Remove extensive argument from junos_iface_table (#929)
Fixes #928
* Add GitHub issue template, as we used to have before (#961)
When we used to maintain separare NAPALM drivers, we had an issue template
looking like this:
napalm-automation/napalm-junos@110fec4#diff-faa36bc26a21ed93c8de974753b71507.
I was looking today through the issues we currently have open, and
I found some of them a bit chaotic, and hard to understand the context
/ environment the user runs. Additionally, some, e.g., #960, is really
hard to follow, and I've included a note to invite the user to check the
HitGub markdown manual.
* NXOS_SSH get_route_to (updated) (#914)
* Add MTU support to get_interface (#940)
* Feature/ios get bgp config (#897)
* support n9k ipv6 ints for interfaces_ip getter (#969)
* support catalyst vss for mac_address getter (#968)
* support getting auto-negotiated speed on junos (#967)
* [IOS] Raise exception if BGP neighbor info requested and BGP not running (#970)
* Implement nxos_ssh get_environment (#973)
* Switch Docker image to Python 3 and reduce the number of layers and size (#980)
* Better handling of connection closing upon exceptions in __enter__ (#994)
* Fix incorrect get_interfaces_ip parsing on n9k with IPv6 addresses (#997)
* Modernize docs for FreeBSD installation (#993)
* Fix nxos and nxos_ssh hostname change handling (#999)
* Update link location in the docs (#1002)
* Hostname fixes for NXOS and IOS (#1007)
* Clean up the documentation contribution section (#1004)
* <exception>.message is no longer a thing in Python3 (#1016)
* Added option to show run all (#1029)
* Update ISSUE_TEMPLATE
Removing the space between the brackets, as it seems like it's confusing the users.
* junos add optional arg for DB config selection (#1035)
* fix junos issue #1028 (#1032)
* fix junos issue #1028
* junos add test case for get_network_instances
* Incorrectly taken serial number in NXOS. (#1025)
* The serial number is taken incorrectly, in particular,
the "Processor Board ID" is displayed,
and you need a Chassis -> serialnum:
* Additional safety net for the lack of a serial number in the output.
* black test
* mov function _get_table_rows, _get_reply_table and _get_command_table
from class NXOSDriver to NXOSDriverBase, because used in NXOSSSHDriver.
* Added verification and conversion from string to json
* Implemented lock_disable for EOS based on Junos. (#1042)
To fix(?) issue #1041 - #1041
On branch eos-lock-disable-flag
Changes to be committed:
modified: napalm/eos/eos.py
* #1025 Work around NXAPI double quoting (#1048)
* #1025 Work around NXAPI double quoting
The NXAPI on the Nexus 9000 platform seems to be double-quoting the name of inventory items.
Amend the check for the inventory item name to take this into account.
* the output of the N9000 has extra quotes:
show inventory | json
{"TABLE_inv": {"ROW_inv": [{"name": "\"Chassis\"",
"desc": "\"Nexus9000 C92160YC-X chassis\"",.......
* #1046 Use new dictionary key to fetch OS version (#1047)
Some Cisco Nexus equipment doesn’t have `sys_ver_str`, but has `rr_sys_ver` instead. Use this as a backup.
* Add get_environment support for NXOS driver (#1054)
* napalm.nxos.traceroute - VRF traces and handle AS in hops (#989)
* Adding traceroute from a specific VRF
* Combination of source and vrf command
* On some devices running BGP, an AS number will appear after the IP address of the hop
* E261 at least two spaces before inline comment [pep8]
* Fix extra line in show ip int brief on IOS (#986)
* keep nxos consistent with ios for rollback of failed merge (#860)
* IOS: add support for VRF for get_arp_table func (#937)
Simply takes into account the vrf function arg and exec
the expected ios command.
* ios get_bgp_neighbors vrf and safi aware (#768)
* get_bgp_neighbors vrf support
* afi string contains afi modifier
* mocked data, minor changes
* afi string with afi modifier
* supported afis
* mocked data
* comments
* typo
* show arp vrf ios test
* black reformated
* Check if temperature sensor on Cisco device is not supported (#1055)
* Check if temperature sensor on Cisco device is not supported
Some older Cisco devices like models from the 2960 platform have no temperature sensor built-in. In that case the get_environment function will throw on exception. That case will now be handeled.
* Correct if check
* Fixes get_environment memory collection on ios-xe devices (#1053)
* fixes issue #1052
* add tests for get_environment on ios-xe devices
* Pin PyEZ to 2.2.1 (#1061)
* get_route_to implementation for IOS (#750)
* 1st functional config
* bgp protocol attributes added
* linting, minor changes
* test_get_route_to mocked_data
* linting errors fix
* comments, minor changes in bgp procesing
* bgp processing separated
* bgp support 7200 old
* new bgp processing
* mocked data global routing table
* comments, _get_vrfs update
* mocked data c7200
* bug in regex
* connected, next-hop regex changed,..
* community + ext.community, comments
* linting
* RE_RDB1 regex fixed
* asr_pe test
* typo
* typo
* typo in mocked data - vrf Test -> TEST
* longer parameter added (PR735)
* rollback to pass test_method_signatures ...
* bgp_time_conversion duplicity fixed
* community regex fixed
* code optimization
* module constant, variables renaming
* black reformated
* sh arp vrf test
* When asPathType is Internal (IBGP), as_path is empty and the remote-as is the local_as (#1064)
* Pin Netmiko to version 2.4.2 (#1066)
* Release 2.5.0 (#1063)1 parent 2332653 commit a65fc25
File tree
157 files changed
+28366
-2286
lines changed- .github
- docs
- contributing
- installation
- validate
- napalm
- base
- clitools
- test
- eos
- iosxr
- ios
- junos
- utils
- nxos_ssh
- utils/textfsm_templates
- nxos
- test
- eos/mocked_data
- test_get_bgp_neighbors
- issue58_neighbor_down
- issue944
- normal
- test_get_interfaces
- issue68_iface_no_physical_addr
- normal
- iosxr/mocked_data/test_get_interfaces/normal
- ios/mocked_data
- test_get_arp_table_with_vrf/normal
- test_get_bgp_config
- mixed_with_without_groups
- normal
- peers_without_groups
- test_get_bgp_neighbors
- mcast_ipv6
- normal
- vrfs_mdt
- test_get_environment/ios_xe
- test_get_facts/empty_show_hosts
- test_get_interfaces
- alternate2
- alternate
- normal
- pseudowire
- test_get_mac_address_table/6500_6800_vss_format
- test_get_route_to
- 7200_format
- asr_pe
- normal
- junos/mocked_data
- test_get_interfaces
- iffdown
- normal
- test_get_network_instances/bridge
- nxos_ssh/mocked_data
- test_get_environment
- normal
- nxosv_9k
- test_get_facts
- 7009_6_2_14
- N93180
- missing_domain
- newer_version
- normal
- test_get_interfaces
- 5548_7_0_8_N1_1
- 6004_7_3_3_N1_1
- N93180_7_0_3_I7_2
- alternate1
- no_delay
- normal
- test_get_route_to
- normal
- vrf1
- nxos/mocked_data
- test_get_environment
- normal
- pre_7.0
- test_get_facts
- N9000
- normal
- test_get_interfaces_ip/ipv6_n9k
- test_get_interfaces/normal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
157 files changed
+28366
-2286
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
48 | 68 | | |
49 | 69 | | |
50 | 70 | | |
| |||
58 | 78 | | |
59 | 79 | | |
60 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
17 | 36 | | |
18 | 37 | | |
19 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | | - | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
48 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| |||
95 | 104 | | |
96 | 105 | | |
97 | 106 | | |
98 | | - | |
99 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
| |||
268 | 278 | | |
269 | 279 | | |
270 | 280 | | |
| 281 | + | |
271 | 282 | | |
272 | 283 | | |
273 | 284 | | |
| |||
280 | 291 | | |
281 | 292 | | |
282 | 293 | | |
| 294 | + | |
283 | 295 | | |
284 | 296 | | |
285 | 297 | | |
| |||
289 | 301 | | |
290 | 302 | | |
291 | 303 | | |
| 304 | + | |
292 | 305 | | |
293 | 306 | | |
294 | 307 | | |
| |||
298 | 311 | | |
299 | 312 | | |
300 | 313 | | |
| 314 | + | |
301 | 315 | | |
302 | 316 | | |
303 | 317 | | |
| |||
307 | 321 | | |
308 | 322 | | |
309 | 323 | | |
| 324 | + | |
310 | 325 | | |
311 | 326 | | |
312 | 327 | | |
| |||
1497 | 1512 | | |
1498 | 1513 | | |
1499 | 1514 | | |
1500 | | - | |
| 1515 | + | |
1501 | 1516 | | |
1502 | 1517 | | |
1503 | 1518 | | |
1504 | 1519 | | |
1505 | 1520 | | |
1506 | 1521 | | |
| 1522 | + | |
1507 | 1523 | | |
1508 | 1524 | | |
1509 | 1525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
| |||
0 commit comments