Table of Contents

Method RemoveCommonPathElements

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

RemoveCommonPathElements(Path, Path, bool)

Removes the entity path from the data path.

public static PathFilterResult RemoveCommonPathElements(Path entityPath, Path dataPath, bool isExactKeyValidation)

Parameters

entityPath Path

Path as defined on the data entity.

dataPath Path

Path as present in the incoming data.

isExactKeyValidation bool

Indication if all keys specified in the entity and data need to match exactly.

Returns

PathFilterResult

Result after filtering the entity path.