Skip to main content
Version: trunk

inventory.v1

Version: 1.1.2

Available Services

    DeviceDecommissioningConfigService

    DeviceDecommissioningService

    DeviceOnboardingConfigService

    DeviceOnboardingService

    DeviceService

    ProvisionedDeviceService

Top

arista/inventory.v1/inventory.proto

Device

Device describes an onboarded device.

Field NameTypeDescription
keyDeviceKey

key uniquely identifies the device.

software_versiongoogle.protobuf.StringValue

software_version gives the currently running device software version.

model_namegoogle.protobuf.StringValue

model_name describes the hardware model of this device.

hardware_revisiongoogle.protobuf.StringValue

hardware_revision describes any revisional data to the model name.

fqdngoogle.protobuf.StringValue

fqdn gives the device's fully qualified domain name.

hostnamegoogle.protobuf.StringValue

hostname is the hostname as reported on the device.

domain_namegoogle.protobuf.StringValue

domain_name provides the domain name on which the device is registered.

system_mac_addressgoogle.protobuf.StringValue

system_mac_address provides the MAC address of the management port.

boot_timegoogle.protobuf.Timestamp

boot_time indicates when the device was last booted.

streaming_statusStreamingStatus

streaming_status is the status of telemetry streaming for this device.

extended_attributesExtendedAttributes

extended_attributes wraps any additional, potentially non-standard, features

or attributes that the device reports.

DeviceConfiguration

DeviceConfiguration holds the device-specific configuration for a third-party device, as defined in https://github.com/aristanetworks/cloudvision-go.

Field NameTypeDescription
optionsDeviceConfiguration.OptionsEntry[...]

options is a map from device option to value.

E.g., for an SNMP device, this could be the following:

"address": "my_snmp_hostname",

"community": "public"

DeviceConfiguration.OptionsEntry

Field NameTypeDescription
keystring

valuestring

DeviceDecommissioning

DeviceDecommissioning describes the status of a decommissioning process.

Field NameTypeDescription
keyUUIDKey

key identifies the request for which to retrieve a decommissioning status.

statusDecommissioningStatus

status describes the decommissioning status of the device.

errorgoogle.protobuf.StringValue

error is the error that caused status to become DECOMMISSIONING_STATUS_FAILURE.

status_messagegoogle.protobuf.StringValue

status_message contains information on the status of the decommissioning attempt,

if any. This is generally an unstructured log message that is for display

purposes only (its structure and contents may change).

DeviceDecommissioningConfig

DeviceDecommissioningConfig describes a device decommissioning request. "Decommissioning" refers to the process of stopping device streaming to CloudVision and removing it from CloudVision's inventory.

The request flow works as follows:

  1. Set on DeviceDecommissioningConfig sends a decommissioning request with a UUID that the user is responsible for generating.
  2. Once the server receives the request, it validates and records it.
  3. Then, the server processes it, initiating the decommissioning procedure and tracking the status of the decommissioning attempt.
  4. The user may do a GetOne or Subscribe on DeviceDecommissioning using the same UUID to see the status of the request.

NOTE: this operation does not remove references to the decommissioned device from Studios and Tags. See DecommissionConfig in arista.studio_topology.v1.

Field NameTypeDescription
keyUUIDKey

key identifies the request to decommission the device.

device_idgoogle.protobuf.StringValue

device_id is the unique device ID that was discovered via onboarding.

forcegoogle.protobuf.BoolValue

force is a flag that indicates if the decommission is to be forced.

Normally, if there are pending or in-progress tasks associated with the device

the decommission would fail. In case of a forced decommission, such blocking

tasks would be ignored and decommissioning will be continued.

user_namegoogle.protobuf.StringValue

user_name is name of the user who decommissioned the device.

DeviceKey

DeviceKey uniquely identifies a single device.

Field NameTypeDescription
device_idgoogle.protobuf.StringValue

device_id is the unique identifier of the device.

DeviceOnboarding

DeviceOnboarding describes the status of an onboarding process.

