mirror of
https://github.com/napalm-automation-community/napalm-vyos.git
synced 2026-03-08 06:04:51 +00:00
add vm port, don't expect established bgp session
This commit is contained in:
@@ -31,6 +31,7 @@ class PatchedVyOSDriver(vyos.VyOSDriver):
|
||||
"""Patched VyOS Driver."""
|
||||
|
||||
def __init__(self, hostname, username, password, timeout=60, optional_args=None):
|
||||
optional_args = {'port': '12206'}
|
||||
super().__init__(hostname, username, password, timeout, optional_args)
|
||||
|
||||
self.patched_attrs = ['device']
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"global": {"router_id": "...", "peers": {"10.0.1.100": {"is_enabled": true, "uptime": "...", "remote_as": 65001, "description": "", "remote_id": "...", "local_as": 65002, "is_up": true, "address_family": {"ipv4": {"sent_prefixes": -1, "accepted_prefixes": "...", "received_prefixes": "..."}}}}}}
|
||||
{"global": {"router_id": "...", "peers": {"10.0.1.100": {"is_enabled": true, "uptime": "...", "remote_as": 65001, "description": "", "remote_id": "...", "local_as": 65002, "is_up": "...", "address_family": {"ipv4": {"sent_prefixes": -1, "accepted_prefixes": "...", "received_prefixes": "..."}}}}}}
|
||||
|
||||
Reference in New Issue
Block a user