Commit 39730915 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

add proto3 descriptors for AppGrant API

parent daac48cf
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
+30 −0
Original line number Diff line number Diff line
.openapi-generator-ignore
README.md
models/address_range.proto
models/app_ext_cp_config.proto
models/app_ext_cp_data.proto
models/cp_protocol_data.proto
models/ext_link_port_data.proto
models/ext_virtual_link_data.proto
models/grant.proto
models/grant_info.proto
models/grant_links.proto
models/grant_request.proto
models/grant_request_links.proto
models/grant_request_operation.proto
models/ip_address.proto
models/ip_address_type.proto
models/ip_over_ethernet_address_data.proto
models/key_value_pair.proto
models/link_type.proto
models/problem_details.proto
models/resource.proto
models/resource_definition.proto
models/resource_definition_type.proto
models/resource_handle.proto
models/vim_assets.proto
models/vim_connection_info.proto
models/vim_software_image.proto
models/zone_group_info.proto
models/zone_info.proto
services/granting_service.proto
+1 −0
Original line number Diff line number Diff line
5.4.0
 No newline at end of file
+32 −0
Original line number Diff line number Diff line
# gPRC for mec0102

ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management described using OpenAPI.

## Overview
These files were generated by the [OpenAPI Generator](https://openapi-generator.tech) project.

- API version: 3.1.1
- Package version: 
- Build package: org.openapitools.codegen.languages.ProtobufSchemaCodegen
For more information, please visit [https://forge.etsi.org/rep/mec/gs010-2-app-pkg-lcm-api](https://forge.etsi.org/rep/mec/gs010-2-app-pkg-lcm-api)

## Usage

Below are some usage examples for Go and Ruby. For other languages, please refer to https://grpc.io/docs/quickstart/.

### Go
```
# assuming `protoc-gen-go` has been installed with `go get -u github.com/golang/protobuf/protoc-gen-go`
mkdir /var/tmp/go/
protoc --go_out=/var/tmp/go/ services/*
protoc --go_out=/var/tmp/go/ models/*
```

### Ruby
```
# assuming `grpc_tools_ruby_protoc` has been installed via `gem install grpc-tools`
RUBY_OUTPUT_DIR="/var/tmp/ruby/mec0102"
mkdir $RUBY_OUTPUT_DIR
grpc_tools_ruby_protoc --ruby_out=$RUBY_OUTPUT_DIR --grpc_out=$RUBY_OUTPUT_DIR/lib services/*
grpc_tools_ruby_protoc --ruby_out=$RUBY_OUTPUT_DIR --grpc_out=$RUBY_OUTPUT_DIR/lib models/*
```
+26 −0
Original line number Diff line number Diff line
/*
  ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management

  ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management described using OpenAPI.

  The version of the OpenAPI document: 3.1.1

  Contact: cti_support@etsi.org

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

syntax = "proto3";

package mec0102;


message AddressRange {

  // Lowest IP address belonging to the range.
  string minAddress = 186110657;

  // Highest IP address belonging to the range.
  string maxAddress = 26244592;

}
Loading