Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365054 - TCF Discovery messages should include a hostname / agent name
Summary: TCF Discovery messages should include a hostname / agent name
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Target (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0.0   Edit
Assignee: Uwe Stieber CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 08:48 EST by Martin Oberhuber CLA
Modified: 2011-12-23 03:15 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2011-11-29 08:48:29 EST
Looking at a tree of discovered TCF agents in Target Explorer only shows me IP addresses and agent kind (e.g. Linux Kernel version). As a user, this doesn't help me at all in case I'm looking for a specific agent (eg a particular machine like "szg-qa-lx2", or a board with a particular target architecture eg "ice2-tobias-8260").

I'd expect to be able and give each agent a descriptive name (could be the hostname), and I'd expect discovery messages / target explorer to show a tree by those descriptive names rather than the IP address.

User Story:
As a user trying to connect a particular remote system, I expect the list of available systems to be shown by descriptive names such that I can intuitively find the system I'm looking for.

Acceptance Criteria:
- Discovered tree of TCF agents shows host names by default
- When launching an agent, I can override the agent name on commandline
  or in a properties file
- The agent name is primarily used for display purposes, multiple agents 
  with the same name are allowed (users can disambiguate by other properties
  such as IP address / port name)
Comment 1 Martin Oberhuber CLA 2011-11-29 08:50:03 EST
CQ:WIND00276645
Comment 2 Uwe Stieber CLA 2011-12-23 03:15:45 EST
Added code to TE to attempt to resolve the DNS name for the peers IP address. You should not expect that the DNS name returned is reliable information. If the lookup fails all together, the IP address is shown just as before.