Commit Graph

74 Commits

Author SHA1 Message Date
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
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