Field NameTypeDescription
keyUUIDKey

key identifies the request for which to retrieve an onboarding status.

device_idgoogle.protobuf.StringValue

device_id is the unique device ID that is discovered via onboarding.

statusOnboardingStatus

status describes the onboarding status of the device.

errorgoogle.protobuf.StringValue

error is the error that caused status to become ONBOARDING_STATUS_FAILURE.

status_messagegoogle.protobuf.StringValue

status_message contains information on the status of the onboarding attempt,

if any. This is generally an unstructured log message that is for display

purposes only (its structure and contents may change).

DeviceOnboardingConfig

DeviceOnboardingConfig describes a device onboarding request. "Onboarding" refers to the process of initiating device streaming to CloudVision and adding the streaming device to CloudVision's inventory.

The request flow works as follows:

  1. Set on DeviceOnboardingConfig sends an onboarding request with a UUID that the user is responsible for generating.
  2. Once the server receives the request, it validates and records it.
  3. Then, the server processes it, initiating the onboarding procedure and tracking the status of the onboarding attempt.
  4. The user may do a GetOne or Subscribe on DeviceOnboarding using the same UUID to see the status of the request.
Field NameTypeDescription
keyUUIDKey

key identifies the request to onboard the device at hostname_or_ip.

hostname_or_ipgoogle.protobuf.StringValue

hostname_or_ip is a hostname or an IP at which the device can be reached.

device_typegoogle.protobuf.StringValue

device_type describes the method by which to retrieve information for the

device. The value should be "eos" for eos devices. For third-party devices,

supported values are: "openconfig", "snmp", "cvp", "mwm", and "vCenter".

device_configDeviceConfiguration

device_config is the configuration for a third-party device.

ExtendedAttributes

ExtendedAttributes wraps any additional, potentially non-standard, features or attributes the device reports.

Field NameTypeDescription
feature_enabledExtendedAttributes.FeatureEnabledEntry[...]

feature_enabled is a map of feature name to enabled status.

If a feature is missing from this map it can be assumed off.

ExtendedAttributes.FeatureEnabledEntry

Field NameTypeDescription
keystring

valuebool

ProvisionedDevice

ProvisionedDevice describes the provisioning status of an onboarded device if the onboarded device is configured for provisioning.

Field NameTypeDescription
keyDeviceKey

key uniquely identifies the device.

statusProvisioningStatus

status describes the onboarded device's provisioning status.

errorgoogle.protobuf.StringValue

error is the error that caused status to become PROVISIONING_STATUS_FAILURE.

ztp_modegoogle.protobuf.BoolValue

ztp_mode indicates whether the device is in ZTP mode.

ip_addressfmp.IPAddress

ip_address is the current (post-provisioning) IP address of the device.

provisioning_group_namegoogle.protobuf.StringValue

provisioning_group_name is the name of the group (also known as a container)

to which the device belongs. Any provisioning operation performed on this

group will also be performed on this device. If the device is not yet provisioned,

this will not be set. Once it is provisioned, this will be set to "undefined_container"

which indicates that the device does not yet belong to a group. At this point,

a user may set it to an existing group.

ipv6_addressfmp.IPAddress

ipv6_address is the IPV6 address of the device.

UUIDKey

UUIDKey is a key that holds a UUID for an onboarding or decommissioning request.

Field NameTypeDescription
request_idgoogle.protobuf.StringValue

request_id should be a UUID for the request.

DecommissioningStatus

DecommissioningStatus defines the set of possible states in the decommissioning process for a device.

NameNumberDescription
DECOMMISSIONING_STATUS_UNSPECIFIED0

DECOMMISSIONING_STATUS_UNSPECIFIED indicates decommissioning status is unspecified.

DECOMMISSIONING_STATUS_IN_PROGRESS1

DECOMMISSIONING_STATUS_IN_PROGRESS indicates decommissioning is in progress.

DECOMMISSIONING_STATUS_FAILURE2

