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
PathPath as defined on the data entity.
dataPath
PathPath as present in the incoming data.
isExactKeyValidation
boolIndication if all keys specified in the entity and data need to match exactly.
Returns
- PathFilterResult
Result after filtering the entity path.