isis_interface.proto¶
IsisInterfaceMgrService¶
Service for retrieving IS-IS configured interface(s) along with providing a watch on all the IS-IS configured interfaces.
This service provides the following functionality:
- Watching all the interfaces and streaming the interface's configuration if any
new interface is configured with one or more IS-IS instances or existing interface
is removed from any IS-IS instance.
- Fetching a specific IS-IS configured interface's configuration parameters.
- Fetching all IS-IS configured interfaces associated with a specified VRF.
- Fetching all IS-IS configured interfaces across all VRFs.
watch¶
rpc watch(IsisInterfaceWatchRequest) IsisInterfaceWatchResponse
Subscription to monitor changes on IS-IS enabled interfaces. This request stays active until the client cancels or the server shuts down. The watch will be enabled on all the IS-IS configured interfaces.
isis_interface¶
rpc isis_interface(IsisInterfaceRequest) IsisInterfaceResponse
When intfId is specified: Returns IS-IS configured interface. When intfId is not specified or intfId is specified but hasn't been configured with IS-IS: Returns an error.
isis_interfaces¶
rpc isis_interfaces(IsisInterfacesRequest) IsisInterfacesResponse
When VRF is specified: Returns IS-IS configured interfaces for the given VRF. When VRF is not specified: Returns all IS-IS configured interfaces. If VRF is specified but has no IS-IS interfaces configured: Returns an empty response.
Messages¶
IsisInterfaceRequest¶
Name | Value | Description |
---|---|---|
intf_id | IntfId |
IsisInterfaceResponse¶
Name | Value | Description |
---|---|---|
isis_interface | IsisInterface | Interface that matches the criteria. |
IsisInterfaceWatchRequest¶
Empty message.
IsisInterfaceWatchResponse¶
Name | Value | Description |
---|---|---|
event | IsisInterfaceEvents | Descriptor of an event. |
isis_interface | IsisInterface | IS-IS interface's configuration. |
stream_ready | bool |
IsisInterfacesRequest¶
Name | Value | Description |
---|---|---|
vrf_name | string |
IsisInterfacesResponse¶
Name | Value | Description |
---|---|---|
isis_interface | IsisInterface | List of interfaces that matches the criteria. |
Enums¶
IsisInterfaceEvents¶
Name | Value | Description |
---|---|---|
ISIS_INTERFACE_EVENT_NONE | 0 | |
ISIS_INTERFACE_EVENT_SET | 1 | |
ISIS_INTERFACE_EVENT_DEL | 2 | |
ISIS_INTERFACE_MESSAGE_DUMP | 3 |