DECOMMISSIONING_STATUS_FAILURE indicates decommissioning failed.

DECOMMISSIONING_STATUS_SUCCESS3

DECOMMISSIONING_STATUS_SUCCESS indicates decommissioning succeeded.

OnboardingStatus

OnboardingStatus defines the set of possible states in the onboarding process for a device.

NameNumberDescription
ONBOARDING_STATUS_UNSPECIFIED0

ONBOARDING_STATUS_UNSPECIFIED indicates onboarding status is unspecified.

ONBOARDING_STATUS_IN_PROGRESS1

ONBOARDING_STATUS_IN_PROGRESS indicates onboarding is in progress.

ONBOARDING_STATUS_FAILURE2

ONBOARDING_STATUS_FAILURE indicates onboarding failed.

ONBOARDING_STATUS_SUCCESS3

ONBOARDING_STATUS_SUCCESS indicates onboarding succeeded.

ProvisioningStatus

ProvisioningStatus defines the set of possible states in the provisioning process for a device.

NameNumberDescription
PROVISIONING_STATUS_UNSPECIFIED0

PROVISIONING_STATUS_UNSPECIFIED indicates provisioning status is unspecified.

PROVISIONING_STATUS_IN_PROGRESS1

PROVISIONING_STATUS_IN_PROGRESS indicates provisioning is in progress.

PROVISIONING_STATUS_FAILURE2

PROVISIONING_STATUS_FAILURE indicates provisioning failed.

PROVISIONING_STATUS_SUCCESS3

PROVISIONING_STATUS_SUCCESS indicates provisioning succeeded.

StreamingStatus

StreamingStatus defines the status of telemetry streaming for a device.

NameNumberDescription
STREAMING_STATUS_UNSPECIFIED0

STREAMING_STATUS_UNSPECIFIED indicates the device streaming telemetry status is unspecified.

STREAMING_STATUS_INACTIVE1

STREAMING_STATUS_INACTIVE indicates the device is not streaming telemetry.

STREAMING_STATUS_ACTIVE2

STREAMING_STATUS_ACTIVE indicates the device is streaming telemetry.

Top

arista/inventory.v1/services.gen.proto

DeviceBatchedStreamRequest

Field NameTypeDescription
partial_eq_filterDevice[...]

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 Device at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

max_messagesgoogle.protobuf.UInt32Value

MaxMessages limits the maximum number of messages that can be contained in one batch.

MaxMessages is required to be at least 1.

The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)

INTERNAL_BATCH_LIMIT is set based on the maximum message size.

DeviceBatchedStreamResponse

Field NameTypeDescription
responsesDeviceStreamResponse[...]

Values are the values deemed relevant to the initiating request.

The length of this structure is guaranteed to be between (inclusive) 1 and

min(req.max_messages, INTERNAL_BATCH_LIMIT).

DeviceDecommissioningBatchedStreamRequest

Field NameTypeDescription
partial_eq_filterDeviceDecommissioning[...]

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 DeviceDecommissioning at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

max_messagesgoogle.protobuf.UInt32Value

MaxMessages limits the maximum number of messages that can be contained in one batch.

MaxMessages is required to be at least 1.

The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)

INTERNAL_BATCH_LIMIT is set based on the maximum message size.

DeviceDecommissioningBatchedStreamResponse

Field NameTypeDescription
responsesDeviceDecommissioningStreamResponse[...]

Values are the values deemed relevant to the initiating request.

The length of this structure is guaranteed to be between (inclusive) 1 and

min(req.max_messages, INTERNAL_BATCH_LIMIT).

DeviceDecommissioningConfigBatchedStreamRequest

Field NameTypeDescription
partial_eq_filterDeviceDecommissioningConfig[...]

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 DeviceDecommissioningConfig at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

max_messagesgoogle.protobuf.UInt32Value

MaxMessages limits the maximum number of messages that can be contained in one batch.

MaxMessages is required to be at least 1.

The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)

INTERNAL_BATCH_LIMIT is set based on the maximum message size.

