Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365054

Summary: TCF Discovery messages should include a hostname / agent name
Product: [Tools] TCF Reporter: Martin Oberhuber <mober.at+eclipse>
Component: TargetAssignee: Uwe Stieber <uwe.st>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: cdtdoug, uwe.st
Version: 1.0   
Target Milestone: 1.0.0   
Hardware: All   
OS: All   
Whiteboard:

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.