Newer
Older
"type": "object",
"x-etsi-ref": "6.2.1.10"
},
"TrafficRuleDescriptor": {
"properties": {
"action": {
"$ref": "#/components/schemas/Action"
},
"dstInterface": {
"type": "array",
"minItems": 0,
"maxItems": 2,
"items": {
"$ref": "#/components/schemas/InterfaceDescriptor"
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
},
"filterType": {
"$ref": "#/components/schemas/FilterType"
},
"priority": {
"description": "Priority of this traffic rule. If traffic rule conflicts, the one with higher priority take precedence.",
"type": "integer",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "Int"
},
"trafficFilter": {
"description": "The filter used to identify specific flow/packets that need to be handled by the MEC host.",
"items": {
"$ref": "#/components/schemas/TrafficFilter"
},
"minItems": 1,
"type": "array",
"x-etsi-mec-cardinality": "1..N",
"x-etsi-mec-origin-type": "TrafficFilter"
},
"trafficRuleId": {
"description": "Identifies the traffic rule.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
"required": [
"trafficRuleId",
"filterType",
"priority",
"trafficFilter",
"action"
],
"type": "object",
"x-etsi-ref": "6.2.1.9"
},
"Action": {
"description": "'Identifies the action of the MEC host data plane, when a packet matches the trafficFilter.'",
"type": "string",
"enum": [
"DROP",
"FORWARD_DECAPSULATED",
"FORWARD_AS_IS",
"PASSTHROUGH",
"DUPLICATED_DECAPSULATED",
"DUPLICATE_AS_IS"
]
},
"FilterType": {
"description": "Definition of filter type: per FLOW or PACKET",
"type": "string",
"enum": [
"FLOW",
"PACKET"
]
},
"TransportDependency": {
"properties": {
"labels": {
"description": "Set of labels that allow to define groups of transport bindings. The mechanism of the grouping is defined below this table.",
"items": {
"type": "string"
"minItems": 1,
"type": "array",
"x-etsi-mec-cardinality": "1..N",
"x-etsi-mec-origin-type": "String"
"serializers": {
"description": "Information about the serializers in this transport binding, as defined in the SerializerTypes type in ETSI GS MEC 011 [i.4]. Support for at least one of the entries is required in conjunction with the transport.",
"items": {
"$ref": "#/components/schemas/SerializerTypes"
},
"minItems": 1,
"type": "array",
"x-etsi-mec-cardinality": "1..N",
"x-etsi-mec-origin-type": "SerializerTypes"
"transport": {
"$ref": "#/components/schemas/TransportDescriptor"
}
"required": [
"transport",
"serializers",
"labels"
],
"type": "object",
"x-etsi-ref": "6.2.1.18"
},
"TransportDescriptor": {
"properties": {
"protocol": {
"description": "The name of the protocol used. Shall be set to HTTP for a REST API.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
"security": {
"$ref": "#/components/schemas/SecurityInfo"
"type": {
"$ref": "#/components/schemas/TransportTypes"
"version": {
"description": "The version of the protocol used.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
}
"required": [
"type",
"protocol",
"version",
"security"
],
"type": "object",
"x-etsi-ref": "6.2.1.19"
},
"TransportTypes": {
"type": "string"
},
"TunnelInfo": {
"properties": {
"tunnelDstAddress": {
"description": "Destination address of the tunnel.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
"tunnelSpecificData": {
"$ref": "#/components/schemas/Not_specified"
},
"tunnelSrcAddress": {
"description": "Source address of the tunnel.",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "String"
},
"tunnelType": {
"$ref": "#/components/schemas/TunnelType"
}
"required": [
"tunnelType",
"tunnelDstAddress",
"tunnelSrcAddress"
],
"type": "object",
"x-etsi-ref": "6.2.1.12"
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
"TunnelType": {
"description": "Type of tunnel.",
"type": "string",
"enum": [
"GTP-U",
"GRE"
]
},
"VirtualComputeDescription": {
"description": "Ref NFV",
"type": "string"
},
"VirtualNetworkInterfaceRequirements": {
"type": "string"
},
"VirtualStorageDescriptor": {
"description": "Ref NFV",
"type": "string"
},
"SecurityInfo": {
"description": "See MEC011"
},
"CategoryRef": {
"description": "See MEC011"
},
"URI": {
"type": "string"
},
"Not_specified": {
"type": "string"
}
},
"responses": {
"204": {
"description": "No Content"
},
"206": {
"description": "Partial content"
},
"400": {
"description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"401": {
"description": "Unauthorized : used when the client did not submit credentials.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"403": {
"description": "Forbidden : operation is not allowed given the current status of the resource.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"404": {
"description": "Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"406": {
"description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"409": {
"description": "Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"412": {
"description": "Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"414": {
"description": "URI Too Long : used to indicate that the server is refusing to process the request because the request URI is longer than the server is willing or able to process.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"415": {
"description": "Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"416": {
"description": "Range Not Satisfiable ."
},
"422": {
"description": "Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This error condition can also occur if the capabilities required by the request are not supported.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
},
"example": {
"application/problem+json": {
"problemDetails": {
"type": "https://meAppServer.example.com/rni/v2/probs/too-many targets",
"title": "Too many targets",
"status": "422",
"detail": "The target area for the request is considered too large",
"instance": "/meAppClient.example.com/77777/msgs/abc"
}
},
"429": {
"description": "Too Many Requests : used when a rate limiter has triggered.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
},
"AppPkgContent.200": {
"description": "The payload body shall contain a copy of the file representing the AppD or a ZIP file that contains the file or multiple files representing the AppD."