anchor.diff:      %% This version of the API, based on Addr and Port, has been deprecated
       DeprecatedApiCases = 
   	[
  -	 simple_sync_get1, 
  -	 simple_async_get1, 
  -	 simple_sync_get_next1, 
  -	 simple_async_get_next1, 
  -	 simple_sync_set1, 
  -	 simple_async_set1, 
  -	 simple_sync_get_bulk1, 
  -	 simple_async_get_bulk1,
  -	 misc_async1
   	],
       Result = 
   	case lists:member(Case, DeprecatedApiCases) of
  
positive.code: 
  %%======================================================================
  
  simple_sync_set1(doc) -> ["Simple (sync) set-request - "
  			  "Old style (Addr & Port)"];
  simple_sync_set1(suite) -> [];
  simple_sync_set1(Config) when is_list(Config) ->
      ?TC_TRY(simple_sync_set1,
              fun() -> {skip, "API no longer supported"} end,
              fun() -> do_simple_sync_set1(Config) end).
  
  do_simple_sync_set1(Config) ->
      p("starting with Config: ~p~n", [Config]),
  
      Node = ?config(manager_node, Config),
      Addr = ?config(ip, Config),
      Port = ?AGENT_PORT,
  
      p("issue set-request without loading the mib"),
      Val11 = "Arne Anka",
      Val12 = "Stockholm",
      VAVs1 = [
  	     {?sysName_instance,     s, Val11},
  	     {?sysLocation_instance, s, Val12}
  	    ],
      ?line ok = do_simple_set1(Node, Addr, Port, VAVs1),
  
      p("issue set-request after first loading the mibs"),
      ?line ok = mgr_user_load_mib(Node, std_mib()),
      Val21 = "Sune Anka",
      Val22 = "Gothenburg",
      VAVs2 = [
  	     {[sysName, 0],     Val21},
  	     {[sysLocation, 0], Val22}
  	    ],
      ?line ok = do_simple_set1(Node, Addr, Port, VAVs2),
  
      display_log(Config),
      ok.
  
  do_simple_set1(Node, Addr, Port, VAVs) ->
      [SysName, SysLoc] = value_of_vavs(VAVs),
      ?line {ok, Reply, _Rem} = mgr_user_sync_set(Node, Addr, Port, VAVs),
  
      ?DBG("~n   Reply: ~p"
  	 "~n   Rem:   ~w", [Reply, _Rem]),
  
      %% verify that the operation actually worked:
      %% The order should be the same, so no need to seach 
      %% The value we get should be exactly the same as we sent
      ?line ok = case Reply of
  		   {noError, 0, [#varbind{oid   = ?sysName_instance,
  					  value = SysName},
  				 #varbind{oid   = ?sysLocation_instance,
  					  value = SysLoc}]} ->
  		       ok;
  		   {noError, 0, Vbs} ->
  		       {error, {unexpected_vbs, Vbs}};
  		   Else ->
  		       p("unexpected reply: ~n~p", [Else]),
  		       {error, {unexpected_response, Else}}
  	       end,
      ok.
  
  value_of_vavs(VAVs) ->
      value_of_vavs(VAVs, []).
  
  
negative.code: %%     mgr_user_async_set(Node, ?LOCALHOST(), ?AGENT_PORT, VAV).
  mgr_user_async_set(Node, TargetName, VAV) when is_list(TargetName) ->
      rcall(Node, snmp_manager_user, async_set, [TargetName, VAV]).
  
  mgr_user_async_set2(Node, TargetName, VAV, SendOpts) when is_list(TargetName) ->
      rcall(Node, snmp_manager_user, async_set2, [TargetName, VAV, SendOpts]).
  