DeviceDecommissioningConfigBatchedStreamResponse

Field NameTypeDescription
responsesDeviceDecommissioningConfigStreamResponse[...]

Values are the values deemed relevant to the initiating request.

The length of this structure is guaranteed to be between (inclusive) 1 and

min(req.max_messages, INTERNAL_BATCH_LIMIT).

DeviceDecommissioningConfigDeleteAllRequest

Field NameTypeDescription
partial_eq_filterDeviceDecommissioningConfig[...]

PartialEqFilter provides a way to server-side filter a DeleteAll.

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

A filtered DeleteAll will use GetAll with filter to find things to delete.

DeviceDecommissioningConfigDeleteAllResponse

Field NameTypeDescription
typefmp.DeleteError

This describes the class of delete error.

A DeleteAllResponse is only sent when there is an error.

errorgoogle.protobuf.StringValue

This indicates the error message from the delete failure.

keyUUIDKey

This is the key of the DeviceDecommissioningConfig instance that failed to be deleted.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp when the key was being deleted.

DeviceDecommissioningConfigDeleteRequest

Field NameTypeDescription
keyUUIDKey

Key indicates which DeviceDecommissioningConfig instance to remove.

This field must always be set.

DeviceDecommissioningConfigDeleteResponse

Field NameTypeDescription
keyUUIDKey

Key echoes back the key of the deleted DeviceDecommissioningConfig instance.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp at which the system recognizes the

deletion. The only guarantees made about this timestamp are:

- it is after the time the request was received

- a time-ranged query with StartTime==DeletedAt will not include this instance.

DeviceDecommissioningConfigDeleteSomeRequest

Field NameTypeDescription
keysUUIDKey[...]

key contains a list of DeviceDecommissioningConfig keys to delete

DeviceDecommissioningConfigDeleteSomeResponse

DeviceDecommissioningConfigDeleteSomeResponse is only sent when there is an error.

Field NameTypeDescription
keyUUIDKey

errorstring

DeviceDecommissioningConfigRequest

Field NameTypeDescription
keyUUIDKey

Key uniquely identifies a DeviceDecommissioningConfig 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.

DeviceDecommissioningConfigResponse

Field NameTypeDescription
valueDeviceDecommissioningConfig

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

DeviceDecommissioningConfig instance in this response.

DeviceDecommissioningConfigSetRequest

Field NameTypeDescription
valueDeviceDecommissioningConfig

DeviceDecommissioningConfig carries the value to set into the datastore.

See the documentation on the DeviceDecommissioningConfig struct for which fields are required.

DeviceDecommissioningConfigSetResponse

Field NameTypeDescription
valueDeviceDecommissioningConfig

Value carries all the values given in the DeviceDecommissioningConfigSetRequest as well

as any server-generated values.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp at which the system recognizes the

creation. The only guarantees made about this timestamp are:

- it is after the time the request was received

- a time-ranged query with StartTime==CreatedAt will include this instance.

DeviceDecommissioningConfigSetSomeRequest

Field NameTypeDescription
valuesDeviceDecommissioningConfig[...]

value contains a list of DeviceDecommissioningConfig values to write.

It is possible to provide more values than can fit within either:

- the maxiumum send size of the client

- the maximum receive size of the server

If this error occurs you must reduce the number of values sent.

See gRPC "maximum message size" documentation for more information.

DeviceDecommissioningConfigSetSomeResponse

Field NameTypeDescription
keyUUIDKey

errorstring

DeviceDecommissioningConfigSomeRequest

Field NameTypeDescription
keysUUIDKey[...]

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.

DeviceDecommissioningConfigSomeResponse

Field NameTypeDescription
valueDeviceDecommissioningConfig

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

DeviceDecommissioningConfigStreamRequest

Field NameTypeDescription
partial_eq_filterDeviceDecommissioningConfig[...]

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 DeviceDecommissioningConfig at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

DeviceDecommissioningConfigStreamResponse

