Project

General

Profile

Actions

Feature #2665

closed

NetDeviceFace: show NetDevice Address as LocalUri

Added by Junxiao Shi about 9 years ago. Updated over 7 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.

Actions

Also available in: Atom PDF