Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
Showing
3 changed files
with
43 additions
and
2 deletions
+43
-2
definitions/TrafficFilter.Address.yaml
definitions/TrafficFilter.Address.yaml
+2
-2
examples/TrafficRule.json
examples/TrafficRule.json
+26
-0
examples/TrafficRule.yaml
examples/TrafficRule.yaml
+15
-0
No files found.
definitions/TrafficFilter.Address.yaml
View file @
56072485
description
:
Identify the traffic
rule
.
description
:
Identify the traffic
ip address
.
type
:
string
type
:
string
example
:
TrafficRule1
example
:
192.168.1.1
\ No newline at end of file
\ 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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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