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
56072485
Commit
56072485
authored
Dec 15, 2017
by
Walter Featherstone
Committed by
Gerrit Code Review
Dec 15, 2017
Browse files
Merge "Added Traffic rule example"
parents
97edbaca
b17fa10a
Changes
3
Hide whitespace changes
Inline
Side-by-side
definitions/TrafficFilter.Address.yaml
View file @
56072485
description
:
Identify the traffic
rule
.
description
:
Identify the traffic
ip address
.
type
:
string
example
:
TrafficRule1
\ No newline at end of file
example
:
192.168.1.1
\ No newline at end of file
examples/TrafficRule.json
0 → 100644
View file @
56072485
{
"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
]
},
"action"
:
"FORWARD_DECAPSULATED"
,
"dstInterface"
:
{
"interfaceType"
:
"IP"
,
"dstIpAddress"
:
"20.1.1.1"
},
"state"
:
"ACTIVE"
}
}
\ No newline at end of file
examples/TrafficRule.yaml
0 → 100644
View file @
56072485
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
]
action
:
FORWARD_DECAPSULATED
dstInterface
:
interfaceType
:
IP
dstIpAddress
:
20.1.1.1
state
:
ACTIVE
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