Skip to content

Commit

Permalink
Merge branch 'bmk/snmp/20240828/test_tweaking' into maint
Browse files Browse the repository at this point in the history
  • Loading branch information
bmk committed Sep 9, 2024
2 parents c549a0e + 54d4228 commit 2b76a58
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions lib/snmp/test/snmp_agent_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -8458,12 +8458,22 @@ otp16649_mgr_reg_agent(Node, IPFam, TDomain, Target, PortNo) ->
"~n Target: ~p"
"~n PortNo: ~p",
[Node, IPFam, TDomain, Target, PortNo]),
Localhost = ?LOCALHOST(IPFam),
Localhost = ?LOCALHOST(IPFam),
Version = v1,
EngineId = "agentEngine",
?IPRINT("otp16649_mgr_reg_agent -> register agent:"
"~n Target: ~p"
"~n Address: ~p"
"~n Port: ~p"
"~n Version: ~p"
"~n TDomain: ~p"
"~n EngineId: ~p",
[Target, Localhost, PortNo, Version, TDomain, EngineId]),
Config = [{address, Localhost},
{port, PortNo},
{version, v1},
{version, Version},
{tdomain, TDomain},
{engine_id, "agentEngine"}],
{engine_id, EngineId}],
rpc:call(Node, snmpm, register_agent,
[otp16649, Target, Config]).

Expand Down

0 comments on commit 2b76a58

Please sign in to comment.