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