Commit Graph

23 Commits

Author SHA1 Message Date
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
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
Brad Walker
0420304a6d Implement get_lldp_neighbors() for simple case 2020-05-17 10:53:07 -06:00
Brad Walker
c78fd09304 Add invalid mtu to get_interfaces 2020-05-16 13:02:21 -06:00
Brad Walker
b287f3d6c7 Remove py23_compat.text_type usage 2020-05-16 10:26:39 -06:00
Pieprzycki Piotr
69c8c66652 napalm 2 2018-02-22 20:00:24 +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
Pieprzycki Piotr
5249d52caf update port 2016-12-19 09:27:40 +01:00
Pieprzycki Piotr
e5a7c31405 add vm port, don't expect established bgp session 2016-12-18 19:09:17 +01:00
Pieprzycki Piotr
5ae5d497ea Fixed vyos ssh port, according to Vagrantfile 2016-12-16 15:56:40 +01:00
Pieprzycki Piotr
5afafa5522 Fix python code according to pylama errors 2016-12-16 15:47:51 +01:00
Pieprzycki Piotr
9b4d3aec64 changes for CI vm 2016-11-30 13:26:53 +01:00
Pieprzycki Piotr
3878acb417 mocked data, handle errors during merrge 2016-11-24 18:48:03 +01:00
Pieprzycki Piotr
0518980ab8 unit tests, fix returned data 2016-11-11 23:35:51 +01:00
Pieprzycki Piotr
b4881c4acb NAPALM Vyos Driver 2016-11-01 11:29:35 +01:00