Project

General

Profile

Feature #2665

NetDeviceFace: show NetDevice Address as LocalUri

Added by Junxiao Shi about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
helpers
Target version:
Start date:
03/22/2015
Due date:
% Done:

100%

Estimated time:

Description

Currently, all NetDeviceFaces have netDeviceFace:// as RemoteUri and LocalUri.
This isn't useful for distinguishing between those faces.

LocalUri should be changed to contain netDevice.GetAddress(), such as:

"netdev:///" + boost::lexical_cast<std::string>(netdev->GetAddress())

Caution: Ensure the FaceUri is valid.
The example above puts the address to Path part of FaceUri, because the rules are looser than Host part.

History

#1 Updated by satya narayana almost 4 years ago

  • Assignee set to satya narayana

#2 Updated by Alex Afanasyev almost 3 years ago

  • Assignee deleted (satya narayana)

#3 Updated by Alex Afanasyev almost 3 years ago

  • Category set to helpers
  • Assignee set to Alex Afanasyev
  • Target version set to 2.2
  • % Done changed from 0 to 100

#4 Updated by Alex Afanasyev almost 3 years ago

  • Status changed from New to Code review

#5 Updated by Alex Afanasyev over 2 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF