diff --git a/arista/configstatus.v1/configstatus-changelog.yaml b/arista/configstatus.v1/configstatus-changelog.yaml index 629fc3fc..e5d39793 100644 --- a/arista/configstatus.v1/configstatus-changelog.yaml +++ b/arista/configstatus.v1/configstatus-changelog.yaml @@ -7,10 +7,13 @@ # New entries go on top. Changes: + - date: 2024-03-28 + description: Update APIs + version: 1.0.6 + cvaas: true - date: 2022-10-31 description: Add ConfigSources definition version: 1.0.5 - cvaas: true - date: 2022-01-10 description: Add a_parent_line_num field in DiffEntry version: 1.0.4 diff --git a/arista/configstatus.v1/configstatus.proto b/arista/configstatus.v1/configstatus.proto index 349df2e4..cfdf4481 100644 --- a/arista/configstatus.v1/configstatus.proto +++ b/arista/configstatus.v1/configstatus.proto @@ -6,7 +6,7 @@ syntax = "proto3"; package arista.configstatus.v1; -option go_package = "arista/resources/arista/configstatus.v1;configstatus"; +option go_package = "github.com/aristanetworks/cloudvision-go/api/arista/configstatus.v1;configstatus"; option java_package = "com.arista.configstatus.v1"; option java_outer_classname = "Configstatus"; diff --git a/arista/configstatus.v1/services.gen.proto b/arista/configstatus.v1/services.gen.proto index 64aeac59..9cf53f25 100644 --- a/arista/configstatus.v1/services.gen.proto +++ b/arista/configstatus.v1/services.gen.proto @@ -9,7 +9,7 @@ syntax = "proto3"; package arista.configstatus.v1; -option go_package = "arista/resources/arista/configstatus.v1;configstatus"; +option go_package = "github.com/aristanetworks/cloudvision-go/api/arista/configstatus.v1;configstatus"; option java_package = "com.arista.configstatus.v1"; option java_outer_classname = "ConfigstatusServices"; @@ -19,6 +19,21 @@ import "arista/configstatus.v1/configstatus.proto"; import "arista/time/time.proto"; import "arista/subscriptions/subscriptions.proto"; import "google/protobuf/timestamp.proto"; +import "google/protobuf/wrappers.proto"; + +message MetaResponse { + // Time holds the timestamp of the last item included in the metadata calculation. + google.protobuf.Timestamp time = 1; + + // 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. + arista.subscriptions.Operation type = 2; + + // Count is the number of items present under the conditions of the request. + google.protobuf.UInt32Value count = 3; +}; message ConfigDiffRequest { // Key uniquely identifies a ConfigDiff instance to retrieve. @@ -42,6 +57,27 @@ message ConfigDiffResponse { google.protobuf.Timestamp time = 2; }; +message ConfigDiffSomeRequest { + repeated ConfigDiffKey keys = 1; + + // 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. + google.protobuf.Timestamp time = 2; +}; + +message ConfigDiffSomeResponse { + // 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. + ConfigDiff value = 1; + + // Error is an optional field. + // It should be filled when there is an error in the GetSome process. + google.protobuf.StringValue error = 2; + google.protobuf.Timestamp time = 3; +}; + message ConfigDiffStreamRequest { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. @@ -53,6 +89,17 @@ message ConfigDiffStreamRequest { // 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 ConfigDiff at end. + // * Each ConfigDiff response is fully-specified (all fields set). + // * start: Returns the state of each ConfigDiff at start, followed by updates until now. + // * Each ConfigDiff response at start is fully-specified, but updates may be partial. + // * start and end: Returns the state of each ConfigDiff at start, followed by updates + // until end. + // * Each ConfigDiff response at start is fully-specified, but updates until end may + // be partial. + // // This field is not allowed in the Subscribe RPC. arista.time.TimeBounds time = 3; }; @@ -75,8 +122,11 @@ message ConfigDiffStreamResponse { service ConfigDiffService { rpc GetOne (ConfigDiffRequest) returns (ConfigDiffResponse); + rpc GetSome (ConfigDiffSomeRequest) returns (stream ConfigDiffSomeResponse); rpc GetAll (ConfigDiffStreamRequest) returns (stream ConfigDiffStreamResponse); rpc Subscribe (ConfigDiffStreamRequest) returns (stream ConfigDiffStreamResponse); + rpc GetMeta (ConfigDiffStreamRequest) returns (MetaResponse); + rpc SubscribeMeta (ConfigDiffStreamRequest) returns (stream MetaResponse); } message ConfigurationRequest { @@ -101,6 +151,27 @@ message ConfigurationResponse { google.protobuf.Timestamp time = 2; }; +message ConfigurationSomeRequest { + repeated ConfigKey keys = 1; + + // 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. + google.protobuf.Timestamp time = 2; +}; + +message ConfigurationSomeResponse { + // 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. + Configuration value = 1; + + // Error is an optional field. + // It should be filled when there is an error in the GetSome process. + google.protobuf.StringValue error = 2; + google.protobuf.Timestamp time = 3; +}; + message ConfigurationStreamRequest { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. @@ -112,6 +183,17 @@ message ConfigurationStreamRequest { // 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 Configuration at end. + // * Each Configuration response is fully-specified (all fields set). + // * start: Returns the state of each Configuration at start, followed by updates until now. + // * Each Configuration response at start is fully-specified, but updates may be partial. + // * start and end: Returns the state of each Configuration at start, followed by updates + // until end. + // * Each Configuration response at start is fully-specified, but updates until end may + // be partial. + // // This field is not allowed in the Subscribe RPC. arista.time.TimeBounds time = 3; }; @@ -134,8 +216,11 @@ message ConfigurationStreamResponse { service ConfigurationService { rpc GetOne (ConfigurationRequest) returns (ConfigurationResponse); + rpc GetSome (ConfigurationSomeRequest) returns (stream ConfigurationSomeResponse); rpc GetAll (ConfigurationStreamRequest) returns (stream ConfigurationStreamResponse); rpc Subscribe (ConfigurationStreamRequest) returns (stream ConfigurationStreamResponse); + rpc GetMeta (ConfigurationStreamRequest) returns (MetaResponse); + rpc SubscribeMeta (ConfigurationStreamRequest) returns (stream MetaResponse); } message SecurityProfileRequest { @@ -160,6 +245,27 @@ message SecurityProfileResponse { google.protobuf.Timestamp time = 2; }; +message SecurityProfileSomeRequest { + repeated ConfigKey keys = 1; + + // 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. + google.protobuf.Timestamp time = 2; +}; + +message SecurityProfileSomeResponse { + // 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. + SecurityProfile value = 1; + + // Error is an optional field. + // It should be filled when there is an error in the GetSome process. + google.protobuf.StringValue error = 2; + google.protobuf.Timestamp time = 3; +}; + message SecurityProfileStreamRequest { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. @@ -171,6 +277,17 @@ message SecurityProfileStreamRequest { // 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 SecurityProfile at end. + // * Each SecurityProfile response is fully-specified (all fields set). + // * start: Returns the state of each SecurityProfile at start, followed by updates until now. + // * Each SecurityProfile response at start is fully-specified, but updates may be partial. + // * start and end: Returns the state of each SecurityProfile at start, followed by updates + // until end. + // * Each SecurityProfile response at start is fully-specified, but updates until end may + // be partial. + // // This field is not allowed in the Subscribe RPC. arista.time.TimeBounds time = 3; }; @@ -193,8 +310,11 @@ message SecurityProfileStreamResponse { service SecurityProfileService { rpc GetOne (SecurityProfileRequest) returns (SecurityProfileResponse); + rpc GetSome (SecurityProfileSomeRequest) returns (stream SecurityProfileSomeResponse); rpc GetAll (SecurityProfileStreamRequest) returns (stream SecurityProfileStreamResponse); rpc Subscribe (SecurityProfileStreamRequest) returns (stream SecurityProfileStreamResponse); + rpc GetMeta (SecurityProfileStreamRequest) returns (MetaResponse); + rpc SubscribeMeta (SecurityProfileStreamRequest) returns (stream MetaResponse); } message SecurityProfileDiffRequest { @@ -219,6 +339,27 @@ message SecurityProfileDiffResponse { google.protobuf.Timestamp time = 2; }; +message SecurityProfileDiffSomeRequest { + repeated ConfigDiffKey keys = 1; + + // 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. + google.protobuf.Timestamp time = 2; +}; + +message SecurityProfileDiffSomeResponse { + // 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. + SecurityProfileDiff value = 1; + + // Error is an optional field. + // It should be filled when there is an error in the GetSome process. + google.protobuf.StringValue error = 2; + google.protobuf.Timestamp time = 3; +}; + message SecurityProfileDiffStreamRequest { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. @@ -230,6 +371,17 @@ message SecurityProfileDiffStreamRequest { // 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 SecurityProfileDiff at end. + // * Each SecurityProfileDiff response is fully-specified (all fields set). + // * start: Returns the state of each SecurityProfileDiff at start, followed by updates until now. + // * Each SecurityProfileDiff response at start is fully-specified, but updates may be partial. + // * start and end: Returns the state of each SecurityProfileDiff at start, followed by updates + // until end. + // * Each SecurityProfileDiff response at start is fully-specified, but updates until end may + // be partial. + // // This field is not allowed in the Subscribe RPC. arista.time.TimeBounds time = 3; }; @@ -252,8 +404,11 @@ message SecurityProfileDiffStreamResponse { service SecurityProfileDiffService { rpc GetOne (SecurityProfileDiffRequest) returns (SecurityProfileDiffResponse); + rpc GetSome (SecurityProfileDiffSomeRequest) returns (stream SecurityProfileDiffSomeResponse); rpc GetAll (SecurityProfileDiffStreamRequest) returns (stream SecurityProfileDiffStreamResponse); rpc Subscribe (SecurityProfileDiffStreamRequest) returns (stream SecurityProfileDiffStreamResponse); + rpc GetMeta (SecurityProfileDiffStreamRequest) returns (MetaResponse); + rpc SubscribeMeta (SecurityProfileDiffStreamRequest) returns (stream MetaResponse); } message SecurityProfileDiffSummaryRequest { @@ -278,6 +433,27 @@ message SecurityProfileDiffSummaryResponse { google.protobuf.Timestamp time = 2; }; +message SecurityProfileDiffSummarySomeRequest { + repeated SummaryKey keys = 1; + + // 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. + google.protobuf.Timestamp time = 2; +}; + +message SecurityProfileDiffSummarySomeResponse { + // 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. + SecurityProfileDiffSummary value = 1; + + // Error is an optional field. + // It should be filled when there is an error in the GetSome process. + google.protobuf.StringValue error = 2; + google.protobuf.Timestamp time = 3; +}; + message SecurityProfileDiffSummaryStreamRequest { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. @@ -289,6 +465,17 @@ message SecurityProfileDiffSummaryStreamRequest { // 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 SecurityProfileDiffSummary at end. + // * Each SecurityProfileDiffSummary response is fully-specified (all fields set). + // * start: Returns the state of each SecurityProfileDiffSummary at start, followed by updates until now. + // * Each SecurityProfileDiffSummary response at start is fully-specified, but updates may be partial. + // * start and end: Returns the state of each SecurityProfileDiffSummary at start, followed by updates + // until end. + // * Each SecurityProfileDiffSummary response at start is fully-specified, but updates until end may + // be partial. + // // This field is not allowed in the Subscribe RPC. arista.time.TimeBounds time = 3; }; @@ -311,8 +498,11 @@ message SecurityProfileDiffSummaryStreamResponse { service SecurityProfileDiffSummaryService { rpc GetOne (SecurityProfileDiffSummaryRequest) returns (SecurityProfileDiffSummaryResponse); + rpc GetSome (SecurityProfileDiffSummarySomeRequest) returns (stream SecurityProfileDiffSummarySomeResponse); rpc GetAll (SecurityProfileDiffSummaryStreamRequest) returns (stream SecurityProfileDiffSummaryStreamResponse); rpc Subscribe (SecurityProfileDiffSummaryStreamRequest) returns (stream SecurityProfileDiffSummaryStreamResponse); + rpc GetMeta (SecurityProfileDiffSummaryStreamRequest) returns (MetaResponse); + rpc SubscribeMeta (SecurityProfileDiffSummaryStreamRequest) returns (stream MetaResponse); } message SummaryRequest { @@ -337,6 +527,27 @@ message SummaryResponse { google.protobuf.Timestamp time = 2; }; +message SummarySomeRequest { + repeated SummaryKey keys = 1; + + // 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. + google.protobuf.Timestamp time = 2; +}; + +message SummarySomeResponse { + // 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. + Summary value = 1; + + // Error is an optional field. + // It should be filled when there is an error in the GetSome process. + google.protobuf.StringValue error = 2; + google.protobuf.Timestamp time = 3; +}; + message SummaryStreamRequest { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. @@ -348,6 +559,17 @@ message SummaryStreamRequest { // 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 Summary at end. + // * Each Summary response is fully-specified (all fields set). + // * start: Returns the state of each Summary at start, followed by updates until now. + // * Each Summary response at start is fully-specified, but updates may be partial. + // * start and end: Returns the state of each Summary at start, followed by updates + // until end. + // * Each Summary response at start is fully-specified, but updates until end may + // be partial. + // // This field is not allowed in the Subscribe RPC. arista.time.TimeBounds time = 3; }; @@ -370,6 +592,9 @@ message SummaryStreamResponse { service SummaryService { rpc GetOne (SummaryRequest) returns (SummaryResponse); + rpc GetSome (SummarySomeRequest) returns (stream SummarySomeResponse); rpc GetAll (SummaryStreamRequest) returns (stream SummaryStreamResponse); rpc Subscribe (SummaryStreamRequest) returns (stream SummaryStreamResponse); + rpc GetMeta (SummaryStreamRequest) returns (MetaResponse); + rpc SubscribeMeta (SummaryStreamRequest) returns (stream MetaResponse); } diff --git a/arista/configstatus.v1/services.gen.swagger.json b/arista/configstatus.v1/services.gen.swagger.json index 8ab705fb..ca68e64f 100644 --- a/arista/configstatus.v1/services.gen.swagger.json +++ b/arista/configstatus.v1/services.gen.swagger.json @@ -212,9 +212,9 @@ ] } }, - "/api/resources/configstatus/v1/ConfigDiff/watch": { - "get": { - "operationId": "ConfigDiffService_Subscribe", + "/api/resources/configstatus/v1/ConfigDiff/getsome": { + "post": { + "operationId": "ConfigDiffService_GetSome", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -222,13 +222,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffSomeResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.ConfigDiffStreamResponse" + "title": "Stream result of arista.configstatus.v1.ConfigDiffSomeResponse" } }, "default": { @@ -240,14 +240,20 @@ }, "parameters": [ { - "name": "time.start", - "in": "query", - "required": false, - "type": "string", - "format": "date-time" + "name": "keys", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffKey" + } + } }, { - "name": "time.end", + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", "in": "query", "required": false, "type": "string", @@ -257,23 +263,16 @@ "tags": [ "ConfigDiffService" ] - }, - "post": { - "operationId": "ConfigDiffService_Subscribe2", + } + }, + "/api/resources/configstatus/v1/ConfigDiff/metadata": { + "get": { + "operationId": "ConfigDiffService_GetMeta", "responses": { "200": { - "description": "A successful response.(streaming responses)", + "description": "A successful response.", "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffStreamResponse" - }, - "error": { - "$ref": "#/definitions/google.rpc.Status" - } - }, - "title": "Stream result of arista.configstatus.v1.ConfigDiffStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" } }, "default": { @@ -285,27 +284,31 @@ }, "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffStreamRequest" - } + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" } ], "tags": [ "ConfigDiffService" ] - } - }, - "/api/resources/configstatus/v1/Configuration": { - "get": { - "operationId": "ConfigurationService_GetOne", + }, + "post": { + "operationId": "ConfigDiffService_GetMeta2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigurationResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" } }, "default": { @@ -317,42 +320,22 @@ }, "parameters": [ { - "name": "key.deviceId", - "description": "Device_id is the serial number of the device", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "key.type", - "description": "Type describes the config type", - "in": "query", + "name": "body", + "in": "body", "required": true, - "type": "string", - "enum": [ - "CONFIG_TYPE_UNSPECIFIED", - "CONFIG_TYPE_RUNNING_CONFIG", - "CONFIG_TYPE_DESIGNED_CONFIG" - ], - "default": "CONFIG_TYPE_UNSPECIFIED" - }, - { - "name": "time", - "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", - "in": "query", - "required": false, - "type": "string", - "format": "date-time" + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffStreamRequest" + } } ], "tags": [ - "ConfigurationService" + "ConfigDiffService" ] } }, - "/api/resources/configstatus/v1/Configuration/all": { + "/api/resources/configstatus/v1/ConfigDiff/watch": { "get": { - "operationId": "ConfigurationService_GetAll", + "operationId": "ConfigDiffService_Subscribe", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -360,13 +343,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffStreamResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.ConfigurationStreamResponse" + "title": "Stream result of arista.configstatus.v1.ConfigDiffStreamResponse" } }, "default": { @@ -393,11 +376,11 @@ } ], "tags": [ - "ConfigurationService" + "ConfigDiffService" ] }, "post": { - "operationId": "ConfigurationService_GetAll2", + "operationId": "ConfigDiffService_Subscribe2", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -405,13 +388,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffStreamResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.ConfigurationStreamResponse" + "title": "Stream result of arista.configstatus.v1.ConfigDiffStreamResponse" } }, "default": { @@ -427,18 +410,18 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamRequest" + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffStreamRequest" } } ], "tags": [ - "ConfigurationService" + "ConfigDiffService" ] } }, - "/api/resources/configstatus/v1/Configuration/watch": { + "/api/resources/configstatus/v1/ConfigDiff/watchmetadata": { "get": { - "operationId": "ConfigurationService_Subscribe", + "operationId": "ConfigDiffService_SubscribeMeta", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -446,13 +429,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.ConfigurationStreamResponse" + "title": "Stream result of arista.configstatus.v1.MetaResponse" } }, "default": { @@ -479,11 +462,11 @@ } ], "tags": [ - "ConfigurationService" + "ConfigDiffService" ] }, "post": { - "operationId": "ConfigurationService_Subscribe2", + "operationId": "ConfigDiffService_SubscribeMeta2", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -491,13 +474,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.ConfigurationStreamResponse" + "title": "Stream result of arista.configstatus.v1.MetaResponse" } }, "default": { @@ -513,23 +496,23 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamRequest" + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffStreamRequest" } } ], "tags": [ - "ConfigurationService" + "ConfigDiffService" ] } }, - "/api/resources/configstatus/v1/SecurityProfile": { + "/api/resources/configstatus/v1/Configuration": { "get": { - "operationId": "SecurityProfileService_GetOne", + "operationId": "ConfigurationService_GetOne", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileResponse" + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationResponse" } }, "default": { @@ -570,13 +553,13 @@ } ], "tags": [ - "SecurityProfileService" + "ConfigurationService" ] } }, - "/api/resources/configstatus/v1/SecurityProfile/all": { + "/api/resources/configstatus/v1/Configuration/all": { "get": { - "operationId": "SecurityProfileService_GetAll", + "operationId": "ConfigurationService_GetAll", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -584,13 +567,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileStreamResponse" + "title": "Stream result of arista.configstatus.v1.ConfigurationStreamResponse" } }, "default": { @@ -617,11 +600,11 @@ } ], "tags": [ - "SecurityProfileService" + "ConfigurationService" ] }, "post": { - "operationId": "SecurityProfileService_GetAll2", + "operationId": "ConfigurationService_GetAll2", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -629,13 +612,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileStreamResponse" + "title": "Stream result of arista.configstatus.v1.ConfigurationStreamResponse" } }, "default": { @@ -651,18 +634,18 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamRequest" + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamRequest" } } ], "tags": [ - "SecurityProfileService" + "ConfigurationService" ] } }, - "/api/resources/configstatus/v1/SecurityProfile/watch": { - "get": { - "operationId": "SecurityProfileService_Subscribe", + "/api/resources/configstatus/v1/Configuration/getsome": { + "post": { + "operationId": "ConfigurationService_GetSome", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -670,13 +653,57 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationSomeResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileStreamResponse" + "title": "Stream result of arista.configstatus.v1.ConfigurationSomeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "keys", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/arista.configstatus.v1.ConfigKey" + } + } + }, + { + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "ConfigurationService" + ] + } + }, + "/api/resources/configstatus/v1/Configuration/metadata": { + "get": { + "operationId": "ConfigurationService_GetMeta", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" } }, "default": { @@ -703,25 +730,16 @@ } ], "tags": [ - "SecurityProfileService" + "ConfigurationService" ] }, "post": { - "operationId": "SecurityProfileService_Subscribe2", + "operationId": "ConfigurationService_GetMeta2", "responses": { "200": { - "description": "A successful response.(streaming responses)", + "description": "A successful response.", "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamResponse" - }, - "error": { - "$ref": "#/definitions/google.rpc.Status" - } - }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" } }, "default": { @@ -737,23 +755,32 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamRequest" + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamRequest" } } ], "tags": [ - "SecurityProfileService" + "ConfigurationService" ] } }, - "/api/resources/configstatus/v1/SecurityProfileDiff": { + "/api/resources/configstatus/v1/Configuration/watch": { "get": { - "operationId": "SecurityProfileDiffService_GetOne", + "operationId": "ConfigurationService_Subscribe", "responses": { "200": { - "description": "A successful response.", + "description": "A successful response.(streaming responses)", "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffResponse" + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.ConfigurationStreamResponse" } }, "default": { @@ -765,43 +792,178 @@ }, "parameters": [ { - "name": "key.aDeviceId", - "description": "A_device_id is the serial number of the device on A side (left hand side)", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "key.aType", - "description": "A_type is the config type on A side (left hand side)", + "name": "time.start", "in": "query", - "required": true, + "required": false, "type": "string", - "enum": [ - "CONFIG_TYPE_UNSPECIFIED", - "CONFIG_TYPE_RUNNING_CONFIG", - "CONFIG_TYPE_DESIGNED_CONFIG" - ], - "default": "CONFIG_TYPE_UNSPECIFIED" + "format": "date-time" }, { - "name": "key.aTime", - "description": "A_time is the time at which to fetch config on A side (left hand side)", + "name": "time.end", "in": "query", - "required": true, + "required": false, "type": "string", "format": "date-time" + } + ], + "tags": [ + "ConfigurationService" + ] + }, + "post": { + "operationId": "ConfigurationService_Subscribe2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.ConfigurationStreamResponse" + } }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ { - "name": "key.bDeviceId", - "description": "B_device_id is the serial number of the device on B side (right hand side)", + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamRequest" + } + } + ], + "tags": [ + "ConfigurationService" + ] + } + }, + "/api/resources/configstatus/v1/Configuration/watchmetadata": { + "get": { + "operationId": "ConfigurationService_SubscribeMeta", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "ConfigurationService" + ] + }, + "post": { + "operationId": "ConfigurationService_SubscribeMeta2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.ConfigurationStreamRequest" + } + } + ], + "tags": [ + "ConfigurationService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfile": { + "get": { + "operationId": "SecurityProfileService_GetOne", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "key.deviceId", + "description": "Device_id is the serial number of the device", "in": "query", "required": true, "type": "string" }, { - "name": "key.bType", - "description": "B_type is the config type on B side (right hand side)", + "name": "key.type", + "description": "Type describes the config type", "in": "query", "required": true, "type": "string", @@ -813,30 +975,1114 @@ "default": "CONFIG_TYPE_UNSPECIFIED" }, { - "name": "key.bTime", - "description": "B_time is the time at which to fetch config on B side (right hand side)", + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", "in": "query", - "required": true, + "required": false, "type": "string", "format": "date-time" + } + ], + "tags": [ + "SecurityProfileService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfile/all": { + "get": { + "operationId": "SecurityProfileService_GetAll", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileStreamResponse" + } }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ { - "name": "time", - "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", + "name": "time.start", "in": "query", "required": false, "type": "string", "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileService" + ] + }, + "post": { + "operationId": "SecurityProfileService_GetAll2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfile/getsome": { + "post": { + "operationId": "SecurityProfileService_GetSome", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileSomeResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileSomeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "keys", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/arista.configstatus.v1.ConfigKey" + } + } + }, + { + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfile/metadata": { + "get": { + "operationId": "SecurityProfileService_GetMeta", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileService" + ] + }, + "post": { + "operationId": "SecurityProfileService_GetMeta2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfile/watch": { + "get": { + "operationId": "SecurityProfileService_Subscribe", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileService" + ] + }, + "post": { + "operationId": "SecurityProfileService_Subscribe2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfile/watchmetadata": { + "get": { + "operationId": "SecurityProfileService_SubscribeMeta", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileService" + ] + }, + "post": { + "operationId": "SecurityProfileService_SubscribeMeta2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiff": { + "get": { + "operationId": "SecurityProfileDiffService_GetOne", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "key.aDeviceId", + "description": "A_device_id is the serial number of the device on A side (left hand side)", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "key.aType", + "description": "A_type is the config type on A side (left hand side)", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "CONFIG_TYPE_UNSPECIFIED", + "CONFIG_TYPE_RUNNING_CONFIG", + "CONFIG_TYPE_DESIGNED_CONFIG" + ], + "default": "CONFIG_TYPE_UNSPECIFIED" + }, + { + "name": "key.aTime", + "description": "A_time is the time at which to fetch config on A side (left hand side)", + "in": "query", + "required": true, + "type": "string", + "format": "date-time" + }, + { + "name": "key.bDeviceId", + "description": "B_device_id is the serial number of the device on B side (right hand side)", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "key.bType", + "description": "B_type is the config type on B side (right hand side)", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "CONFIG_TYPE_UNSPECIFIED", + "CONFIG_TYPE_RUNNING_CONFIG", + "CONFIG_TYPE_DESIGNED_CONFIG" + ], + "default": "CONFIG_TYPE_UNSPECIFIED" + }, + { + "name": "key.bTime", + "description": "B_time is the time at which to fetch config on B side (right hand side)", + "in": "query", + "required": true, + "type": "string", + "format": "date-time" + }, + { + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiff/all": { + "get": { + "operationId": "SecurityProfileDiffService_GetAll", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + }, + "post": { + "operationId": "SecurityProfileDiffService_GetAll2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiff/getsome": { + "post": { + "operationId": "SecurityProfileDiffService_GetSome", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSomeResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSomeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "keys", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiffKey" + } + } + }, + { + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiff/metadata": { + "get": { + "operationId": "SecurityProfileDiffService_GetMeta", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + }, + "post": { + "operationId": "SecurityProfileDiffService_GetMeta2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiff/watch": { + "get": { + "operationId": "SecurityProfileDiffService_Subscribe", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + }, + "post": { + "operationId": "SecurityProfileDiffService_Subscribe2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiff/watchmetadata": { + "get": { + "operationId": "SecurityProfileDiffService_SubscribeMeta", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + }, + "post": { + "operationId": "SecurityProfileDiffService_SubscribeMeta2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileDiffService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiffSummary": { + "get": { + "operationId": "SecurityProfileDiffSummaryService_GetOne", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "key.deviceId", + "description": "Device_id is the serial number of the device", + "in": "query", + "required": true, + "type": "string" + }, + { + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffSummaryService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiffSummary/all": { + "get": { + "operationId": "SecurityProfileDiffSummaryService_GetAll", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffSummaryService" + ] + }, + "post": { + "operationId": "SecurityProfileDiffSummaryService_GetAll2", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamRequest" + } + } + ], + "tags": [ + "SecurityProfileDiffSummaryService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiffSummary/getsome": { + "post": { + "operationId": "SecurityProfileDiffSummaryService_GetSome", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummarySomeResponse" + }, + "error": { + "$ref": "#/definitions/google.rpc.Status" + } + }, + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummarySomeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "keys", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/arista.configstatus.v1.SummaryKey" + } + } + }, + { + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffSummaryService" + ] + } + }, + "/api/resources/configstatus/v1/SecurityProfileDiffSummary/metadata": { + "get": { + "operationId": "SecurityProfileDiffSummaryService_GetMeta", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + } + ], + "tags": [ + "SecurityProfileDiffSummaryService" + ] + }, + "post": { + "operationId": "SecurityProfileDiffSummaryService_GetMeta2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/google.rpc.Status" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamRequest" + } } ], "tags": [ - "SecurityProfileDiffService" + "SecurityProfileDiffSummaryService" ] } }, - "/api/resources/configstatus/v1/SecurityProfileDiff/all": { + "/api/resources/configstatus/v1/SecurityProfileDiffSummary/watch": { "get": { - "operationId": "SecurityProfileDiffService_GetAll", + "operationId": "SecurityProfileDiffSummaryService_Subscribe", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -844,13 +2090,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffStreamResponse" + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" } }, "default": { @@ -877,11 +2123,11 @@ } ], "tags": [ - "SecurityProfileDiffService" + "SecurityProfileDiffSummaryService" ] }, "post": { - "operationId": "SecurityProfileDiffService_GetAll2", + "operationId": "SecurityProfileDiffSummaryService_Subscribe2", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -889,13 +2135,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffStreamResponse" + "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" } }, "default": { @@ -911,18 +2157,18 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamRequest" + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamRequest" } } ], "tags": [ - "SecurityProfileDiffService" + "SecurityProfileDiffSummaryService" ] } }, - "/api/resources/configstatus/v1/SecurityProfileDiff/watch": { + "/api/resources/configstatus/v1/SecurityProfileDiffSummary/watchmetadata": { "get": { - "operationId": "SecurityProfileDiffService_Subscribe", + "operationId": "SecurityProfileDiffSummaryService_SubscribeMeta", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -930,13 +2176,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffStreamResponse" + "title": "Stream result of arista.configstatus.v1.MetaResponse" } }, "default": { @@ -963,11 +2209,11 @@ } ], "tags": [ - "SecurityProfileDiffService" + "SecurityProfileDiffSummaryService" ] }, "post": { - "operationId": "SecurityProfileDiffService_Subscribe2", + "operationId": "SecurityProfileDiffSummaryService_SubscribeMeta2", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -975,13 +2221,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffStreamResponse" + "title": "Stream result of arista.configstatus.v1.MetaResponse" } }, "default": { @@ -997,23 +2243,23 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffStreamRequest" + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamRequest" } } ], "tags": [ - "SecurityProfileDiffService" + "SecurityProfileDiffSummaryService" ] } }, - "/api/resources/configstatus/v1/SecurityProfileDiffSummary": { + "/api/resources/configstatus/v1/Summary": { "get": { - "operationId": "SecurityProfileDiffSummaryService_GetOne", + "operationId": "SummaryService_GetOne", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryResponse" + "$ref": "#/definitions/arista.configstatus.v1.SummaryResponse" } }, "default": { @@ -1041,13 +2287,13 @@ } ], "tags": [ - "SecurityProfileDiffSummaryService" + "SummaryService" ] } }, - "/api/resources/configstatus/v1/SecurityProfileDiffSummary/all": { + "/api/resources/configstatus/v1/Summary/all": { "get": { - "operationId": "SecurityProfileDiffSummaryService_GetAll", + "operationId": "SummaryService_GetAll", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -1055,13 +2301,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.SummaryStreamResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + "title": "Stream result of arista.configstatus.v1.SummaryStreamResponse" } }, "default": { @@ -1088,11 +2334,11 @@ } ], "tags": [ - "SecurityProfileDiffSummaryService" + "SummaryService" ] }, "post": { - "operationId": "SecurityProfileDiffSummaryService_GetAll2", + "operationId": "SummaryService_GetAll2", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -1100,13 +2346,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.SummaryStreamResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + "title": "Stream result of arista.configstatus.v1.SummaryStreamResponse" } }, "default": { @@ -1122,18 +2368,18 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamRequest" + "$ref": "#/definitions/arista.configstatus.v1.SummaryStreamRequest" } } ], "tags": [ - "SecurityProfileDiffSummaryService" + "SummaryService" ] } }, - "/api/resources/configstatus/v1/SecurityProfileDiffSummary/watch": { - "get": { - "operationId": "SecurityProfileDiffSummaryService_Subscribe", + "/api/resources/configstatus/v1/Summary/getsome": { + "post": { + "operationId": "SummaryService_GetSome", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -1141,13 +2387,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.SummarySomeResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + "title": "Stream result of arista.configstatus.v1.SummarySomeResponse" } }, "default": { @@ -1159,14 +2405,20 @@ }, "parameters": [ { - "name": "time.start", - "in": "query", - "required": false, - "type": "string", - "format": "date-time" + "name": "keys", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/arista.configstatus.v1.SummaryKey" + } + } }, { - "name": "time.end", + "name": "time", + "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", "in": "query", "required": false, "type": "string", @@ -1174,25 +2426,18 @@ } ], "tags": [ - "SecurityProfileDiffSummaryService" + "SummaryService" ] - }, - "post": { - "operationId": "SecurityProfileDiffSummaryService_Subscribe2", + } + }, + "/api/resources/configstatus/v1/Summary/metadata": { + "get": { + "operationId": "SummaryService_GetMeta", "responses": { "200": { - "description": "A successful response.(streaming responses)", + "description": "A successful response.", "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" - }, - "error": { - "$ref": "#/definitions/google.rpc.Status" - } - }, - "title": "Stream result of arista.configstatus.v1.SecurityProfileDiffSummaryStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" } }, "default": { @@ -1204,27 +2449,31 @@ }, "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummaryStreamRequest" - } + "name": "time.start", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "time.end", + "in": "query", + "required": false, + "type": "string", + "format": "date-time" } ], "tags": [ - "SecurityProfileDiffSummaryService" + "SummaryService" ] - } - }, - "/api/resources/configstatus/v1/Summary": { - "get": { - "operationId": "SummaryService_GetOne", + }, + "post": { + "operationId": "SummaryService_GetMeta2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/arista.configstatus.v1.SummaryResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" } }, "default": { @@ -1236,19 +2485,12 @@ }, "parameters": [ { - "name": "key.deviceId", - "description": "Device_id is the serial number of the device", - "in": "query", + "name": "body", + "in": "body", "required": true, - "type": "string" - }, - { - "name": "time", - "description": "Time indicates the time for which you are interested in the data.\nIf no time is given, the server will use the time at which it makes the request.", - "in": "query", - "required": false, - "type": "string", - "format": "date-time" + "schema": { + "$ref": "#/definitions/arista.configstatus.v1.SummaryStreamRequest" + } } ], "tags": [ @@ -1256,9 +2498,9 @@ ] } }, - "/api/resources/configstatus/v1/Summary/all": { + "/api/resources/configstatus/v1/Summary/watch": { "get": { - "operationId": "SummaryService_GetAll", + "operationId": "SummaryService_Subscribe", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -1303,7 +2545,7 @@ ] }, "post": { - "operationId": "SummaryService_GetAll2", + "operationId": "SummaryService_Subscribe2", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -1342,9 +2584,9 @@ ] } }, - "/api/resources/configstatus/v1/Summary/watch": { + "/api/resources/configstatus/v1/Summary/watchmetadata": { "get": { - "operationId": "SummaryService_Subscribe", + "operationId": "SummaryService_SubscribeMeta", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -1352,13 +2594,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SummaryStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SummaryStreamResponse" + "title": "Stream result of arista.configstatus.v1.MetaResponse" } }, "default": { @@ -1389,7 +2631,7 @@ ] }, "post": { - "operationId": "SummaryService_Subscribe2", + "operationId": "SummaryService_SubscribeMeta2", "responses": { "200": { "description": "A successful response.(streaming responses)", @@ -1397,13 +2639,13 @@ "type": "object", "properties": { "result": { - "$ref": "#/definitions/arista.configstatus.v1.SummaryStreamResponse" + "$ref": "#/definitions/arista.configstatus.v1.MetaResponse" }, "error": { "$ref": "#/definitions/google.rpc.Status" } }, - "title": "Stream result of arista.configstatus.v1.SummaryStreamResponse" + "title": "Stream result of arista.configstatus.v1.MetaResponse" } }, "default": { @@ -1497,19 +2739,37 @@ } } }, + "arista.configstatus.v1.ConfigDiffSomeResponse": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/arista.configstatus.v1.ConfigDiff", + "description": "Value is the value requested.\nThis structure will be fully-populated as it exists in the datastore. If\noptional fields were not given at creation, these fields will be empty or\nset to default values." + }, + "error": { + "type": "string", + "description": "Error is an optional field.\nIt should be filled when there is an error in the GetSome process." + }, + "time": { + "type": "string", + "format": "date-time" + } + } + }, "arista.configstatus.v1.ConfigDiffStreamRequest": { "type": "object", "properties": { "partialEqFilter": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/arista.configstatus.v1.ConfigDiff" }, "description": "PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.\nThis requires all provided fields to be equal to the response.\n\nWhile transparent to users, this field also allows services to optimize internal\nsubscriptions if filter(s) are sufficiently specific." }, "time": { "$ref": "#/definitions/arista.time.TimeBounds", - "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nThis field is not allowed in the Subscribe RPC." + "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nFor GetAll, the fields start and end can be used as follows:\n\n * end: Returns the state of each ConfigDiff at end.\n * Each ConfigDiff response is fully-specified (all fields set).\n * start: Returns the state of each ConfigDiff at start, followed by updates until now.\n * Each ConfigDiff response at start is fully-specified, but updates may be partial.\n * start and end: Returns the state of each ConfigDiff at start, followed by updates\n until end.\n * Each ConfigDiff response at start is fully-specified, but updates until end may\n be partial.\n\nThis field is not allowed in the Subscribe RPC." } } }, @@ -1677,19 +2937,37 @@ } } }, + "arista.configstatus.v1.ConfigurationSomeResponse": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/arista.configstatus.v1.Configuration", + "description": "Value is the value requested.\nThis structure will be fully-populated as it exists in the datastore. If\noptional fields were not given at creation, these fields will be empty or\nset to default values." + }, + "error": { + "type": "string", + "description": "Error is an optional field.\nIt should be filled when there is an error in the GetSome process." + }, + "time": { + "type": "string", + "format": "date-time" + } + } + }, "arista.configstatus.v1.ConfigurationStreamRequest": { "type": "object", "properties": { "partialEqFilter": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/arista.configstatus.v1.Configuration" }, "description": "PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.\nThis requires all provided fields to be equal to the response.\n\nWhile transparent to users, this field also allows services to optimize internal\nsubscriptions if filter(s) are sufficiently specific." }, "time": { "$ref": "#/definitions/arista.time.TimeBounds", - "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nThis field is not allowed in the Subscribe RPC." + "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nFor GetAll, the fields start and end can be used as follows:\n\n * end: Returns the state of each Configuration at end.\n * Each Configuration response is fully-specified (all fields set).\n * start: Returns the state of each Configuration at start, followed by updates until now.\n * Each Configuration response at start is fully-specified, but updates may be partial.\n * start and end: Returns the state of each Configuration at start, followed by updates\n until end.\n * Each Configuration response at start is fully-specified, but updates until end may\n be partial.\n\nThis field is not allowed in the Subscribe RPC." } } }, @@ -1717,6 +2995,7 @@ "values": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/arista.configstatus.v1.DiffEntry" } } @@ -1782,6 +3061,25 @@ "description": "- DIFF_OP_NOP: NOP indicates no change. A and B are identical at this line\n - DIFF_OP_IGNORE: IGNORE indicates a line that's ignored in either A or B.\nOne of a_line_num or b_line_num will be -1\n - DIFF_OP_ADD: ADD is an addition of a line from A\n - DIFF_OP_DELETE: DELETE is deletion of a line from B\n - DIFF_OP_CHANGE: CHANGE is a modification to a line in A", "title": "DiffOp is the operation to a line from one side of diff to get to another" }, + "arista.configstatus.v1.MetaResponse": { + "type": "object", + "properties": { + "time": { + "type": "string", + "format": "date-time", + "description": "Time holds the timestamp of the last item included in the metadata calculation." + }, + "type": { + "$ref": "#/definitions/arista.subscriptions.Operation", + "description": "Operation indicates how the value in this response should be considered.\nUnder non-subscribe requests, this value should always be INITIAL. In a subscription,\nonce all initial data is streamed and the client begins to receive modification updates,\nyou should not see INITIAL again." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "Count is the number of items present under the conditions of the request." + } + } + }, "arista.configstatus.v1.SecurityProfile": { "type": "object", "properties": { @@ -1872,19 +3170,37 @@ } } }, + "arista.configstatus.v1.SecurityProfileDiffSomeResponse": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiff", + "description": "Value is the value requested.\nThis structure will be fully-populated as it exists in the datastore. If\noptional fields were not given at creation, these fields will be empty or\nset to default values." + }, + "error": { + "type": "string", + "description": "Error is an optional field.\nIt should be filled when there is an error in the GetSome process." + }, + "time": { + "type": "string", + "format": "date-time" + } + } + }, "arista.configstatus.v1.SecurityProfileDiffStreamRequest": { "type": "object", "properties": { "partialEqFilter": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiff" }, "description": "PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.\nThis requires all provided fields to be equal to the response.\n\nWhile transparent to users, this field also allows services to optimize internal\nsubscriptions if filter(s) are sufficiently specific." }, "time": { "$ref": "#/definitions/arista.time.TimeBounds", - "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nThis field is not allowed in the Subscribe RPC." + "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nFor GetAll, the fields start and end can be used as follows:\n\n * end: Returns the state of each SecurityProfileDiff at end.\n * Each SecurityProfileDiff response is fully-specified (all fields set).\n * start: Returns the state of each SecurityProfileDiff at start, followed by updates until now.\n * Each SecurityProfileDiff response at start is fully-specified, but updates may be partial.\n * start and end: Returns the state of each SecurityProfileDiff at start, followed by updates\n until end.\n * Each SecurityProfileDiff response at start is fully-specified, but updates until end may\n be partial.\n\nThis field is not allowed in the Subscribe RPC." } } }, @@ -1934,19 +3250,37 @@ } } }, + "arista.configstatus.v1.SecurityProfileDiffSummarySomeResponse": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummary", + "description": "Value is the value requested.\nThis structure will be fully-populated as it exists in the datastore. If\noptional fields were not given at creation, these fields will be empty or\nset to default values." + }, + "error": { + "type": "string", + "description": "Error is an optional field.\nIt should be filled when there is an error in the GetSome process." + }, + "time": { + "type": "string", + "format": "date-time" + } + } + }, "arista.configstatus.v1.SecurityProfileDiffSummaryStreamRequest": { "type": "object", "properties": { "partialEqFilter": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/arista.configstatus.v1.SecurityProfileDiffSummary" }, "description": "PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.\nThis requires all provided fields to be equal to the response.\n\nWhile transparent to users, this field also allows services to optimize internal\nsubscriptions if filter(s) are sufficiently specific." }, "time": { "$ref": "#/definitions/arista.time.TimeBounds", - "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nThis field is not allowed in the Subscribe RPC." + "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nFor GetAll, the fields start and end can be used as follows:\n\n * end: Returns the state of each SecurityProfileDiffSummary at end.\n * Each SecurityProfileDiffSummary response is fully-specified (all fields set).\n * start: Returns the state of each SecurityProfileDiffSummary at start, followed by updates until now.\n * Each SecurityProfileDiffSummary response at start is fully-specified, but updates may be partial.\n * start and end: Returns the state of each SecurityProfileDiffSummary at start, followed by updates\n until end.\n * Each SecurityProfileDiffSummary response at start is fully-specified, but updates until end may\n be partial.\n\nThis field is not allowed in the Subscribe RPC." } } }, @@ -1982,19 +3316,37 @@ } } }, + "arista.configstatus.v1.SecurityProfileSomeResponse": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/arista.configstatus.v1.SecurityProfile", + "description": "Value is the value requested.\nThis structure will be fully-populated as it exists in the datastore. If\noptional fields were not given at creation, these fields will be empty or\nset to default values." + }, + "error": { + "type": "string", + "description": "Error is an optional field.\nIt should be filled when there is an error in the GetSome process." + }, + "time": { + "type": "string", + "format": "date-time" + } + } + }, "arista.configstatus.v1.SecurityProfileStreamRequest": { "type": "object", "properties": { "partialEqFilter": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/arista.configstatus.v1.SecurityProfile" }, "description": "PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.\nThis requires all provided fields to be equal to the response.\n\nWhile transparent to users, this field also allows services to optimize internal\nsubscriptions if filter(s) are sufficiently specific." }, "time": { "$ref": "#/definitions/arista.time.TimeBounds", - "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nThis field is not allowed in the Subscribe RPC." + "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nFor GetAll, the fields start and end can be used as follows:\n\n * end: Returns the state of each SecurityProfile at end.\n * Each SecurityProfile response is fully-specified (all fields set).\n * start: Returns the state of each SecurityProfile at start, followed by updates until now.\n * Each SecurityProfile response at start is fully-specified, but updates may be partial.\n * start and end: Returns the state of each SecurityProfile at start, followed by updates\n until end.\n * Each SecurityProfile response at start is fully-specified, but updates until end may\n be partial.\n\nThis field is not allowed in the Subscribe RPC." } } }, @@ -2054,19 +3406,37 @@ } } }, + "arista.configstatus.v1.SummarySomeResponse": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/arista.configstatus.v1.Summary", + "description": "Value is the value requested.\nThis structure will be fully-populated as it exists in the datastore. If\noptional fields were not given at creation, these fields will be empty or\nset to default values." + }, + "error": { + "type": "string", + "description": "Error is an optional field.\nIt should be filled when there is an error in the GetSome process." + }, + "time": { + "type": "string", + "format": "date-time" + } + } + }, "arista.configstatus.v1.SummaryStreamRequest": { "type": "object", "properties": { "partialEqFilter": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/arista.configstatus.v1.Summary" }, "description": "PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.\nThis requires all provided fields to be equal to the response.\n\nWhile transparent to users, this field also allows services to optimize internal\nsubscriptions if filter(s) are sufficiently specific." }, "time": { "$ref": "#/definitions/arista.time.TimeBounds", - "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nThis field is not allowed in the Subscribe RPC." + "description": "TimeRange allows limiting response data to within a specified time window.\nIf this field is populated, at least one of the two time fields are required.\n\nFor GetAll, the fields start and end can be used as follows:\n\n * end: Returns the state of each Summary at end.\n * Each Summary response is fully-specified (all fields set).\n * start: Returns the state of each Summary at start, followed by updates until now.\n * Each Summary response at start is fully-specified, but updates may be partial.\n * start and end: Returns the state of each Summary at start, followed by updates\n until end.\n * Each Summary response at start is fully-specified, but updates until end may\n be partial.\n\nThis field is not allowed in the Subscribe RPC." } } }, @@ -2135,6 +3505,7 @@ "details": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/google.protobuf.Any" } }