STF644 - Milestone B - Merge stf644 to Master branch

Update OAS (YAML + JSON) and Proto3 Descriptions for MEC015 v2.2.1 (latest draft).

Merge request reports

Loading
+9 −0
Changes for BwManagementProto3/proto3/.openapi-generator/FILES: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
.openapi-generator-ignore
README.md
models/bw_info.proto
models/bw_info_deltas.proto
models/bw_info_deltas_session_filter.proto
models/bw_info_session_filter.proto
models/problem_details.proto
models/time_stamp.proto
services/bwm_service.proto
+1 −0
Changes for BwManagementProto3/proto3/.openapi-generator/VERSION: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
5.4.0
 No newline at end of file
+55 −0
Changes for BwManagementProto3/proto3/models/bw_info.proto: 55 added lines, 0 removed lines.
Original line number Diff line number Diff line
/*
  ETSI GS MEC 015 Bandwidth Management API

  The ETSI MEC ISG Bandwidth Management API described using OpenAPI.

  The version of the OpenAPI document: 2.2.1

  Generated by OpenAPI Generator: https://openapi-generator.tech
*/

syntax = "proto3";

package mec015;

import public "models/bw_info_session_filter.proto";
import public "models/time_stamp.proto";

message BwInfo {

  // Bandwidth allocation instance identifier
  string allocationId = 1;

  // Name of the application
  string appName = 2;

  // The direction of the requested BW allocation: 00 = Downlink (towards the UE) 01 = Uplink (towards the application/session) 10 = Symmetrical
  string allocationDirection = 3;

  // Application instance identifier
  string appInsId = 4;

  // Size of requested fixed BW allocation in [bps]
  string fixedAllocation = 5;

  // Indicates the allocation priority when dealing with several applications or sessions in parallel. Values are not defined in the present document
  enum FixedBWPriorityEnum {
    SEE_DESCRIPTION = 0;
  }

  FixedBWPriorityEnum fixedBWPriority = 6;

  // Numeric value (0 - 255) corresponding to specific type of consumer as following: 0 = APPLICATION_SPECIFIC_BW_ALLOCATION 1 = SESSION_SPECIFIC_BW_ALLOCATION
  enum RequestTypeEnum {
    _0 = 0;
    _1 = 1;
  }

  RequestTypeEnum requestType = 7;

  // Session filtering criteria, applicable when requestType is set as SESSION_SPECIFIC_BW_ALLOCATION. Any filtering criteria shall define a single session only. In case multiple sessions match sessionFilter the request shall be rejected
  repeated BwInfoSessionFilter sessionFilter = 8;

  TimeStamp timeStamp = 9;

}
+49 −0
Changes for BwManagementProto3/proto3/models/bw_info_deltas.proto: 49 added lines, 0 removed lines.
Original line number Diff line number Diff line
/*
  ETSI GS MEC 015 Bandwidth Management API

  The ETSI MEC ISG Bandwidth Management API described using OpenAPI.

  The version of the OpenAPI document: 2.2.1

  Generated by OpenAPI Generator: https://openapi-generator.tech
*/

syntax = "proto3";

package mec015;

import public "models/bw_info_deltas_session_filter.proto";

message BwInfoDeltas {

  // Bandwidth allocation instance identifier
  string allocationId = 1;

  // The direction of the requested BW allocation: 00 = Downlink (towards the UE) 01 = Uplink (towards the application/session) 10 = Symmetrical
  string allocationDirection = 2;

  // Application instance identifier
  string appInsId = 3;

  // Size of requested fixed BW allocation in [bps]
  string fixedAllocation = 4;

  // Indicates the allocation priority when dealing with several applications or sessions in parallel. Values are not defined in the present document
  enum FixedBWPriorityEnum {
    SEE_DESCRIPTION = 0;
  }

  FixedBWPriorityEnum fixedBWPriority = 5;

  // Numeric value (0 - 255) corresponding to specific type of consumer as following: 0 = APPLICATION_SPECIFIC_BW_ALLOCATION 1 = SESSION_SPECIFIC_BW_ALLOCATION
  enum RequestTypeEnum {
    _0 = 0;
    _1 = 1;
  }

  RequestTypeEnum requestType = 6;

  // Session filtering criteria, applicable when requestType is set as SESSION_SPECIFIC_BW_ALLOCATION. Any filtering criteria shall define a single session only. In case multiple sessions match sessionFilter the request shall be rejected
  repeated BwInfoDeltasSessionFilter sessionFilter = 7;

}
+33 −0
Changes for BwManagementProto3/proto3/models/bw_info_deltas_session_filter.proto: 33 added lines, 0 removed lines.
Original line number Diff line number Diff line
/*
  ETSI GS MEC 015 Bandwidth Management API

  The ETSI MEC ISG Bandwidth Management API described using OpenAPI.

  The version of the OpenAPI document: 2.2.1

  Generated by OpenAPI Generator: https://openapi-generator.tech
*/

syntax = "proto3";

package mec015;


message BwInfoDeltasSessionFilter {

  // Destination address identity of session. The string for an IPv4 address shall be formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166 [10]. The string for an IPv6 address shall be formatted according to clause 4 of IETF RFC 5952 [11], with in CIDR notation [12] used to provide the routing prefix
  string dstAddress = 1;

  // Destination port identity of session
  repeated string dstPort = 2;

  // Protocol number
  string protocol = 3;

  // Source address identity of session. The string for an IPv4 address shall be formatted in the \"dotted decimal\" notation as defined in IETF RFC 1166 [10]. The string for an IPv6 address shall be formatted according to clause 4 of IETF RFC 5952 [11], with in CIDR notation [12] used to provide the routing prefix
  string sourceIp = 4;

  // Source port identity of session 
  repeated string sourcePort = 5;

}
Loading
Loading