ypgrpc-go-app CLI Reference

The ypgrpc-go-app program uses command line interface (CLI) parameters to control program behavior.

The following sections document all the CLI parameters relevant to this program, in alphabetical order.

--insecure

The --insecure parameter directs to skip TLS validation and allowing to run the program without the --ca and --cert parameters.

Syntax

boolean

Default:

false

Min Allowed:

0

Max Allowed:

1

Supported by:

ypgrpc-go-app

Example:

ypgrpc-go-app --insecure=true

--proto

The --proto parameter specifies the .proto files for the ypgrpc-go-app application to use. There can be multiple .proto files specified.

Syntax

string

Default:

none

Min Allowed:

0

Max Allowed:

unlimited

Supported by:

ypgrpc-go-app

Example:

ypgrpc-go-app --proto=example --proto=helloworld

--protopath

The --protopath parameter specifies the .proto file search path to use while searching for .proto files.

Syntax

string

Default:

$HOME/protos

Min Allowed:

0

Max Allowed:

N

Supported by:

ypgrpc-go-app

Example:

ypgrpc-go-app --protopath=/tmp/proto --protopath=$HOME/protos

--server-address

The --server-address parameter specifies the netconfd-pro server IP address. The default is '127.0.0.1' if no value is specified.

Syntax

inet:ip-address

Default:

127.0.0.1

Min Allowed:

0

Max Allowed:

1

Supported by:

ypgrpc-go-app

Example:

ypgrpc-go-app --server-address=10.10.0.11