Marcus Hoff
7e470df55e
Fix expected results
...
Fixed wrong output and new lines in expected results and corrected the show output for test_get_config
2020-10-23 10:46:52 +02:00
Marcus Hoff
1200cf4328
Fix sanitized_test, Add str return to candidate
...
Change the expected results of sanitized test.
If candidate config is None return empty string
2020-10-22 18:28:34 +02:00
Marcus Hoff
d970ad22c9
Fixed tests
...
Add missing case test_get_config_filtere
Correct names of mock files
2020-10-22 16:51:57 +02:00
Marcus Hoff
7107560f84
Add tests for get_config
...
Add test cases for normal and sanitized versions.
Add support for config mode in mock device.
2020-10-22 14:54:34 +02:00
Marcus Hoff
5ab6f4de21
Add get_config method
...
Supports all retrive options, where 'candidate' is the Napalm candidate.
Either gets the boot config as 'startup' or output from 'show' in edit mode for 'running'
Supports sanitized only for 'running'. Outputs the 'show' in op mode.
2020-10-21 16:34:52 +02:00
Piotr Pieprzycki
fe3d5560ab
Merge pull request #32 from bradmwalker/napalm3
...
Napalm 3 Compatibility
2020-05-17 23:46:12 +02:00
Piotr Pieprzycki
05296bc1fa
Merge branch 'develop' into napalm3
2020-05-17 23:43:38 +02:00
Piotr Pieprzycki
ea4bc1a4ae
Merge pull request #34 from bradmwalker/lldp
...
Implement get_lldp_neighbors() for simple case
2020-05-17 23:39:10 +02:00
Piotr Pieprzycki
011db99dcc
Merge pull request #33 from bradmwalker/mtu
...
Add MTU to get_interfaces() results
2020-05-17 23:35:08 +02:00
Brad Walker
0420304a6d
Implement get_lldp_neighbors() for simple case
2020-05-17 10:53:07 -06:00
Brad Walker
b883dcbbb0
Bump to 0.1.7 and require NAPALM 2.5
2020-05-16 13:06:10 -06:00
Brad Walker
c78fd09304
Add invalid mtu to get_interfaces
2020-05-16 13:02:21 -06:00
Brad Walker
d2d0f2723f
Bump minor version and use NAPALM 3
2020-05-16 12:34:21 -06:00
Brad Walker
2bdb499b14
Replace _get_value with dict.get usage
2020-05-16 10:50:09 -06:00
Brad Walker
cbfe8ae0c4
Fix invalid escape sequence DeprecationWarnings
2020-05-16 10:44:11 -06:00
Brad Walker
3b53afd852
Improve SyntaxWarning for empty string checks
2020-05-16 10:39:20 -06:00
Brad Walker
b287f3d6c7
Remove py23_compat.text_type usage
2020-05-16 10:26:39 -06:00
Piotr Pieprzycki
df1d827038
Merge pull request #29 from ppieprzycki/issue28
...
Fix installation fails with the pip > 10
2019-02-15 09:19:34 +01:00
Pieprzycki Piotr
0175531bbb
add additional parameters
2019-02-14 23:55:18 +01:00
Pieprzycki Piotr
42953c84ae
add additional parameters
2019-02-14 23:43:56 +01:00
Pieprzycki Piotr
57b6110f13
fix pip issue
2019-02-14 07:03:57 +01:00
Piotr Pieprzycki
f1549d8af3
Merge pull request #25 from napalm-automation-community/master
...
Update develop branch
2018-04-08 18:26:36 +02:00
Piotr Pieprzycki
2278bddd3a
Merge pull request #24 from ppieprzycki/master
...
Support for salt
2018-04-08 18:19:57 +02:00
Pieprzycki Piotr
55a6b15c3e
Update docs
2018-04-08 18:15:28 +02:00
Pieprzycki Piotr
580da0edeb
Update docs
2018-04-08 18:12:07 +02:00
Pieprzycki Piotr
23fe045167
Update docs
2018-04-08 18:09:21 +02:00
Pieprzycki Piotr
b8ec1396f7
Update docs
2018-04-08 17:56:49 +02:00
Pieprzycki Piotr
5c3492f13c
Update docs
2018-04-08 11:28:15 +02:00
Pieprzycki Piotr
47227d1cf0
handle config as text in load and merge functions
2018-04-08 00:23:04 +02:00
Piotr Pieprzycki
06f9fc28d3
Merge pull request #23 from napalm-automation-community/develop
...
Merge develop branch with master
2018-02-22 21:30:01 +01:00
Piotr Pieprzycki
6e68dba692
Merge pull request #22 from ppieprzycki/master
...
Fix travis status and set new version 0.1.4
2018-02-22 20:36:50 +01:00
Piotr Pieprzycki
7d0e30fdba
Merge pull request #20 from thomseddon/fix/use-napalm-base
...
Use napalm instead of napalm_base
2018-02-22 20:29:11 +01:00
Pieprzycki Piotr
4d52216866
Fix travis status and set new version 0.1.4
2018-02-22 20:28:24 +01:00
Piotr Pieprzycki
5c440b3df9
Merge pull request #21 from ppieprzycki/master
...
Fix imports to napalm2
2018-02-22 20:19:15 +01:00
Pieprzycki Piotr
69c8c66652
napalm 2
2018-02-22 20:00:24 +01:00
Thom Seddon
b9bcbbc7bc
Use napalm instead of napalm_base
2018-02-22 10:16:54 +00:00
Mircea Ulinic
347d6a6603
Merge pull request #14 from napalm-automation/develop
...
Release 0.1.3
2017-02-08 15:28:04 -05:00
Mircea Ulinic
cc98324b6d
Merge pull request #13 from napalm-automation/rel-0.1.3
...
Version 0.1.3
2017-02-08 15:09:07 -05:00
Mircea Ulinic
fcdcfb719f
Merge pull request #12 from mirceaulinic/patch-1
...
Add vrf arg to ping
2017-02-08 15:08:59 -05:00
Mircea Ulinic
673cb74593
Version 0.1.3
2017-02-07 01:06:01 -05:00
Mircea Ulinic
44948805bc
Add vrf arg to ping
...
Looks like vyos doesn't know about VRF
so these changes should be reflected only
in the method header
2017-02-02 12:06:48 +00:00
David Barroso
b397bb27aa
Merge pull request #8 from ppieprzycki/master
...
Fix mock and vagrant tests
2016-12-29 11:02:53 +01:00
Pieprzycki Piotr
be5f80a427
fixes for python3
2016-12-21 22:55:32 +01:00
Pieprzycki Piotr
7e2a8ba420
switch tox to py27 only
2016-12-21 22:00:39 +01:00
Pieprzycki Piotr
1a6d881450
get_facts expected_result
2016-12-21 21:50:46 +01:00
Pieprzycki Piotr
f9e023954e
add def is_alive
2016-12-21 21:31:13 +01:00
Pieprzycki Piotr
f1de371d37
fixes for pylama
2016-12-21 13:51:52 +01:00
Pieprzycki Piotr
875ad85bd7
Change variable in vyos.py, add mocked data
2016-12-21 13:49:40 +01:00
Pieprzycki Piotr
a63df96ade
changes in mock tests
2016-12-21 13:03:59 +01:00
Pieprzycki Piotr
37ae8512c0
PatchedDriver overload
2016-12-19 12:22:05 +01:00