Field NameTypeDescription
valueDeviceDecommissioningConfig

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 DeviceDecommissioningConfig's last modification.

typearista.subscriptions.Operation

Operation indicates how the DeviceDecommissioningConfig 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.

DeviceDecommissioningRequest

Field NameTypeDescription
keyUUIDKey

Key uniquely identifies a DeviceDecommissioning 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.

DeviceDecommissioningResponse

Field NameTypeDescription
valueDeviceDecommissioning

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

DeviceDecommissioning instance in this response.

DeviceDecommissioningSomeRequest

Field NameTypeDescription
keysUUIDKey[...]

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.

DeviceDecommissioningSomeResponse

Field NameTypeDescription
valueDeviceDecommissioning

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

DeviceDecommissioningStreamRequest

Field NameTypeDescription
partial_eq_filterDeviceDecommissioning[...]

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 DeviceDecommissioning at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

DeviceDecommissioningStreamResponse

Field NameTypeDescription
valueDeviceDecommissioning

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 DeviceDecommissioning's last modification.

typearista.subscriptions.Operation

Operation indicates how the DeviceDecommissioning 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.

DeviceOnboardingBatchedStreamRequest

Field NameTypeDescription
partial_eq_filterDeviceOnboarding[...]

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 DeviceOnboarding at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

max_messagesgoogle.protobuf.UInt32Value

MaxMessages limits the maximum number of messages that can be contained in one batch.

MaxMessages is required to be at least 1.

The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)

INTERNAL_BATCH_LIMIT is set based on the maximum message size.

DeviceOnboardingBatchedStreamResponse

Field NameTypeDescription
responsesDeviceOnboardingStreamResponse[...]

Values are the values deemed relevant to the initiating request.

The length of this structure is guaranteed to be between (inclusive) 1 and

min(req.max_messages, INTERNAL_BATCH_LIMIT).

DeviceOnboardingConfigBatchedStreamRequest

Field NameTypeDescription
partial_eq_filterDeviceOnboardingConfig[...]

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 DeviceOnboardingConfig at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

max_messagesgoogle.protobuf.UInt32Value

MaxMessages limits the maximum number of messages that can be contained in one batch.

MaxMessages is required to be at least 1.

The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)

INTERNAL_BATCH_LIMIT is set based on the maximum message size.

DeviceOnboardingConfigBatchedStreamResponse

Field NameTypeDescription
responsesDeviceOnboardingConfigStreamResponse[...]

Values are the values deemed relevant to the initiating request.

The length of this structure is guaranteed to be between (inclusive) 1 and

min(req.max_messages, INTERNAL_BATCH_LIMIT).

DeviceOnboardingConfigDeleteAllRequest

Field NameTypeDescription
partial_eq_filterDeviceOnboardingConfig[...]

PartialEqFilter provides a way to server-side filter a DeleteAll.

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

A filtered DeleteAll will use GetAll with filter to find things to delete.

DeviceOnboardingConfigDeleteAllResponse

Field NameTypeDescription
typefmp.DeleteError

This describes the class of delete error.

A DeleteAllResponse is only sent when there is an error.

errorgoogle.protobuf.StringValue

This indicates the error message from the delete failure.

keyUUIDKey

This is the key of the DeviceOnboardingConfig instance that failed to be deleted.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp when the key was being deleted.

DeviceOnboardingConfigDeleteRequest

Field NameTypeDescription
keyUUIDKey

Key indicates which DeviceOnboardingConfig instance to remove.

This field must always be set.

DeviceOnboardingConfigDeleteResponse

Field NameTypeDescription
keyUUIDKey

Key echoes back the key of the deleted DeviceOnboardingConfig instance.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp at which the system recognizes the

deletion. The only guarantees made about this timestamp are:

- it is after the time the request was received

- a time-ranged query with StartTime==DeletedAt will not include this instance.

DeviceOnboardingConfigDeleteSomeRequest

Field NameTypeDescription
keysUUIDKey[...]

key contains a list of DeviceOnboardingConfig keys to delete

DeviceOnboardingConfigDeleteSomeResponse

DeviceOnboardingConfigDeleteSomeResponse is only sent when there is an error.

Field NameTypeDescription
keyUUIDKey

errorstring

DeviceOnboardingConfigRequest

Field NameTypeDescription
keyUUIDKey

Key uniquely identifies a DeviceOnboardingConfig 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.

DeviceOnboardingConfigResponse

Field NameTypeDescription
valueDeviceOnboardingConfig

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

DeviceOnboardingConfig instance in this response.

DeviceOnboardingConfigSetRequest

Field NameTypeDescription
valueDeviceOnboardingConfig

DeviceOnboardingConfig carries the value to set into the datastore.

See the documentation on the DeviceOnboardingConfig struct for which fields are required.

DeviceOnboardingConfigSetResponse

Field NameTypeDescription
valueDeviceOnboardingConfig

Value carries all the values given in the DeviceOnboardingConfigSetRequest as well

as any server-generated values.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp at which the system recognizes the

creation. The only guarantees made about this timestamp are:

- it is after the time the request was received

- a time-ranged query with StartTime==CreatedAt will include this instance.

DeviceOnboardingConfigSetSomeRequest

Field NameTypeDescription
valuesDeviceOnboardingConfig[...]

value contains a list of DeviceOnboardingConfig values to write.

It is possible to provide more values than can fit within either:

- the maxiumum send size of the client

- the maximum receive size of the server

If this error occurs you must reduce the number of values sent.

See gRPC "maximum message size" documentation for more information.

DeviceOnboardingConfigSetSomeResponse

Field NameTypeDescription
keyUUIDKey

errorstring

DeviceOnboardingConfigSomeRequest

Field NameTypeDescription
keysUUIDKey[...]

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.

DeviceOnboardingConfigSomeResponse

Field NameTypeDescription
valueDeviceOnboardingConfig

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

DeviceOnboardingConfigStreamRequest

Field NameTypeDescription
partial_eq_filterDeviceOnboardingConfig[...]

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 DeviceOnboardingConfig at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

DeviceOnboardingConfigStreamResponse

Field NameTypeDescription
valueDeviceOnboardingConfig

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 DeviceOnboardingConfig's last modification.

typearista.subscriptions.Operation

Operation indicates how the DeviceOnboardingConfig 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.

DeviceOnboardingRequest

Field NameTypeDescription
keyUUIDKey

Key uniquely identifies a DeviceOnboarding 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.

DeviceOnboardingResponse

Field NameTypeDescription
valueDeviceOnboarding

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

DeviceOnboarding instance in this response.

DeviceOnboardingSomeRequest

Field NameTypeDescription
keysUUIDKey[...]

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.

DeviceOnboardingSomeResponse

Field NameTypeDescription
valueDeviceOnboarding

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

DeviceOnboardingStreamRequest

Field NameTypeDescription
partial_eq_filterDeviceOnboarding[...]

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 DeviceOnboarding at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

DeviceOnboardingStreamResponse

Field NameTypeDescription
valueDeviceOnboarding

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 DeviceOnboarding's last modification.

typearista.subscriptions.Operation

Operation indicates how the DeviceOnboarding 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.

DeviceRequest

Field NameTypeDescription
keyDeviceKey

Key uniquely identifies a Device 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.

DeviceResponse

Field NameTypeDescription
valueDevice

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

Device instance in this response.

DeviceSomeRequest

Field NameTypeDescription
keysDeviceKey[...]

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.

DeviceSomeResponse

Field NameTypeDescription
valueDevice

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

DeviceStreamRequest

Field NameTypeDescription
partial_eq_filterDevice[...]

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 Device at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

DeviceStreamResponse

Field NameTypeDescription
valueDevice

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 Device's last modification.

typearista.subscriptions.Operation

Operation indicates how the Device 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.

ProvisionedDeviceBatchedStreamRequest

