Commit 658cd5a9 authored by piscione's avatar piscione
Browse files

Added draft of proto files.

parent 2b361c37
Pipeline #5201 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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message LinkType {
// The URI referring to the subscription.
string href = 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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/cp_info.proto";
import public "models/onu_alarm_notification_alarm.proto";
import public "models/time_stamp.proto";
message OnuAlarmNotification {
OnuAlarmNotificationAlarm alarm = 1;
// The physical location of the related customer sites.
repeated CpInfo customerPremisesInfo = 2;
// Shall be set to \"OnuAlarmNotification\".
string notificationType = 3;
// The unique identifier for an optical network unit.
string onuId = 4;
TimeStamp timeStamp = 5;
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message OnuAlarmNotificationAlarm {
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/onu_alarm_subscription_filter_criteria_onu_alarm.proto";
import public "models/onu_alarm_subscription_links.proto";
import public "models/time_stamp.proto";
message OnuAlarmSubscription {
OnuAlarmSubscriptionLinks Underscorelinks = 1;
// URI selected by the service consumer to receive notifications on the subscribed FAIS information. This shall be included both in the request and in response.
string callbackReference = 2;
TimeStamp expiryDeadline = 3;
OnuAlarmSubscriptionFilterCriteriaOnuAlarm filterCriteriaOnuAlarm = 4;
// Shall be set to \\\"OnuAlarmSubscription\\\".
string subscriptionType = 5;
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message OnuAlarmSubscriptionAlarms {
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/cp_info.proto";
import public "models/onu_alarm_subscription_alarms.proto";
message OnuAlarmSubscriptionFilterCriteriaOnuAlarm {
repeated OnuAlarmSubscriptionAlarms alarms = 1;
// 0 to N physical locations of the customer sites.
repeated CpInfo customerPremisesInfo = 2;
// 1 to N unique identifiers for the optical network units. Typical it is the unique serial number for each ONU, which contains the vendor ID and version number. The first four bytes are an ASCII-encoded four-letter vendor ID. The second four bytes are a binary encoded serial number, under the control of the ONU vendor.
repeated string onuId = 3;
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/link_type.proto";
message OnuAlarmSubscriptionLinks {
LinkType self = 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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/cp_info.proto";
import public "models/time_stamp.proto";
import public "models/todo_object_mapping.proto";
message PonInfo {
// The physical location of a customer site.
repeated CpInfo customerPremisesInfo = 1;
repeated array[TODO_OBJECT_MAPPING] opticalNetworkInfo = 2;
// The 20-bit identity of the optical system within a certain domain.This is a reference value set by the OSS.
string ponSYSUnderscoreID = 3;
TimeStamp timeStamp = 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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/repeat.proto";
import public "models/todo_object_mapping.proto";
message PonInfoOpticalNetworkInfo {
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message PonInfoOpticalNetworkInfoDsRate {
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message PonInfoOpticalNetworkInfoOperationalState {
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message PonInfoOpticalNetworkInfoPonTech {
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message PonInfoOpticalNetworkInfoUsRate {
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message ProblemDetails {
// A human-readable explanation specific to this occurrence of the problem
string detail = 1;
// A URI reference that identifies the specific occurrence of the problem
string instance = 2;
// The HTTP status code for this occurrence of the problem
int32 status = 3;
// A short, human-readable summary of the problem type
string title = 4;
// A URI reference according to IETF RFC 3986 that identifies the problem type
string type = 5;
}
/*
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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
import public "models/subscription_link_list_links.proto";
message SubscriptionLinkList {
SubscriptionLinkListLinks Underscorelinks = 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
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
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 subscriptionType = 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
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec029;
message SubscriptionLinkListLinksSubscriptionSubscriptionType {
}
/*
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
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 nanoSeconds = 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
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 dataBlockSize = 1;
TraceRouteDiagnosticsDiagnosticsState diagnosticsState = 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 maxHopCount = 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 numberOfRouteHops = 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 responseTime = 6;
// Timeout in milliseconds for the trace route test.
int32 timeout = 7;
}
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