redirector.v1

Top

arista/redirector.v1/redirector.proto

Assignment

Assignment returns the information about the regional clusters that the system is assigned to. Each cluster consists of a series of hosts, each of which the client can use to connect.

Field NameTypeDescription
keyAssignmentKey

key uniquely identifies the assignment of system_id to the cluster.

clustersClusters

clusters that the system is assigned to.

AssignmentKey

AssignmentKey allows to uniquely identify an assignment.

Field NameTypeDescription
system_idgoogle.protobuf.StringValue

system_id is the unique identifier of a device.

Cluster

Field NameTypeDescription
namegoogle.protobuf.StringValue

name of the cluster. The name can change over time as new clusters

are added or removed.

hostsfmp.RepeatedString

hosts in the cluster that the devices can connect to.

Clusters

Clusters wraps a cluster list which contain the information about the hosts.

Field NameTypeDescription
valuesCluster[…]

values contains the list of clusters associated with the region

Top

arista/redirector.v1/services.gen.proto

AssignmentRequest

Field NameTypeDescription
keyAssignmentKey

Key uniquely identifies a Assignment instance to retrieve.

This value must be populated.

timegoogle.protobuf.Timestamp

Time indicates the time for which you are interested in the data.

If no time is given, the server will use the time at which it makes the request.

AssignmentResponse

Field NameTypeDescription
valueAssignment

Value is the value requested.

This structure will be fully-populated as it exists in the datastore. If

optional fields were not given at creation, these fields will be empty or

set to default values.

timegoogle.protobuf.Timestamp

Time carries the (UTC) timestamp of the last-modification of the

Assignment instance in this response.

AssignmentSomeRequest

Field NameTypeDescription
keysAssignmentKey[…]

timegoogle.protobuf.Timestamp

Time indicates the time for which you are interested in the data.

If no time is given, the server will use the time at which it makes the request.

AssignmentSomeResponse

Field NameTypeDescription
valueAssignment

Value is the value requested.

This structure will be fully-populated as it exists in the datastore. If

optional fields were not given at creation, these fields will be empty or

set to default values.

errorgoogle.protobuf.StringValue

Error is an optional field.

It should be filled when there is an error in the GetSome process.

timegoogle.protobuf.Timestamp

AssignmentStreamRequest

Field NameTypeDescription
partial_eq_filterAssignment[…]

PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.

This requires all provided fields to be equal to the response.

While transparent to users, this field also allows services to optimize internal

subscriptions if filter(s) are sufficiently specific.

timearista.time.TimeBounds

TimeRange allows limiting response data to within a specified time window.

If this field is populated, at least one of the two time fields are required.

For GetAll, the fields start and end can be used as follows:

* end: Returns the state of each Assignment at end.

* Each Assignment response is fully-specified (all fields set).

* start: Returns the state of each Assignment at start, followed by updates until now.

* Each Assignment response at start is fully-specified, but updates may be partial.

* start and end: Returns the state of each Assignment at start, followed by updates

until end.

* Each Assignment response at start is fully-specified, but updates until end may

be partial.

This field is not allowed in the Subscribe RPC.

AssignmentStreamResponse

Field NameTypeDescription
valueAssignment

Value is a value deemed relevant to the initiating request.

This structure will always have its key-field populated. Which other fields are

populated, and why, depends on the value of Operation and what triggered this notification.

timegoogle.protobuf.Timestamp

Time holds the timestamp of this Assignment’s last modification.

typearista.subscriptions.Operation

Operation indicates how the Assignment value in this response should be considered.

Under non-subscribe requests, this value should always be INITIAL. In a subscription,

once all initial data is streamed and the client begins to receive modification updates,

you should not see INITIAL again.

MetaResponse

Field NameTypeDescription
timegoogle.protobuf.Timestamp

Time holds the timestamp of the last item included in the metadata calculation.

typearista.subscriptions.Operation

Operation indicates how the value in this response should be considered.

Under non-subscribe requests, this value should always be INITIAL. In a subscription,

once all initial data is streamed and the client begins to receive modification updates,

you should not see INITIAL again.

countgoogle.protobuf.UInt32Value

Count is the number of items present under the conditions of the request.

AssignmentService

Method NameRequest TypeResponse TypeDescription
GetOneAssignmentRequestAssignmentResponse

GetSomeAssignmentSomeRequestAssignmentSomeResponse stream

GetAllAssignmentStreamRequestAssignmentStreamResponse stream

SubscribeAssignmentStreamRequestAssignmentStreamResponse stream

GetMetaAssignmentStreamRequestMetaResponse

SubscribeMetaAssignmentStreamRequestMetaResponse stream