Field NameTypeDescription
partial_eq_filterProvisionedDevice[...]

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 ProvisionedDevice at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

max_messagesgoogle.protobuf.UInt32Value

MaxMessages limits the maximum number of messages that can be contained in one batch.

MaxMessages is required to be at least 1.

The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)

INTERNAL_BATCH_LIMIT is set based on the maximum message size.

ProvisionedDeviceBatchedStreamResponse

Field NameTypeDescription
responsesProvisionedDeviceStreamResponse[...]

Values are the values deemed relevant to the initiating request.

The length of this structure is guaranteed to be between (inclusive) 1 and

min(req.max_messages, INTERNAL_BATCH_LIMIT).

ProvisionedDeviceRequest

Field NameTypeDescription
keyDeviceKey

Key uniquely identifies a ProvisionedDevice 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.

ProvisionedDeviceResponse

Field NameTypeDescription
valueProvisionedDevice

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

ProvisionedDevice instance in this response.

ProvisionedDeviceSomeRequest

Field NameTypeDescription
keysDeviceKey[...]

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.

ProvisionedDeviceSomeResponse

Field NameTypeDescription
valueProvisionedDevice

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

ProvisionedDeviceStreamRequest

Field NameTypeDescription
partial_eq_filterProvisionedDevice[...]

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 ProvisionedDevice at end.

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

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

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

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

until end.

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

be partial.

This field is not allowed in the Subscribe RPC.

ProvisionedDeviceStreamResponse

Field NameTypeDescription
valueProvisionedDevice

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 ProvisionedDevice's last modification.

typearista.subscriptions.Operation

Operation indicates how the ProvisionedDevice 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.

DeviceDecommissioningConfigService

Method NameRequest TypeResponse TypeDescription
GetOneDeviceDecommissioningConfigRequestDeviceDecommissioningConfigResponse

GetSomeDeviceDecommissioningConfigSomeRequestDeviceDecommissioningConfigSomeResponse stream

GetAllDeviceDecommissioningConfigStreamRequestDeviceDecommissioningConfigStreamResponse stream

SubscribeDeviceDecommissioningConfigStreamRequestDeviceDecommissioningConfigStreamResponse stream

GetMetaDeviceDecommissioningConfigStreamRequestMetaResponse

SubscribeMetaDeviceDecommissioningConfigStreamRequestMetaResponse stream

SetDeviceDecommissioningConfigSetRequestDeviceDecommissioningConfigSetResponse

SetSomeDeviceDecommissioningConfigSetSomeRequestDeviceDecommissioningConfigSetSomeResponse stream

DeleteDeviceDecommissioningConfigDeleteRequestDeviceDecommissioningConfigDeleteResponse

DeleteSomeDeviceDecommissioningConfigDeleteSomeRequestDeviceDecommissioningConfigDeleteSomeResponse stream

DeleteAllDeviceDecommissioningConfigDeleteAllRequestDeviceDecommissioningConfigDeleteAllResponse stream

GetAllBatchedDeviceDecommissioningConfigBatchedStreamRequestDeviceDecommissioningConfigBatchedStreamResponse stream

SubscribeBatchedDeviceDecommissioningConfigBatchedStreamRequestDeviceDecommissioningConfigBatchedStreamResponse stream

DeviceDecommissioningService

Method NameRequest TypeResponse TypeDescription
GetOneDeviceDecommissioningRequestDeviceDecommissioningResponse

GetSomeDeviceDecommissioningSomeRequestDeviceDecommissioningSomeResponse stream

GetAllDeviceDecommissioningStreamRequestDeviceDecommissioningStreamResponse stream

SubscribeDeviceDecommissioningStreamRequestDeviceDecommissioningStreamResponse stream

GetMetaDeviceDecommissioningStreamRequestMetaResponse

SubscribeMetaDeviceDecommissioningStreamRequestMetaResponse stream

GetAllBatchedDeviceDecommissioningBatchedStreamRequestDeviceDecommissioningBatchedStreamResponse stream

