Table of Contents

Method Set

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

Set(string, string)

Sets the value for a specific path.

public void Set(string path, string value)

Parameters

path string

The node path to set. This should be a leaf node.

value string

The string value to set. The gNMI TypedValue used will be StringVal.

Exceptions

ArgumentException

The path argument cannot be empty, or a whitespace.

ArgumentNullException

The path argument cannot be null.

Set(Path, string)

Sets the value for a specific path.

public void Set(Path path, string value)

Parameters

path Path

The node path to set. This should be a leaf node.

value string

The string value to set. The gNMI TypedValue used will be StringVal.

Exceptions

ArgumentNullException

The path argument cannot be null.

RequestFailedException

There was an exception thrown by the DxM.