jnx_registration_service.proto

Service

Registration

API registration service definition

Method Name Request Type Response Type Description
ApiRegister ApiRegisterRequest ApiRegisterResponse Register an API with the Junos service daemon.

RPC(s)

The following APIs are provided by this service:

ApiRegister

Register an API with the Junos service daemon.

Input: ApiRegisterRequest

Output: ApiRegisterResponse

Message(s)

This IDL defines the following message type(s)

ApiRegisterRequest

The request message containing the service registration info

Field Type Description
json_string string API information to register represented as JSON string
json_file string Absolute path to json file containing API info to register
target string Target ip-address/unix domain socket
id string Registration ID to store APIs
skip_authentication bool Boolean to let JSD skip login
logical_system string Logical-system name for the target
routing_instance string Routing-instance name for the target

ApiRegisterResponse

Registration response message

Field Type Description
status RpcStatus Registration Request status

Enum(s)