SubscribeBatchedDeviceDecommissioningBatchedStreamRequestDeviceDecommissioningBatchedStreamResponse stream

DeviceOnboardingConfigService

Method NameRequest TypeResponse TypeDescription
GetOneDeviceOnboardingConfigRequestDeviceOnboardingConfigResponse

GetSomeDeviceOnboardingConfigSomeRequestDeviceOnboardingConfigSomeResponse stream

GetAllDeviceOnboardingConfigStreamRequestDeviceOnboardingConfigStreamResponse stream

SubscribeDeviceOnboardingConfigStreamRequestDeviceOnboardingConfigStreamResponse stream

GetMetaDeviceOnboardingConfigStreamRequestMetaResponse

SubscribeMetaDeviceOnboardingConfigStreamRequestMetaResponse stream

SetDeviceOnboardingConfigSetRequestDeviceOnboardingConfigSetResponse

SetSomeDeviceOnboardingConfigSetSomeRequestDeviceOnboardingConfigSetSomeResponse stream

DeleteDeviceOnboardingConfigDeleteRequestDeviceOnboardingConfigDeleteResponse

DeleteSomeDeviceOnboardingConfigDeleteSomeRequestDeviceOnboardingConfigDeleteSomeResponse stream

DeleteAllDeviceOnboardingConfigDeleteAllRequestDeviceOnboardingConfigDeleteAllResponse stream

GetAllBatchedDeviceOnboardingConfigBatchedStreamRequestDeviceOnboardingConfigBatchedStreamResponse stream

SubscribeBatchedDeviceOnboardingConfigBatchedStreamRequestDeviceOnboardingConfigBatchedStreamResponse stream

DeviceOnboardingService

Method NameRequest TypeResponse TypeDescription
GetOneDeviceOnboardingRequestDeviceOnboardingResponse

GetSomeDeviceOnboardingSomeRequestDeviceOnboardingSomeResponse stream

GetAllDeviceOnboardingStreamRequestDeviceOnboardingStreamResponse stream

SubscribeDeviceOnboardingStreamRequestDeviceOnboardingStreamResponse stream

GetMetaDeviceOnboardingStreamRequestMetaResponse

SubscribeMetaDeviceOnboardingStreamRequestMetaResponse stream

GetAllBatchedDeviceOnboardingBatchedStreamRequestDeviceOnboardingBatchedStreamResponse stream

SubscribeBatchedDeviceOnboardingBatchedStreamRequestDeviceOnboardingBatchedStreamResponse stream

DeviceService

Method NameRequest TypeResponse TypeDescription
GetOneDeviceRequestDeviceResponse

GetSomeDeviceSomeRequestDeviceSomeResponse stream

GetAllDeviceStreamRequestDeviceStreamResponse stream

SubscribeDeviceStreamRequestDeviceStreamResponse stream

GetMetaDeviceStreamRequestMetaResponse

SubscribeMetaDeviceStreamRequestMetaResponse stream

GetAllBatchedDeviceBatchedStreamRequestDeviceBatchedStreamResponse stream

SubscribeBatchedDeviceBatchedStreamRequestDeviceBatchedStreamResponse stream

ProvisionedDeviceService

Method NameRequest TypeResponse TypeDescription
GetOneProvisionedDeviceRequestProvisionedDeviceResponse

GetSomeProvisionedDeviceSomeRequestProvisionedDeviceSomeResponse stream

GetAllProvisionedDeviceStreamRequestProvisionedDeviceStreamResponse stream

SubscribeProvisionedDeviceStreamRequestProvisionedDeviceStreamResponse stream

GetMetaProvisionedDeviceStreamRequestMetaResponse

SubscribeMetaProvisionedDeviceStreamRequestMetaResponse stream

GetAllBatchedProvisionedDeviceBatchedStreamRequestProvisionedDeviceBatchedStreamResponse stream

SubscribeBatchedProvisionedDeviceBatchedStreamRequestProvisionedDeviceBatchedStreamResponse stream