NetBox Napalm Plugin version
0.3.0
NetBox version
4.1.3
Python version
3.10
Steps to Reproduce
On my Huawei VRP swtiches (for example Huawei S6730-H48X6C and S6730-H24X6C), LLDP Neighbors is working.
But on one, a Huawei S5735-L24P4X-A1, it gets a timeout after the 10 seconds default:
Error connecting to the device at 10.0.0.101: Cannot connect to 10.0.0.101

So I set this JSON as NAPALM Arguments in Napalm Platform Configs for the huawei_vrp platform. But it doesn't change anything, it looks like it's not applied.
{
"--optional_args": "conn_timeout=20,read_timeout=20"
}
Running napalm manually confirm that this conn_timeout is required:
napalm --user readonly --vendor huawei_vrp 10.0.0.101 call get_lldp_neighbors_detail
2024-10-22 14:34:00,427 - napalm - ERROR - open - Failed: Cannot connect to 10.0.0.101
...
netmiko.exceptions.NetmikoTimeoutException: Paramiko: 'No existing session' error: try increasing 'conn_timeout' to 15 seconds or larger.
...
So, I added conn_timeout, and now it connects (it still fails, but for another reason):
napalm --user readonly --vendor huawei_vrp --optional_args conn_timeout=20 10.0.0.101 call get_lldp_neighbors_detail
2024-10-22 14:36:43,367 - napalm - ERROR - method - Failed:
Pattern not detected: 'Info:\\ The\\ configuration\\ takes\\ effect\\ on\\ the\\ current\\ user\\ terminal\\ interface\\ only\\.' in output.
But for this second problem I will open another issue at https://github.com/napalm-automation-community/napalm-huawei-vrp.
Expected Behavior
NAPALM Arguments should be applied.
Observed Behavior
NAPALM Arguments are not applied.
NetBox Napalm Plugin version
0.3.0
NetBox version
4.1.3
Python version
3.10
Steps to Reproduce
On my Huawei VRP swtiches (for example
Huawei S6730-H48X6CandS6730-H24X6C), LLDP Neighbors is working.But on one, a
Huawei S5735-L24P4X-A1, it gets a timeout after the 10 seconds default:So I set this JSON as NAPALM Arguments in Napalm Platform Configs for the
huawei_vrpplatform. But it doesn't change anything, it looks like it's not applied.{ "--optional_args": "conn_timeout=20,read_timeout=20" }Running
napalmmanually confirm that thisconn_timeoutis required:napalm --user readonly --vendor huawei_vrp 10.0.0.101 call get_lldp_neighbors_detailSo, I added
conn_timeout, and now it connects (it still fails, but for another reason):napalm --user readonly --vendor huawei_vrp --optional_args conn_timeout=20 10.0.0.101 call get_lldp_neighbors_detailBut for this second problem I will open another issue at https://github.com/napalm-automation-community/napalm-huawei-vrp.
Expected Behavior
NAPALM Arguments should be applied.
Observed Behavior
NAPALM Arguments are not applied.