def previewed_host_param
      host_param = @host_param.dup
      enable_mode = @enable_mode
      @enable_mode = false
      host_param[:username] = embed_user_name
      host_param[:password] = embed_password
      host_param[:ipaddr] = embed_ipaddr
      @enable_mode = true
      host_param[:enable] = embed_password
      @enable_mode = enable_mode
      host_param
    end
def previewed_host_param
      host_param = @host_param.dup
      enable_mode = @enable_mode
      @enable_mode = false
      host_param[:username] = embed_user_name
      host_param[:password] = embed_password
      host_param[:ipaddr] = embed_ipaddr
      @enable_mode = true
      host_param[:enable] = embed_password
      @enable_mode = enable_mode
      host_param
    end
Setup parameters for a host to preview