Commit Graph

86 Commits

Author SHA1 Message Date
Hanarion 01c02019d0
Fix BGP summary template for recent versions of VyOS 2025-04-20 22:48:01 +02:00
Wieger Bontekoe 0946f18ddb
Update vyos.py 2024-09-26 06:03:56 +02:00
Wieger Bontekoe 72f52ea387
Update vyos.py
Debugging
2024-09-25 15:44:37 +02:00
Wieger Bontekoe d769bd0f20
Merge pull request #1 from Charlie-Root/bgp-details
Bgp details
2024-05-13 09:41:41 +02:00
Wieger Bontekoe 390e0ff05a
Merge branch 'develop' into bgp-details 2024-05-13 09:40:59 +02:00
Wieger Bontekoe 422e64b671
Update vyos.py 2024-05-13 09:38:10 +02:00
Wieger Bontekoe 9d037d21d1
Create bgp_sum.template 2024-05-13 09:37:52 +02:00
Wieger Bontekoe 03075301c8
Create bgp_details.template 2024-05-13 09:37:38 +02:00
Wieger Bontekoe 63a8cb72ba
Update requirements.txt 2024-04-01 16:30:31 +02:00
Wieger Bontekoe d5a4d0d422
Update vyos.py
Migrate to templates
2024-04-01 16:30:09 +02:00
Wieger Bontekoe 9c16a0055a
Update vyos.py
Remove logging
2024-03-31 11:53:46 +02:00
Wieger Bontekoe c5d00af8ff
Update vyos.py adding get_bgp_neighbors_detail 2024-03-31 11:52:28 +02:00
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
Piotr Pieprzycki 27bc0c7623 Change version to 0.2.1 2020-12-17 22:16:09 +01:00
Piotr Pieprzycki 7fda2abd47
Merge pull request #40 from marcushoff/configure
Update file mode
2020-12-17 21:54:38 +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 619fc3d32c Fix expected results for sanitized
changed the return password to be hidden
2020-10-23 11:21:13 +02:00
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
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 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