-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Is it possible to run an agent in a specific VRF?
I sync data with an external aggregator via HTTP, and it works pretty well on switches where that external resource is reachable via default netns/vrf. But on devices where we use MGMT netns/vrf and the default routing table is just empty, my agent fails with the following errors:
===== Output from /mnt/flash/IntfCounters.py [] (PID=23289) started Mar 9 20:31:07.581556 ===
Using EOS SDK 2.6.0
2020-03-09 20:31:08.231676 Using external Socket tbl://sysdb/+n
2020-03-09 20:31:08.231840 Using externally set fd: 6
Init.
Current timeout 10.0 called
Exception reached onNotificationException: Swig::DirectorMethodException("SWIG director method error. Error detected when calling 'TimeoutHandler.on_timeout'")I suppose it fails when it tries to open a socket to an IP address, which is not reachable from the default netns/vrf.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels