Table of Contents

Method ConvertPathElemToString

Namespace
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Utils
Assembly
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll

ConvertPathElemToString(PathElem[], bool)

Converts a gNMI PathElem object into a path string.

public static string ConvertPathElemToString(PathElem[] pathElems, bool doIncludeKeys)

Parameters

pathElems PathElem[]

The path elements to convert.

doIncludeKeys bool

Boolean indicating if the path element keys need to be added.

Returns

string

A path string containing the path node names separated by a forward slash '/'.