Commit e7d9ba02 authored by Elian Kraja's avatar Elian Kraja
Browse files

Merge branch 'stf593' into 'develop'

Final Draft

See merge request !1
parents 2fd2a665 94f4c75f
Pipeline #5792 passed with stage
in 0 seconds
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/subscription_link_list_links_subscription.proto";
message SubscriptionLinkListLinks {
repeated SubscriptionLinkListLinksSubscription subscription = 1;
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/subscription_link_list_links_subscription_subscription_type.proto";
message SubscriptionLinkListLinksSubscription {
// The URI referring to the subscription.
string href = 1;
SubscriptionLinkListLinksSubscriptionSubscriptionType subscription_type = 2;
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message SubscriptionLinkListLinksSubscriptionSubscriptionType {
enum TypeEnum {
SUBSCRIPTION_LINK_LIST_LINKS_SUBSCRIPTION_SUBSCRIPTION_TYPE_TYPE_ENUM_0 = 0;
SUBSCRIPTION_LINK_LIST_LINKS_SUBSCRIPTION_SUBSCRIPTION_TYPE_TYPE_ENUM_1 = 1;
SUBSCRIPTION_LINK_LIST_LINKS_SUBSCRIPTION_SUBSCRIPTION_TYPE_TYPE_ENUM_2 = 2;
SUBSCRIPTION_LINK_LIST_LINKS_SUBSCRIPTION_SUBSCRIPTION_TYPE_TYPE_ENUM_3 = 3;
SUBSCRIPTION_LINK_LIST_LINKS_SUBSCRIPTION_SUBSCRIPTION_TYPE_TYPE_ENUM_4 = 4;
}
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message TimeStamp {
// The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.
int32 nano_seconds = 1;
// The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC.
int32 seconds = 2;
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/trace_route_diagnostics_diagnostics_state.proto";
message TraceRouteDiagnostics {
// Size of the data block in bytes to be sent for each trace route.
int32 data_block_size = 1;
TraceRouteDiagnosticsDiagnosticsState diagnostics_state = 2;
// Host name or address of the host to find a route to.
string host = 3;
// The maximum number of hop used in outgoing probe packets. The default is 30 hops.
int32 max_hop_count = 4;
// Result parameter indicating the number of hops within the discovered route. If a route could not be determined, this value shall be zero.
int32 number_of_route_hops = 5;
// Result parameter indicating the response time in milliseconds the most recent trace route test. If a route could not be determined, this value shall be zero.
int32 response_time = 6;
// Timeout in milliseconds for the trace route test.
int32 timeout = 7;
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message TraceRouteDiagnosticsDiagnosticsState {
enum TypeEnum {
TRACE_ROUTE_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_1 = 0;
TRACE_ROUTE_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_2 = 1;
TRACE_ROUTE_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_3 = 2;
TRACE_ROUTE_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_4 = 3;
TRACE_ROUTE_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_5 = 4;
TRACE_ROUTE_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_6 = 5;
TRACE_ROUTE_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_7 = 6;
}
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/time_stamp.proto";
import public "models/upload_diagnostics_diagnostics_state.proto";
message UploadDiagnostics {
TimeStamp b_om_time = 1;
UploadDiagnosticsDiagnosticsState diagnostics_state = 2;
TimeStamp e_om_time = 3;
TimeStamp r_om_time = 4;
TimeStamp tcp_ppen_reponse_time = 5;
TimeStamp tcp_open_request_time = 6;
// The test traffic sent in bytes during the FTP/HTTP transaction including FTP/HTTP headers, between b_oMTime and e_oMTime.
int32 test_bytes_sent = 7;
// The size of the file (in bytes) to be uploaded to the server.
int32 test_file_length = 8;
// The URI for the device to perform the upload to.
string upload_uri = 9;
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message UploadDiagnosticsDiagnosticsState {
enum TypeEnum {
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_1 = 0;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_2 = 1;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_3 = 2;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_4 = 3;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_5 = 4;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_6 = 5;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_7 = 6;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_8 = 7;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_9 = 8;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_10 = 9;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_11 = 10;
UPLOAD_DIAGNOSTICS_DIAGNOSTICS_STATE_TYPE_ENUM_12 = 11;
}
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/cable_line_info.proto";
import public "models/cp_info.proto";
import public "models/problem_details.proto";
service CableLineInfoService {
rpc CableLineInfoGET (CableLineInfoGETRequest) returns (CableLineInfo);
}
message CableLineInfoGETRequest {
// Comma separated list of customer premises information
repeated CpInfo customer_premises_info = 1;
// Comma separated list of Cable Modem identifiers.
repeated string cm_id = 2;
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/cp_info.proto";
import public "models/pon_info.proto";
import public "models/problem_details.proto";
service OpticalNetworkInfoService {
rpc OpticalNetworkInfoGET (OpticalNetworkInfoGETRequest) returns (OpticalNetworkInfoGETResponse);
}
message OpticalNetworkInfoGETRequest {
// Comma separated list of customer premises information
repeated CpInfo customer_premises_info = 1;
// Comma separated list of optical system identifiers.
repeated string pon_ysid = 2;
// Comma separated list of optical network unit identifiers.
repeated string onu_id = 3;
}
message OpticalNetworkInfoGETResponse {
repeated PonInfo data = 1;
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/cp_info.proto";
import public "models/device_info.proto";
import public "models/fa_info.proto";
import public "models/problem_details.proto";
service QueriesService {
rpc DeviceInfoGET (DeviceInfoGETRequest) returns (DeviceInfo);
rpc FaInfoGET (FaInfoGETRequest) returns (FaInfo);
}
message DeviceInfoGETRequest {
// Comma separated list of gateway identifier
repeated string gw_id = 1;
// Comma separated list of device identifier.
repeated string device_id = 2;
// Comma separated list of device status.
repeated int32 device_status = 3;
}
message FaInfoGETRequest {
// Comma separated list of customer premises information
repeated CpInfo customer_premises_info = 1;
// Comma separated list of last mile technologies.
repeated int32 last_mile_tech = 2;
// Comma separated list of interface types.
repeated int32 interface_type = 3;
// Comma separated list of the bandwidth (in Mbps) from the network towards the customer site.
repeated int32 dsbw = 4;
// Comma separated list of the bandwidth (in Mbps) from the customer site towards the network.
repeated int32 usbw = 5;
// Comma separated list of the maximum baseline latency (in ms) between customer site and service edge node.
repeated int32 latency = 6;
}
/*
ETSI GS MEC 029 Fixed Access Information API
ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Contact: cti_support@etsi.org
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import "google/protobuf/empty.proto";
import public "models/subscription.proto";
import public "models/problem_details.proto";
import public "models/subscription_link_list.proto";
service SubscriptionService {
rpc IndividualSubscriptionDELETE (IndividualSubscriptionDELETERequest) returns (google.protobuf.Empty);
rpc IndividualSubscriptionGET (IndividualSubscriptionGETRequest) returns (Subscription);
rpc IndividualSubscriptionPUT (IndividualSubscriptionPUTRequest) returns (Subscription);
rpc SubGET (SubGETRequest) returns (SubscriptionLinkList);
rpc SubPOST (SubPOSTRequest) returns (Subscription);
}
message IndividualSubscriptionDELETERequest {
// Refers to created subscription, where the FAI API allocates a unique resource name for this subscription
string subscription_id = 1;
}
message IndividualSubscriptionGETRequest {
// Refers to created subscription, where the FAI API allocates a unique resource name for this subscription
string subscription_id = 1;
}
message IndividualSubscriptionPUTRequest {
// Refers to created subscription, where the FAI API allocates a unique resource name for this subscription
string subscription_id = 1;
Subscription subscription = 2;
}
message SubGETRequest {
// Query parameter to filter on a specific subscription type. Permitted values: ONU_ALARM. DEVICE_ABNORMAL_ALERT. CM_CONNECTIVITY_STATE. ANI_ALARM.
string subscription_type = 1;
}
message SubPOSTRequest {
Subscription subscription = 1;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment