Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC Application Support API and MEC Service Management API
Commits
3d5df733
Commit
3d5df733
authored
Jan 28, 2019
by
Walter Featherstone
Browse files
Single apostrophe for string. Traffic Filter within TrafficRule changed to array
parent
241380e2
Changes
67
Expand all
Hide whitespace changes
Inline
Side-by-side
Mp1.json
View file @
3d5df733
...
...
@@ -175,16 +175,18 @@
}
},
"examples"
:
{
"application/json"
:
[{
"DnsRule"
:
{
"dnsRuleId"
:
"DnsRule1"
,
"domainName"
:
"www.example.com"
,
"ipAddressType"
:
"IP_V4"
,
"ipAddress"
:
"146.241.7.3"
,
"ttl"
:
300
,
"state"
:
"ACTIVE"
"application/json"
:
[
{
"DnsRule"
:
{
"dnsRuleId"
:
"DnsRule1"
,
"domainName"
:
"www.example.com"
,
"ipAddressType"
:
"IP_V4"
,
"ipAddress"
:
"146.241.7.3"
,
"ttl"
:
300
,
"state"
:
"ACTIVE"
}
}
}
]
]
}
},
"400"
:
{
...
...
@@ -652,32 +654,36 @@
}
},
"examples"
:
{
"application/json"
:
[{
"TrafficRule"
:
{
"trafficRuleId"
:
"TrafficRule123"
,
"serName"
:
"ExampleService"
,
"filterType"
:
"FLOW"
,
"priority"
:
1
,
"trafficFilter"
:
{
"srcAddress"
:
[
"192.168.2.0/24"
,
"192.168.3.0/24"
],
"dstAddress"
:
[
"192.127.4.100/32"
"application/json"
:
[
{
"TrafficRule"
:
{
"trafficRuleId"
:
"TrafficRule123"
,
"serName"
:
"ExampleService"
,
"filterType"
:
"FLOW"
,
"priority"
:
1
,
"trafficFilter"
:
[
{
"srcAddress"
:
[
"192.168.2.0/24"
,
"192.168.3.0/24"
],
"dstAddress"
:
[
"192.127.4.100/32"
],
"dstPort"
:
[
"80"
]
}
],
"dstPort"
:
[
80
]
},
"action"
:
"FORWARD_DECAPSULATED"
,
"dstInterface"
:
{
"interfaceType"
:
"IP"
,
"dstIpAddress"
:
"20.1.1.1"
},
"state"
:
"ACTIVE"
"action"
:
"FORWARD_DECAPSULATED"
,
"dstInterface"
:
{
"interfaceType"
:
"IP"
,
"dstIpAddress"
:
"20.1.1.1"
},
"state"
:
"ACTIVE"
}
}
}
]
]
}
},
"400"
:
{
...
...
@@ -752,18 +758,20 @@
"serName"
:
"ExampleService"
,
"filterType"
:
"FLOW"
,
"priority"
:
1
,
"trafficFilter"
:
{
"srcAddress"
:
[
"192.168.2.0/24"
,
"192.168.3.0/24"
],
"dstAddress"
:
[
"192.127.4.100/32"
],
"dstPort"
:
[
80
]
},
"trafficFilter"
:
[
{
"srcAddress"
:
[
"192.168.2.0/24"
,
"192.168.3.0/24"
],
"dstAddress"
:
[
"192.127.4.100/32"
],
"dstPort"
:
[
"80"
]
}
],
"action"
:
"FORWARD_DECAPSULATED"
,
"dstInterface"
:
{
"interfaceType"
:
"IP"
,
...
...
@@ -841,18 +849,20 @@
"serName"
:
"ExampleService"
,
"filterType"
:
"FLOW"
,
"priority"
:
1
,
"trafficFilter"
:
{
"srcAddress"
:
[
"192.168.2.0/24"
,
"192.168.3.0/24"
],
"dstAddress"
:
[
"192.127.4.100/32"
],
"dstPort"
:
[
80
]
},
"trafficFilter"
:
[
{
"srcAddress"
:
[
"192.168.2.0/24"
,
"192.168.3.0/24"
],
"dstAddress"
:
[
"192.127.4.100/32"
],
"dstPort"
:
[
"80"
]
}
],
"action"
:
"FORWARD_DECAPSULATED"
,
"dstInterface"
:
{
"interfaceType"
:
"IP"
,
...
...
@@ -946,47 +956,49 @@
}
},
"examples"
:
{
"application/json"
:
[{
"ServiceInfo"
:
{
"serInstanceId"
:
"ServiceInstance123"
,
"serName"
:
"ExampleService"
,
"serCategory"
:
{
"href"
:
"catItem1"
,
"id"
:
"id12345"
,
"name"
:
"RNI"
,
"version"
:
"version1"
},
"version"
:
"ServiceVersion1"
,
"state"
:
"ACTIVE"
,
"transportId"
:
"Rest1"
,
"transportInfo"
:
{
"id"
:
"TransId12345"
,
"name"
:
"REST"
,
"description"
:
"REST API"
,
"type"
:
"JSON"
,
"protocol"
:
"HTTP"
,
"version"
:
"2.0"
,
"endpoint"
:
{
"uris"
:
[
"/meMp1/service/EntryPoint"
],
"addresses"
:
[
{
"host"
:
"192.0.2.0"
,
"port"
:
"8080"
}
]
"application/json"
:
[
{
"ServiceInfo"
:
{
"serInstanceId"
:
"ServiceInstance123"
,
"serName"
:
"ExampleService"
,
"serCategory"
:
{
"href"
:
"catItem1"
,
"id"
:
"id12345"
,
"name"
:
"RNI"
,
"version"
:
"version1"
},
"security"
:
{
"oAuth2Info"
:
{
"grantTypes"
:
"OAUTH2_CLIENT_CREDENTIALS"
,
"tokenEndpoint"
:
"/meMp1/security/TokenEndPoint"
"version"
:
"ServiceVersion1"
,
"state"
:
"ACTIVE"
,
"transportId"
:
"Rest1"
,
"transportInfo"
:
{
"id"
:
"TransId12345"
,
"name"
:
"REST"
,
"description"
:
"REST API"
,
"type"
:
"JSON"
,
"protocol"
:
"HTTP"
,
"version"
:
"2.0"
,
"endpoint"
:
{
"uris"
:
[
"/meMp1/service/EntryPoint"
],
"addresses"
:
[
{
"host"
:
"192.0.2.0"
,
"port"
:
8080
}
]
},
"security"
:
{
"oAuth2Info"
:
{
"grantTypes"
:
"OAUTH2_CLIENT_CREDENTIALS"
,
"tokenEndpoint"
:
"/meMp1/security/TokenEndPoint"
}
}
}
},
"serializer"
:
"JSON"
}
,
"serializer"
:
"JSON"
}
}
}
]
]
}
},
"400"
:
{
...
...
@@ -1074,7 +1086,7 @@
"id"
:
"TransId12345"
,
"name"
:
"REST"
,
"description"
:
"REST API"
,
"type"
:
"
JSON
"
,
"type"
:
"
REST_HTTP
"
,
"protocol"
:
"HTTP"
,
"version"
:
"2.0"
,
"endpoint"
:
{
...
...
@@ -1084,7 +1096,7 @@
"addresses"
:
[
{
"host"
:
"192.0.2.0"
,
"port"
:
"
8080
"
"port"
:
8080
}
]
},
...
...
@@ -1180,7 +1192,7 @@
"id"
:
"TransId12345"
,
"name"
:
"REST"
,
"description"
:
"REST API"
,
"type"
:
"
JSON
"
,
"type"
:
"
REST_HTTP
"
,
"protocol"
:
"HTTP"
,
"version"
:
"2.0"
,
"endpoint"
:
{
...
...
@@ -1190,7 +1202,7 @@
"addresses"
:
[
{
"host"
:
"192.0.2.0"
,
"port"
:
"
8080
"
"port"
:
8080
}
]
},
...
...
@@ -1284,7 +1296,7 @@
"id"
:
"TransId12345"
,
"name"
:
"REST"
,
"description"
:
"REST API"
,
"type"
:
"
JSON
"
,
"type"
:
"
REST_HTTP
"
,
"protocol"
:
"HTTP"
,
"version"
:
"2.0"
,
"endpoint"
:
{
...
...
@@ -1294,7 +1306,7 @@
"addresses"
:
[
{
"host"
:
"192.0.2.0"
,
"port"
:
"
8080
"
"port"
:
8080
}
]
},
...
...
@@ -1541,7 +1553,7 @@
"definitions"
:
{
"AppTerminationNotification.MaxGracefulTimeout"
:
{
"description"
:
"Maximum timeout value in seconds for graceful termination or graceful stop of an application instance."
,
"type"
:
"
string
"
,
"type"
:
"
integer
"
,
"format"
:
"uint32"
,
"example"
:
10
},
...
...
@@ -1808,7 +1820,7 @@
"description"
:
"Port portion of the address"
,
"type"
:
"integer"
,
"format"
:
"uint32"
,
"example"
:
"
8080
"
"example"
:
8080
},
"EndPointInfo.Address"
:
{
"description"
:
"A IP address and port pair"
,
...
...
@@ -2502,7 +2514,10 @@
"$ref"
:
"#/definitions/TrafficRule.Priority"
},
"trafficFilter"
:
{
"$ref"
:
"#/definitions/TrafficFilter"
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/TrafficFilter"
}
},
"action"
:
{
"$ref"
:
"#/definitions/TrafficRule.Action"
...
...
@@ -2598,7 +2613,7 @@
"RPC_STREAMING"
,
"WEBSOCKET"
],
"example"
:
"
JSON
"
"example"
:
"
REST_HTTP
"
},
"TunnelInfo.TunnelDstAddress"
:
{
"description"
:
"Destination address of the tunnel"
,
...
...
Mp1.yaml
View file @
3d5df733
This diff is collapsed.
Click to expand it.
definitions/AppTerminationNotification.MaxGracefulTimeout.yaml
View file @
3d5df733
description
:
Maximum timeout value in seconds for graceful termination or graceful stop of an application instance.
type
:
string
format
:
uint32
example
:
10
\ No newline at end of file
example
:
'
10'
\ No newline at end of file
definitions/AppTerminationNotification.NotificationType.yaml
View file @
3d5df733
description
:
Shall be set to AppTerminationNotification.
type
:
string
example
:
AppTerminationNotification
\ No newline at end of file
example
:
'
AppTerminationNotification'
\ No newline at end of file
definitions/AppTerminationNotificationSubscription.AppInstanceId.yaml
View file @
3d5df733
description
:
It is used as the filtering criterion for the subscribed events.
type
:
string
example
:
ID1
\ No newline at end of file
example
:
'
ID1'
\ No newline at end of file
definitions/AppTerminationNotificationSubscription.SubscriptionType.yaml
View file @
3d5df733
description
:
Shall be set to AppTerminationNotificationSubscription.
type
:
string
example
:
AppTerminationNotificationSubscription
\ No newline at end of file
example
:
'
AppTerminationNotificationSubscription'
\ No newline at end of file
definitions/CategoryRef.Href.yaml
View file @
3d5df733
description
:
Reference of the catalogue
type
:
string
example
:
catItem1
\ No newline at end of file
example
:
'
catItem1'
\ No newline at end of file
definitions/CategoryRef.Id.yaml
View file @
3d5df733
description
:
Unique identifier of the category
type
:
string
example
:
id12345
\ No newline at end of file
example
:
'
id12345'
\ No newline at end of file
definitions/CategoryRef.Name.yaml
View file @
3d5df733
description
:
Name of the category
type
:
string
example
:
RNI
\ No newline at end of file
example
:
'
RNI'
\ No newline at end of file
definitions/CategoryRef.Version.yaml
View file @
3d5df733
description
:
Category version
type
:
string
example
:
version1
\ No newline at end of file
example
:
'
version1'
\ No newline at end of file
definitions/CurrentTime.yaml
View file @
3d5df733
...
...
@@ -25,4 +25,4 @@ properties:
-
TRACEABLE
-
NONTRACEABLE
description
:
Platform Time Source status. 1 = TRACEABLE - time source is locked to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the UTC time source
example
:
TRACEABLE
\ No newline at end of file
example
:
'
TRACEABLE'
\ No newline at end of file
definitions/DestinationInterface.InterfaceType.yaml
View file @
3d5df733
...
...
@@ -4,4 +4,4 @@ enum:
-
TUNNEL
-
MAC
-
IP
example
:
TUNNEL
\ No newline at end of file
example
:
'
TUNNEL'
\ No newline at end of file
definitions/DnsRule.DomainName.yaml
View file @
3d5df733
description
:
FQDN resolved by the DNS rule
type
:
string
example
:
www.example.com
\ No newline at end of file
example
:
'
www.example.com'
\ No newline at end of file
definitions/DnsRule.Id.yaml
View file @
3d5df733
description
:
Identifies the DNS Rule
type
:
string
example
:
dnsRule1
\ No newline at end of file
example
:
'
dnsRule1'
\ No newline at end of file
definitions/DnsRule.IpAddress.yaml
View file @
3d5df733
description
:
IP address associated with the FQDN resolved by the DNS rule
type
:
string
example
:
"
192.0.2.0"
\ No newline at end of file
example
:
'
192.0.2.0'
\ No newline at end of file
definitions/DnsRule.IpAddressType.yaml
View file @
3d5df733
...
...
@@ -3,4 +3,4 @@ type: string
enum
:
-
IP_V6
-
IP_V4
example
:
"
IP_V6"
\ No newline at end of file
example
:
'
IP_V6'
\ No newline at end of file
definitions/DnsRule.State.yaml
View file @
3d5df733
...
...
@@ -3,4 +3,4 @@ type: string
enum
:
-
ACTIVE
-
INACTIVE
example
:
"
ACTIVE"
\ No newline at end of file
example
:
'
ACTIVE'
\ No newline at end of file
definitions/DnsRule.Ttl.yaml
View file @
3d5df733
description
:
Time to live value
type
:
integer
format
:
uint32
example
:
"
?"
\ No newline at end of file
example
:
'
?'
\ No newline at end of file
definitions/EndPointInfo.Address.Port.yaml
View file @
3d5df733
description
:
Port portion of the address
type
:
integer
format
:
uint32
example
:
'
8080'
\ No newline at end of file
example
:
8080
\ No newline at end of file
definitions/SecurityInfo.OAuth2Info.GrantTypes.yaml
View file @
3d5df733
...
...
@@ -5,4 +5,4 @@ enum:
-
OAUTH2_IMPLICIT_GRANT
-
OAUTH2_RESOURCE_OWNER
-
OAUTH2_CLIENT_CREDENTIALS
example
:
OAUTH2_CLIENT_CREDENTIALS
\ No newline at end of file
example
:
'
OAUTH2_CLIENT_CREDENTIALS'
\ No newline at end of file
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment