Piotr Pieprzycki
a5d3b94663
Merge pull request #39 from marcushoff/get_config
...
Add get_config method
2020-12-17 22:31:52 +01:00
Piotr Pieprzycki
29ad1b85bd
Merge pull request #38 from marcushoff/get_facts
...
Update serial_number and model
2020-12-17 22:29:55 +01:00
Marcus Hoff
d4e25b4e46
Update file mode
...
Default file mode i binary, updated to string
2020-11-16 09:27:15 +01: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
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
Marcus Hoff
a205b99ca5
Update serial_number and model
...
Fixes my bugs
2020-10-18 15:06:58 +02:00
Marcus Hoff
a4a0645f27
Update serial_number and model
...
Updated the match pattern of serial_number and model to the current 1.2/1.3 release of Vyos, maintained code for older versions
2020-10-18 14:22:50 +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
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
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
47227d1cf0
handle config as text in load and merge functions
2018-04-08 00:23:04 +02:00
Pieprzycki Piotr
69c8c66652
napalm 2
2018-02-22 20:00:24 +01: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
Pieprzycki Piotr
be5f80a427
fixes for python3
2016-12-21 22:55:32 +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
aa1ad764f1
remove print from load functions
2016-12-19 09:58:09 +01:00
Pieprzycki Piotr
5afafa5522
Fix python code according to pylama errors
2016-12-16 15:47:51 +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
681797fc6d
netmiko and config files
2016-11-05 23:40:11 +01:00
Pieprzycki Piotr
9d933d748f
Fix for situation where config dont change
2016-11-02 11:35:24 +01:00
Pieprzycki Piotr
f8bab84a8b
additional import
2016-11-01 19:34:35 +01:00
Pieprzycki Piotr
b4881c4acb
NAPALM Vyos Driver
2016-11-01 11:29:35 +01:00