Table of Contents

Class DataMinerConnectorDataMapper

Namespace
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Protocol.DataMapper
Assembly
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Protocol.dll

Maps paths in a YANG model to containers in a DataMiner connector. This could either be a standalone parameter or a table.

When a notification comes in for a path that is stored in the inventory, this object will automatically set it in the corresponding parameter or table.

public class DataMinerConnectorDataMapper : IDataMapper
Inheritance
DataMinerConnectorDataMapper
Implements
Extension Methods

Constructors

DataMinerConnectorDataMapper(SLProtocol, IEnumerable<IDataMinerConnectorDataEntity>)

Initializes a new instance of the DataMinerConnectorDataMapper class.

Methods

GetPathForPid(int)

Gets the path that matches with the parameter ID.

ProcessNotification(Notification, DataValueOriginType, bool, string)

Processes the gNMI notification and adapts the parameter values accordingly.

ReadExistingValues()

Reads out the parameter values and stores them internally.

RegisterSubscriptionPaths(string, IEnumerable<Path>)

Registers the parameter IDs that are linked with a subscription name.

SetLogger(ILogger)

Assigns a logger interface.

SuppressCommunication(bool)

Suppresses the communication, no more values will be filled in or logging will be written out.

UnregisterSubscriptionPaths(string)

Unregisters the parameter IDs that are linked with a subscription name.